[Seaside] Preserving the CSS style between component and task

Hernán Morales Durand hernan.morales at gmail.com
Tue May 11 08:03:55 UTC 2010


What a stupid mistake!
Thank you Lukas

Hernán

2010/5/11 Lukas Renggli <renggli at gmail.com>:
> ExFileLibrary>>#selectorsToInclude should answer #(styleCss).
> WAFileLibrary does not know what files to include by itself.
>
> Lukas
>
> On 11 May 2010 06:04, Hernán Morales Durand <hernan.morales at gmail.com> wrote:
>> 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
>>>>
>>>
>>
>> _______________________________________________
>> 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