Good day for u tooo :)

I think u could do something like this:

in the template u specify the template using a "prop" prefix

<t: form t:zone="prop:zone">
</t:form>

in java i have
@Parameter(allowNull=true,defaultPrefx=defaultPrefix=BindingConstants.LITERAL)
@Property
private String zone;

have a nice day
On Fri, Aug 21, 2009 at 9:16 AM, Eugene Zhulkov<ezhul...@gmail.com> wrote:
>
> Good day!
>
> Is there any way to dynamically change attributes set in some TML element?
> Like XSLT <xsl:attribute> element does
>
> To be more presize - I have 1 component with <t:form> element.
> In some cases I want to add t:zone attribute or omit it.
>
> Thank for responses!
> --
> View this message in context: 
> http://www.nabble.com/Dynamically-chang%D1%83-attribute-set-tp25075265p25075265.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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

Reply via email to