Using the dot operator to separate method calls should work:

<logic:equal name="assignUserForm" property="assignUser.name" value="Bob">
        <I>This user is currently <B>Inactive</B></I>
</logic:equal/>


That should call:
assignUserForm.getAssignUser().getName(), and then compare it to "Bob".

If the above doesn't work, then pretend someone else told you to do it.

Best,
Riyad

On Wednesday 12 May 2004 02:00 pm, Williams, Robert E wrote:
> Hello all,
>
> I have been trying to get a piece of code to work in my JSP.  I understand
> how to do a comparison using a String attribute on the form bean.
>
> Is it possible to use a Value Object on the form bean, in the "property"
> attribute of the tag?  Drilling into the VO to get a String value for
> comparison to the "value" parameter in the tag?
>
>
>   <logic:equal name="assignUserForm" property="assignUser" value="I">
>    <I>This user is currently <B>Inactive</B></I>
>   </logic:equal/>
>
> Thank you,
>
> Rob
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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

Reply via email to