Revision history [back]

click to hide/show revision 1
initial version

answered 2011-05-29 11:06:16 +0800

ftmichael gravatar image ftmichael

ok i've got it working by using session.setAttribute and bind the component. my next question is, when i edit the textbox and want to override the current value i have to do that with the onChange event manually or will the "set" methode be called? the problem is: <textbox id="txt" value="${each}"/> in java i can do the following: public void onChange$txt{} but if more than two textboxes are generated by foreach there is a conflict because all textboxes have the same id. how can i solve this?

<textbox value="Eins"/> <textbox value="Zwei"/>

if the first textbox changed his value to "One" this new value should also replace "Eins" in the java-List "list" correctly.

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More