Hi Gabriel, Use the "action" parameter of ImageSubmit instead of the "listener" parameter to ensure the property is set before the listener gets called. The "listener" listener gets called based on the order in which the submit component appears on the HTML template, whereas the "action" listener always gets called after all properties have been set.
Ben -----Original Message----- From: Gabriel H. Lozano M. [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 04, 2006 8:27 AM To: 'Tapestry users' Subject: strange order of submit Hi everyone I have this problem: I have an imageSubmit with a listener, inside a form without a listener. I have a propertySelection inside the form. When I clic on the submit image first it is calling the listener and next it sets the object of the property selection. I know this because I print when the property selection models sets the selected object. Is this correct?? Is this the correct way things should go?? Gabriel Lozano. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
