[JBoss JIRA] Created: (RF-4430) Content of dataTable cells disapears after reRendering rich:column
by Jonas Buechel (JIRA)
Content of dataTable cells disapears after reRendering rich:column
------------------------------------------------------------------
Key: RF-4430
URL: https://jira.jboss.org/jira/browse/RF-4430
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.2.1
Environment: IE7
Reporter: Jonas Buechel
The following code works correctly in FF3 and chrome but not in IE7. A javascript error occurs on row click.
In order to fix this in my opinion it would make sense to implement the possibility to reRender rich:columnGroup as well (not only rich:column).
(another forum discussion: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=141675)
<pre>
<a4j:form>
<rich:dataTable id="tableId" value="#{dataModel}" var="rowObject"
ajaxKeys="#{dataModelManager.ajaxKeys}" rows="#{rowsDisplayed}" width="100%" cellpadding="0"
cellspacing="0">
<!-- Only columns with the given ids are beeing rerendered. -->
<a4j:support event="onRowClick" action="#{dataModelManager.select}"
reRender="nameId" />
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:outputText value="#{messages.militaryRole_label_name}" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:columnGroup>
<rich:column id="nameId" styleClass="fwc-selectedrow-#{rowObject eq dataModelSelection}">
<h:outputText value="#{rowObject.name}" />
</rich:column>
</rich:columnGroup>
</rich:dataTable>
</a4j:form>
</pre>
--
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-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-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