[Seaside] Use of WASimpleNavigation
Brian Brown
rbb at techgame.net
Fri Aug 20 18:56:17 CEST 2004
On Aug 20, 2004, at 8:43 AM, Sebastian Sastre wrote:
> Hi,
>
> I'm trying to make use of a WASimpleNavigation for an application
> web interface.
>
> Just to test the use of this "presenter" main I've copied part of
> the initialize and renderContentOn: methods I found in the WAAllTests:
> MyClass>>initialize
>
> (WASimpleNavigation new
> add: WAConosurNetContactos new label: 'Contactos';
> add: WAHtmlTest new label: 'Html';
> add: WAEncodingTest new label: 'Encoding';
> add: WAErrorTest new label: 'Error';
> yourself).
try adding that WASimpleNavigation to an instance var and then return
it in MyClass>>children
MyClass>>initialize
nav := WASimpleNavigation new
add: WAConosurNetContactos new label: 'Contactos';
add: WAHtmlTest new label: 'Html';
add: WAEncodingTest new label: 'Encoding';
add: WAErrorTest new label: 'Error'.
MyClass>>children
^ Array with: nav.
hope that helps,
Brian
>
> When testing the interface whichever I clik on I get an error:
> Components not found while processing callbacks: #(WASimpleNavigation)
>
> I can't see what is wrong. Help please!
>
> thank you,
>
> Sebastián Sastre
> ssastre at seaswork.com.ar
> www.seaswork.com.ar
> PD: I want to know how to debug this kind of errors. Where can I read
> something about the seaside dynamics?
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.740 / Virus Database: 494 - Release Date: 16/08/2004
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside
More information about the Seaside
mailing list