[richfaces-issues] [JBoss JIRA] Assigned: (RF-1158) IllegalArgumentException on page with tabPanel
Anton Belevich (JIRA)
jira-events at lists.jboss.org
Wed Oct 24 06:22:02 EDT 2007
[ http://jira.jboss.com/jira/browse/RF-1158?page=all ]
Anton Belevich reassigned RF-1158:
----------------------------------
Assignee: Ilya Shaikovsky (was: Anton Belevich)
fixed in trunk
> IllegalArgumentException on page with tabPanel
> ----------------------------------------------
>
> Key: RF-1158
> URL: http://jira.jboss.com/jira/browse/RF-1158
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.2
> Reporter: Peter Mahoney
> Assigned To: Ilya Shaikovsky
> Fix For: 3.2.0
>
>
> Since upgrading to 3.1.2, and also using the latest 3.1.3 snapshot, I get an IllegalArgumentException when displaying a page with tabs. The tab panel is:
> <rich:tabPanel id="questionTabPanel">
> <rich:tab id="collectionTab" label="#{msgs.qbankQuestionCollectionsFieldLabel}">
> <ui:include src="questioncollectionedit.xhtml" />
> </rich:tab>
> <rich:tab id="myQuestionsTab" label="#{msgs.qbankQuestionsFieldLabel}">
> <ui:include src="questionedit.xhtml" />
> </rich:tab>
> </rich:tabPanel>
> And the stack trace is:
> javax.faces.FacesException: Exception while calling encodeBegin on : {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /index.xhtml][Class: org.richfaces.component.html.HtmlTabPanel,Id: questionTabPanel]}
> at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:677)
> at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242)
> at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
> at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573)
> ...
> Caused by: java.lang.IllegalArgumentException: Unnamed parameter not allowed for AJAX components, parameter for collectionTab
> at org.richfaces.renderkit.TabHeaderRendererBase.encodeParams(TabHeaderRendererBase.java:76)
> at org.richfaces.renderkit.TabHeaderRendererBase.encodeTabLabel(TabHeaderRendererBase.java:135)
> at org.richfaces.renderkit.html.TabHeaderRenderer.doEncodeEnd(TabHeaderRenderer.java:100)
> at org.richfaces.renderkit.html.TabHeaderRenderer.doEncodeEnd(TabHeaderRenderer.java:168)
> at org.ajax4jsf.renderkit.RendererBase.encodeEnd(RendererBase.java:135)
> at org.richfaces.renderkit.TabRendererBase.encodeTab(TabRendererBase.java:74)
> at org.richfaces.component.UITab.encodeTab(UITab.java:66)
> at org.richfaces.renderkit.TabPanelRendererBase.encodeTabs(TabPanelRendererBase.java:332)
> at org.richfaces.renderkit.html.TabPanelRenderer.doEncodeBegin(TabPanelRenderer.java:227)
> at org.richfaces.renderkit.html.TabPanelRenderer.doEncodeBegin(TabPanelRenderer.java:180)
> at org.ajax4jsf.renderkit.RendererBase.encodeBegin(RendererBase.java:101)
> at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:674)
> ... 34 more
> Removing the include in the collectionTab simply changes the error to myQuestionsTab.
> The page displays without problems using 3.1.1.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list