on 04-15-2009 2:39 PM
Hello all,
Will the WDDOMODIFYVIIEW() executed when a change in value of a input field in the view?
if not any ideas regarding the possibility of tracking a individual key pressed in a input field at runtime.
Thanks
Salini
Thanks for the replies.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You cannot handle keypress events in an input field except the "onEnter" event which is triggered by pressing the Enter key.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the inputfield property you will find a property onAction, there you can write code for your requirement. Like Check the value as u enter it will test the value.
Regards,
H.V.Swathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi..
You can change the input value at time of any evet fired to any action method.if you can enterkey on input field.it will call the wdDoModify().at time of you can set anather value in input field.
wdcontext.curent<node>element().setInput("sss");
but this cant be be set at first time..mean when page loaded unless until page session out of scope.
thanks
jati
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Satya,
wdDoModify() is not called automatically by just changing the values of the input field. However you can do one thing. There is even associated with inputfield. That is onEnter(). You can create an even and bind that event with the onEnter of the inputfield.
So what happenes is, as soon as you enter any value in the input field and press enter you will be able to call that particular event. If you want to do any handling of the data from input field you can do in this event.
Please note that after this event is called wdDomodify() will be called. After every event wdDoModify() is automatically called by the framework.
I hope this solves you issue. Please revert back in case you have any further doubts!
Thanks and Regards,
Pravesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Salini,
If you do any changes in the View then automatically doModifyView() method will be called. You can obtain the updated value of the input field using wdContext.currentXXXElement().getXXX().
Regards,
Gayathri.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.