Hello all, I have an xforms application running outside orbeon, but crossContext on true. Everything seems to work ok, except accessing the js libraries. Both YAHOO.* and ORBEON.* packages are not accessible and an error occurs:
"YAHOO is undefined" / "ORBEON is undefined". kind regards, Alexandru
-- 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
|
Alexandru,
Can you look at the source of the page send to your browser (through "view source" or Firebug) and find what the URL of the Orbeon Forms JavaScript file included into your page is? (It will have a "xforms" in its name and a ".js" as an extension.) What is that URL? What happens if you load it in your browser? Alex On Jan 17, 2010, at 3:39 AM, Alexandru Ionita <[hidden email] > wrote: > > > > Hello all, > > I have an xforms application running outside orbeon, but > crossContext on true. Everything seems to work ok, except accessing > the js libraries. Both YAHOO.* and ORBEON.* packages are not > accessible and an error occurs: > "YAHOO is undefined" / "ORBEON is undefined". > > kind regards, > Alexandru > > -- > 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hello Alessandro,
the only reference to a .js resource that I've found is this one: <script type="text/javascript" src="<a href="view-source:http://localhost:8080/WebFlow/orbeon/xforms-server/xforms-yuicalendar-min.js">/WebFlow/orbeon/xforms-server/xforms-yuicalendar-min.js">and yes, it is accessible and loaded by the browser. Attached you may find the .jsp file and the html source. Thank you and kind regards, Alexandru
On Mon, Jan 18, 2010 at 08:43, Alessandro Vernet <[hidden email]> wrote: Alexandru, -- 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 sources.zip (10K) Download Attachment |
Administrator
|
Alexandru, If the file is loaded, and ORBEON is not declared, I suspect there was a JavaScript error during initialization. Do you have the Firebug extension for Firefox installed? If not, run, and install it! :) Do you see any such error in the Firebug console when you load the page? To make sure to catch JavaScript errors, you can also, in the Script tab, tell Firebug to break on all errors. Alex
-- 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Yeah, now it's working. I think I've got a mistake somewhere :( Sorry for the inconvenience and thank you. Alexandru On Mon, Jan 18, 2010 at 10:39, Alessandro Vernet <[hidden email]> wrote:
-- 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 |