Re: chain or redirectAction ResultType

2011-05-31 Thread Steven Yang
I am not sure whats good for you because I usually put the logic for same "page" in the same Action. So for your case I would just write one Action. However I do understand the need of separating modification logic from pure display data logic. In your case you could at one param in redirectAction

RE: Separate Java Bean Class for Getter/Setter method.

2011-05-31 Thread arin_12
Here is my whole code. implement ParameterAware. Declaration of MAP. Map parameters = null; Call this method. getParameters("alId") public void setParameters(Map params) { // TODO Auto-generated method stub this.p

RE: Dynamic text

2011-05-31 Thread Jason Pyeron
> -Original Message- > From: Martin Gainty > Sent: Tuesday, May 31, 2011 15:50 > To: Struts Users Mailing List > Subject: RE: Dynamic text > > > > > http://www.laliluna.de/articles/struts-message-resources-tutorial.html His issue was not on where and how to access properties in strut

RE: Dynamic text

2011-05-31 Thread Martin Gainty
org.apache.struts.action.ActionServlet application de.laliluna.tutorials.library.struts.ApplicationResources label.username=Username label.password=Password label.first.name=First Name label.last.name=Last Name label.email=Email Address label.phone.number=Phone Number label.

Re: Dynamic text

2011-05-31 Thread Marcus Bond
Thanks Jason, Will be fine as normally it will just be a property to return not a method call.. The glaringly obvious error in hindsight was having left the 'get' part on the property name.. Doh! On 31/05/2011 19:56, Jason Pyeron wrote: -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

RE: Dynamic text

2011-05-31 Thread Jason Pyeron
-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100- - +1 (443) 269-1555 x333

Re: Dynamic text

2011-05-31 Thread Marcus Bond
Thanks for the link but still not quite what I'm looking for.. I've made a simple example below, however note that I am not extending ActionSupport in any of my actions: Action has method (could return different value than 'goodbye') public String getMyKey() { return "goodbye"; } res

Re: chain or redirectAction ResultType

2011-05-31 Thread Sachin Lale
So in the given below scenario what is the best approach so that the form values on UI get populated with hidden values/parameters? On 31-05-2011 08:07, Steven Yang wrote: chaining is not recommended. basically as you have observed, chaining is a server-side redirect. you go to another page wi

Re: optiontransferselect don't use hidden input.

2011-05-31 Thread Roger Varley
On Tue, 2011-05-31 at 13:44 +0200, Alejandro wrote: > Hi all, > > With optiontransferselect, I am trying to get the list of double list but it > is impossible if you dont select all them. > > I had seen an input hidden with __multiselect_ but it isn't filled > properly. > > Thanks for all! Can

RE: Dynamic text

2011-05-31 Thread Jason Pyeron
> -Original Message- > From: Marcus Bond > Sent: Tuesday, May 31, 2011 10:26 > To: Struts Users Mailing List > Subject: Dynamic text > > Hi, > > I want to use some view objects in my action that will > contain resource keys and then show these using s:text to > resolve the key to it's t

Dynamic text

2011-05-31 Thread Marcus Bond
Hi, I want to use some view objects in my action that will contain resource keys and then show these using s:text to resolve the key to it's translation.. Is this type of thing supported? I know a lot of tags moan if you try and use any ${foo.bar} type arguments Cheers, Marcus

optiontransferselect don't use hidden input.

2011-05-31 Thread Alejandro
Hi all, With optiontransferselect, I am trying to get the list of double list but it is impossible if you dont select all them. I had seen an input hidden with __multiselect_ but it isn't filled properly. Thanks for all!