|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
_______________________________________________ seam-issues mailing list [email protected] https://lists.jboss.org/mailman/listinfo/seam-issues

Hi all,
I looked at the code for this and it looks like the <s:decorate /> tag "breaks" the resolution of "enclosingDiv" because implementing javax.faces.component.NamingContainer.
In this scenario, the AJAX component invokes findComponent("enclosingDiv") on the HtmlInputText (whose id is myInput) and the search stops at the org.jboss.seam.ui.component.UIDecorate component (whose id is "myDecorator"), without reaching the enclosing form. The behavior is visible debugging the method javax.faces.component.UIComponentBase#findComponent(String).
Why does UIDecorate implement NamingContainer? Wouldn't everything work without this?
The other possibility to fix this is to modify the <f:ajax> tag using <f:ajax render=":frm:enclosingDiv"/> instead of <f:ajax render="enclosingDiv"/>.