OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | August 2008 Index

<--  Date Index  --> <--  Thread Index  -->

[exoplatform] Re: [exo-portal] javascript problems


Hi Orianne,
In your javascript, at the bigening, do you initialize eXo.meetings ?
you should do something like :
eXo.meetings = eXo.meetings || {};
that will initialize your meetings object.

jeremi

On Mon, Aug 11, 2008 at 21:29, Orianne Tisseuil
<orianne.tisseuil@xxxxxxxxx> wrote:
> Hello all,
>
>   I have some problems in the import of a javascript file
> (UIMiniCalendar.js). In my groovy template I import my js. In my
> JavascriptSript.groovy, I add my javascript like that
> "JavascriptService.addJavascript("eXo.meetings.UIMiniCalendar",
> "/javascript/eXo/meetings/UIMiniCalendar.js", ServletContext);". In
> execution, I have an error "TypeError : eXo.meetings is undefined". I don't
> understand why i can't import my javascript file.
>
> Any ideas ?
>
> Regards,
> Orianne.
>
> --
> You receive this message as a subscriber of the exoplatform@xxxxxxx mailing
> list.
> To unsubscribe: mailto:exoplatform-unsubscribe@xxxxxxx
> For general help: mailto:sympa@xxxxxxx?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.