[Seaside] Firebug ans JS generated with seaside

Martial Boniou Martial.Boniou at ifrance.com
Fri May 25 19:36:53 UTC 2007


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:

^ #(#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.



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

More information about the seaside mailing list