beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlin Rogers (JIRA)" <...@beehive.apache.org>
Subject [jira] Updated: (BEEHIVE-1146) Provide annotation processor warning for conditiional forwards with duplicate expressions
Date Fri, 15 Sep 2006 05:03:22 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-1146?page=all ]

Carlin Rogers updated BEEHIVE-1146:
-----------------------------------

    Fix Version/s: v.next
         Assignee: Carlin Rogers

I can take a look at this one.

> Provide annotation processor warning for conditiional forwards with duplicate expressions
> -----------------------------------------------------------------------------------------
>
>                 Key: BEEHIVE-1146
>                 URL: http://issues.apache.org/jira/browse/BEEHIVE-1146
>             Project: Beehive
>          Issue Type: Improvement
>          Components: NetUI
>    Affects Versions: 1.0.1
>            Reporter: Troy Beecroft
>         Assigned To: Carlin Rogers
>            Priority: Minor
>             Fix For: v.next
>
>
> Currently if you create a simple action with more than one conditional forward, and two
of these forwards have the same expression, there is no warning generated by the annotation
processor.  This scenario could probably happen easily enough via cut and paste error... 
and since one of the forwards is effectively dropped quietly at run time, it'd be a nice check
to add.
> Here's an example of the situation:
> @Jpf.Controller
>   (simpleActions = {
>     @Jpf.SimpleAction(name = "anAction", path = "index.jsp", conditionalForwards = {
>         @Jpf.ConditionalForward(condition = "${pageFlow.myProperty}", path = "some.jsp"),

>         @Jpf.ConditionalForward(condition = "${pageFlow.myProperty}", path = "another.jsp")
}) })

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

        

Mime
View raw message