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
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
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
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
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
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
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
7 matches
Mail list logo