On 3/8/06, Caroline Jen <[EMAIL PROTECTED]> wrote:

> <bean:size id="size" name="ActivityForm"
> property="businessCollection"/>
>
> does not display anything (it looks like the
> <bean:size ...> does not exist.)

http://struts.apache.org/struts-taglib/tagreference-struts-bean.html#bean:size

The 'id' attribute is defined as "The name of a page scope JSP bean,
of type java.lang.Integer, that will be created to contain the size of
the underlying collection being counted."

Have you tried following <bean:size> with a <bean:write> to display
the 'size' bean?

Also make sure that you defined the bean taglib in your JSP.  If you
view the source of the HTML page, is the tag coming through as it was
in the JSP?  Put some text before and after the <bean:size> to see
what's happening.

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to