I would need to know the attribute names, in that case, yes? I was
hoping for a method which would allow me to pass all informal
parameters, no matter what they may be. Looking in to the tapestry
code for AbstractComponent, the bindings are totally private, as are
the methods for discovering which are explicit and which are informal.
So I just implemented an IMarkupWriter which stpres attributes,
rather than printing them, and passed it to
renderInformalParameters(). Maybe not the cheapest way to do it, but
easy and effective.
--sam
On 5/4/06, Jesse Kuhnert <
jkuhnert@gmai...> wrote:
> You can pass the component itself into the .script as a parameter and
> reference the attributes via ognl expressions.
>
> On 5/4/06, Sam Gendler <
sgendler@idea...> wrote:
> >
> > I need to access the informal parameter names and values individually
> > within a .script file. Is there any way to do this, even if it means
> > creating a Map or something in java before passing that to the script?
> >
> > --sam
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
tapestry-user-unsubscribe@jaka...
> > For additional commands, e-mail:
tapestry-user-help@jaka...
> >
> >
>
>
> --
> Jesse Kuhnert
> Tacos/Tapestry, team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
tapestry-user-unsubscribe@jaka...
For additional commands, e-mail:
tapestry-user-help@jaka...
opensubscriber is not affiliated with the authors of this message nor responsible for its content.