[Seaside] anchors behaving like buttons?
Avi Bryant
avi at beta4.com
Thu Mar 27 23:05:45 CET 2003
On Thu, 27 Mar 2003, Nevin Pratt wrote:
> 1. Define the URL for the 'red' link to be '/seaside/foo/red', and for
> the 'green' link to be '/seaside/foo/green'.
<snip>
> With the above, the 'red' and 'green' links will invoke the #red and
> #green target methods (respectively) of the component, just like a
> button does.
Forgive me if I'm being dense, but what's the point of all of this? What
does this let you do that a simple
html anchorWithAction: [self red] text: ...
doesn't?
Is it so that you can have external links that cause a method to be
invoked when you first enter the application?
Avi
More information about the Seaside
mailing list