Forum Discussion

scottalvis's avatar
scottalvis
Contributor
13 years ago

Pagination

How do I get page_size? The code below errors out.   FreeMarker code:   <#assign page_size = webuisupport.path.parameters.name.get("page_size", 5) />    Error Message:   Method public final j...
  • YuriK's avatar
    13 years ago

    Hey Scott,

     

    The parameter you are looking for is page-size, not page_size.

     

    <#assign page_size=webuisupport.path.parameters.name.get("page-size", 5) />
    

     

    Thank you,

     

    Yuri