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
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
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
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
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
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
--- "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
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
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,
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
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,
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
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
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
--- 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
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
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
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
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
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]
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
---
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
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
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
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
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
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
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
28 matches
Mail list logo