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

Reply via email to