[ 
http://issues.apache.org/jira/browse/TAPESTRY-813?page=comments#action_12361123 
] 

Leonardo Quijano Vincenzi commented on TAPESTRY-813:
----------------------------------------------------

Actually the "idPath" property in IComponent can be used to achieve a similar 
effect. So if we have "compY" nested inside "compX" we can actually do:

<span id="ognl:components.compY.idPath" jwcid="[EMAIL PROTECTED]" />

And that would render as:

<span id="compX.compY">
</span>

The question is, the "." is an accepted XML name character 
(http://www.w3.org/TR/REC-xml/#NT-Name), but is it reserved for some special 
purposes?


> Provide a global clientId for all components, not only forms related ones
> -------------------------------------------------------------------------
>
>          Key: TAPESTRY-813
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-813
>      Project: Tapestry
>         Type: Improvement
>   Components: Framework
>     Versions: 4.0
>     Reporter: Leonardo Quijano Vincenzi
>      Fix For: 4.1

>
> Currently only form components support a "clientId" property that allow 
> client-side scripting to attach to a single HTML ID, like this:
> <input id="ognl:components.someComponent.clientId" jwcid="[EMAIL PROTECTED]" 
> ... />
> This support could be refactored to support non-form components, like @Any, 
> to allow them to be used in client-side Javascript:
> <span id="ognl:components.someComponent.clientId" jwcid="[EMAIL PROTECTED]" />
> </span>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to