[Seaside] updateRoot question

Sean Allen sean at monkeysnatchbanana.com
Fri Apr 16 21:28:21 UTC 2010


is it possible for code that is executed during renderContentOn: to
add additional header info like updateRoot: does.
so basically, delay til renderContentOn decisions about what to add to
root and what not.

in psuedo something like:

renderContentOn: aCanvas

    aCanvas html: 'some html'.
    self renderMySpecialMethod.
    aCanvas html: 'some html'.

renderMySpecialMethod: aCanvas

   *magic to get html root*
   *do something with html root*
   aCanvas html: 'special html that needs something in the root to operate'.


More information about the seaside mailing list