Thanks Philippe,<br><br>I tweaked around and changed the mentioned
methods. Now I have a working model. I have attached
Reflection-raj.0.mcz with this mail. I tried to upload on Seachart, but
couldn't as probably, I dont have permission to do so. Anyways, you
please upload it.
<br><br>Why is it that IE behaves so different from Firefox. I am
almost done with my new web app using Seaside. Now, CSS looks good with
Firefox, but when I open in IE, everything is in a poor state. Can you
suggest any reference material from where I can pick up hints on what
changes I have to make in CSS for IE. I am thinking of using userAgent
method to find out which browser it is and render the CSS accordingly. <br><br>Thanks again.<br><br><div><span class="gmail_quote">On 8/26/07, <b class="gmail_sendername">Philippe Marschall</b> <<a href="mailto:philippe.marschall@gmail.com">
philippe.marschall@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2007/8/26, Rajeev Lochan <<a href="mailto:lochan94@gmail.com">
lochan94@gmail.com</a>>:<br>> Thanks Philippe,<br>> I downloaded and checked it out. It works fine now. If my observations go<br>> right, you have made the following changes.<br>><br>> TTLibrary >> selectorsToInclude
<br>> ^#(tooltipJs)<br>><br>> Has been added.<br><br>Makes that tooltipJs is automatically added to the html head.<br><br>> TTLibrary >> aTooltip has been renamed TTLibrary >> tooltipJs<br><br>
Method name convention for file libraries is filenameExtension<br><br>> TTLibrary class >> initialize<br>> self register<br><br>This registers the file library under /seaside/files<br><br>> Has been added.
<br>><br>><br>> If we want to port any other javascript, should we follow the above steps.<br><br>Yes, the process is more or less the same.<br><br>> I was wondering if Reflection-mb.8.mcz is also not portable to
2.8 . If I<br>> follow the above steps to reflection, is it possible to make it work with<br>> 2.8<br><br>Sure, you'd have to change RFReflectionLibrary in the same way. Also<br>RFReflectionDemo looks unneccesarily complex. Eg. RFDemoFileLibrary /
<br>#attentionPng should be enough to create a link to the attention.png<br>image. You can also remove rendererClass and SeasidePlatformsupport >><br>#seasideBanner is gone.<br>Note that the reflection stuff probably will never work on IE.
<br><br>Cheers<br>Philippe<br><br>> Thanks again for timely help.<br>><br>><br>><br>><br>><br>><br>> Apart from changing superclass of TTLibrary from WAScriptLibrary to<br>> WAFileLibrary.<br>>
<br>><br>> On 8/26/07, Philippe Marschall <<a href="mailto:philippe.marschall@gmail.com">philippe.marschall@gmail.com</a>> wrote:<br>> > 2007/8/24, Rajeev Lochan <<a href="mailto:lochan94@gmail.com">lochan94@gmail.com
</a>>:<br>> > > Dear Seasiders,<br>> > > I am in need of Tooltip functionality. I went through the mailing list<br>> > ><br>> > ><br>> <a href="http://lists.squeakfoundation.org/pipermail/seaside/2006-June/007867.html">
http://lists.squeakfoundation.org/pipermail/seaside/2006-June/007867.html</a><br>> > ><br>> > > and loaded tooltip demo made by Philippe Marschall.<br>> > > <a href="http://squeaksource.com/seachart/Tooltip-pmm.1.mcz">
http://squeaksource.com/seachart/Tooltip-pmm.1.mcz</a><br>> > ><br>> > > This works well in Seaside 2.7. When I loaded the same demo in Seaside<br>> 2.8<br>> > > (Damien's image), I changed the superclass of TTScriptLibrary from
<br>> > > WAScriptLibrary to WAFileLibrary as mentioned in Migration rules. Now it<br>> is<br>> > > not working in Seaside 2.8. Am I missing on anything.<br>> ><br>> > Yes, migration from script to file library also means adopting the
<br>> > method name conventions. Can you give Tooltip-pmm.2 a shot?<br>> ><br>> > Cheers<br>> > Philippe<br>> ><br>> > > In general, is there any blog or tutorial of integrating javascript with
<br>> > > Seaside.<br>> > ><br>> > > Thanks in advance & anticipating help,<br>> > ><br>> > > --<br>> > > Rajeev Lochan<br>> > ><br>> > > Co-founder,
AR-CAD.com<br>> > ><br>> > > <a href="http://www.ar-cad.com">http://www.ar-cad.com</a><br>> > > +91 9243468076 (Bangalore)<br>> > > 080 65355873<br>> > > _______________________________________________
<br>> > > Seaside mailing list<br>> > > <a href="mailto:Seaside@lists.squeakfoundation.org">Seaside@lists.squeakfoundation.org</a><br>> > ><br>> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>> > ><br>> > ><br>> > _______________________________________________<br>> > Seaside mailing list<br>> > <a href="mailto:Seaside@lists.squeakfoundation.org">
Seaside@lists.squeakfoundation.org</a><br>> ><br>> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>> ><br>
><br>><br>><br>> --<br>><br>> Rajeev Lochan<br>><br>> Co-founder, AR-CAD.com<br>><br>> <a href="http://www.ar-cad.com">http://www.ar-cad.com</a><br>> +91 9243468076 (Bangalore)<br>> 080 65355873
<br>> _______________________________________________<br>> Seaside mailing list<br>> <a href="mailto:Seaside@lists.squeakfoundation.org">Seaside@lists.squeakfoundation.org</a><br>> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>><br>><br>_______________________________________________<br>Seaside mailing list<br><a href="mailto:Seaside@lists.squeakfoundation.org">Seaside@lists.squeakfoundation.org
</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br></blockquote></div><br><br clear="all"><br>-- <br>Rajeev Lochan
<br><br>Co-founder, AR-CAD.com<br><br><a href="http://www.ar-cad.com">http://www.ar-cad.com</a><br>+91 9243468076 (Bangalore)<br>080 65355873