Welcome to the IBM Collaboration Solutions Community IQJam.
UsernamePassword
Reset Password | Register
   
Home | Leader Board | Tags | Help
What happens when I bind a DataSource using JavaScript? 
How is the binding of an input control via JavaScript supposed to work?  Don't I need two pieces of JavaScript code, one to define how to do a Get to load the value and another to do a Set when the value has changed?   When I select this option I only get the option to enter a single piece of code.  Do XPages only support a Get - i.e. this is only really useful for display-only controls such as Labels and Computed Fields?
Domino Development / XPages
Tagged
Peter Presnell - over 2 years ago |  |  | Viewed 194 times

There is 1 answer

1votes
Marked as correct on1/13/10 1:13 AM
JavaScript binding is *not* bidirectional, so it is only for read only. Bi directional biding is achieved using EL, as the EL expression refers to a property which can be get/set.


Paul Hannan - over 2 years ago | 
Voting
Vote on the answer to show whether you think the answer is correct or useful to the rest of the community.

Answers with more votes are more visible to the rest of the community