You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by bu...@apache.org on 2008/05/12 04:48:39 UTC

DO NOT REPLY [Bug 44970] New: Error on the taglib "Logic:notEqual" , based on the Struts1.1.1.1

https://issues.apache.org/bugzilla/show_bug.cgi?id=44970

           Summary: Error on the taglib "Logic:notEqual" ,based on the
                    Struts1.1.1.1
           Product: Taglibs
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: String Taglib
        AssignedTo: taglibs-dev@jakarta.apache.org
        ReportedBy: so.chomatsu@bp.ris.renesas.com


Right now,we are devleoping a MVC java project on the platform Eclipse3.2.0.
and occasionally met up with one problem on tablib when dealing with the Struts
taglib "Logic:notEqual".

【Preparation】
In JSP
we use the Struts Taglib in the jsp as below.

-----------------------------------------------------------------------------
<bean:define id="breakKey" value="1018E150300625304589" type="String"/>
....... 
 <logic:notEqual name="lackingBean" property="laseNo" value='<%=breakKey %>'>
      <bean:write name="lackingBean" property="laseNo"/>
 </logic:notEqual>
------------------------------------------------------------------------------

【Test Case1】
   we set '1018E150300625304587' to the "laseNo" of lackingBean.

【Analysis】
   As refered on the logic of Jsp,The value of "laseNo" will be displayed on
the IE because the value of the "breakKey" isn't equal to the value of String
'1018E150300625304587'.

But...

【Errors Report】
 "laseNo" did not display as will,because of the error on the Taglib Logic.

Anyway,that only happend on the character "E"
if we change the character "E" for "C" or anyelse character besides "E",there
will be no problem on the comparison.
For example the comparison between "1018C150300625304589" and
"1018C150300625304587" is OK.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 44970] Error on the taglib "Logic:notEqual" , based on the Struts1.1.1.1

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44970


Rahul Akolkar <ra...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Rahul Akolkar <ra...@apache.org>  2008-05-12 14:03:16 PST ---
Please use the Struts issue tracker for Struts-related issues:
  http://issues.apache.org/struts/

This is the Jakarta Taglibs issue tracker, the two are unrelated.

Towards the issue itself, there is likely confusion between the character E and
the exponent numeric operator somewhere in the pipeline.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org