I dont see how my inner components are supposed to
know whether or not
they are in a form. I am not sure how much seaside does for me in this
respect etc etc...
You can find that out by walking up the stack. Something like this
should work (but it is not nice):
isWithinForm
current := thisContext.
[ current isNil ] whileFalse: [
current selector = #form
ifTrue: [ ^ true ].
current := current sender ].
^ false
In Magritte the model tells Seaside if it requires a multipart form
or not.
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch