[richfaces-issues] [JBoss JIRA] Commented: (RF-3053) rich:datascroller does not run on JBoss Portal

Javier Alperte (JIRA) jira-events at lists.jboss.org
Thu Apr 17 08:50:44 EDT 2008


    [ http://jira.jboss.com/jira/browse/RF-3053?page=comments#action_12409330 ] 
            
Javier Alperte commented on RF-3053:
------------------------------------

I also opened the a4j:Log console and no AJAX request is done when you click over one of the links of the datascroller graphic components.

The generated HTML code for one of this graphic components looks like:

   <td onclick="Event.fire(this, 'rich:datascroller:onscroll', {'page' : '2'} );" class="dr-dsdr-inact rich-datascr-inact">2</td>

It seems the Event.fire is not invoked or somthing internal is not happening.

> 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

        



More information about the richfaces-issues mailing list