struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcos Mendonça" <>
Subject [struts2] s:generator not generating output
Date Mon, 29 Oct 2007 13:20:25 GMT

I'm using Struts2.0.9.
I have to generate a number o inputs acording to a parameter. I tried
using the Iterator Generator Tag on the Struts2 Showcase application,
but the output for me is nothing, null.

This is my jsp code:

    <s:generator val="" separator="," count="getGroupSize()">
        <s:iterator value="%{top}">
            <s:property />
            <s:textfield name="input" size="2" value="11">

getGroupSize() is a method in the action that returns an int. I tested
it and is working properly.

What could be wrong, or where what should I look for to find out why
the generator is not working for me?

Any tips appreciated.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message