-
2. Re: Problem with menuItem and tabPanel in the same page
haoues01 Aug 22, 2007 8:24 PM (in response to haoues01)Hi,
I've seen in JIRA that the bug is resolved (RF-636), I re-built Richfaces (3.1.0 snapshot) but the problem remains.
It seems to be the same with panelBar and SimpleTogglePanel (javascript error with menuItem).
Thanks for your help. -
3. Re: Problem with menuItem and tabPanel in the same page
haoues01 Aug 22, 2007 9:44 PM (in response to haoues01)
First I want to thank you for your reactivity, the menuItem works now with tabPanel (I've just installed the richfaces-3.1.0-rc3)!
Sorry for the precedent post.
Unfortunately the bug remains for panelBar and SimpleTogglePanel (consequently modalPanel is not shown when in the same page ).
Thanks for your attention. -
4. Re: Problem with menuItem and tabPanel in the same page
ilya_shaikovsky Aug 23, 2007 8:46 AM (in response to haoues01)could you please the page with the latest problem.
-
5. Re: Problem with menuItem and tabPanel in the same page
haoues01 Aug 25, 2007 1:42 PM (in response to haoues01)HI,
Below the src code. I've done many simple case by changing simpleToogle panel by panelBar etc... :
<%@ include file="/WEB-INF/templates/taglibs.jsp" %>
<f:view>
<%@ include file="/WEB-INF/templates/admin_tmpl_header.jsp" %>
<h:form id="me_fo">
<a4j:keepAlive beanName="cppEdit"/>
<a4j:keepAlive beanName="seasonSelect"/>
<a4j:keepAlive beanName="orgSelect"/>
<rich:panelBar id="me_pb" selectedPanel="tab1" height="100%" width="100%" >
<rich:panelBarItem id="tab0" label="panelBar0">
<a4j:region id="cal0_re" >
<a4j:outputPanel id="cal0_op" >
<rich:datascroller for="cpl0_dt" maxPages="100" renderIfSinglePage="false"
rendered="#{cppEdit.cppList != null}"/>
<rich:dataTable id="cpl0_dt" value="#{cppEdit.cppList}" var="cppWpr" width="100%"
onRowMouseOver="this.style.backgroundColor='#F1E7C3'"
onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
rendered="#{cppEdit.cppList != null}" rows="6" >
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:outputText value="Edit" />
</rich:column>
<rich:column >
<h:outputText value="Name" />
</rich:column>
<rich:column >
<h:outputText value="Umpires" />
</rich:column>
<rich:column >
<h:outputText value="Season" />
</rich:column>
<rich:column >
<h:outputText value="ClubChampionShip" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column>
<a4j:region id="bt0_re">
<a4j:commandButton image="images/edit.gif" rendered="#{cppWpr.btEdit}"
action="#{cppEdit.editCompParent}" actionListener="#{cppEdit.load}"
reRender="case_op" >
<a4j:actionparam name="comp_parent_id" value="#{cppWpr.val.competitionParent.id}" />
<a4j:actionparam name="comp_parent_param_id" value="#{cppWpr.val.id}" />
</a4j:commandButton>
</a4j:region>
</rich:column>
<rich:column>
<h:outputText value="#{cppWpr.val.name}" />
</rich:column>
<rich:column>
<h:outputText value="#{cppWpr.val.umpires.name}" />
</rich:column>
<rich:column>
<h:outputText value="#{cppWpr.val.season.name}" />
</rich:column>
<rich:column>
<h:selectBooleanCheckbox value="#{cppWpr.val.clubChampionship}" disabled="true" />
</rich:column>
</rich:dataTable>
</a4j:outputPanel>
</a4j:region>
<!-- END RESULTS ZONE -->
</rich:panelBarItem>
</rich:panelBar>
<a4j:status for="cal0_re"
onstart="javascript:Richfaces.showModalPanel('mp');"
onstop="javascript:Richfaces.hideModalPanel('mp')" />
<rich:modalPanel id="mp" width="200" height="150" moveable="true" resizeable="true" >
<f:facet name="header">
<h:outputText style="text-align:center;" value="Please Wait ..." />
</f:facet>
<h:graphicImage height="100%" width="100%" value="images/wait_animation.gif" />
</rich:modalPanel>
</h:form>
<%@ include file="/WEB-INF/templates/admin_tmpl_footer.jsp" %>
</f:view>
Thanks.