Hi
This example, set's a URL field in a list of URL entries as a link parameter
<logic:iterate id="element" name="listForm" property="entries"
type="com.JJ.forms.EntryForm">
  <row:row oddColor="#99ccff" evenColor="#09c0f0">
    <td>
        <html:link href="<%= element.getURL()%>" target="viewFrame">
              <jsp:getProperty name="element" property="URL"/>
        </html:link>
    </td>

    <td><jsp:getProperty name="element" property="comments"/></td>
    <td><jsp:getProperty name="element" property="dateInput"/></td>
    <td><jsp:getProperty name="element" property="category"/></td>
    <td><jsp:getProperty name="element" property="username"/></td>
    <td>
        <html:link page="/do/edit" paramId="URL" paramName="element"
paramProperty="URL">
              <bean:message key="button.edit" />
        </html:link>
    </td>
  </row:row>
</logic:iterate>

:-)
Regards
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
Advanced Banking Solutions Limited
+44 (0)20 7448 9146
º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤ºº¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤ºº¤ø,
¸¸,ø¤º°'°º¤ø,¸¸,
This email and any attachments are confidential. They may contain privileged

information or useless trivia and are intended for the named addressee (s)
only. 
They must not be distributed without our consent. If you are not the
intended recipient, 
please notify us immediately and do not disclose, distribute, or retain this
email or any
part of it. Unless expressly stated, opinions in this email are those of the

individual sender, and not of Advanced Banking Solutions Limited. We believe

but do not warrant that this e-mail and any attachments are virus free. You
must
therefore take full responsibility for virus checking. Advanced Banking
Solutions
Limited and its subsidiaries reserve the right to monitor all email
communications
through their networks.                 
º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤ºº¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤ºº¤ø,
¸¸,ø¤º°'°º¤ø,¸¸,


        -----Original Message-----
        From:   Struts Newsgroup [SMTP:[EMAIL PROTECTED]]
        Sent:   06 December 2001 11:55
        To:     [EMAIL PROTECTED]
        Subject:        Dynamic parameter attachment to <html:link> tag

        Subject: Dynamic parameter attachment to <html:link> tag
        From: "Nutshell" <[EMAIL PROTECTED]>
         ===
        Hi
                Does anybody knows how to attach parameter to the
<html:link> tag
        dinamically?
                I have a link <html:link
        page="/goThere.do?action=someValue">Link</html:link>.
                What I want to do is to set the value of action parameter of
the
        link at the execution time.
                How can I do that?



        --
        To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
        For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to