[richfaces-issues] [JBoss JIRA] Commented: (RF-8424) rich:panelMenuGroup component onexpand/oncollapse events won't be triggered in Firefox3.5
Wang Liyu (JIRA)
jira-events at lists.jboss.org
Tue Mar 9 10:00:01 EST 2010
[ https://jira.jboss.org/jira/browse/RF-8424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12518937#action_12518937 ]
Wang Liyu commented on RF-8424:
-------------------------------
I didn't put it into any form, should I put it into a a4j:form?
Template file:
<f:view xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:a="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich" contentType="text/html">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<a:loadStyle src="resource:///stylesheet/theme.xcss" />
<a:loadStyle src="/stylesheet/theme.css" />
<a:loadScript src="resource://jquery.js" />
<ui:insert name="head" />
</head>
<body>
<rich:toolBar itemSeparator="grid" height="32px">
</rich:toolBar>
<div class="body">
<ui:insert name="body" />
</div>
<div class="footer">
<p>Powered by <a href="http://seamframework.org">Seam</a> #{org.jboss.seam.version} and <a href="http://www.jboss.org/jbossrichfaces">RichFaces</a>.</p>
<s:fragment rendered="#{init.debug}">
<a:log hotkey="D" />
<p style="margin-top: -0.5em;">
Conversation: id = #{conversation.id}, #{conversation.longRunning ? 'long running' : 'temporary'}#{conversation.nested ? ', nested, parent id = '.concat(conversation.parentId) : ''}
#{' - '} Ajax4jsf Log (Ctrl+Shift+D)
#{' - '} <s:link id="debugConsole" view="/debug.xhtml" value="Debug console" target="debugConsole" />
#{' - '} <s:link id="resetSession" view="/home.xhtml" action="#{org.jboss.seam.web.session.invalidate}" propagation="none" value="Terminate session" />
</p>
</s:fragment>
</div>
</body>
</html>
</f:view>
Here is the home.xhtml:
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j" template="/layout/template.xhtml">
<ui:define name="body">
<rich:panel>
<h:panelGrid columns="2">
<s:div style="vertical-align:top; height:600px; width:230px">
<rich:panelMenu expandSingle="true"
iconCollapsedGroup="chevronDown" iconExpandedGroup="chevronUp"
iconItem="disc" mode="ajax">
<rich:panelMenuGroup label="defaultCategory" expanded="#{menu.status['defaultCategory']}">
<a4j:support event="onexpand" action="#{menu.expandCategory('defaultCategory')}" />
<a4j:support event="oncollapse" action="#{menu.collapseCategory('defaultCategory')}" />
<rich:panelMenuGroup expanded="#{menu.status['default-transactions']}" label="Transactions" >
<a4j:support event="onexpand" action="#{menu.expandMenu('default-transactions')}" />
<a4j:support event="oncollapse" action="#{menu.collapseMenu('default-transactions')}" />
<rich:panelMenuItem action="#{menu.select('sample1')}" label="Sample1"></rich:panelMenuItem>
<rich:panelMenuItem action="#{menu.select('sample2')}" label="Sample2"></rich:panelMenuItem>
...
and it doesn't trigger onexpand or oncollapse event when click the defaultCategory in Firefox3.5.
> rich:panelMenuGroup component onexpand/oncollapse events won't be triggered in Firefox3.5
> -----------------------------------------------------------------------------------------
>
> Key: RF-8424
> URL: https://jira.jboss.org/jira/browse/RF-8424
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: browser compatibility
> Affects Versions: 3.3.3.CR1
> Environment: JBoss AS5.1.0, Seam 2.2.0GA, Richface 3.3.2 SR1.
> Reporter: Liyu Wang
> Assignee: Nick Belaevski
>
> <rich:panelMenuGroup expanded="#{menu.status['customer-trans']}" label="Transactions" >
> <a4j:support event="onexpand" action="#{menu.expandMenu('customer-trans')}" />
> <a4j:support event="oncollapse" action="#{menu.collapseMenu('customer-trans')}" />
> ...
> </rich:panelMenuGroup>
> works fine in IE7/8, but not working in Firefox3.5
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list