Yes. a simple TagSupport extended JSP-Tag
==
Dominik FISCHER
Fachinformatiker für Anwendungsentwicklung (IHK)
Straubinger Tagblatt
IDOWA FON: +49 9421 940 6842
Ludwigsplatz 30
rily endorse content contained within this
transmission.
> Date: Thu, 5 Feb 2009 10:05:35 -0700
> Subject: Re: Access Struts2 Action Properties
> From: chadmichaelda...@gmail.com
> To: user@struts.apache.org
>
> Custom tag? Is this a custom JSP tag?
>
> On Thu, Feb 5, 200
Correction: 2.4 container is needed for el scripting.
>> BTW, Dave Newton's suggestion of using ${ propertyname } is the way
to
>> go, assuming you're on a 2.3 servlet container. I completely
overlooked
>> the simple approach.
Notice: This e-mail message, together with any attachments, conta
Custom tag? Is this a custom JSP tag?
On Thu, Feb 5, 2009 at 2:21 AM, Dominik Fischer wrote:
> Hello folks,
>
> how can i access a property (i.e. data) of a class like
>
> public class BabyAction extends ActionSupport implements RequestAware {
>private List data;
>
>public Li
09 11:20 AM
To: Struts Users Mailing List
Subject: Re: Access Struts2 Action Properties - Noob
Ok. Your idea worked allready. But know i have more properties to
transport. What do you say about following construction:
/Example Action/
public class EAction extends ActionSup
Dominik Fischer wrote:
how can i access a property (i.e. data) of a class like
public class BabyAction extends ActionSupport implements RequestAware {
private List data;
public List getData() {
return this.data;
}
public void setSearch(List data) {
t
57 AM
To: Struts Users Mailing List
Subject: Re: Access Struts2 Action Properties - Noob
Thank you,
that is a first help. But is there a possibility without using tags from
Struts? I don't know, i'm dreaming of things like
strutsActionSession.getAttribute("data"). Do you know
Hello folks,
how can i access a property (i.e. data) of a class like
public class BabyAction extends ActionSupport implements RequestAware {
private List data;
public List getData() {
return this.data;
}
public void setSearch(List data) {
relevant in your action:
...
this.requestMap.put("data", this.data);
...
and all should be well.
-Original Message-
From: Kawczynski, David
Sent: Thursday, February 05, 2009 11:06 AM
To: Struts Users Mailing List
Subject: RE: Access Struts2 Action Propert
news it, because it's a Map it plays well
with junit without having to mock anything up.
-Original Message-
From: Dominik Fischer [mailto:fische...@idowa.de]
Sent: Thursday, February 05, 2009 10:57 AM
To: Struts Users Mailing List
Subject: Re: Access Struts2 Action Properties - Noob
2.0.14/docs/set.html
-Original Message-
From: Dominik Fischer [mailto:fische...@idowa.de]
Sent: Thursday, February 05, 2009 8:59 AM
To: user@struts.apache.org
Subject: Access Struts2 Action Properties - Noob
Hello folks,
how can i access a property (i.e. data) of a class like
public clas
http://struts.apache.org/2.0.14/docs/set.html
-Original Message-
From: Dominik Fischer [mailto:fische...@idowa.de]
Sent: Thursday, February 05, 2009 8:59 AM
To: user@struts.apache.org
Subject: Access Struts2 Action Properties - Noob
Hello folks,
how can i access a property (i.e. data
Hello folks,
how can i access a property (i.e. data) of a class like
public class BabyAction extends ActionSupport implements RequestAware {
private List data;
public List getData() {
return this.data;
}
public void setSearch(List data) {
13 matches
Mail list logo