I feel like quite the noob with this question:

How do I do anchor tags in Tapestry? My real goal is to have a link that
doesn't go anywhere and just calls a javascript function. This was what I
tried:
<a href="#" onclick="someJavascriptFunction();">Click me!</a>

The url of the page was something like this:
http://localhost:8080/app?page=SomePage&service=page

I would think that mousing over the link would give me something like this:
http://localhost:8080/app?page=SomePage&service=page#

Instead, I got this: http://localhost:8080/#
That just sends me to the home page. This is not the desired functionality.
This is so basic, and I feel like I'm missing something obvious.

-Chris

Reply via email to