[Seaside] Preserving the CSS style between component and task

Hernán Morales Durand hernan.morales at gmail.com
Mon May 10 17:56:15 UTC 2010


I don't know what's wrong, I've defined

aSubclassOfWAComponent  class>>initialize

| myApp |
myApp := WAAdmin register: self asApplicationAt: 'myApps/testApplication'.
myApp addLibrary: MyFileLibrary

and sent #initialize but the styles aren't available when calling the task

Hernán

2010/5/10 Lukas Renggli <renggli at gmail.com>:
> Add it to the list of libraries in the configuration of your application?
>
> Lukas
>
> On 10 May 2010 19:13, Hernán Morales Durand <hernan.morales at gmail.com> wrote:
>> Hi Lukas,
>>
>> My styles are already defined in MyFileLibrary, a subclass of
>> WAFileLibrary, my problem is how to link MyWATask to the styles in
>> this library, so the styles is available to MyWATask.
>>
>> Hernán
>>
>> 2010/5/10 Lukas Renggli <renggli at gmail.com>:
>>>> The problem is when the component calls the task, the style is lost. I
>>>> would like to share the style defined in my #updateRoot:, what's the
>>>> best way of doing this? Any hints?
>>>
>>> Put the styles it into a WAFileLibrary subclass, see
>>> <http://book.seaside.st/book/in-action/serving-files/filelibraries>.
>>>
>>> Lukas
>>>
>>> --
>>> Lukas Renggli
>>> www.lukas-renggli.ch
>>> _______________________________________________
>>> 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
>>
>
>
>
> --
> Lukas Renggli
> www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the seaside mailing list