[Seaside] How can I embed CSS rules within Seaside?

Gabriel Cotelli g.cotelli at mercapsoftware.com
Tue May 23 13:40:53 UTC 2017


Check WAHtmlRoot>>addStyle: and  writeStylesOn: aDocument

On Tue, May 23, 2017 at 10:31 AM, Mariano Martinez Peck <
marianopeck at gmail.com> wrote:

> Hi guys,
>
> I am reviewing this link [1] and I need to do the scenario of "Embedding
> CSS into the HTML". So I need to be able to write this kind of thing inside
> the <head>
>
> <style media="screen" type="text/css">
>
> .reportElementreportTitle { display: none; }
>
> </style>
>
>
> I do have access to the WAHtmlRoot object, but I just don't know how to
> make it print the above.
> Note that I cannot write that CSS on a css file and make a link. I need
> exactly what I am asking, which is embed the CSS stylesheet within the html.
>
> Thanks a lot in advance,
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>


-- 


------------------------------
Gabriel O. Cotelli
Desarrollo y TecnologĂ­a
Mercap
Tel: +54 (011) *5352.2372 al 74*
http://www.mercapsoftware.com
This message is confidential. It may also contain information that is
privileged or otherwise legally exempt from disclosure. If you have
received it by mistake please let us know by e-mail immediately and
delete it from your system; also you shouldn't copy the message nor
disclose its contents to anyone. Thanks.
------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20170523/6c12c0cc/attachment.html>


More information about the seaside mailing list