Hi Can anybody help me out in
this,
how can iset value of xforms:input node
using javascript
Gopikrishna Reddy.K
Software Engineer,
Genpact,Hyderabad,India
T +91 9966236315
DC #8-216-7218
www.genpact.com 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. |
Administrator
|
http://www.orbeon.com/ops/doc/reference-xforms-2#xforms-javascript-get-set-value
-Erik On Jul 11, 2008, at 11:02 AM, Reddy, Gopikrishna wrote: > Hi Can anybody help me out in this, > how can iset value of xforms:input node using javascript > > > > > Gopikrishna Reddy.K > Software Engineer, > Genpact,Hyderabad,India > T +91 9966236315 > DC #8-216-7218 > [hidden email] > www.genpact.com > 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 Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- 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 |
In reply to this post by Reddy, Gopikrishna
Check the xforms documentation its all in there, you need to give your input an I'd to access it
------------------------ Ryan Puddephatt FIX Developer Fidessa LatentZero 1 Alfred Place London WC1E 7EB Office: +44 (0) 20 7462 4200 Direct: +44 (0) 20 7323 6112 Blackberry: +44 (0) 79 8539 2458 Fax: +44 (0) 20 7462 4242 Email: [hidden email] Web: http://www.latentzero.com Sent from my blackberry device ----- Original Message ----- From: Reddy, Gopikrishna <[hidden email]> To: [hidden email] <[hidden email]> Sent: Fri Jul 11 19:02:28 2008 Subject: [ops-users] Re:setting value of xform node in javascript Hi Can anybody help me out in this, how can iset value of xforms:input node using javascript Gopikrishna Reddy.K Software Engineer, Genpact,Hyderabad,India T +91 9966236315 DC #8-216-7218 [hidden email] <mailto:[hidden email]> www.genpact.com ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ 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. _______________________________________________________________________ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com -- 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 |
In reply to this post by Erik Bruchez
Hi Ihave tried this but it doesnt works can anybody help me out in this
Gopikrishna Reddy.K Software Engineer, Genpact,Hyderabad,India T +91 9966236315 DC #8-216-7218 [hidden email] <mailto:[hidden email]> www.genpact.com ________________________________ From: Erik Bruchez [mailto:[hidden email]] Sent: Sat 7/12/2008 12:52 AM To: [hidden email] Subject: [ops-users] Re: Re:setting value of xform node in javascript http://www.orbeon.com/ops/doc/reference-xforms-2#xforms-javascript-get-set-value -Erik On Jul 11, 2008, at 11:02 AM, Reddy, Gopikrishna wrote: > Hi Can anybody help me out in this, > how can iset value of xforms:input node using javascript > > > > > Gopikrishna Reddy.K > Software Engineer, > Genpact,Hyderabad,India > T +91 9966236315 > DC #8-216-7218 > [hidden email] > www.genpact.com > 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 Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ 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 winmail.dat (7K) Download Attachment |
Reddy, Gopikrishna schrieb:
> Hi Ihave tried this but it doesnt works can anybody help me out in this hard to say without knowing your code and without any error messages. did you use firebug to debug your code? Any messages on the javascript console? florian -- 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 |
Hi ,
Iam sending the code <xhtml:script type="text/javascript"> function pageLoaded() { ORBEON.xforms.Document.setValue("line1", "42") } </xhtml:script> Iam getting an error object cannot be found Gopikrishna Reddy.K Software Engineer, Genpact,Hyderabad,India T +91 9966236315 DC #8-216-7218 [hidden email] <mailto:[hidden email]> www.genpact.com ________________________________ From: Florian Schmitt on behalf of Florian Schmitt Sent: Sat 7/12/2008 1:03 PM To: [hidden email] Subject: [ops-users] Re: RE: Re: Re:setting value of xform node in javascript Reddy, Gopikrishna schrieb: > Hi Ihave tried this but it doesnt works can anybody help me out in this hard to say without knowing your code and without any error messages. did you use firebug to debug your code? Any messages on the javascript console? florian 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 winmail.dat (7K) Download Attachment |
Gopikrishna,
> Iam sending the code > <xhtml:script type="text/javascript"> > function pageLoaded() { > ORBEON.xforms.Document.setValue("line1", "42") > } > </xhtml:script> > Iam getting an error object cannot be found ok - is there a xforms control with @id="line1"? florian -- 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 |
In reply to this post by Reddy, Gopikrishna
Also you might have problems calling this when the page is loaded, try calling it on the xforms-ready script instead
------------------------ Ryan Puddephatt FIX Developer Fidessa LatentZero 1 Alfred Place London WC1E 7EB Office: +44 (0) 20 7462 4200 Direct: +44 (0) 20 7323 6112 Blackberry: +44 (0) 79 8539 2458 Fax: +44 (0) 20 7462 4242 Email: [hidden email] Web: http://www.latentzero.com Sent from my blackberry device ----- Original Message ----- From: Florian Schmitt <[hidden email]> To: [hidden email] <[hidden email]> Sent: Sat Jul 12 08:46:41 2008 Subject: [ops-users] Re: setting value of xform node in javascript Gopikrishna, > Iam sending the code > <xhtml:script type="text/javascript"> > function pageLoaded() { > ORBEON.xforms.Document.setValue("line1", "42") > } > </xhtml:script> > Iam getting an error object cannot be found ok - is there a xforms control with @id="line1"? florian ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________________________________ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com -- 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 |
In reply to this post by fl.schmitt(ops-users)
yes it is there even if i change like this im not getting any error but value wont change
ORBEON.xforms.Document.getValue works but ORBEON.xforms.Document.setValue doesnot works Please help me as this is very urgent to me <xhtml:script type="text/javascript"> > function pageLoaded() { > ORBEON.xforms.Document.setValue("line14", "42") > } > </xhtml:script> Gopikrishna Reddy.K Software Engineer, Genpact,Hyderabad,India T +91 9966236315 DC #8-216-7218 [hidden email] <mailto:[hidden email]> www.genpact.com ________________________________ From: Florian Schmitt on behalf of Florian Schmitt Sent: Sat 7/12/2008 1:16 PM To: [hidden email] Subject: [ops-users] Re: setting value of xform node in javascript Gopikrishna, > Iam sending the code > <xhtml:script type="text/javascript"> > function pageLoaded() { > ORBEON.xforms.Document.setValue("line1", "42") > } > </xhtml:script> > Iam getting an error object cannot be found ok - is there a xforms control with @id="line1"? florian 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 winmail.dat (7K) Download Attachment |
Reddy, Gopikrishna schrieb:
> yes it is there even if i change like this im not getting any error but value wont change > ORBEON.xforms.Document.getValue works but > ORBEON.xforms.Document.setValue doesnot works hmm - is the control a xforms:input or a xforms:output? Again, how does the source of your xforms page look like? You can't expect fast help if you don't give essential information about the issue... > Please help me as this is very urgent to me you could speed up the process yourself by paying attention to the guidelines in the faq: http://www.orbeon.com/ops/doc/home-faq#reporting-issues florian -- 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 |
Free forum by Nabble | Edit this page |