-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Description
Omnifaces: 2.7
Wildfly 13.0 (JSF: 2.2.13.SP5)
The latest changes to TagAttribute in 2.6.9 and 2.7 has caused some weird issue with id when extra attributes are added to a tag.
formGroup.xhtml
<o:tagAttribute name="id" />
<br/>formGroupId: #{id}
<ui:insert />
formRow.xhtml:
<o:tagAttribute name="id" />
<br/>formRowId: #{id}
test1.xhtml:
<jt:formGroup>
<jt:formRow></jt:formRow>
</jt:formGroup>
Yields: (expected)
formGroupId: j_ido-1420978802_5143a44a
formRowId: j_ido-1859022143_73cd9e71
test2.xhtml: (adding an extra random attribute)
<jt:formGroup>
<jt:formRow test="asd"></jt:formRow>
</jt:formGroup>
Yields: (incorrect duplicate id)
formGroupId: j_ido-1420978802_5143a44a
formRowId: j_ido-1420978802_5143a44a
Metadata
Metadata
Assignees
Labels
No labels