[
http://jira.jboss.com/jira/browse/RF-3053?page=comments#action_12409364 ]
Antoine Herzog commented on RF-3053:
------------------------------------
Hi Javier,
sure that both version 1.5.0 and 1.6.0 ... is not a very good thing.
but I am not sure that makes the problem.
I had noticed that the Script Loading was causing some strange behavior.
I stopped to put the script link in the portal header (through the portal feature).
There are some posts about the Scripts and Styles Load Strategy and enhancing the
"org.richfaces.LoadScriptStrategy" parameter to allow to choose which script is
loaded, and which is not....
I will post on the PortletBridge forum about that, to discuss about it before to comment
on the JIRA.
Regards,
rich:datascroller does not run on JBoss Portal
----------------------------------------------
Key: RF-3053
URL:
http://jira.jboss.com/jira/browse/RF-3053
Project: RichFaces
Issue Type: Bug
Components: portal
Affects Versions: 3.2.0
Environment: JBoss AS 4.2.2, JBoss Portal 2.6.4, JBoss Seam 2.0.2.A1, JBoss
Portlet Bridge 1.0.0.B1, Facelets 1.1.14, EL-API 1.0, EL-RI 1.0, on Linux KUbuntu 7.04
Feisty Fawn
Reporter: Javier Alperte
Assigned To: Nick Belaevski
Fix For: 3.2.1
Everything seems to run Ok less the rich:datascroller. This component does not run, the
table does not change its page when you push any of the datascroller buttons.
The code I use is the following:
<a4j:portlet>
<h:form>
<rich:dataTable id="tableId" value="#{myBean.values}"
var="myVal" rendered="#{!myBean.isEmpty}"
rows="#{myBean.tableRows}" cellpadding="0"
cellspacing="0" border="0"
onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
>
<f:facet name="header">
<rich:datascroller></rich:datascroller>
</f:facet>
<h:column>
<f:facet name="header">
#{messages['table.column.1.name']}
</f:facet>
#{myVal.name}
</h:column>
<h:column>
<f:facet name="header">
#{messages['table.column.2.name']}
</f:facet>
#{myVal.description}
</h:column>
<h:column>
<f:facet name="header">
#{messages['table.column.actions']}
</f:facet>
<h:commandLink
title="#{messages['action.edit.title']}"
action="#{mySessionBean.edit(myVal)}">
<rich:spacer styleClass="img-16-edit"
style="border: 0" />
</h:commandLink>
</h:column>
</rich:dataTable>
</h:form>
</a4j:portlet>
--
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