Thanks Robert. I'll give that a try!

Chris, I'm not sure how that applies. The addrow row is still part of the
loop and not re-locatable, right?

On Tue, Jun 29, 2010 at 5:44 PM, Robert Zeigler <robe...@scazdl.org> 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
>
>

Reply via email to