[Seaside] Changes in newer seaside?

Avi Bryant avi at beta4.com
Sat Oct 4 15:26:28 CEST 2003


On Saturday, October 4, 2003, at 02:16 PM, Markus Fritsche wrote:

> Avi Bryant wrote:
>
>>
>>> html form: [
>>>    html
>>>        submitButtonWithAction: [Transcript show: 'was here'; flush. 
>>> article
>>>            lieferant: (self
>>>                call: (DIAAddressApplication new selectionActivated: 
>>> true))]
>>>    text: 'Lieferant: '].
>>>
>> I can't see anything in particular in that code that shouldn't work.
>> Do you know if that action block is getting executed at all?
>
> Prints "was here" to the Transcript. If I add an application with 
> DIAAddressApplication, it renders correctly. Also, 
> DIAAddressApplication is used elsewhere as a subcomponent (using 
> renderOn:), and that works...

Aha, there's your problem.  Don't use #renderOn: for subcomponents.  
That is, instead of

aSubComponent renderOn: html

use

html render: aSubComponent.

If you make that change everywhere I bet this problem goes away.



More information about the Seaside mailing list