Re:Setting Value of Xform input field on clicking of submit button in Jsp page( which is in new window)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re:Setting Value of Xform input field on clicking of submit button in Jsp page( which is in new window)

Reddy, Gopikrishna
Hi Iam new to Orbeon Can anyone help me out in this,
Here is my requirement,Please do help me in this
 
 
I have an xforms page(xhtml) where i have 2 inputfields(A and B) and 1 hyper link
Onclick of hyperlink iam opening a new window which is a jsp page ,
In Jsp page ihave one input field (C) and one submit button,
I will enter some value in inputfield(C) and clicks on submit button then the value which is entered in inputfield (C) (Jsp Page ) should come and replace the existing value of inputfield (A) which is in xhtml (Xform)
 
This is my challenge ,as how can i setvalue of input field in xform when i submit Jsp page
 
Thanks in advance,
K Gopikrishna Reddy
This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only
by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its 
contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately 
by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re:Setting Value of Xform input field on clicking of submit button in Jsp page( which is in new window)

Hank Ratzesberger

Hi,

Just a "wild idea," I can't say it is even worth your time
to investigate, but...

If one window was opened by another in Javascript, and there
were javascript variables to write to from one to other....

You can read and write control values and dispatch events:

http://www.orbeon.com/ops/doc/reference-xforms-2#xforms-javascript- 
events

but writing/setting a control value event will trigger the value
changed event, which will display the update.

Just an idea,
Hank

On Jun 6, 2008, at 2:10 AM, Reddy, Gopikrishna wrote:

> Hi Iam new to Orbeon Can anyone help me out in this,
> Here is my requirement,Please do help me in this
>
>
> I have an xforms page(xhtml) where i have 2 inputfields(A and B)  
> and 1 hyper link
> Onclick of hyperlink iam opening a new window which is a jsp page ,
> In Jsp page ihave one input field (C) and one submit button,
> I will enter some value in inputfield(C) and clicks on submit  
> button then the value which is entered in inputfield (C) (Jsp  
> Page ) should come and replace the existing value of inputfield (A)  
> which is in xhtml (Xform)
>
> This is my challenge ,as how can i setvalue of input field in xform  
> when i submit Jsp page
>
> Thanks in advance,
> K Gopikrishna Reddy
> This e-mail (and any attachments), is confidential and may be  
> privileged. It may be read, copied and used only by intended  
> recipients. Unauthorized access to this e-mail (or attachments) and  
> disclosure or copying of its contents or any action taken in  
> reliance on it is unlawful. Unintended recipients must notify the  
> sender immediately by e-mail/phone & delete it from their system  
> without making any copies or disclosing it to a third person.
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws