struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf Hauser (JIRA)" <j...@apache.org>
Subject [jira] Updated: (STR-2992) allow to compare whether an arbitrary object is null
Date Thu, 04 Jan 2007 08:23:17 GMT

     [ https://issues.apache.org/struts/browse/STR-2992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ralf Hauser updated STR-2992:
-----------------------------

    Attachment: CompareTagBase.java.patch

> allow to compare whether an arbitrary object is null
> ----------------------------------------------------
>
>                 Key: STR-2992
>                 URL: https://issues.apache.org/struts/browse/STR-2992
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Taglibs
>    Affects Versions: Future
>         Environment: any
>            Reporter: Ralf Hauser
>         Attachments: CompareTagBase.java.patch
>
>
> The idea is to for example do a notEqual logic tag where the value="null".
> By default this would be seen as a string comparison and always result in a "-1" but
with this patch, it should test for an arbitrary null object reference.
> IMHO, this is more powerful.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message