[Seaside] Anchor Actions in Rendered Components
avi at beta4.com
Fri May 7 19:06:07 CEST 2004
On May 7, 2004, at 10:00 AM, Jason Dufair wrote:
> You need to assign the instance created by MyComp1 new to an instance
> var and have a children method in MyShell that answers an Array with
> least) the instance var holding the instance of MyComp1 above.
myComp := MyComp1 new
html render: myComp
^ Array with: myComp
> "Bill Holloway" <holloway at io.com> writes:
>> I have a WAComponent called MyShell whose #renderContentOn: reads
>> MyShell>>renderContentOn: html
>> html render: MyComp1 new.
>> MyComp1 is also a subclass of WAComponent. Its rendering method is
>> MyComp1>>renderContentOn: html
>> html anchorWithAction: [Transcript show: 'in comp1 render'] text:
>> 'do it'
>> When I click this link, nothing shows in the Transcript. If I put
>> such a
>> Transcript>>show: link in MyShell>>renderContentOn:, the Transcript
>> show the desired text. Ideas? Thanks!
>> Seaside mailing list
>> Seaside at lists.squeakfoundation.org
> Jason Dufair
> Office of the VP for Information Technology
> Purdue University
> jase at purdue.edu
> 765-496-1185 - fax: 765-496-7409
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
More information about the Seaside