I am having a bit of trouble using the if tag. This code: <label>Screen Alert:</label> <input type="radio" name="pScreenAlert" <s:if test="userDetailsBean.userPreferencesBean.mmPrelimScreenAlert == 'N'">checked</s:if> value="1">Yes <input type="radio" name="pScreenAlert" <s:if test="false">checked</s:if> value="2">No
Gives this error: DEBUG util.OgnlValueStack - Caught an exception while evaluating expression 'userDetailsBean.userPreferencesBean.mmPrelimScreenAlert == 'N'' against value stack java.lang.NumberFormatException: For input string: "N" It thinks the N is a number. I do not get the excpetion if the string is more than one char. Any ideas? Using %{'N'} does not give an exception but does not evaluate to true when it should match. Thanks, Scott ____________________________________________________________________________________ Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]