[
https://issues.apache.org/jira/browse/TRINIDAD-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713016#action_12713016
]
Jasper de Vries commented on TRINIDAD-1490:
-------------------------------------------
First of all it should have been appended in stead of prepended.
The problem is the chooseId attribute of the inputDate (it is handled as a
static reference):
<tr:forEach begin="0" end="1">
<tr:inputDate chooseId="picker"/>
<tr:chooseDate id="picker"/>
</tr:forEach>
The second inputDate is rendered as:
<input type="text" size="10" class="af_inputDate_content"
onfocus="_dff(this,'picker')" onblur="_dfb(this,'picker')"
name="j_id_jsp_174441873_22j_id_1" id="j_id_jsp_174441873_22j_id_1"/>
The onfocus and onblur should reference the pickerj_id_1 instance of chooseDate.
> tr:inputDate's chooseId attribute is not prepended with j_id_ when used in
> tr:forEach
> -------------------------------------------------------------------------------------
>
> Key: TRINIDAD-1490
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1490
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Components
> Environment: Tomcat 6.0, Trinidad 1.2.11, JDK 1.6.0_07, Windows XP
> SP2 and Ubuntu 8.04
> Reporter: Jasper de Vries
>
> tr:inputDate's chooseId attribute is *not* prepeded with j_id_ when used in
> tr:forEach.
> The tr:chooseDate's id attribute *is* prepeded with j_id_ when used in
> tr:forEach.
> I've seen this behavior on other id-referring attributes as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.