Re: Dynamic parameter within html:rewrite

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 html:rewrite

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] html:text property=userField1 / html:text property=userField2 / a href=javascript:window.open(' html:rewrite page=/promptUserField.do?parent=XXX

Re: Dynamic parameter within html:rewrite

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 generates the

Re: Dynamic parameter within html:rewrite

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 html:rewrite

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 userField1, you

Dynamic parameter within html:rewrite

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. html:text property=userField1 / html:text property=userField2 / a href=javascript:window.open(' html:rewrite page=/promptUserField.do?parent=XXX name=requestform

Re: Dynamic parameter within html:rewrite

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

Re: Dynamic parameter within html:rewrite

2005-01-27 Thread Wendy Smoak
From: Susan Bradeen [EMAIL PROTECTED] html:text property=userField1 / html:text property=userField2 / a href=javascript:window.open(' html:rewrite page=/promptUserField.do?parent=XXX name=requestform property=udf2Map /'); With the link parameter hard coded as parent=XXX,