cancel
Showing results for 
Search instead for 
Did you mean: 

webdynpro java

Former Member
0 Kudos

I have 2 requirements.

1. In a text field all the characters should be converted to * like password field during value entering.But

after editing or any operation it should be visible means the original content should be visible.

2. Can be numeric or string datatype field . First two numbers should be visible but rest of the others should be converted to * (encypted). the length is not fixed .

please help me.

thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The first requirement can be done. Create an attribute of type boolean and bind it to the the passwordField property of the InputField. Now in the wdDoInit set it as true.

 wdContext.currentContextElement().setVa_passBoolean(true);

Now in the action where you want to display it set it as false.

 wdContext.currentContextElement().setVa_passBoolean(false);

I am not sure how to do the second requirement of yours.

Jithin

Answers (0)