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 - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]