[Seaside] Firebug ans JS generated with seaside

Sebastian Sastre ssastre at seaswork.com
Fri May 25 20:44:01 UTC 2007


Aaaaaaaaaaahhhhhhh so much better, thanks a lot!

Sebastian  

> -----Mensaje original-----
> De: seaside-bounces at lists.squeakfoundation.org 
> [mailto:seaside-bounces at lists.squeakfoundation.org] En nombre 
> de Martial Boniou
> Enviado el: Viernes, 25 de Mayo de 2007 16:37
> Para: Seaside - general discussion
> Asunto: Re: [Seaside] Firebug ans JS generated with seaside
> 
> Hi,
> 
> This is the normal way for Seaside to create a javascript 
> from #script.
> If you want to dispatch your script in piece and maintain it 
> inside Seaside, you should use WAFileLibrary and upload (or 
> directly write) your scripts in it, then add:
> 
> MyWAFileLibrary>>#selectorsToInclude
> ^ #(#myFirstScriptJs #mySecondScriptJs #myThirdScriptJs)
> 
> and you must attach this to your application;
> 
> myApplication libraries add: MyWAFileLibrary
> 
> Now every (3) files are separated and no more monolithic.
> 
> Cheers,
> 
> --
> Martial
> 
> Sebastian Sastre a écrit :
> | Hi seasiders,
> |     
> |     I'm developing some javascript functions (in a library in the 
> | image) I need to create menues for my apps and I have 
> Firebug showing 
> | the js script of a seaside page, in fact all the html code of the 
> | page, in one single line of about 4 meters long! I'm unable 
> to debug 
> | my own code like that. Has anybody some pointer on how to 
> make it to behave?
> |  
> |     thanks,
> |  
> | Sebastian Sastre
> | 
> | PD: I know probably is more a Firebug matter than seaside 
> but I'm not 
> | entirely sure if seaside is serving html in an "un-pretty 
> printable" 
> | way or not
> | 
> 
> | _______________________________________________
> | Seaside mailing list
> | Seaside at lists.squeakfoundation.org
> | http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 
> 
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list