Hi All, I have a populated form bean with a property that returns an
int indicating a transaction type either(0,1 or 2). In
my jsp I would like to display some data depending on the state of this flag. The
evaluation is: If(transType ==
0 || transType == 1) … else
if(transType ==2) … I am trying to use the logic:match
tag to perform this evaluation by: <logic:match name="transactionForm"
property="transType" value="01"> Where using the substring evaluation should work if
my transType is 0 or 1, but as you might have guessed it is not working and the
evaluation fails, but no errors thrown. This is followed by a logic:equal: <logic:equal name="transactionForm"
property="transType" value="2"> Can I use the logic:match
to perform this evaluation, any suggestions? Thanks,
|