Add password type in input field

He we will discuss about how to make customization and improvement to the OpenKM source code.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
ethan
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: Fri Aug 16, 2019 1:46 am

Add password type in input field

Post by ethan » Fri Aug 16, 2019 1:52 am

Hi, We are developing file workflow based on communtiy version 6.3.7. We found the input field of workflow form didn't have password type, we need to the type to complete the a form of the workflow. Is it possible to add the type into input field? if it is ,can you help me to how to do this in source code?
Thank you in advance.

jllort
Moderator
Moderator
Posts: 10929
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Add password type in input field

Post by jllort » Sat Aug 17, 2019 4:50 am

1- Should be created a new dtd ( property-groups*.dtd and workflow-forms.dtd https://github.com/openkm/document-mana ... ources/dtd ).
2- Modify the class Input.java https://github.com/openkm/document-mana ... Input.java
3- Modify the class GWTInput.java -> https://github.com/openkm/document-mana ... Input.java

Take a look where Input.java class and GWTInput.java are referenced ( for example the value TYPE_TEXT )
DbSearchModule.java -> https://github.com/openkm/document-mana ... odule.java

FormManager.java ( where the GWTInput is drawn )
GWTUtil.java ( mapping between GWTInput.java and Input.java )

FilterUtils.java ( used by pagination )

Post Reply