Re: Trying to access a instance in javascript

Posted by Eric van der Vlist on
URL: https://discuss.orbeon.com/Trying-to-access-a-instance-in-javascript-tp43423p43424.html

Le jeudi 14 mai 2009 à 22:24 +0530, Srikanth A a écrit :
> Hello All,
>
> Can we get instance value using javascript as mentioned in this url
>
> http://www.ibm.com/developerworks/xml/library/x-xformsjavascript/index.html
>
> I have tried it but it did not display values.

This article has been written for the Mozilla implementation of XForms
which is a pure client implementation.

When you use OrbeonForms, the architecture is pretty different and the
XForms document not being sent to the browser, the browser DOM has no
direct access to XForms elements (such as its model).

This doesn't mean that you can't use JavaScript, but you'll have to use
OrbeonForms specific methods, see
http://wiki.orbeon.com/forms/doc/developer-guide/xforms-extensions#TOC-JavaScript-Integration 

Hope this helps.

Eric

> Thanks,
>
> Srikanth A
>
--
Eric van der Vlist <[hidden email]>
Dyomedea (http://dyomedea.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