Hello Alex,

Friday, June 08, 2001, 4:17:37 PM, you wrote:

AC> Hi, I am looking for advice regarding the use of two images.

AC> Lets say you have a class status that has two boolean state properties
AC> isModify() and isNew(). If isModify() returns true then I want to display
AC> modify.gif and call the JavaScript function modify() and, if isNew() is true
AC> then I want to display new.gif and also call modify().

AC> Anyone have an example of this or could offer some advice?

Name your properties as getIsModify() and getIsNew() and after that
you can use such constructions as -

<logic:equal name="bean" property="isModify" value="true">
 display modify.gif
</logic:equal>

-- 
Best regards,
 Oleg                            mailto:[EMAIL PROTECTED]


Reply via email to