Quantcast

Paginate tag not creating any output

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Paginate tag not creating any output

linus1412
Hi,

I have the following line in a gsp page:

  *** <g:paginate total="${searchResults.size}" /> ***

But no pagination html is being output.  The '***'s are though.  I have output ${searchResults.size} to the page to prove that a value is being passed in the test attribute.

Any ideas?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Paginate tag not creating any output

Miguel Ping
In my app, the pagination does not appear if I do not have sufficient results (eg, > 10 or so). You sure you have lots of results to paginate? :)

On Thu, May 15, 2008 at 9:31 PM, linus1412 <[hidden email]> wrote:

Hi,

I have the following line in a gsp page:

 *** <g:paginate total="${searchResults.size}" /> ***

But no pagination html is being output.  The '***'s are though.  I have
output ${searchResults.size} to the page to prove that a value is being
passed in the test attribute.

Any ideas?
--
View this message in context: http://www.nabble.com/Paginate-tag-not-creating-any-output-tp17261853p17261853.html
Sent from the grails - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Paginate tag not creating any output

linus1412
Oh how silly I am.

Thanks Miguel!

Miguel Ping wrote
In my app, the pagination does not appear if I do not have sufficient
results (eg, > 10 or so). You sure you have lots of results to paginate? :)

On Thu, May 15, 2008 at 9:31 PM, linus1412 <linus141275@hotmail.com> wrote:

>
> Hi,
>
> I have the following line in a gsp page:
>
>  *** <g:paginate total="${searchResults.size}" /> ***
>
> But no pagination html is being output.  The '***'s are though.  I have
> output ${searchResults.size} to the page to prove that a value is being
> passed in the test attribute.
>
> Any ideas?
> --
> View this message in context:
> http://www.nabble.com/Paginate-tag-not-creating-any-output-tp17261853p17261853.html
> Sent from the grails - user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>
Loading...