on 03-21-2007 10:44 AM
Hi Gurus,
following Problem,
i have developed a table with a Inputfield as Tablecell editor (bind it to a contextnode). After input i'd like to check the value in the backend (and raise if necessary a message). But I can't find a action, which tells me, that the user input is finished. Any ideas?
Thanks in advance
Stefan
Hai Stefan,
You have to give values for the inputfield in table. and then you need to submit that data , for that you have to create button or any.
on that action
for(int i=0;i<wdContext.nodeTable().size();i++){
String s=wdContext.nodeTable().getTableElementAt(i).getinputFileldData();
if(validate(S)){
//ur message
}
regards,
naga
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefan,
You can validate the input by using onEnter action of the inputfield.This action will be triggered when user inputs something and hit the enter key. Thus, you can do whatever and as you like with ur code;-)
PS : Plz reward points
Abhinav Sharma
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 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.