Can't you use

<strutslogic:equal name="optionWorkProfile"
property="workSchedule$WorkScheduleEid" parameter="wsId">

to save having to use a scriptlet in the value attribute?

Cheers,

Gollo

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]


 The compiler is probably getting confused by the two sets of double
quotes
in your value specification. Try using single quotes around the overall
expression, like this:

<strutslogic:equal name="optionWorkProfile"
property="workSchedule$WorkScheduleEid"
value='<%=request.getParameter("wsId")%>'>

--
Martin Cooper


----- Original Message -----
From: "Matt Raible" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 19, 2001 2:28 PM
Subject: logic:equal and dynamic value


> I am trying to compare a value in my bean with a value from the
request,
using
> the following
>
> <strutslogic:equal name="optionWorkProfile"
> property="workSchedule$WorkScheduleEid"
> value="<%=request.getParameter("wsId")%>">
>
> However, I am getting the following error:
>
> 2001-09-19 03:31:07 - error-the file
> '\WEB-INF\pages\resourceWorkProfileManage.jsp' generated the following
parse
> exception: org.apache.jasper.compiler.ParseException:
>
D:\iPlanet\iPM6ias\APPS\timetracker\timetracker\WEB-INF\pages\resourceWo
rkPr
ofileManage.jsp(248,131)
> Attribute wsId has no value
>
>
> I have tried putting <%=request.getParameter("wsId")%> outside of the
equal
> tags and the value is there - and it is the one I've expected.
>
> Thanks,
>
> Matt
>
>
> __________________________________________________
> Terrorist Attacks on U.S. - How can you help?
> Donate cash, emergency relief information
> http://dailynews.yahoo.com/fc/US/Emergency_Information/



Reply via email to