Skip to Content
0
Apr 22, 2009 at 12:26 PM

Resetting the decimal attributes

24 Views

I have three input fields which are mapped to context attributes of type decimal.

now if you are trying to enter alphabetic characters and fire any event to navigae to other screen web dynpro automatically gives a message saying "Enter the value in -2317.45 format" and navigation is cancelled.

Now we can make the action non validating and to stop web dynpro from giving these error messages.

we need to reset the fields.so i am writing the code for same in the eventhandler just before firing the navigation plug of the action.But the problem is that it is not clearing the all the fields instead it is clearing the first field means it is resetting the first attributes leaving others as it is.

can anybody help?

Sarbjeet Singh

Edited by: sarbjeet singh on Apr 22, 2009 3:05 PM