You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "z.w. yao (JIRA)" <ji...@apache.org> on 2008/07/26 13:18:05 UTC

[jira] Created: (WW-2733) struts.convention.action.name.separator aslo work with result file name

struts.convention.action.name.separator aslo work with result file name
-----------------------------------------------------------------------

                 Key: WW-2733
                 URL: https://issues.apache.org/struts/browse/WW-2733
             Project: Struts 2
          Issue Type: New Feature
          Components: Plugin - Convention
    Affects Versions: 2.1.3
            Reporter: z.w.  yao
            Assignee: Brian Pontarelli
            Priority: Minor


if    I set struts.convention.action.name.separator to "_"
then Separator used to build the action name, MyAction -> my_action
ok it's great

but if a "Input" result, then the result file will be my_action-input.xxx, well, I hope the result file can follow the same pattern as "my_action_input.xxx"


great job for this plugin!!!


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


[jira] Resolved: (WW-2733) struts.convention.action.name.separator aslo work with result file name

Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso resolved WW-2733.
---------------------------------

    Resolution: Fixed

> struts.convention.action.name.separator aslo work with result file name
> -----------------------------------------------------------------------
>
>                 Key: WW-2733
>                 URL: https://issues.apache.org/struts/browse/WW-2733
>             Project: Struts 2
>          Issue Type: New Feature
>          Components: Plugin - Convention
>    Affects Versions: 2.1.3
>            Reporter: z.w.  yao
>            Assignee: Musachy Barroso
>            Priority: Minor
>             Fix For: Future
>
>
> if    I set struts.convention.action.name.separator to "_"
> then Separator used to build the action name, MyAction -> my_action
> ok it's great
> but if a "Input" result, then the result file will be my_action-input.xxx, well, I hope the result file can follow the same pattern as "my_action_input.xxx"
> great job for this plugin!!!

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


[jira] Updated: (WW-2733) struts.convention.action.name.separator aslo work with result file name

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes updated WW-2733:
-----------------------------

    Fix Version/s: Future

> struts.convention.action.name.separator aslo work with result file name
> -----------------------------------------------------------------------
>
>                 Key: WW-2733
>                 URL: https://issues.apache.org/struts/browse/WW-2733
>             Project: Struts 2
>          Issue Type: New Feature
>          Components: Plugin - Convention
>    Affects Versions: 2.1.3
>            Reporter: z.w.  yao
>            Assignee: Brian Pontarelli
>            Priority: Minor
>             Fix For: Future
>
>
> if    I set struts.convention.action.name.separator to "_"
> then Separator used to build the action name, MyAction -> my_action
> ok it's great
> but if a "Input" result, then the result file will be my_action-input.xxx, well, I hope the result file can follow the same pattern as "my_action_input.xxx"
> great job for this plugin!!!

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


[jira] Updated: (WW-2733) struts.convention.action.name.separator aslo work with result file name

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes updated WW-2733:
-----------------------------

    Fix Version/s:     (was: Future)
                   2.1.3

> struts.convention.action.name.separator aslo work with result file name
> -----------------------------------------------------------------------
>
>                 Key: WW-2733
>                 URL: https://issues.apache.org/struts/browse/WW-2733
>             Project: Struts 2
>          Issue Type: New Feature
>          Components: Plugin - Convention
>    Affects Versions: 2.1.3
>            Reporter: z.w.  yao
>            Assignee: Musachy Barroso
>            Priority: Minor
>             Fix For: 2.1.3
>
>
> if    I set struts.convention.action.name.separator to "_"
> then Separator used to build the action name, MyAction -> my_action
> ok it's great
> but if a "Input" result, then the result file will be my_action-input.xxx, well, I hope the result file can follow the same pattern as "my_action_input.xxx"
> great job for this plugin!!!

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


[jira] Resolved: (WW-2733) struts.convention.action.name.separator aslo work with result file name

Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso resolved WW-2733.
---------------------------------

    Resolution: Not A Problem

The convention plugin doesn't check for any specific character to separate the action name and the result name, it only assumes that it is one character, so you can use any.

> struts.convention.action.name.separator aslo work with result file name
> -----------------------------------------------------------------------
>
>                 Key: WW-2733
>                 URL: https://issues.apache.org/struts/browse/WW-2733
>             Project: Struts 2
>          Issue Type: New Feature
>          Components: Plugin - Convention
>    Affects Versions: 2.1.3
>            Reporter: z.w.  yao
>            Assignee: Brian Pontarelli
>            Priority: Minor
>             Fix For: Future
>
>
> if    I set struts.convention.action.name.separator to "_"
> then Separator used to build the action name, MyAction -> my_action
> ok it's great
> but if a "Input" result, then the result file will be my_action-input.xxx, well, I hope the result file can follow the same pattern as "my_action_input.xxx"
> great job for this plugin!!!

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


[jira] Reopened: (WW-2733) struts.convention.action.name.separator aslo work with result file name

Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso reopened WW-2733:
---------------------------------

      Assignee: Musachy Barroso  (was: Brian Pontarelli)

actually I was wrong in my previous comment. The UnknownHandler does assume that the separator is "-". I will change it to use the action name separator.

> struts.convention.action.name.separator aslo work with result file name
> -----------------------------------------------------------------------
>
>                 Key: WW-2733
>                 URL: https://issues.apache.org/struts/browse/WW-2733
>             Project: Struts 2
>          Issue Type: New Feature
>          Components: Plugin - Convention
>    Affects Versions: 2.1.3
>            Reporter: z.w.  yao
>            Assignee: Musachy Barroso
>            Priority: Minor
>             Fix For: Future
>
>
> if    I set struts.convention.action.name.separator to "_"
> then Separator used to build the action name, MyAction -> my_action
> ok it's great
> but if a "Input" result, then the result file will be my_action-input.xxx, well, I hope the result file can follow the same pattern as "my_action_input.xxx"
> great job for this plugin!!!

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