struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff_Mycha...@nlgroup.ca
Subject RE: One tag in other tag's attribute's value
Date Wed, 26 Mar 2003 17:29:41 GMT

Or with out JSTL..

<bean:define id="linkAction">
      /Delete.do?id=<bean:write name="row" property="id"/>
</bean:define>

<html:link action="<%= linkAction %>">Delete</html:link>

I use this all the time. Works well when done in moderation :-)






Wendy Smoak <Wendy.Smoak@asu.edu> on 03/24/2003 11:34:33 PM

Please respond to "Struts Users Mailing List"
       <struts-user@jakarta.apache.org>

To:    'Struts Users Mailing List' <struts-user@jakarta.apache.org>
cc:

Subject:    RE: One tag in other tag's attribute's value


> I need to have something like this
> <html:link action="/Delete.do?id=<bean:write name="row"
> property="id"/>">Delete</html:link>

Use JSTL instead?

<a href="/Delete.do?id=<c:out value="${row.id}"/>">Delete</a>

Or something like that.  It's late and I don't have the code here at home
to
copy/paste from.

--
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management









---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message