Well I suppose that's a point - problem is that I am not doing a submit - 
just doing a click via a <a href> so my action bean will not get called - 
suppose i could do some kind of javascript but it's all a little messy.


>From: Eelco van Kuik <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: RE: Comparing two dynamic values
>Date: Mon, 14 May 2001 15:01:01 +0200
>
>It sounds to me like you're putting controller code in de view code.
>
>Maybe it is better to try to take care of it in the ActionForm/Action 
>beans.
>
>Regards,
>
>Eelco
>
>
>
>-----Original Message-----
>From: Tony Karas [mailto:[EMAIL PROTECTED]]
>Sent: maandag 14 mei 2001 14:29
>To: [EMAIL PROTECTED]
>Subject: Comparing two dynamic values
>
>
>I'm trying to compare a parameter value passed in as part of the URL with a
>bean value.  So I have something like this:
>
><logic:iterate id="element" name="retailerForm" property="retailers">
>     <logic:match name="element" property="id" value="????">
>         .....
>         .....
>     </logic:match>
></logic:iterate>
>
>In the "value" field - it says in the documentation that this has to be a
>constant value - which is pretty useless to me.  I've tried:
>
>value="<%= request.getParameter( "id" ) %>
>
>but I get an error.  Should this be possible?  Anyone know if there is a
>more "Struts" way of doing it?
>
>Cheers
>Tony
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Reply via email to