[Seaside] least painful way to make my stylesheet *first*

Michel Bany m.bany at wanadoo.fr
Thu Dec 13 06:58:35 UTC 2007


I never did it myself but I would try this in your WASession subclass

updateRoot: aRoot
	"your stuff here"
	super updateRoot: anHtmlRoot


On Dec 13, 2007, at 2:06 AM, Randal L. Schwartz wrote:

>>>>>> "Boris" == Boris Popov <boris at deepcovelabs.com> writes:
>
> Boris> Randal,
> Boris> In your root component,
>
> Boris> updateRoot: aRoot
> Boris>   aRoot stylesheet url: 'myurl'.
> Boris>   super updateRoot: aRoot.
>
> Tried that.  Turns out the libraries actually get first pick  
> (during session
> setup), before it gets to walking the components.  And some of the  
> libs
> implement an updateRoot.
>
> That's why I'm headed into the "making a lib" area.
>
> -- 
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503  
> 777 0095
> <merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
> See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl  
> training!
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>




More information about the seaside mailing list