javascript libraries while runing outside orbeon

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

javascript libraries while runing outside orbeon

Alexandru Ionita



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
Reply | Threaded
Open this post in threaded view
|

Re: javascript libraries while runing outside orbeon

Alessandro  Vernet
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: javascript libraries while runing outside orbeon

Alexandru Ionita
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,

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




--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: javascript libraries while runing outside orbeon

Alessandro  Vernet
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

On Jan 17, 2010, at 11:44 PM, Alexandru Ionita <[hidden email]> wrote:

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,

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


<sources.zip>

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: javascript libraries while runing outside orbeon

Alexandru Ionita


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:
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

On Jan 17, 2010, at 11:44 PM, Alexandru Ionita <[hidden email]> wrote:

Hello Alessandro,

the only reference to a .js resource that I've found is this one:
<script type="text/javascript" src="/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][hidden email]> wrote:
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][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][hidden email] mailing list.
To unsubscribe: mailto:[hidden email][hidden email]
For general help: mailto:[hidden email][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][hidden email] mailing list.
To unsubscribe: mailto:[hidden email][hidden email]
For general help: mailto:[hidden email][hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws


<sources.zip>

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email][hidden email]
For general help: [hidden email][hidden email]
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




--
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