[jboss-user] [JBoss Seam] - Re: Seam Data Paging

norman.richards@jboss.com do-not-reply at jboss.com
Thu Jan 4 23:34:35 EST 2007


Sure - on EntityQuerym, use the firstResult attribute.  To go to page N, set firstResult to N*maxResults+1.  You set it with f:param on the link.  seam-gen apps use this for first/last/next/prev pages, but there is no reason you can't render "page 1", "page 2", etc...  We don't have built in components to display it, so you do have to do a little work.  But it's not like you are writing any actual code. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998152#3998152

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998152



More information about the jboss-user mailing list