done.... The key part is the "onAfterSubmit".
.... <t:form t:zone="resultZone"> <t:loop source="phoneList" value="currentPhone"> <t:submitNotifier> <t:textField value="currentPhone" /> </t:submitNotifier> <br /> </t:loop> <t:submit /> </t:form> ... <t:zone t:id="resultZone"> <ul> <t:loop source="phoneResultList" value="currentPhone1"> <li>${currentPhone1}</li> </t:loop> </ul> </t:zone> ... and Java part: ..... void onAfterSubmit(){ if (phoneResultList == null){ phoneResultList = new ArrayList<String>(); } for (String next : phoneList){ if (!phoneResultList.contains(next)){ phoneResultList.add(currentPhone); return; } } } Object onSuccess(){ return resultZone.getBody(); } ... Some interest data: if i replaced <t:textField value="currentPhone" /> with <input type="text" value="${currentPhone}" /> it doesn't work. -- View this message in context: http://tapestry.1045711.n5.nabble.com/java-util-List-in-form-tp5156955p5157625.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org