Hello everyone,
My application need the pagesize parameter value to be dynamic. In other words, the pagesize will change acording to some parameters every time. I tried all the following unsuccessfully:
pagesize="${pages}" pagesize="<c:out value="$pages"}" pagesize="<%=request.getAttribute("pages");%>" where "pages" is a String bean stored in request context.
How do I do this?. Your help will be very much appreciated. Thanks.
Ivan
with struts 2 : <s:set name="psize" value="20" scope="request" />
<display:table name="list" pagesize="${psize}"requestURI="action.action">
and voila !! it works .
Log in to post a comment.
Hello everyone,
My application need the pagesize parameter value to be dynamic. In other words, the pagesize will change acording to some parameters every time. I tried all the following unsuccessfully:
How do I do this?. Your help will be very much appreciated. Thanks.
Ivan
with struts 2 :
<s:set name="psize" value="20" scope="request" />
<display:table name="list" pagesize="${psize}"requestURI="action.action">
and voila !! it works .