[JBoss JIRA] Created: (RF-2419) rich:tabPanel, dataModel in NOT selected rich:tab is called
by walter mauritz (JIRA)
rich:tabPanel, dataModel in NOT selected rich:tab is called
-----------------------------------------------------------
Key: RF-2419
URL: http://jira.jboss.com/jira/browse/RF-2419
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Environment: richfaces 3.1.4SR1
jetty 6.1.7
jdk6
firefox
Reporter: walter mauritz
Priority: Minor
<Master>
dropdown reRender="Detail"
</Master>
<Detail>
<tabPanel>
<tab #A/>
<tab #B/>
</tabPanel>
</Detail>
1) I use dropdown in master
2) backend gets called, tabPanel rerendered OK
3) content in tab #A gets called OK
4) content in tab #B gets called NOT OK
---
dropdown in master:
<h:selectOneMenu id="select_strecke" value="#{master.someId}">
<a4j:support event="onchange" action="#{master.event}"
reRender="ower_container"/>
detail:
<a4j:outputPanel id="lower_container">
<rich:tabPanel
selectedTab="#{master.selectedKarteireiter}"
switchType="ajax" rendered="#{master.showDetails}">
<rich:tab label="A" name="A"
rendered="#{master.showA}">
<ui:include src="/a.xhtml"/>
</rich:tab>
<rich:tab label="B" name="B"
rendered="#{master.showB}">
<ui:include src="/b.xhtml"/>
</rich:tab>
I debugged:
on normal pageload this binding gets called:
#{master.selectedKarteireiter}
on change with reRender, the mentioned binding DOES NOT get called
#{master.selectedKarteireiter}
so i assume tabPanel doesnt know which tab to render
--
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
17 years, 11 months
[JBoss JIRA] Closed: (RF-821) <rich:dataGrid> does not support 'caption' facet.
by Viktor Volkov (JIRA)
[ http://jira.jboss.com/jira/browse/RF-821?page=all ]
Viktor Volkov closed RF-821.
----------------------------
Assignee: Viktor Volkov (was: Sergey Halipov)
verified on 3.2.0 CR6
> <rich:dataGrid> does not support 'caption' facet.
> -------------------------------------------------
>
> Key: RF-821
> URL: http://jira.jboss.com/jira/browse/RF-821
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.0
> Reporter: Sergey Halipov
> Assigned To: Viktor Volkov
> Fix For: 3.1.0
>
> Attachments: dataGrid.png
>
>
> JSP code:
> <data:dataGrid id="master11" var="master" value="#{data.numbers}" columns="3"
> rowClasses="rowa,rowb,rowc rowcc"
> columnClasses="cola, colb ,rowc rowcc">
> <f:facet name="caption"><h:outputText value="caption" /></f:facet>
> <f:facet name="header"><h:outputText value="table head" /></f:facet>
> <f:facet name="footer"><h:outputText value="table foot" /></f:facet>
> <h:outputText value="#{master}" />
> <h:outputText value="st" />
> </data:dataGrid>
> This grid will be rendered without caption (see attached screen shot).
> JUnit test fails also with caption:
> junit.framework.AssertionFailedError: expected:<1> but was:<0>
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.failNotEquals(Assert.java:282)
> at junit.framework.Assert.assertEquals(Assert.java:64)
> at junit.framework.Assert.assertEquals(Assert.java:201)
> at junit.framework.Assert.assertEquals(Assert.java:207)
> at org.richfaces.component.DataGridComponentTest.testRenderDataGridFacets(DataGridComponentTest.java:154)
> at org.richfaces.component.DataGridComponentTest.testRenderDataGridFacets(DataGridComponentTest.java:154)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ....
--
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
17 years, 11 months