You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Kevin <kg...@protech.newsouth.net> on 2006/06/05 16:08:25 UTC

SandBox Dojo

Hello,

I am trying to integrate the <s:accordionPanel/> and 
<s:fishEyeNavigationMenu/> into an existing app that already has some 
Dojo functionally. In some cases they seem to break one another. I 
assume it is obviously a version issue. I have tried removing the script 
references to see if they are still being loaded by the tags but that 
does not work.

Does anyone have any suggestions for integrating these tags into a site 
that already calls:

<script src="./js/prototype.js" type="text/javascript"></script>
<script src="./js/scriptaculous.js" type="text/javascript"></script>


Here is one of the errors  I receive:
"Object does not support this property or method"

Effect.BlindDown = function(element) {
   element = $(element);
   var elementDimensions = element.getDimensions();
--->return new Effect.Scale(element, 100,

If this is not a question for this list then I apologize.


Re: SandBox Dojo

Posted by Werner Punz <we...@gmx.at>.
I think this is an issue in accordionPanel respectively in prototype
itself not directly in dojo, I do not see a single point where dojo
could interfere into prototype only vice versa.

Dojo uses its own namespace for all classes and methods.



Kevin schrieb:
> Hello,
> 
> I am trying to integrate the <s:accordionPanel/> and
> <s:fishEyeNavigationMenu/> into an existing app that already has some
> Dojo functionally. In some cases they seem to break one another. I
> assume it is obviously a version issue. I have tried removing the script
> references to see if they are still being loaded by the tags but that
> does not work.
> 
> Does anyone have any suggestions for integrating these tags into a site
> that already calls:
> 
> <script src="./js/prototype.js" type="text/javascript"></script>
> <script src="./js/scriptaculous.js" type="text/javascript"></script>
> 
> 
> Here is one of the errors  I receive:
> "Object does not support this property or method"
> 
> Effect.BlindDown = function(element) {
>   element = $(element);
>   var elementDimensions = element.getDimensions();
> --->return new Effect.Scale(element, 100,
> 
> If this is not a question for this list then I apologize.
> 
>