Thank you Francisco. When I tested the url tag, I got session encoded output. Is this the main purpose of the tag, to encode session information? After all, you could have done it like this:
<a href="addEventToCalendar.action?<ww:param name="eventId" value="event.id" />">Add this Event to your Calendar</a> And if so, why is the tag necessary? I thought the servlet API would do this automatically if the client didn't have cookies activated? Just trying to understand :-) -Robert Douglass -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Francisco Hernandez Sent: Tuesday, September 23, 2003 8:35 AM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] Hyperlink best practices just use the url tag like so: <a href="<ww:url value="addEventToCalendar.action" ><ww:param name="eventId" value="event.id" /></ww:url>">Add this Event to your Calendar</a> Robert Douglass wrote: > Is this how most people do it? > > <a href="/jsp/inbox.jsp?id=<ww:property value="id"/>"> > <ww:property value="name"/> > </a> > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Robert Douglass > Sent: Tuesday, September 23, 2003 7:58 AM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] Hyperlink best practices > > > Hello, > I'm looking for code examples of how people build their hyperlinks in > WW2/JSP view. The examples in the distribution don't really address this, > and the ww:url tag seems to be more of an encoding helper than the beginning > of a solution to generating dynamic anchor tags. What I'd ideally like is a > <ww:anchor> tag: > > <ww:anchor href="ognl.here" target="'_top'" encode="true|false"> > <ww:param/> > </ww:anchor> > > I'm sure that this problem has been solved a hundred times and I just > haven't comprehended it yet. > > -Robert Douglass > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork