Hi Geeta,

Thanks for the suggestion....Okay, we're getting close!!!! :-)

I added the <link href="" rel="stylesheet" type="text/css" /> to the JSP.

When I removed the  <f:actionListener type="DataScrollerActionListener"/>

it works!

Well, kinda...

If I click any of the nav buttons I get errors like below.

Do I need to do anything for the variables in the paging control? It doesn't seem so based on the example.

  id="scroll_1"
                        for=""
                        fastStep="10"
                        pageCountVar="pageCount"  ???
                        pageIndexVar="pageIndex"   ???

                        styleClass="scroller"
                        paginator="true"
                        paginatorMaxPages="9"
                        paginatorTableClass="paginator"
                        paginatorActiveColumnStyle="font-weight:bold;">

I mean do any of these need to be in the managed bean or handled in any way?

I don't know if the errors below are from my removing the
DataScrollerActionListener.

----------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:125)

root cause

java.lang.ClassCastException
	org.apache.myfaces.component.html.ext.HtmlDataTable.updateModelFromPreservedDataModel(HtmlDataTable.java:256)
	org.apache.myfaces.component.html.ext.HtmlDataTable.processUpdates(HtmlDataTable.java:242)
	javax.faces.component.UIForm.processUpdates(UIForm.java:85)
	javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:428)
	javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:153)
	com.sun.faces.lifecycle.UpdateModelValuesPhase.execute(UpdateModelValuesPhase.java:81)
	com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
	com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)


Look forward to any additional ideas.

Thanks.

    Mike


[EMAIL PROTECTED] wrote:

Mike <[EMAIL PROTECTED]> wrote on 01/03/2006 12:37:30 PM:

> Hi Geeta,
>
> Can you explain what the rowId signifies in the data table when
> using the paging component?


I believe it identifies a unique row within your data table. For example, your "tx" class should have a getType() method and "type" should uniquely identify your tx object.

>
> I'm still getting errors (see below, but I think it's still pretty
> basic). I added the basic.css to the JSP directory, but that didn't help.


Did you also add a <link notation within the "<head in your jsp to this style sheet?


> And, my paging header:
                       
>                      
>                             <f:actionListener
> type="DataScrollerActionListener" />



What happens when you remove the <f:actionListener?


> type Exception report
> message
> description The server encountered an internal error () that
> prevented it from fulfilling this request.

> exception
> javax.servlet.ServletException: javax.servlet.ServletException:
> javax.servlet.jsp.JspException: null
>    javax.faces.webapp.FacesServlet.service(FacesServlet.java:121)


Finally, did you enclose everything within a <h:form as in the example I gave you earlier?

Regards,
Geeta


Reply via email to