|
Hi,
We are wanting to get our Action hyperlinks to
submit their enclosing form when clicked as well as perform their intended
action. (we don't want to/can't use an image or a button) So the
idea is to use <a href="...tapestry's" generated action URL here...
>. (This worked with WebObjects
BTW). But there seems to be problem - after the action is triggered,
the rewinding is aborted - Action.java throws a RenderRewoundException right
after calling actionTriggered in the listener. Presumably this is to
save going through the hassle of rewinding page state would normally
be ignored anyway.. But, if we are submitting form data then that
rewinding of the rest of the page (actually, just the form) is needed - eg. the
action might be at the top of the page with form fields etc below - we want/need
values changed in those fields to be reflected as if a submit button were
used.
So, is this possible with the built-in
components? I suspect not, but would love to be proved wrong (preferably
with an example!).
Thanks, Richard PS. This relates to 2.0.2a - though can find no reason to suspect it would
be any different with 2.0.3 -> 2.1-rc-1
|
- Re: [Tapestry-developer] How to make Action work like... Richard Lewis-Shell
- Re: [Tapestry-developer] How to make Action work... Howard M. Lewis Ship
- Re: [Tapestry-developer] How to make Action work... Joseph Panico
- RE: [Tapestry-developer] How to make Action ... Ara Abrahamian
- RE: [Tapestry-developer] How to make Action work... Joseph Panico
- Re: [Tapestry-developer] How to make Action ... Howard M. Lewis Ship
