You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Fabrizio Morbini (JIRA)" <ji...@apache.org> on 2010/07/24 02:33:49 UTC

[jira] Created: (SCXML-154) processing of param children of send actions

processing of param children of send actions
--------------------------------------------

                 Key: SCXML-154
                 URL: https://issues.apache.org/jira/browse/SCXML-154
             Project: Commons SCXML
          Issue Type: New Feature
    Affects Versions: 0.9
            Reporter: Fabrizio Morbini
            Priority: Minor


param children are not considered in current implementation.
see email messages: http://mail-archives.apache.org/mod_mbox/commons-user/201007.mbox/%3CAANLkTinwM=RgOMP0SywfSEm1hRnLxBtB9pYd13vGXRjS@mail.gmail.com%3E

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


[jira] Commented: (SCXML-154) processing of param children of send actions

Posted by "Fabrizio Morbini (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SCXML-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12892361#action_12892361 ] 

Fabrizio Morbini commented on SCXML-154:
----------------------------------------

in the submitted patch i forgot to limit the processing to only the param children.
Something like the following should be added to the getParameters method:

String childName=element.getNodeName();
if (childName.equals("param")) {


> processing of param children of send actions
> --------------------------------------------
>
>                 Key: SCXML-154
>                 URL: https://issues.apache.org/jira/browse/SCXML-154
>             Project: Commons SCXML
>          Issue Type: New Feature
>    Affects Versions: 0.9
>            Reporter: Fabrizio Morbini
>            Priority: Minor
>         Attachments: params-simple-patch.patch
>
>
> param children are not considered in current implementation.
> see email messages: http://mail-archives.apache.org/mod_mbox/commons-user/201007.mbox/%3CAANLkTinwM=RgOMP0SywfSEm1hRnLxBtB9pYd13vGXRjS@mail.gmail.com%3E

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


[jira] Updated: (SCXML-154) processing of param children of send actions

Posted by "Rahul Akolkar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SCXML-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rahul Akolkar updated SCXML-154:
--------------------------------

    Fix Version/s: 0.10
                   1.0

We should also align (and reuse) the processing of <param> children -- be their use with <invoke> or <send> or <donedata> for example. That will require appropriate changes to the model package and parser. Setting fix version to next release.


> processing of param children of send actions
> --------------------------------------------
>
>                 Key: SCXML-154
>                 URL: https://issues.apache.org/jira/browse/SCXML-154
>             Project: Commons SCXML
>          Issue Type: New Feature
>    Affects Versions: 0.9
>            Reporter: Fabrizio Morbini
>            Priority: Minor
>             Fix For: 0.10, 1.0
>
>         Attachments: params-simple-patch.patch
>
>
> param children are not considered in current implementation.
> see email messages: http://mail-archives.apache.org/mod_mbox/commons-user/201007.mbox/%3CAANLkTinwM=RgOMP0SywfSEm1hRnLxBtB9pYd13vGXRjS@mail.gmail.com%3E

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


[jira] Updated: (SCXML-154) processing of param children of send actions

Posted by "Fabrizio Morbini (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SCXML-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fabrizio Morbini updated SCXML-154:
-----------------------------------

    Attachment: params-simple-patch.patch

patch that works for param elements with 2 attributes: name and expr.

very little tested and probably not covering all cases. just as a starting point or quick fix for others with necessity to have param children processed.

> processing of param children of send actions
> --------------------------------------------
>
>                 Key: SCXML-154
>                 URL: https://issues.apache.org/jira/browse/SCXML-154
>             Project: Commons SCXML
>          Issue Type: New Feature
>    Affects Versions: 0.9
>            Reporter: Fabrizio Morbini
>            Priority: Minor
>         Attachments: params-simple-patch.patch
>
>
> param children are not considered in current implementation.
> see email messages: http://mail-archives.apache.org/mod_mbox/commons-user/201007.mbox/%3CAANLkTinwM=RgOMP0SywfSEm1hRnLxBtB9pYd13vGXRjS@mail.gmail.com%3E

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