Are you working with the Collection directly in the View/JSP ?
(and could you provide a snippet or sample for that ?)

Or via a WW tag or Action (as a "wrapper" for your collection) ?

Cause the second option mentioned (we use it, but we also have 
JDO included in the model, so there is need for extra wrappers,
you might not require depending on the kind of data source
that you have in use) enables you to easily map from an internal
method such as "size()" to an external one (for WW use) such as
"getSize()"

Werner Keil
Software Architect
[EMAIL PROTECTED]
___________________________

diamond:dogs 
webconsulting gesmbh 
a-1090 vienna


-----Ursprüngliche Nachricht-----
Von: Dieter Van Baarle [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 04. April 2003 12:40
An: [EMAIL PROTECTED]
Betreff: [OS-webwork] retrieving size of Collection using EL


I'm trying to retrieve the size of a Collection (ArrayList in my case)
in my JSP View.

I'm having trouble with it, since the method to retrieve the size of a 
Collection is "size()" and not "getSize()"

Is there any way to call a method that does not start with "get" or
"is"?

Thanks,

Dieter van Baarle
[ Java Product Specialist ]
N.V. Ferranti Computer Systems S.A.



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to