Hi,
 
In the below code, nested:greaterThan does perfectly what it is expected to
do.
But nested:equal doesn't do what it is expected to do.
If nested:equal is replaced with the traditional logic:equal, that does the
job perfectly.
I couldn't figure out why.
 
// a struts form bean name
<nested:root name="ReferralWorkListEntryForm">
 
//a property in the form bean
<nested:nest property="results">
 
    <%-- @todo: why the below code execution fails ? --%>
    <nested:equal property="total" value="0"> 
        <%-- do something --%>
    </nested:equal>

    <nested:greaterThan property="total" value="0">
        <%-- do something else --%>
    </nested:greaterThan>
 
</nested:nest>
 
</nested:root>
 
 
Would appreciate if someone explaing why and the context/concept behind it.
 
Cheers,
Ramiah Balasubramanian


***************************************************************************************
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
If you are not the intended recipient you must not copy this message, attach
or disclose the contents to any other person. If you have received this email
in error please notify [EMAIL PROTECTED] immediately. The views expressed 
in this email may be the personal views of the sender and not those of 
Motability Finance Limited trading as Motability Operations unless 
specifically stated. 

This footnote also confirms that this email message has been swept for the 
presence of computer viruses. However, neither Motability Finance Limited 
trading as Motability Operations nor the sender accepts any responsibility for 
viruses and it is your responsibility to scan the email and attachments (if any).
***************************************************************************************

Reply via email to