struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balasubramanian, Ramai" <>
Subject nested:greaterThan and nested:equal
Date Mon, 16 Jun 2003 10:13:38 GMT
In the below code, nested:greaterThan does perfectly what it is expected to
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:greaterThan property="total" value="0">
        <%-- do something else --%>
Would appreciate if someone explaing why and the context/concept behind it.
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 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).

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message