Re: Convention Plugin - Setting dynamic parameter values

2009-10-28 Thread Roger
On Friday 16 October 2009 19:29:05 Musachy Barroso wrote: > when you declare a result using annotations, the param values can > contain OGNL values, just like in xml,: > > @Action(value="/different/url", > result...@result(name="success", type="httpheader", > params={"status", "%{status}", "e

Re: Convention Plugin - Setting dynamic parameter values

2009-10-16 Thread Musachy Barroso
lues. Obviously I > know, for example, the length of the data stream within my action, but how > do I  code this so either the @Annotation or the StreamResult can get the > data from my action - or have I hit the limits of the convention plugin. > > Regards > -- > View this messag

Convention Plugin - Setting dynamic parameter values

2009-10-16 Thread RogerV
n get the data from my action - or have I hit the limits of the convention plugin. Regards -- View this message in context: http://www.nabble.com/Convention-Plugin---Setting-dynamic-parameter-values-tp25922320p25922320.html Sent from the Struts - User mailing list archive at Nabbl

Re: action with dynamic parameter

2008-04-16 Thread Martin Gainty
gt; To: "struts mailing list" Sent: Wednesday, April 16, 2008 7:01 AM Subject: action with dynamic parameter Hi, when a link i clicked I would pass a parameter to an Action.This parameter is an object list, but i can't to define the action with tag

action with dynamic parameter

2008-04-16 Thread [EMAIL PROTECTED]
Hi, when a link i clicked I would pass a parameter to an Action.This parameter is an object list, but i can't to define the action with tag

Re: [S2] Pass dynamic parameter to action

2008-03-07 Thread Kelly.Graus
subscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > Thanks Dave, I thought it would be something simple like that. Kelly -- View this message in context: http://www.nabble.com/-S2--Pass-dynamic-parameter-to-action-tp159

Re: [S2] Pass dynamic parameter to action

2008-03-07 Thread Dave Newton
--- "Kelly.Graus" <[EMAIL PROTECTED]> wrote: > [...] > I want to be able to hyperlink each of the names, then display additional > detailed information when one of the names is clicked on about the object > that was clicked on. Is there a way to set up the anchor for each name so > that either the

[S2] Pass dynamic parameter to action

2008-03-07 Thread Kelly.Graus
message in context: http://www.nabble.com/-S2--Pass-dynamic-parameter-to-action-tp15907288p15907288.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: Is it possible to pass a dynamic parameter to a redirectAction?

2007-08-05 Thread Joe Lam
iew this message in context: http://www.nabble.com/Is-it-possible-to-pass-a-dynamic-parameter-to-a-redirectAction--tf4210445.html#a12010357 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe,

Re: Is it possible to pass a dynamic parameter to a redirectAction?

2007-08-03 Thread Laurie Harper
Piero Sartini wrote: I have the following situation: a searchfield is on top of a table presenting results. if there is only one result, the user should be redirected without the need of clicking on the list.. now my problem is how to redirect to an action and passing a parameter from within

Re: Is it possible to pass a dynamic parameter to a redirectAction?

2007-08-02 Thread Dale Newfield
Piero Sartini wrote: I have the following situation: a searchfield is on top of a table presenting results. if there is only one result, the user should be redirected without the need of clicking on the list.. If you just want them to see the list for X seconds, then the link to be followed,

Is it possible to pass a dynamic parameter to a redirectAction?

2007-08-02 Thread Piero Sartini
I have the following situation: a searchfield is on top of a table presenting results. if there is only one result, the user should be redirected without the need of clicking on the list.. now my problem is how to redirect to an action and passing a parameter from within my original action.. I

Re: Dynamic parameter question - S2

2007-03-13 Thread Laurie Harper
For your posted example, where that value you want to pass is the value you're rendering in the hidden field, you can just use the same OGNL expression in both places: ... ... If that hidden input's field is being changed by client-side Javascript, though, or needs to come from a

Re: Dynamic parameter question - S2

2007-03-13 Thread Scott Nesbitt
Hmm, I see your point. I do not really need to do any fancy Ajax stuff here, I just want an action invoked by a url link to have access to what was selected on the page (which I was going to stuff into a hidden field.) I know I can do this with a form and submit button, but surely there is a way

Re: Dynamic parameter question - S2

2007-03-13 Thread Dave Newton
--- Scott Nesbitt <[EMAIL PROTECTED]> wrote: > I would like to have a url pass a parameter based on > the value of a field on the JSP. My code looks like > this: Unless the field is set by the Action before displaying the JSP the parameter won't hold a value until it's submitted. > actio

Dynamic parameter question - S2

2007-03-13 Thread Scott Nesbitt
I would like to have a url pass a parameter based on the value of a field on the JSP. My code looks like this: Lineup History Sadly, in my action class this: log.debug("In execute, parameters size: " + parameters.size()); says zero. If I use the name of a select tag instead of a hi

Re: dynamic parameter

2005-07-04 Thread Wendy Smoak
From: "Vijay K Anand" <[EMAIL PROTECTED]> I want to have attribute page be dynamically loaded from bean:message like " flush="true" /> Nesting JSP tags like that will not work. The usual workaround is to use expressions. Instead of putting the information in ApplicationResources.properties

Re: dynamic parameter

2005-07-04 Thread Vijay K Anand
Thanks indeedb basak , any other workaround . Afraid it is not helping my problem [EMAIL PROTECTED] wrote: If the problem is with the quotes, use " flush="true" /> vijay, size is of no help!! Amitava Basak ASE(T) Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: ht

Re: dynamic parameter

2005-07-04 Thread amitava . basak
If the problem is with the quotes, use " flush="true" /> vijay, size is of no help!! Amitava Basak ASE(T) Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Notice: The information contained in this e-mail message and/or attachments to it may contain conf

dynamic parameter

2005-07-04 Thread Vijay K Anand
Hi All I want to have attribute page be dynamically loaded from bean:message like " flush="true" /> instead of - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Dynamic parameter within

2005-04-15 Thread Shah Amit
Hi all, Sorry to bring this issue again. Just read this, and I have the exactly same problem. But the thing is I can't submit the form due to some restrictions. So is there a way this can be done, or I will have to submit the form? .. Thanks, Amit ---

Re: Dynamic parameter within

2005-01-28 Thread Susan Bradeen
On Fri, 28 Jan 2005 11:18:58 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: "Susan Bradeen" <[EMAIL PROTECTED]> > > Yes, true. So the page loads, and the user types something into the > > userField1, and then clicks on the link next to userField2. Depending > > on what the value is in userFi

Re: Dynamic parameter within

2005-01-28 Thread Wendy Smoak
From: "Susan Bradeen" <[EMAIL PROTECTED]> Yes, true. So the page loads, and the user types something into the userField1, and then clicks on the link next to userField2. Depending on what the value is in userField1, you get different userField2 selections, which appears in the window opened by the

Re: Dynamic parameter within

2005-01-28 Thread Susan Bradeen
On Thu, 27 Jan 2005 16:37:52 -0500, Erik Weber <[EMAIL PROTECTED]> wrote: > Since a JavaScript function can return any type of value, including a > String, why can't you just write a function that returns the value of > userField1? Perhaps within the a tag, you could call a function that > generate

Re: Dynamic parameter within

2005-01-28 Thread Susan Bradeen
On Thu, 27 Jan 2005 14:45:52 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: "Susan Bradeen" <[EMAIL PROTECTED]> > > > > > > > > > > name="requestform" property="udf2Map" />');"> > > > > With the link parameter hard coded as "parent=XXX", this works > > perfectly. However, I

Re: Dynamic parameter within

2005-01-27 Thread Wendy Smoak
From: "Susan Bradeen" <[EMAIL PROTECTED]> > > > > name="requestform" property="udf2Map" />');"> > > With the link parameter hard coded as "parent=XXX", this works > perfectly. However, I need to pass the current value of "userField1" > as the parent value to the promptUserField act

Re: Dynamic parameter within

2005-01-27 Thread Erik Weber
Since a JavaScript function can return any type of value, including a String, why can't you just write a function that returns the value of userField1? Perhaps within the a tag, you could call a function that generates the entire href, using concatenation? Sorry if I'm not understanding the pro

Dynamic parameter within

2005-01-27 Thread Susan Bradeen
In a form on a JSP I have input text boxes, one with a link beside it that opens a field value selector window. ');"> With the link parameter hard coded as "parent=XXX", this works perfectly. However, I need to pass the current value of "userField1" as the parent value to the promptUserFie