Page 1 of 1

Add password type in input field

PostPosted:Fri Aug 16, 2019 1:52 am
by ethan
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.

Re: Add password type in input field

PostPosted:Sat Aug 17, 2019 4:50 am
by jllort
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 )