posted 14 years ago
I have a scenario where I need to validate the date. I validate the date using Calendar and set the current date. I should not show few values when the date is 4 and 5(Wednesday and Thursday) but it doesnt work with my piece of code.. It works only for 4 and not for 5 . I doubt by or condition. Anyone advise me on the correct usage of operators
<s:if test='date== 4 || date == 5 '>
Advise please