setting pagesize dynamically for browse tag

X-Application Version: 3.1.3, 3.1.2, 3.1.1
Tamino Version : 3.1.1
Platform : NT, Win2k, Solaris, …
WebContainer : Tomcat 3.3
JDK Version : 1.3.1

Hello,
I am trying to set pagesize dynamically for browse tag but it doesn’t work.

I do it like this:

<%--
comment
myObject.getPageSize() returns 20
–%>

<xapp:browse document=“myDocument” pagesize=“<%=myObject.getPageSize()%>” >

</xapp:browse>

But this seems to work if I try it
<xapp:browse document=“myDocument” pagesize=“20” >

</xapp:browse>

Is it possible to set the pagesize dynamically?
And if so, am I using the right method to do it?

best regards
eagle

Hello,

I never tried it out, but perhaps you could send a parameter called :pagesize to set the number of documents iterated on the page with the browse tag.

The :pagesize value should overwrite the lokal value of the browse tag.

This parameter is used to specify the number of documents when a search page navigating from the search page to the browse page.

What I don't know is if you can change the :pagesize for a document set that was already created.

If it does not work, could you give me more details about your application scenario?

Perhaps, we can find another solution to get running the dynamical change of document set (e.g. a Plugin).

Bye,
Christian.

Hello Christian,
Thank you for your reply.
I have used the :pagesize parameter before and it works. But this seemed easier since I had the value in an object.
But I can make some modifications to my code so it will use the :pagesize parameter.
So you shouldn’t worry about making a plugin.
I just wanted to know if this was possible or not.

best regards
eagle