AndroMDA/JIRA Created: (JSF-49) JSF2 : SessionObject behaviour different from BPM4Struts 3.3 cartdridge

View: New views
4 Messages — Rating Filter:   Alert me  

AndroMDA/JIRA Created: (JSF-49) JSF2 : SessionObject behaviour different from BPM4Struts 3.3 cartdridge

by JIRA jira@andromda.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

JSF2 : SessionObject behaviour different from BPM4Struts 3.3 cartdridge
-----------------------------------------------------------------------

         Key: JSF-49
         URL: http://jira.andromda.org/browse/JSF-49
     Project: JSF cartridge
        Type: Bug

    Versions: 3.4-SNAPSHOT    
    Reporter: Jean-Marc Collin
 Assigned to: Chad Brandon


The SessionObject.java.vsl don't use SESSION_KEY constant to name the session.attribute object. This make AndroMDA 3.3 code not compatible with A3.4-SNAPSHOT.

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


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference

AndroMDA/JIRA Updated: (JSF-49) JSF2 : SessionObject behaviour different from BPM4Struts 3.3 cartdridge

by JIRA jira@andromda.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

     [ http://jira.andromda.org/browse/JSF-49?page=all ]

Jean-Marc Collin updated JSF-49:
--------------------------------

    Attachment: SessionObject.java.vsl
                Controller.java.vsl

> JSF2 : SessionObject behaviour different from BPM4Struts 3.3 cartdridge
> -----------------------------------------------------------------------
>
>          Key: JSF-49
>          URL: http://jira.andromda.org/browse/JSF-49
>      Project: JSF cartridge
>         Type: Bug

>     Versions: 3.4-SNAPSHOT
>     Reporter: Jean-Marc Collin
>     Assignee: Chad Brandon
>  Attachments: Controller.java.vsl, SessionObject.java.vsl
>
> The SessionObject.java.vsl don't use SESSION_KEY constant to name the session.attribute object. This make AndroMDA 3.3 code not compatible with A3.4-SNAPSHOT.

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


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference

AndroMDA/JIRA Commented: (JSF-49) JSF2 : SessionObject behaviour different from BPM4Struts 3.3 cartdridge

by JIRA jira@andromda.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

    [ http://jira.andromda.org/browse/JSF-49?page=comments#action_16075 ]

Walter Itamar MourĂ£o commented on JSF-49:
-----------------------------------------

Since the get/set code is fully generated, why do you think it is an issue ?

> JSF2 : SessionObject behaviour different from BPM4Struts 3.3 cartdridge
> -----------------------------------------------------------------------
>
>          Key: JSF-49
>          URL: http://jira.andromda.org/browse/JSF-49
>      Project: JSF cartridge
>         Type: Bug

>     Versions: 3.4-SNAPSHOT
>     Reporter: Jean-Marc Collin
>     Assignee: Chad Brandon
>  Attachments: Controller.java.vsl, SessionObject.java.vsl
>
> The SessionObject.java.vsl don't use SESSION_KEY constant to name the session.attribute object. This make AndroMDA 3.3 code not compatible with A3.4-SNAPSHOT.

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


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference

AndroMDA/JIRA Commented: (JSF-49) JSF2 : SessionObject behaviour different from BPM4Struts 3.3 cartdridge

by JIRA jira@andromda.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

    [ http://jira.andromda.org/browse/JSF-49?page=comments#action_16078 ]

Jean-Marc Collin commented on JSF-49:
-------------------------------------

because the generated code is not compatible with hand made code using Andromda 3.3 generated constant.
I use in my ControllerxxxImpl the constant Sessionxxx.SESSION_KEY to manipulate the session data. This code don't works with andromda 3.4-SNAPSHOT. This code was made for the BPM4Struts cartridge and to works now with the JSF2 cartridge.

On the other hand, it's always better to use constant. This make for quality tools (like Sonar) not to throw alerts about poor code quality.

> JSF2 : SessionObject behaviour different from BPM4Struts 3.3 cartdridge
> -----------------------------------------------------------------------
>
>          Key: JSF-49
>          URL: http://jira.andromda.org/browse/JSF-49
>      Project: JSF cartridge
>         Type: Bug

>     Versions: 3.4-SNAPSHOT
>     Reporter: Jean-Marc Collin
>     Assignee: Chad Brandon
>  Attachments: Controller.java.vsl, SessionObject.java.vsl
>
> The SessionObject.java.vsl don't use SESSION_KEY constant to name the session.attribute object. This make AndroMDA 3.3 code not compatible with A3.4-SNAPSHOT.

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


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference