I ran into the same problem and someone told me to use <a href="javascript:void(0);"> which seemed to do the trick. Is this possibly a bug in 4.0?
On 11/1/05, Patrick Casey <[EMAIL PROTECTED]> wrote: > > Have you tried the any tag? > > <span jwcid="@Any" element="a" href="ognl:getLink()"> > <span jwcid="@RenderBody" /> > </span> > > > -----Original Message----- > > From: Chris Norris [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, November 01, 2005 8:52 AM > > To: Tapestry users > > Subject: anchor tags > > > > 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 > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- ~chris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
