[JBoss JIRA] Created: (RF-1101) Tooltip disablement switching broken
by Ilya Shaikovsky (JIRA)
Tooltip disablement switching broken
------------------------------------
Key: RF-1101
URL: http://jira.jboss.com/jira/browse/RF-1101
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Ilya Shaikovsky
Assigned To: Nick Belaevski
Fix For: 3.2.0
Suggested to 3.1.2
<a4j:outputPanel id="test1">
<h:outputText value="checked" rendered="#{bean.check}"></h:outputText>
<h:graphicImage value="/pages/pennsylvania.gif" id="test">
<rich:toolTip value="123123" disabled="#{bean.check}"/>
</h:graphicImage>
</a4j:outputPanel>
<a4j:commandButton value="123123" action="#{bean.toggleCheck}" reRender="test1"></a4j:commandButton>
output - updated. Tooltip - not. IE - throws JS error.
--
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
18 years, 4 months
[JBoss JIRA] Created: (RF-1158) IllegalArgumentException on page with tabPanel
by Peter Mahoney (JIRA)
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
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
18 years, 4 months
[JBoss JIRA] Created: (RF-1256) TabPanel: a4j:support on specific events throws JS errors
by Ilya Shaikovsky (JIRA)
TabPanel: a4j:support on specific events throws JS errors
---------------------------------------------------------
Key: RF-1256
URL: http://jira.jboss.com/jira/browse/RF-1256
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Ilya Shaikovsky
Assigned To: Nick Belaevski
Fix For: 3.2.0
<rich:tabPanel switchType="ajax">
<rich:tab label="Sample 1">
<h:outputText value="1"></h:outputText>
<h:inputText value="#{bean.property1}" required="true" />
</rich:tab>
<rich:tab label="Sample 2">
<a4j:support event="ontabenter"></a4j:support>
<h:outputText value="2"></h:outputText>
<h:inputText value="#{bean.property1}"></h:inputText>
</rich:tab>
</rich:tabPanel>
If I move support to first tab with ontableave event - the same JS exception
--
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
18 years, 5 months