struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Benedict (JIRA)" <j...@apache.org>
Subject [jira] Updated: (STR-3105) Document how to migrate <logic> tags to JSTL
Date Mon, 05 Nov 2007 08:32:34 GMT

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

Paul Benedict updated STR-3105:
-------------------------------

    Fix Version/s: Future

Ralph, please submit a patch. It will be very welcomed.

> Document how to migrate <logic> tags to JSTL
> --------------------------------------------
>
>                 Key: STR-3105
>                 URL: https://issues.apache.org/struts/browse/STR-3105
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Website
>    Affects Versions: 1.3.8
>         Environment: any
>            Reporter: Ralf Hauser
>            Priority: Minor
>             Fix For: Future
>
>
> Very often, I find myself having a 
>    <logic:equal  .... true
>       .... positive 
>   </logic:equal
> followed by a 
>    <logic:notEqual  .... true
>       .... negative
>    </logic:notEqual
> These are maintenance imponderables because in nested settings, you risk to loose oversight
if you change one of the statements to also change the other one.
> If there were a <logic:else>
> the above statement could be reduced to 
>    <logic:equal  .... true>
>       .... positive ...
>   </logic:else>
>       .... negative ... 
>   </logic:equal>
> and only ONE condition is to be maintained

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message