Re: [Actionframework-users] [Fwd: Re: <input-varialbe> if condition AND operator????]
Status: Inactive
Brought to you by:
ptoman
From: Petr T. <Pet...@pi...> - 2002-06-22 09:36:37
|
> I'm using the if condition for an <input-variable> and need to know > the correct syntax for the AND operator, I've tried && but I get a > syntax error i.e. > > <input-variable name="securityItemIdToActionList" > value="selected[],idToActionMapping[]" if="$selected.length() != 0 && > $idToActionMapping[].length() != 0"/> You need to escape '&' ('<','>','"' etc.) in XML - like you should in HTML, i.e.: if="cond1 && cond2" '<' is escaped as < '>' as > '"' as " '&' as & Petr -- >>> http://dione.zcu.cz/~toman40 - Pet...@pi... - ICQ=22957959 <<< |