[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
16 years, 7 months
[JBoss JIRA] Created: (RF-4093) AJAX parameters are not set when source link is in facet and has no id
by Christian Koppen (JIRA)
AJAX parameters are not set when source link is in facet and has no id
----------------------------------------------------------------------
Key: RF-4093
URL: https://jira.jboss.org/jira/browse/RF-4093
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: Windows 2000
Firefox 3, Internet Explorer 6 SP1
Reporter: Christian Koppen
See the attached test case.
Scenario:
A h:panelGrid contains a header/footer f:facet.
In this facet we have a a4j:commandLink.
The link has a child element a4j:actionparam which assigns the value to a backing bean property.
Case 1: This link has the attribute "id" set.
Result: The AJAX request works as expected. The value is correctly assigned to the backing bean property.
Case 2: This link does not have the attribute "id" set.
Result: The first AJAX request works correctly. After that, every click results in an AJAX request, but the value is not assigned to the backing bean property.
--
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
16 years, 7 months
[JBoss JIRA] Created: (RF-3656) panelMenuGroup and panelMenuItem don't escape bad XML characters in "label"
by Andreas Heiduk (JIRA)
panelMenuGroup and panelMenuItem don't escape bad XML characters in "label"
---------------------------------------------------------------------------
Key: RF-3656
URL: http://jira.jboss.com/jira/browse/RF-3656
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1, 3.2.0.SR1
Environment: Facelets 1.1.14
Reporter: Andreas Heiduk
PanelMenuGroup and PanelMenuItem render the "label" attribute as plain text without escaping characters like '&'. Getting the values from the model also doesn't work. The browser then gets the message "XML Parsing Error: not well-formed".
Example using Facelets:
<rich:panelMenu mode="ajax" width="200px">
<rich:panelMenuGroup label="Drag & Drop" expanded="true" >
<rich:panelMenuItem label="Drag & Drop" />
</rich:panelMenuGroup>
</rich:panelMenu>
Output:
.... <input name="panelMenuActionj_id3" type="hidden" />Foo & Bar</td><td><....
--
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
16 years, 7 months