[Seaside] newbie design question
Jamie Ashford
jamie.ashford at gmail.com
Sun Jul 3 14:26:05 CEST 2005
Nearly....
The difficulty is more to do with how these three sub-components
should communicate with each other.
In my task subclass I had code like this:
result := call Comp1 new.
result2 := call Comp2 new with: result.
result3 := call Comp3 new with: result2.
I can render all three components onto a single page, as you suggest,
but I am not sure how I should pass information between them...
Many thanks for your help,
Jamie.
On 7/3/05, Yar Hwee Boon <hboon at motionobj.com> wrote:
>
> On 03-Jul-05, at PM 07:47, Jamie Ashford wrote:
>
> > My initial, naive assumption, was to create a WATask subclass, which
> > would call each component in turn, receiving and passing responses.
> > However this results in only one component being displayed on the
> > screen at a time.
>
> Take those 3 components and in your new component do
>
> renderContentOn: html
> html render: comp1; render: comp2; render: comp3.
>
> Take a look at WAMultiCounter>>renderContentOn:. Is this what you are
> looking for?
>
> --
> HweeBoon
> http://motionobj.com/blog/
> MotionObj
> (65) 6764-9774
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside
>
More information about the Seaside
mailing list