[Seaside] About selecting the first element of a WASimpleNavigation

Yar Hwee Boon hboon at motionobj.com
Mon Nov 29 02:53:41 CET 2004


On Sun, 28 Nov 2004 22:03:17 +0100, stephane ducasse  
<stephane.ducasse at free.fr> wrote:

> WASimpleNavigation class>>example
>
> 	| counter |
> 	counter := WACounter new .
> 	^ self new
> 		add: counter label: 'yet another counter';
> 		add: WAPath example label: 'a cool path';
> 		select: counter;
> 		yourself

You need to #select: the label, not the component.

-- 
Regards
HweeBoon
MotionObj


More information about the Seaside mailing list