[JBoss JIRA] Created: (RF-3698) Seam Components in ModalPanel aren't working in 3.2.1
by Devon Hillard (JIRA)
Seam Components in ModalPanel aren't working in 3.2.1
-----------------------------------------------------
Key: RF-3698
URL: http://jira.jboss.com/jira/browse/RF-3698
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: Jboss 4.2.2 GA
Seam 2.0.2.GA
RichFaces 3.2.1
Reporter: Devon Hillard
Attachments: image-modal.xhtml
I have a ModalPanel which contains a s:div defined in an xhtml file.
I have a page which includes the ModelPanel file like this:
<a:include viewId="/image-modal.xhtml" />
On that page I display thumbnail images, when an image is clicked, Richfaces.showModelPanel is called, and the s:div within the modal panel is rerendered with the selected image data to be displayed.
When using RichFaces 3.2.0, this works perfectly.
When upgrading the RichFaces jars to 3.2.1, all of the dynamic components in the modal panel are unset breaking all functionality of the panel.
I will attach relevant .xhtml source.
What has changed? How can I fix this?
Thanks!
--
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, 8 months
[JBoss JIRA] Created: (RF-3832) dropDownMenu: is not expanded when inside the rich:panelMenu
by Tsikhon Kuprevich (JIRA)
dropDownMenu: is not expanded when inside the rich:panelMenu
------------------------------------------------------------
Key: RF-3832
URL: http://jira.jboss.com/jira/browse/RF-3832
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: myfaces
FF 3
tomcat
jsp
Reporter: Tsikhon Kuprevich
Assigned To: Anton Belevich
Modify the DropDownMenu.jsp page in the test application the way described below:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview id="DropDownMenuSubviewID">
<h:panelGrid columns="2">
<rich:spacer width="400px" height="400px"></rich:spacer>
<rich:panel>
<rich:panelMenu expandMode="ajax">
<rich:panelMenuItem label="label1" >
<rich:dropDownMenu id="ddmId" disabled="#{dDMenu.disabledDDM}" value="DropDownMenu" submitMode="#{dDMenu.mode}" hideDelay="#{dDMenu.hideDelay}"
direction="#{dDMenu.direction}" horizontalOffset="#{dDMenu.horizontalOffset}" jointPoint="#{dDMenu.jointPoint}"
popupWidth="#{dDMenu.popupWidth}" showDelay="#{dDMenu.showDelay}" rendered="#{dDMenu.rendered}"
verticalOffset="#{dDMenu.verticalOffset}" styleClass="#{style.styleClass}" style="#{style.style}" event="#{dDMenu.event}"
oncollapse="#{event.oncollapse}" onexpand="#{event.onexpand}" ongroupactivate="#{event.ongroupactivate}" onitemselect="#{event.onitemselect}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}">
<rich:menuItem icon="#{dDMenu.icon}" onbeforedomupdate="#{event.onbeforedomupdate}" onclick="#{event.onclick}" oncomplete="#{event.oncomplete}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onselect="#{event.onselect}">
<h:outputText value="Item1(test events)" />
</rich:menuItem>
<rich:menuSeparator />
<rich:menuItem icon="#{dDMenu.icon}" onmousedown="alert('OnMouseDown')" selectClass="mousemove">
<h:outputText value="OnMouseDown" />
</rich:menuItem>
<rich:menuSeparator />
<rich:menuItem>
<h:outputText value="Item2" />
</rich:menuItem>
<rich:menuItem icon="#{dDMenu.icon}">
<h:outputText value="Item3" />
</rich:menuItem>
<rich:menuItem>
<h:outputLink value="http://www.jboss.com/"><f:verbatim>Link</f:verbatim></h:outputLink>
</rich:menuItem>
<rich:menuSeparator/>
<rich:menuItem icon="/pics/info.gif" value="action" action="#{dDMenu.act}" reRender="cmInfoID">
</rich:menuItem>
<rich:menuItem icon="/pics/info.gif" value="actionListener" actionListener="#{dDMenu.actListener}" reRender="cmInfoID">
</rich:menuItem>
<rich:menuSeparator />
<rich:menuItem icon="/pics/ajax_process.gif" iconDisabled="/pics/ajax_stoped.gif" disabled="#{dDMenu.disabled}">
<h:outputText value="Image"></h:outputText>
</rich:menuItem>
<rich:menuItem disabled="#{dDMenu.disabled}" icon="#{dDMenu.icon}">
<h:outputText value="Image:" />
<h:graphicImage value="/pics/ajax_process.gif" />
</rich:menuItem>
<rich:menuSeparator />
<rich:menuGroup value="Second level" direction="#{dDMenu.groupDirection}" disabled="#{dDMenu.disabled}" icon="#{dDMenu.icon}"
iconFolder="#{dDMenu.iconFolder}">
<rich:menuItem icon="#{dDMenu.icon}">
<h:outputText value="Item3" />
</rich:menuItem>
<rich:menuItem value="Item4">
<h:selectOneMenu value="#{dDMenu.selectMenu}">
<f:selectItem itemLabel="Honda Accord" itemValue="accord" />
<f:selectItem itemLabel="Toyota 4Runner" itemValue="4runner" />
<f:selectItem itemLabel="Nissan Z350" itemValue="nissan-z" />
</h:selectOneMenu>
</rich:menuItem>
<rich:menuSeparator />
<rich:menuItem icon="#{dDMenu.icon}">
<h:outputText value="CheckBox " />
<h:selectBooleanCheckbox value="#{dDMenu.check}" onclick="submit()" />
</rich:menuItem>
</rich:menuGroup>
</rich:dropDownMenu>
<rich:panelMenuItem>
<h:outputText value="One more item"></h:outputText>
<h:outputText value="One more item"></h:outputText>
<h:outputText value="One more item"></h:outputText>
<h:outputText value="One more item"></h:outputText>
</rich:panelMenuItem>
</rich:panelMenuItem>
</rich:panelMenu>
</rich:panel>
</h:panelGrid>
<h:panelGrid id="dndActionID" columns="1">
<a4j:commandButton value="Show action" reRender="dndActionID" style=" width : 95px;"></a4j:commandButton>
<h:outputText value="#{dDMenu.action}" />
<h:outputText value="#{dDMenu.actionListener}" />
</h:panelGrid>
</f:subview>
--
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, 8 months