Hi folks,<br><br>I have a problem with a library. I am using a Pier Gallery addon that uses Prototype.js, scriptaculus, builder, effects, etc. My application DOESN&#39;T  have SULibrary added. It has it&#39;s own library called DestinoMochilaLibrary with this method:<br>
<br><br>DestinoMochilaLibrary&gt;&gt;selectorsToInclude<br>    ^ #(destinoMochilaCss)<br><br><br>Now, to be able to use that plugin I override the method updateRoot: like this:<br><br> DestinoMochilaLibrary&gt;&gt;updateRoot: aHtmlRoot<br>
    super updateRoot: aHtmlRoot.<br>    aHtmlRoot javascript url: &#39;<a href="http://www.roard.com/lightbox2/js/prototype.js">http://www.roard.com/lightbox2/js/prototype.js</a>&#39;.<br>    aHtmlRoot javascript url: &#39;<a href="http://www.roard.com/lightbox2/js/scriptaculous.js?load=effects,builder">http://www.roard.com/lightbox2/js/scriptaculous.js?load=effects,builder</a>&#39;.<br>
    aHtmlRoot javascript url: &#39;<a href="http://www.roard.com/lightbox2/js/lightbox.js">http://www.roard.com/lightbox2/js/lightbox.js</a>&#39;.<br>    aHtmlRoot stylesheet url: &#39;<a href="http://www.roard.com/lightbox2/css/lightbox.css">http://www.roard.com/lightbox2/css/lightbox.css</a>&#39;<br>
<br>Obviously this is not good because I am requesting another website. Thus, I wanted to have it locally. Then I did this:<br>- Add SULibrary to my application <br>- Downloaded the <a href="http://www.roard.com/lightbox2/js/lightbox.js">http://www.roard.com/lightbox2/js/lightbox.js</a> and <a href="http://www.roard.com/lightbox2/css/lightbox.css">http://www.roard.com/lightbox2/css/lightbox.css</a> because they are not in SULibrary.<br>
- Then I uploaded both files to SULibrary and I could perfectly see the new methods lightboxJs and lightboxCss in SULibrary.<br>- I can also see all links in <a href="http://localhost:8888/seaside/files/SULibrary/">http://localhost:8888/seaside/files/SULibrary/</a><br>
- Removed DestinoMochilaLibrary&gt;&gt;updateRoot:<br><br>The problem is that if I remove the DestinoMochilaLibrary&gt;&gt;updateRoot:   (which should be not used now), the plugin doesn&#39;t work. It is like if cannot find the javascript libraries.<br>
<br>Let&#39;s take the example of protoype. In the first version, my html rendered shows:<br><br>&lt;script type=&quot;text/javascript&quot; src=&quot;<a href="http://www.roard.com/lightbox2/js/prototype.js">http://www.roard.com/lightbox2/js/prototype.js</a>&quot;&gt;&lt;/script&gt;<br>
<br>which is correct. After my changes, I see:<br><br>&lt;script type=&quot;text/javascript&quot; src=&quot;/seaside/files/SULibrary/prototype.js&quot;&gt;&lt;/script&gt;<br><br>which I think it is also correct.<br><br>Now...what can be the problem that the plugin doesn&#39;t work ???<br>
<br><br>More information. If I change my code to this:<br><br><br>updateRoot: aHtmlRoot<br>    super updateRoot: aHtmlRoot.<br>    aHtmlRoot javascript url: &#39;<a href="http://localhost:8888/seaside/files/SULibrary/prototype.js">http://localhost:8888/seaside/files/SULibrary/prototype.js</a>&#39;.    <br>
    aHtmlRoot javascript url: &#39;<a href="http://localhost:8888/seaside/files/SULibrary/builder.js">http://localhost:8888/seaside/files/SULibrary/builder.js</a>&#39;.<br>    aHtmlRoot javascript url: &#39;<a href="http://localhost:8888/seaside/files/SULibrary/effects.js">http://localhost:8888/seaside/files/SULibrary/effects.js</a>&#39;.<br>
    aHtmlRoot javascript url: &#39;<a href="http://localhost:8888/seaside/files/SULibrary/lightbox.js">http://localhost:8888/seaside/files/SULibrary/lightbox.js</a>&#39;.<br>    aHtmlRoot stylesheet url: &#39;<a href="http://localhost:8888/seaside/files/SULibrary/lightbox.css">http://localhost:8888/seaside/files/SULibrary/lightbox.css</a>&#39;<br>
<br>It works perfect!! But I don&#39;t think I have to do this...I must be doing something wrong.<br><br>Thanks a lot for the help in advance.<br><br>Mariano<br><br>