[ 
https://issues.apache.org/jira/browse/TRINIDAD-821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Robinson resolved TRINIDAD-821.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.5-core

Committed revision 595100

Example test case for the new functionality:

<f:subview id="a">
  <f:subview id="b">
    <tr:inputText id="c" />
  </f:subview>
  <f:subview id="d">
    <f:subview id="e">
      <tr:outputLabel id="f" for="::::b:c" value="Label" accessKey="l" />
      <tr:outputLabel id="g" for=":a:b:c" value="Label" accessKey="b" />
    </f:subview>
  </f:subview>
</f:subview>

First label is relative, 2nd is absolute

> RenderUtils.getRelativeId does not support the "::" method of relative 
> referencing
> ----------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-821
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-821
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>    Affects Versions: 1.0.4-core, 1.2.2-core
>            Reporter: Andrew Robinson
>            Assignee: Andrew Robinson
>            Priority: Minor
>             Fix For: 1.0.5-core
>
>
> The method:
> org.apache.myfaces.trinidad.render.RenderUtils.getRelativeId(FacesContext, 
> UIComponent, String)
> only contains a subset of the functionality of the method:
> org.apache.myfaces.trinidad.util.ComponentUtils.findRelativeComponent(UIComponent,
>  String)
> The method should be changed to use the findRelativeComponent method 
> internally so that the parent referencing method can be used in this context.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to