[Seaside] Preserving the CSS style between component and task

Hernán Morales Durand hernan.morales at gmail.com
Tue May 11 04:04:18 UTC 2010


Please file in the attachment to reproduce the issue.

Hernán

2010/5/10 Hernán Morales Durand <hernan.morales at gmail.com>:
> 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
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ExSeaside-Core.st
Type: application/x-st
Size: 2982 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100511/92207bbf/ExSeaside-Core-0001.bin


More information about the seaside mailing list