Re: Access Struts2 Action Properties

2009-02-05 Thread Dominik Fischer
Yes. a simple TagSupport extended JSP-Tag == Dominik FISCHER Fachinformatiker für Anwendungsentwicklung (IHK) Straubinger Tagblatt IDOWA FON: +49 9421 940 6842 Ludwigsplatz 30

RE: Access Struts2 Action Properties

2009-02-05 Thread Martin Gainty
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

RE: Access Struts2 Action Properties - Noob (correction)

2009-02-05 Thread Kawczynski, David
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

Re: Access Struts2 Action Properties

2009-02-05 Thread ChadDavis
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

RE: Access Struts2 Action Properties - Noob

2009-02-05 Thread Kawczynski, David
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

Re: Access Struts2 Action Properties - Noob

2009-02-05 Thread Dave Newton
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

Re: Access Struts2 Action Properties - Noob

2009-02-05 Thread Dominik Fischer
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

Access Struts2 Action Properties

2009-02-05 Thread Dominik Fischer
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) {

RE: Access Struts2 Action Properties - Noob

2009-02-05 Thread Kawczynski, David
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

RE: Access Struts2 Action Properties - Noob

2009-02-05 Thread Kawczynski, David
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

Re: Access Struts2 Action Properties - Noob

2009-02-05 Thread Dominik Fischer
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

RE: Access Struts2 Action Properties - Noob

2009-02-05 Thread Kawczynski, David
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

Access Struts2 Action Properties - Noob

2009-02-05 Thread Dominik Fischer
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) {