-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
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.