[Seaside] initialRequest: / updateRoot: / updateUrl:

Francois Stephany tulipe.moutarde at gmail.com
Thu May 19 18:31:23 UTC 2011


Hi list,

I probably forget something stupid but I have some trouble with 
initialRequest:/updateRoot:/updateUrl:

WAComponent
   subclass: #WPRootComponent
   instanceVariableNames: 'visibleComponent'

WPRootComponent>>children
   ^Array with: self visibleComponent.

WPRootComponent>>renderContentOn: html
   html render: self visibleComponent.

WPRootComponent>>visibleComponent
   visibleComponent isNil ifTrue: [ self resetVisibleComponent ].
   ^visibleComponent.

visibleComponent is an instance of sublass of a subclass of WAComponent.

WPAVisibleComponent>>updateUrl: anUrl
   self halt.


initialRequest:, updateRoot: and updateUrl: are never called on 
visibleComponent (halt never occurs).

Are there common mistakes that introduce this behaviour ?

Cheers,
Francois



More information about the seaside mailing list