Hi Lukas,
Have a look at the class SmallWiki2.TreeComponent, one
of the few
components that is fully working already. I think, it is showing some
of the power of Seaside in a very nice way: the links to the structure
there are defined as action callbacks
html
anchorWithAction: [ self session goTo: aModel ]
do: aModel title
and Seaside takes care of updating the url and keeping the session.
ah, now I understand! I wasn't aware of this possibilty to tell Seaside, how
to update the URI and have overlooked your method RootWrapper>>updateUrl,
where you add the title of a page to the URI, I guess.
Another nice thing to see in this example - but not
related to your
question - is how the state of the component is kept, e.g. what nodes
of the tree are collapsed/expanded.
yes, I have looked at that, that's a nice example of the power of Seaside.
:)
greets,
David