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

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

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