I have a situation in which one of my pages contains a form, and several submit buttons (with the @Submit component). They all use tag= and selected= to mark via a routine in this pages java class to indicate they have been pressed when the forms listener is executed. They work fine. I also have a component on the form (basically because some part is repeated with almost the same data) which also has a submit button in it so that it effectively is embedded with the same form. As soon as I hit this button, I get immediately sent to my applications home page - no messages, or anything. I have tried setting this components button with a tag="ognl:tagValue" so that the components java can establish a value and with selected="ognl:page.buttonClicked" so that the same routine as the buttons on the actual page record the value. I even tried changing that to be a routine in the component itself (ie selected="ognl:buttonClicked") so it could locally call getPage(). I have also tried setting up an action= listener on the button to call a routine in the components java class. In EVERY case putting breakpoints on all possible places (the routine to get the tag value the various selected routines and the listeners for the page level form and the component listener for the button I never hit ANY breakpoint and immediatly see the home page displayed. Is Tapestry calling some form of restart because of a problem? So I am stuck as to what is going wrong. Maybe it has to to with rewinding the form or something - but I can't see how to debug it.
Has anyone else seen this problem?
Is this a restart that is happening?
Any ideas on how to debug to get more information on it?

--
Alan Chandler
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to