You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org> on 2005/11/02 18:30:57 UTC
[jira] Closed: (MYFACES-696) Using t:navigationMenuItem inside a form is not working. Id assign problemm.
[ http://issues.apache.org/jira/browse/MYFACES-696?page=all ]
Martin Marinschek closed MYFACES-696:
-------------------------------------
> Using t:navigationMenuItem inside a form is not working. Id assign problemm.
> ------------------------------------------------------------------------------
>
> Key: MYFACES-696
> URL: http://issues.apache.org/jira/browse/MYFACES-696
> Project: MyFaces
> Type: Bug
> Components: Tomahawk
> Versions: Nightly
> Reporter: Grigoras Cristinel
> Assignee: Thomas Spiegl
> Fix For: Nightly
>
> <h:form>
> <t:div>
> <t:panelNavigation2 id="nav1" layout="list" itemClass="mypage"
> activeItemClass="selected" openItemClass="selected">
> <t:navigationMenuItems
> value="#{DMH.actiuniHeaderMenu}" />
> </t:panelNavigation2>
> </t:div>
> </h:form>
> The error is
> java.lang.IllegalArgumentException: Subsequent characters of component identifier must be a letter, a digit, an underscore ('_'), or a dash ('-')! But component identifier contains ":"
> at javax.faces.component.UIComponentBase.isIdValid(UIComponentBase.java:795)
> at javax.faces.component.UIComponentBase.setId(UIComponentBase.java:160)
> at org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlNavigationMenuRenderer.createHtmlCommandNavigationItem(HtmlNavigationMenuRenderer.java:220)
> at org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlNavigationMenuRenderer.preprocessNavigationItems(HtmlNavigationMenuRenderer.java:172)
> at org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlNavigationMenuRenderer.encodeEnd(HtmlNavigationMenuRenderer.java:99)
> at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331)
> at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:349)
> at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:253)
> at org.apache.myfaces.taglib.UIComponentBodyTagBase.doEndTag(UIComponentBodyTagBase.java:55)
> at org.apache.jsp.sec.documentOferta_jsp._jspx_meth_t_panelNavigation2_0(org.apache.jsp.sec.documentOferta_jsp:927)
> at org.apache.jsp.sec.documentOferta_jsp._jspx_meth_t_div_4(org.apache.jsp.sec.documentOferta_jsp:882)
> at org.apache.jsp.sec.documentOferta_jsp._jspx_meth_h_form_0(org.apache.jsp.sec.documentOferta_jsp:667)
> at org.apache.jsp.sec.documentOferta_jsp._jspx_meth_t_div_1(org.apache.jsp.sec.documentOferta_jsp:625)
> at org.apache.jsp.sec.documentOferta_jsp._jspx_meth_t_div_0(org.apache.jsp.sec.documentOferta_jsp:599)
> .....
> Cristi
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira