How can I create a link to another page by specifying
the
path? Or something else?
If you use URLs you lose the current session and possibly state.
The right way to do this, is to use objects, e.g.
html anchor
goto: newContext;
with: 'A Pier Link'
where 'newContext' is the description of where you want to go. Create
this new context object from the current one like so:
newContext := self context structure: aStructure
where 'aStructure' is the page you want to go to and 'newContext' is a
temporary variable. Instead of using #structure:, it is also possible
to use #structure:command: or #structure:view: to specify a different
command or view.
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch