[JBoss JIRA] Created: (RF-4187) rich:fileUpload to support portal environment
by egor kolesnikov (JIRA)
rich:fileUpload to support portal environment
---------------------------------------------
Key: RF-4187
URL: https://jira.jboss.org/jira/browse/RF-4187
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: JBoss Portal 2.6.5, JBoss AS 4.2.2, PortletBridge 1.0.0.B3, Seam 2.0.2.SP1, JSF RI 1.2, Facelets 1.1.14
Reporter: egor kolesnikov
FileUpload.js' submitForm() method rewrites form action url, violating the JSR-168 specification.
parentForm.action = this.actionUrl + (/\?/.test(this.actionUrl) ? '&_richfaces_upload_uid' : '?_richfaces_upload_uid') + '=' + encodeURI(entry.uid) + "&id=" + this.id + "&_richfaces_upload_file_indicator=true";
Evaluation of this expression leads to Servlet URL, not Portlet Action URL which expected.
Possible solution would be initializing "this.actionUrl" to "parentForm.action" value.
--
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, 11 months
[JBoss JIRA] Created: (RF-3745) Problems with a4j:commandLink, page forwarding and IE7
by Gustavo Ehrhardt (JIRA)
Problems with a4j:commandLink, page forwarding and IE7
------------------------------------------------------
Key: RF-3745
URL: http://jira.jboss.com/jira/browse/RF-3745
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1, 3.1.6
Environment: Mojarra 1.2_07 (RI) or MyFaces 1.1.6
RichFaces 3.2.1 GA or 3.1.6 GA
Tomcat 6.0.14 or 5.5.26
Reporter: Gustavo Ehrhardt
Priority: Minor
I'm experiencing some problems when I use ajax forms on IE7.
My page basically use an a4j:commandLink with some action attribute. This action is described on my faces-config.xml to FORWARD to another page.
It works normally on Firefox and IE6, but doesn't works just on IE7.
The problem don't occurs when changing my navigation rule to REDIRECT to another page. But I couldn't use request scope to my beans (I'm using a4j:KeepAlive).
===============================================
Just a tip:
Use a4j:htmlCommandLink to make page FORWARDS.
That worked to me on IE6, IE7 and FF, but there's no Ajax request. So Ajax stuff doesn't work (e.g. a4j:actionParam and a4j:status).
--
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, 11 months
[JBoss JIRA] Created: (RF-6555) dataTable: only first row encoded properly
by Ilya Shaikovsky (JIRA)
dataTable: only first row encoded properly
------------------------------------------
Key: RF-6555
URL: https://jira.jboss.org/jira/browse/RF-6555
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
Priority: Critical
checked within richfaces-demo
<rich:dataTable value="#{dataTableScrollerBean.tenRandomCars}" var="car" id="table"
onRowMouseOver="this.style.backgroundColor='#F8F8F8'"
onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'" rowClasses="cur">
<rich:column>
<f:facet name="header">
Make
</f:facet>
<h:outputText value="#{car.make}"/>
</rich:column>
<rich:column>
<f:facet name="header">
Model
</f:facet>
<h:outputText value="#{car.model}"/>
</rich:column>
<rich:column>
<f:facet name="header">
Price
</f:facet>
<h:outputText value="#{car.price}" />
</rich:column>
<rich:componentControl event="onRowClick" for="menu" operation="show">
<f:param value="#{car.model}" name="model"/>
<f:param value="#{car.make}" name="car"/>
</rich:componentControl>
</rich:dataTable>
component control script, styles, and events handlers rendered only for first <tr/> element all the other rows not affected..
--
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, 11 months
[JBoss JIRA] Created: (RF-6018) panelMenu: Attribute iconCollapsedTopPosition invalid for tag panelMenu (demo)
by Inna Shchibrya (JIRA)
panelMenu: Attribute iconCollapsedTopPosition invalid for tag panelMenu (demo)
------------------------------------------------------------------------------
Key: RF-6018
URL: https://jira.jboss.org/jira/browse/RF-6018
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: FF-3.0
Tomcat 6.0
sun RI 1.2.10
jsp
Reporter: Inna Shchibrya
Assignee: Nick Belaevski
For example:
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<f:loadBundle var="Message" basename="demo.Messages" />
<html>
<head>
<title>Hello!</title>
<style>
.cols{
vertical-align:top;
width:50%;
}
</style>
</head>
<body>
<f:view>
<h3><h:outputText value="#{Message.hello_message}" />,
<h:outputText value="#{user.name}" />!</h3>
<br/>
<h:form id="form">
<h:panelGrid columns="2" columnClasses="cols" width="100%">
<rich:panelMenu style="width:200px" mode="ajax"
iconExpandedGroup="disc" iconCollapsedGroup="disc"
iconExpandedTopGroup="chevronUp" iconGroupTopPosition="right"
iconCollapsedTopGroup="chevronDown" iconCollapsedTopPosition="right" >
<rich:panelMenuGroup label="Group 1">
<rich:panelMenuItem label="Item 1.1" action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 1.1"/>
</rich:panelMenuItem>
<rich:panelMenuItem label="Item 1.2" action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 1.2"/>
</rich:panelMenuItem>
<rich:panelMenuItem label="Item 1.3" action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 1.3"/>
</rich:panelMenuItem>
</rich:panelMenuGroup>
<rich:panelMenuGroup label="Group 2">
<rich:panelMenuItem label="Item 2.1" action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 2.1"/>
</rich:panelMenuItem>
<rich:panelMenuItem label="Item 2.2" action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 2.2"/>
</rich:panelMenuItem>
<rich:panelMenuItem label="Item 2.3" action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 2.3"/>
</rich:panelMenuItem>
<rich:panelMenuGroup label="Group 2.4">
<rich:panelMenuItem label="Item 2.4.1" action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 2.4.1"/>
</rich:panelMenuItem>
<rich:panelMenuItem label="Item 2.4.2" action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 2.4.2"/>
</rich:panelMenuItem>
<rich:panelMenuItem label="Item 2.4.3" action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 2.4.3"/>
</rich:panelMenuItem>
</rich:panelMenuGroup>
<rich:panelMenuItem label="Item 2.5" action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 2.5"/>
</rich:panelMenuItem>
</rich:panelMenuGroup>
<rich:panelMenuGroup label="Group 3">
<rich:panelMenuItem label="Item 3.1" action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 3.1"/>
</rich:panelMenuItem>
<rich:panelMenuItem label="Item 3.2" action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 3.2"/>
</rich:panelMenuItem>
<rich:panelMenuItem label="Item 3.3" action="#{panelMenu.updateCurrent}">
<f:param name="current" value="Item 3.3"/>
</rich:panelMenuItem>
</rich:panelMenuGroup>
</rich:panelMenu>
<rich:panel bodyClass="rich-laguna-panel-no-header">
<a4j:outputPanel ajaxRendered="true">
<h:outputText value="#{panelMenu.current} selected" id="current"/>
</a4j:outputPanel>
</rich:panel>
</h:panelGrid>
</h:form>
</f:view>
</body>
</html>
Actual result: exception "Attribute iconCollapsedTopPosition invalid for tag panelMenu according to TLD".
--
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, 11 months
[JBoss JIRA] Created: (RF-6545) rich:panelMenu rich:panelMenuItem requires binding to remember selected item state
by Mike Hanafey (JIRA)
rich:panelMenu rich:panelMenuItem requires binding to remember selected item state
----------------------------------------------------------------------------------
Key: RF-6545
URL: https://jira.jboss.org/jira/browse/RF-6545
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Reporter: Mike Hanafey
In the example below, the backing bean is session, but it does nothing with the "binding" property (other than store the value). If "binding" is omitted, then the selected state of the panel menu items is not maintained, but it seems this should be part of the saved component state. Without "binding" if item "el" is clicked, the label momentarily turns purple, but when the view is restored it turns back to the plain state. When "binding" is present, each item that is clicked turns purple, and stays purple.
<rich:panelMenu id="sideMenu" style="width:100%" mode="server" binding="#{MainToolBar.settingsMenu.panelMenu}"
iconExpandedGroup="disc" iconCollapsedGroup="disc"
iconExpandedTopGroup="chevronUp" iconGroupTopPosition="right"
iconCollapsedTopGroup="chevronDown">
<rich:panelMenuItem id="el" label="Report Sections" action="#{MainToolBar.settingsMenu.actionReportSectionSettings}"/>
<rich:panelMenuItem id="snl" label="A stubbed" action="#{MainToolBar.settingsMenu.actionReportSectionSettings}"/>
</rich:panelMenu>
The problem was traced as far as org.richfaces.renderkit.html.PanelMenuItemRenderer, where "parentMenu.getSelectedName()" always returns the empty string if "binding" is not present.
public boolean isSelected(FacesContext context, UIComponent component){
UIPanelMenuItem item = (UIPanelMenuItem)component;
UIPanelMenu parentMenu = findMenu(item);
return item.getName().equals(parentMenu.getSelectedName());
}
--
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, 11 months