Hi Bruno, it happens because when you make a call to a component, it is rendered in the context of the caller. You should call it from the root component.
For example you could make an #answer from the child component, and catch it from your root, with #onAnswer: method, and replacing the current component to be rendered.
Sebastian
On Sun, Dec 19, 2010 at 5:00 PM,
<[hidden email]> wrote:
Send Beta mailing list submissions to
[hidden email]
To subscribe or unsubscribe via the World Wide Web, visit
http://seaside.gemstone.com/mailman/listinfo/beta
or, via email, send a message with subject or body 'help' to
[hidden email]
You can reach the person managing the list at
[hidden email]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beta digest..."
Today's Topics:
1. WASimpleNavigation and Clean up process (Smalltalk)
----------------------------------------------------------------------
Message: 1
Date: Sun, 19 Dec 2010 11:45:55 -0200
From: "Smalltalk" <[hidden email]>
Subject: [GS/SS Beta] WASimpleNavigation and Clean up process
To: "'GemStone Seaside beta discussion'" <[hidden email]>
Message-ID: <000501cb9f83$0ffe3040$2ffa90c0$@com.uy>
Content-Type: text/plain; charset="us-ascii"
Hi,
I have a problem with: WASimpleNavigation.
There are three tabs. Each one is render nicely.
Each tab has a list of objects. The last column of the list is an image when
clicked you access the clicked object in another component.
initialize
super initialize.
rolsList := WARolListComponent new.
activitiesList := WAActivityListComponent new.
statesList := WAStateListComponent new.
nav := WASimpleNavigation new
add: activitiesList label: 'Activities';
add: rolsList label: 'Rols';
add: statesList label: 'States';
select: 'Activities'.
renderContentOn: html
..
rolsList list: model rols.
activitiesList list: model activities.
statesList list: model states.
html render: nav.
The problem is that the new opened component is create inside the Tab, and I
want the component in a new clean web page.
I tried with #show: and #call: and the method #children, but with no luck.
Still searching.
The other question is how to claim all process that fails (because DNU)
during development. I have a lot of useless walkbacks.
I'm searching this in the manuals.
Regards,
Bruno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://seaside.gemstone.com/mailman/private/beta/attachments/20101219/f5c9292c/attachment.html>
------------------------------
_______________________________________________
Beta mailing list
[hidden email]
http://seaside.gemstone.com/mailman/listinfo/beta
End of Beta Digest, Vol 44, Issue 32
************************************