cancel
Showing results for 
Search instead for 
Did you mean: 

Re-initialization of invalid context attribute of inputfields

Former Member
0 Kudos

Hi all,

How to Re-initialize the invalid context attribute of the input field on click event of a button, or is there any other possible ways are available. Plz let me know. Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Can you explain it in a detail format

Saravanan K

Former Member
0 Kudos

Thanks for your kind reply.

In the webdynpro application all the inputfields are of type float, suppose if the user forgets to enter any of the value. By default webdynpro application will show red color around the inputfield. To avoid this I made the submit action as without validation. When I made as without valid, the error is not displaying, but the contexts of the inputfields taking the previous values if the user forgets to enter any values. so, Now i want to reinitialize the context.

Former Member
0 Kudos

Hi,

You can set the float attribute to zero in wdDoInit()

Regards,

Saravanan K

Former Member
0 Kudos

thanks

suppose if some operations are performed after the init means, it will override the latest values only. In that condition how i will reinitialize the context variables.

Former Member
0 Kudos

Hi,

If some operations are performed,the context attribute value will be changed. So you can check this value is zero and raise exception.

Regards,

Saravanan K