<div>Hello Stefan.<br></div><div><br></div><div>Hello.First of all I will clarify that I am no expert in html or css, much less in Seaside, but I mention something that you could try.</div><div>* In HTML5 it&#39;s totally OK to put a &lt;link&gt; or &lt;style&gt; in &lt;body&gt;.<br>
        * In fact, you can even have scoped &lt;style&gt;s that apply only to a part of your document! <br>        * But in terms of rendering, it may be slower because the browser re-renders the page.</div><div><br></div><div>See <a href="http://stackoverflow.com/questions/1642212/whats-the-difference-if-i-put-css-file-inside-head-or-body">http://stackoverflow.com/questions/1642212/whats-the-difference-if-i-put-css-file-inside-head-or-body</a></div>
<div><br></div><div>Then, you can experiment load your css (and your js) in the body. As far as I understand, in Seaside 3.0.7, WAHtmlCanvas has no support for this, so I use a raw:</div><div><br></div><div> html html: &#39;&lt;link href=&quot;&#39;, (SomeLibrary / #someCss) greaseString, &#39;&quot; type=&quot;text/css&quot; rel=&quot;stylesheet&quot; /&gt;&#39; </div>
<div><br></div><div>Regards.</div><br><div class="gmail_quote">2013/3/14 Stefan Krecher <span dir="ltr">&lt;<a href="mailto:stefan.krecher@googlemail.com" target="_blank">stefan.krecher@googlemail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Hi,</span><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
i have a main-component where i overwrite updateRoot to inject some css.</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">On the main-page, i render a list of domain-objects, every domain-object gets an &quot;edit&quot;-link. By pressing edit, i construct a component (-&gt; descriptions asComponentOn: aMitarbeiter).</div>

<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">The component will be rendered via self call: component. To inject css in the resulting editor, i add a custom MAFormDecoration (with an overwritten updateRoot:).</div>

<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Now i have the editor for that domain-object. The domain-object has a one-to-many-relationship to another domain-object, it is modelled like this:</div>

<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><div><br></div><div>descriptionHistorieArbeitsbereiche</div><div>^MAToManyRelationDescription new</div><div><span style="white-space:pre-wrap">        </span>classes: (Array with: HistorieArbeitsbereiche);</div>

<div><span style="white-space:pre-wrap">        </span>accessor: (MAPluggableAccessor read:[ :mitarbeiter | mitarbeiter historieArbeitsbereiche ] write: [:mitarbeiter :historieArbeitsbereiche | mitarbeiter historieArbeitsbereiche: historieArbeitsbereiche]);</div>

<div> <span style="white-space:pre-wrap">        </span>label: &#39;Arbeitsbereiche&#39;;</div><div><span style="white-space:pre-wrap">        </span>default: #();</div><div><span style="white-space:pre-wrap">        </span>priority: 500;</div>

<div><span style="white-space:pre-wrap">        </span>beSorted;</div><div><span style="white-space:pre-wrap">        </span>cssClass: #historieArbeitsbereiche;</div><div><span style="white-space:pre-wrap">        </span>reference: (HistorieArbeitsbereiche descriptionArbeitsbereich);</div>

<div>      yourself</div></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
The problem is, that i have no idea, how to inject css in the resulting editor (when i click on &quot;edit&quot; or &quot;add&quot;).</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Is there a way to inject an link to a css into the header of _every_ page that is rendered? If i use call: to render a component, the calling component gets replaced (including the &lt;header&gt; section). If a magritte-editor is redered via a OneToMany-Relationsip i don&#39;t seem to have access to the header-section of the resulting html (i only could use a custom renderer - here i could try to load css from the &lt;body&gt;-section of the page - but that seems do be no clean way.</div>

<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
thx and regards,</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Stefan</div>
<br>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br>