[Seaside] Problem loading css in updateRoot:

jtuchel at objektfabrik.de jtuchel at objektfabrik.de
Wed May 28 12:37:19 UTC 2014


Am 28.05.14 14:15, schrieb Philippe Marschall:
> But I guess you have something in mind when you ask that?
> Yes I do. If the component is inserted into to the page using ajax it
> does not (can not) update the <head>. If you then do a full page
> reload and the component is no longer inserted using ajax but part of
> the full page rendering it can update the <head>. Could this be what
> is happening in your case?
>
>

Well, not ajax per se, but...

the component is rendered, but initially has a display: none style. It 
is made visible in a click handler (no ajax involved here).

But the fact that the style is invisible does sure not mean that the 
server doesn't include the link to the head, because the html is 
rendered on the server side, right?

Nevertheless, what you say makes perfect sense and is a possible trap. I 
guess this can only be learned by suffering through it ;-)

Joachim



-- 
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel          mailto:jtuchel at objektfabrik.de
Fliederweg 1                         http://www.objektfabrik.de
D-71640 Ludwigsburg                  http://joachimtuchel.wordpress.com
Telefon: +49 7141 56 10 86 0         Fax: +49 7141 56 10 86 1



More information about the seaside mailing list