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
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
> -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
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.
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:
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- Jason Pyeron PD Inc. http://www.pdinc.us -
- Principal Consultant 10 West 24th Street #100-
- +1 (443) 269-1555 x333
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
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
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
> -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
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
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!
12 matches
Mail list logo