struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Appel, Jeremy D" <jeremy.ap...@qwest.com>
Subject RE: Struts Dilemma
Date Thu, 06 Nov 2003 17:35:08 GMT
Try the <logic:notEqual> or <logic:equal> tags...

-----Original Message-----
From: Srinivas Gunturu [mailto:sxg1127@bjc.org]
Sent: Thursday, November 06, 2003 12:30 PM
Subject: Struts Dilemma


Often when writing a bean for use by a tag, I seem to be writing a equivalent method that
returns a string value for a boolean property.

For example:

If I mean to pass a boolean property isInactive, I am also writing a getInactiveFlag which
returns "N" or "Y" based on isInactive.

I use inactiveFlag in my tag definition and inside my tag I check for "Y" or "N".  

Am I totally missing something or is there a better way to do this?

TIA



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message