Hello Joey,
thank you for your response. In this way I could reproduce the problem. It is a bug of X-Application.
I will try to fix it, but I could also find a workaround: Instead of using the pagesize attribute of the xapp:browse tag, you can set the :pagesize variable which is responsible for the intial size of a cursor.
For the example you posted, the workaraound would look like this:
<!-- Define the query-->
<xapp:setvar name="textVal" scope="session">
for $x in input()/Property/Address/State return $x
</xapp:setvar>
<!-- Process query-->
<xapp:setvar name=":pagesize" value="1000" />
<xapp:directcommand type="xquery" collection="${xappCollection$}" document="select" arg="${textVal$}"/>
<!-- Fill HTML select tag -->
<select name="varSelection">
<option value=""></option>
<xapp:browse document="select" >
<option value="<xapp:display select="$ID"/>"><xapp:display select="/State"/></option>
</xapp:browse>
</select>
Hope, this helps you when you browse document sets you created via xapp:directcommand.
Whoever needs the fix for this bug, because the workaround is not applicable: Please sent a post to this topic and I will force my work on this problem.
Bye,
Christian.
#API-Management#Tamino#webMethods