Hi. Last week I've sent to this list (and to Michel separately) an e-mail with two attachments containing an example with the code of this problem. Neither has appeared in the mailing list nor haven't reply from Michel.<br>Instead, I've received a message with: "Your message to Seaside awaits moderator approval". Should I send it again or there's a problem with attaching .st files?<br>thanks<br><br>Joseph<br><br><b><i>Michel Bany <michel.bany@gmail.com></i></b> a écrit :<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <br>> I have some problem integrating this into my application. I've <br>> customized the #updateRoot: in my WAMainComponent. From there I add <br>> headings ((WAHtmlElement named: 'link') ... attributeAt: 'rel' put: <br>> 'stylesheet';) for multiple css's scripts according to the <br>> resolution found from your code.<br>> With your code,
WAMainComponent>>initialRequest is executed first, <br>> and a new WAResponse is sent (from WAMyMainComponentSession) with <br>> the current scripts plus the javascript call to the get browser's <br>> info function (self session refreshAfterScript: ...). I don't <br>> understand why you cannot use "aCurrentWAResponse" and attached or <br>> #nextPutAll: to there instead of creating a new response in <br>> #refreshAfterScript:.<br><br>Did you notice that two Seaside sessions and three requests are used <br>for the handshaking?<br><br><br>> The problem is: It seems I cannot "attach" my custom <br>> WAMainComponent headings to the response (or they are attached <br>> later?), because the new WAResponse was sent before (?), resulting <br>> in my WAMainComponent class displayed without css's styling at all.<br>><br><br>I do not quite understand all your explanations.<br>You may want to post some of your
code.<br>Michel.<br><br><br>> However, to verify this, I've included some anchors inside <br>> WAMainComponent to change the css's dynamically. Reloaded the page, <br>> the content is there but "raw" (no style applied), clicked the <br>> anchor and....and it worked fine, the style was applied. I deduced <br>> the headings are sent, but somewhat after the browser info <br>> things...since the respond: method seems a little bit complicated <br>> to me, I ask again, is there a way to fix this behavior so the <br>> proper headings are included and then the component is showed for <br>> the right resolution?<br>><br><br><br><br>_______________________________________________<br>Seaside mailing list<br>Seaside@lists.squeakfoundation.org<br>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br></blockquote><br><p> 
<hr size="1">
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur <a href="http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com">Yahoo! Questions/Réponses</a>.