In case any of you are interested in these examples...

Dave
---------------------- Forwarded by David Hay/Lex/Lexmark on 06/26/2001 05:52 PM
---------------------------


David Hay
06/26/2001 05:37 PM

To:   Jason Rosenblum <[EMAIL PROTECTED]> @ LEXMTA
cc:

Subject:  RE: Struts iterate tag  (Document link: David Hay)

Sure...

            <html:text name="parameter" property="value" indexed="true"
onchange="validate(this)"/>
 produces
            <input type="text" name="parameter[0].value" value="Mac"
onchange="validate(this)">


            <html:hidden name="parameter" property="key" indexed="true"/>
produces
            <input type="hidden" name="parameter[0].key"
value="MacOSNameStartsWith">


               <html:button property="x" value="disable" indexed="true"
onclick="setParamDisabled(this)"/>
produces
               <input type="button" name="x[0]" value="reset"
onclick="setParamDefault(this)">


            <html:link href="ShowDetails" indexed="true" onclick="return
showDetails(this)" title="Show Details" style="text-decoration: none;"><html:img
 src="./images/chiclet.gif" alt="Show Details" border="0"/></html:link>
produces
            <a href="ShowDetails?index=0" style="text-decoration: none;"
title="Show Details" onclick="return showDetails(this)"><img
src="./images/chiclet.gif" alt="Show Details" border="0"></a>
     (note index added as querystring parameter here)

Hope that helps,

Dave







Jason Rosenblum <[EMAIL PROTECTED]> on 06/26/2001
05:31:10 PM

To:   "'[EMAIL PROTECTED]'"
      <"David_Hay/Lex/Lexmark.LEXMARK"@sweeper.lex.lexmark.com>
cc:    (bcc: David Hay/Lex/Lexmark)
Subject:  RE: Struts iterate tag



could you possibly send a couple more examples if you have any?

~Jason

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 2:30 PM
To: Jason Rosenblum
Subject: Re: Struts iterate tag




No problem.  It works great for me, by the way!!

Let me know if you have any problems with it...

Dave





Jason Rosenblum <[EMAIL PROTECTED]> on 06/26/2001
05:21:58 PM

To:   "'[EMAIL PROTECTED]'"
      <"David_Hay/Lex/Lexmark.LEXMARK"@sweeper.lex.lexmark.com>
cc:    (bcc: David Hay/Lex/Lexmark)
Subject:  Struts iterate tag



David,

I found the code! sorry to bother you.

~Jason









Reply via email to