You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Nguyen Vu Tuan Nam (JIRA)" <de...@myfaces.apache.org> on 2008/08/20 12:24:47 UTC

[jira] Created: (TOMAHAWK-1316) Element Id inside datalist do not render correctly

Element Id inside datalist do not render correctly
--------------------------------------------------

                 Key: TOMAHAWK-1316
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1316
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: Data List
    Affects Versions: 1.1.6
         Environment: - jdk 1.6
- Server: glassfish 2
            Reporter: Nguyen Vu Tuan Nam


The element id were rendered incorrect the first time but render correctly from the second time.
The first time:
  <span id="investorList">
     <span id="orderList[0]">
        <input type="checkbox" name="orderList[0]_6:unHoldCash" id="orderList[0]_6:unHoldCash" value="false" />
  </span>
  </span>

The second time:
  <span id="form:investorList">
  <span id="form:investorList:0:orderList">
     <input type="checkbox" name="form:investorList:0:orderList:6:unHoldCash" id="form:investorList:0:orderList:6:unHoldCash" value="true">
  </span>
  </span>

Source: 
                        <t:dataList id="investorList" layout = "simple" value="#{EODOrderSummary.investorOrders}" var="investorOrder" rowIndexVar="parentIndex" forceIdIndex="true" forceId="true">
                            <t:dataList id ="orderList" layout="simple" value="#{investorOrder.placedOrders}" var="orderSummaryInfo" rowIndexVar="childIndex" forceIdIndex="true" forceId="true">
                               <t:selectBooleanCheckbox id="unHoldCash" value="#{orderSummaryInfo.unHoldEnabled}" rendered="#{orderSummaryInfo.buyingOrder && orderSummaryInfo.diffAmount > 0 && EODOrderSummary.today}" />

EODOrderSummary scope is request.


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


[jira] Commented: (TOMAHAWK-1316) Element Id inside datalist do not render correctly

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOMAHAWK-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626437#action_12626437 ] 

Leonardo Uribe commented on TOMAHAWK-1316:
------------------------------------------

I have tried with myfaces core 1.1.6 and tomahawk 1.1.7-SNAPSHOT and no problems found. With tomahawk 1.1.6 the problem is present.

> Element Id inside datalist do not render correctly
> --------------------------------------------------
>
>                 Key: TOMAHAWK-1316
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1316
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Data List
>    Affects Versions: 1.1.6
>         Environment: - jdk 1.6
> - Server: glassfish 2
>            Reporter: Nguyen Vu Tuan Nam
>
> The element id were rendered incorrect the first time but render correctly from the second time.
> The first time:
>   <span id="investorList">
>      <span id="orderList[0]">
>         <input type="checkbox" name="orderList[0]_6:unHoldCash" id="orderList[0]_6:unHoldCash" value="false" />
>   </span>
>   </span>
> The second time:
>   <span id="form:investorList">
>   <span id="form:investorList:0:orderList">
>      <input type="checkbox" name="form:investorList:0:orderList:6:unHoldCash" id="form:investorList:0:orderList:6:unHoldCash" value="true">
>   </span>
>   </span>
> Source: 
>                         <t:dataList id="investorList" layout = "simple" value="#{EODOrderSummary.investorOrders}" var="investorOrder" rowIndexVar="parentIndex" forceIdIndex="true" forceId="true">
>                             <t:dataList id ="orderList" layout="simple" value="#{investorOrder.placedOrders}" var="orderSummaryInfo" rowIndexVar="childIndex" forceIdIndex="true" forceId="true">
>                                <t:selectBooleanCheckbox id="unHoldCash" value="#{orderSummaryInfo.unHoldEnabled}" rendered="#{orderSummaryInfo.buyingOrder && orderSummaryInfo.diffAmount > 0 && EODOrderSummary.today}" />
> EODOrderSummary scope is request.

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


[jira] Resolved: (TOMAHAWK-1316) Element Id inside datalist do not render correctly

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved TOMAHAWK-1316.
--------------------------------------

    Resolution: Cannot Reproduce
      Assignee: Leonardo Uribe

The problem is present on 1.1.6 but it can't be reproduced on 1.1.7-SNAPSHOT, maybe due to changes of myfaces-builder-plugin, or other changes done before.

> Element Id inside datalist do not render correctly
> --------------------------------------------------
>
>                 Key: TOMAHAWK-1316
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1316
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Data List
>    Affects Versions: 1.1.6
>         Environment: - jdk 1.6
> - Server: glassfish 2
>            Reporter: Nguyen Vu Tuan Nam
>            Assignee: Leonardo Uribe
>
> The element id were rendered incorrect the first time but render correctly from the second time.
> The first time:
>   <span id="investorList">
>      <span id="orderList[0]">
>         <input type="checkbox" name="orderList[0]_6:unHoldCash" id="orderList[0]_6:unHoldCash" value="false" />
>   </span>
>   </span>
> The second time:
>   <span id="form:investorList">
>   <span id="form:investorList:0:orderList">
>      <input type="checkbox" name="form:investorList:0:orderList:6:unHoldCash" id="form:investorList:0:orderList:6:unHoldCash" value="true">
>   </span>
>   </span>
> Source: 
>                         <t:dataList id="investorList" layout = "simple" value="#{EODOrderSummary.investorOrders}" var="investorOrder" rowIndexVar="parentIndex" forceIdIndex="true" forceId="true">
>                             <t:dataList id ="orderList" layout="simple" value="#{investorOrder.placedOrders}" var="orderSummaryInfo" rowIndexVar="childIndex" forceIdIndex="true" forceId="true">
>                                <t:selectBooleanCheckbox id="unHoldCash" value="#{orderSummaryInfo.unHoldEnabled}" rendered="#{orderSummaryInfo.buyingOrder && orderSummaryInfo.diffAmount > 0 && EODOrderSummary.today}" />
> EODOrderSummary scope is request.

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