http://tapestry.apache.org/tapestry5.0/tapestry-core/ref/org/apache/tapestry5/corelib/components/AjaxFormLoop.html
I've removed addrow as per the example in the Edit.tml (you end up
with only the one addrow)
This is on tapestry-5.0.x though...
NB: Geoff's jumpstart has it - YMMV
On 30/06/2010, at 7:44 AM, Robert Zeigler wrote:
The parameter has to be in the loop. But. :)
Remember that tapestry renders to a dom. With a little creativity,
you could create a component that acts as a "target location" for
the rendered component.
And then add a little magic so that, eg, at the end of the page
render, you grab the rendered /element/ and move it to the target
location. It's less than ideal, perhaps, but it works.
Cheers,
Robert
On Jun 29, 2010, at 6/294:06 PM , Todd Orr wrote:
Does anyone know if it is it possible to relocate the p:addrow to
somewhere
outside of the loop? It is currently very limiting to be stuck
inside a
table, for example. I have a requirement to have the addrow below
the table.
Furthermore I need it to also appear above the table. Both of these
seem
impossible with ajaxformloop out of the box. I'm afraid that since
it has to
be nested (else I get this: "Block parameters are only allowed
directly
within component elements") that this requirement is quite
impossible.
Thanks
T
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org