Re: Accessing User input in execute ( ) method

2010-09-29 Thread serge nana
You could save the set object into the request object as: request.setAttribute("officer", new BlahBlahOfficer()); and then use strut Logic tag in your view to iterate through the list as: The list that you pass has to implement an Iterator. I have not ra

Re: Accessing User input in execute ( ) method

2010-09-29 Thread serge nana
The MODEL (Persistence, DB) part does not really exist in Struts. On Tue, Sep 28, 2010 at 5:53 PM, serge nana wrote: > Hareendra, > > You don't need to have an ActionForm in order to invoke an Action class. An > ActionForm is a data transfer object (DTO) that allows you to transfer data > from

RE: Possible to combine struts2-portlet-plugin and struts2-jfreechart-plugin?

2010-09-29 Thread adam pinder
i've only used jfreechart with struts2 (not portlets) and its more to do with the way the result is returned than the action class itself. in struts.xml i have and then referenced in action definition 400 400 then in action the field chart will have m

Re: Accessing User input in execute ( ) method

2010-09-29 Thread Dave Newton
So you're using Struts 2? Dave On Wed, Sep 29, 2010 at 3:02 AM, hareendra seneviratne wrote: > Hi Thank u all for ur replies. > > This is my next step... > > Here is the source of one of my model classes, Officer > public class Officer { >private String id; >private String error = null

Possible to combine struts2-portlet-plugin and struts2-jfreechart-plugin?

2010-09-29 Thread Per Johansson
Hi, In my development team we have just started to use the struts2-portlet-plugin. We want to create a portlet that renders a chart to include in a page, and we try to use the struts2-jfreechart-plugin for this. So far no luck with this. Is it possible to create an action that is both a "portlet ac

Re: Accessing User input in execute ( ) method

2010-09-29 Thread Maurizio Cucchiara
Hareendra, You should take a look at http://struts.apache.org/1.x/struts-taglib/tlddoc/logic/iterate.html Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@s

Re: Accessing User input in execute ( ) method

2010-09-29 Thread hareendra seneviratne
Hi Thank u all for ur replies. This is my next step... Here is the source of one of my model classes, Officer public class Officer { private String id; private String error = null; private Set *totalExcessSet* = new HashSet(); . In my execute() method I have an Officer Insta