Hi,
I have been upgrading an application to 3.8 3.8.0.post.201006222200 CE Sorry, I'm not sure what version was running previously. Possibly 3.7. I am unable to call ORBEON.xforms.Document.getValue("my-select"). It appears that JavaScript interpreter fails at that point. Even putting the call in an xxforms:script block just as the example does fails. I have the properties-local.xml fie property set: <property as="xs:boolean" name="oxf.xforms.encrypt-item-values" value="false"/> Firebug reports the error "a is null", line 88 of xforms-min.js Not sure what to do with this, besides rewriting it as an XBL component, but that seems like a risk if the previous code doesn't first work. Thanks for any tips, Hank Hank Ratzesberger NEES@UCSB Earth Research Institute 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 |
The same issue exits with the latest nightly build. Orbeon Forms 3.8.0.post.201009071840 CE Is it possible that the function is not enabled in the CE version? Regards, Hank On Sep 8, 2010, at 1:59 PM, Hank Ratzesberger wrote: > Hi, > > I have been upgrading an application to 3.8 > > 3.8.0.post.201006222200 CE > > Sorry, I'm not sure what version was running previously. Possibly 3.7. > > I am unable to call ORBEON.xforms.Document.getValue("my-select"). It appears that > JavaScript interpreter fails at that point. Even putting the call in an xxforms:script > block just as the example does fails. > > I have the properties-local.xml fie property set: > > <property as="xs:boolean" name="oxf.xforms.encrypt-item-values" value="false"/> > > Firebug reports the error "a is null", line 88 of xforms-min.js > > Not sure what to do with this, besides rewriting it as an XBL component, but that > seems like a risk if the previous code doesn't first work. > > Thanks for any tips, > Hank > > Hank Ratzesberger > NEES@UCSB > Earth Research Institute > 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 NEES@UCSB Earth Research Institute 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 |
We are too facing he same issue, did u get any alternative for this?
|
I re-wrote the code as XBL components. http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components-guide Cheers, Hank Quoting jesintha_p <[hidden email]>: > We are too facing he same issue, did u get any alternative for this? > > -- > View this message in context: > http://orbeon-forms-ops-users.24843.n4.nabble.com/Unable-to-Integrate-to-JavaScript-after-upgrade-tp2532031p3453595.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > -- Hank Ratzesberger [hidden email] -- 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 |
Administrator
|
In reply to this post by jesintha_p
Have you tried with a recent build? We do have some code using
ORBEON.xforms.Document.getValue() and it is supposed to work. -Erik On Fri, Apr 15, 2011 at 11:48 PM, jesintha_p <[hidden email]> wrote: > We are too facing he same issue, did u get any alternative for this? > > -- > View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Unable-to-Integrate-to-JavaScript-after-upgrade-tp2532031p3453595.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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 > > -- 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 |