on 09-16-2006 9:01 AM
Hi,
I am developing a WD Java application(NW 2004) in which user shud not be allowed to enter more than 10 chars in the InputField.
I don't want to check for maximum in a server event.
Also,if I use Simple Data type,I think it validates after a server trip.
To my understanding java script can not be used in Webdynro for JAVA.
If it is so,how can I perform the above task.
Any suggestions please..
Can we have any thing like onKeyPress etc..?
Thanks in Advance
Santhosh
Hi Santhosh,
You are true that, you can't use java script in Web Dynpro.
To restrict InputField,use Simple Type. It validates before Server Trip. If you are not sure, check by printing a message in that Event.
Create a Simple type(nameVar - Maximum Len 10) and assign it to the Context Variable, which is blinded to the Input Field. It restricts entering more than 10 chars.
Hope you understand this.
Regards,
Sridhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.