[prev in list] [next in list] [prev in thread] [next in thread]
List: tapestry-user
Subject: Re: help with component id
From: andyhot <andyhot () di ! uoa ! gr>
Date: 2007-01-31 19:22:03
Message-ID: 45C0EC5B.5030306 () di ! uoa ! gr
[Download RAW message or body]
Hi,
http://tapestry.apache.org/tapestry4.1/usersguide/bindings.html
see the clientId binding
Andrea Chiumenti wrote:
> Hi,
> I'm trying to get a component id:
>
> The component is:
>
> <component id="submit" type="Submit">
> <binding name="value" value="literal:addNew"/>
> <binding name="updateComponents" value="ognl:{id}"/>
> <binding name="action" value="ognl:addNewAction"/>
> <binding name="async" value="ognl:true"></binding>
> </component>
>
> and I try to bind its id to another component
> <binding name="submitFunction" value="ognl:components.submit.id"/>
>
> The component is rendere into the page with id="Submit_0"
>
> I wonder why it is rendered capitalized and why components.submit.id
> value
> is "submit" (how can I get the rendered id since that neither
> components.submit.clientId works)?
>
>
> Thx,
> kiuma
>
--
Andreas Andreou - andyhot@apache.org - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic