You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Jeroen van der Wal (JIRA)" <ji...@apache.org> on 2012/07/14 12:39:33 UTC
[jira] [Created] (ISIS-235) Remove dependency on @Named to return
parameter name
Jeroen van der Wal created ISIS-235:
---------------------------------------
Summary: Remove dependency on @Named to return parameter name
Key: ISIS-235
URL: https://issues.apache.org/jira/browse/ISIS-235
Project: Isis
Issue Type: Improvement
Components: Core
Reporter: Jeroen van der Wal
Priority: Minor
Parameter names have to be to annotated all @Named to have the Isis show the parameter name of an action. Implementing Paranamer [1] in Isis solves the problem that currently Java reflection does not return parameter names.
[1] http://paranamer.codehaus.org/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ISIS-235) Remove dependency on @Named to return
parameter name
Posted by "Dan Haywood (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ISIS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414587#comment-13414587 ]
Dan Haywood commented on ISIS-235:
----------------------------------
1. Navigate>Open Type: @Named annotation (org.apache.isis.applib.annotation)
2. on @Named, Search > References > Workspace : NamedAnnotationOnParameterFacetFactory... locate in package explorer
3. Copy/paste NamedFacetAnnotationOnParameter & NamedAnnotationOnParameterFacetFactory into a new, similar package. Rename (eg NamedFacetUsingParanamer & NamedAnnotationUsingParanamerFacetFactory)
4. Rework implementation of processParams() in NamedAnnotationUsingParanamerFacetFactory to use the paranamer API
5. On the original NamedAnnotationOnParameterFacetFactory: Search > References > Workspace : ProgrammingModelFacetsJava5
6. Register in ProgrammingModelFacets5
> Remove dependency on @Named to return parameter name
> ----------------------------------------------------
>
> Key: ISIS-235
> URL: https://issues.apache.org/jira/browse/ISIS-235
> Project: Isis
> Issue Type: Improvement
> Components: Core
> Reporter: Jeroen van der Wal
> Priority: Minor
>
> Parameter names have to be annotated with @Named to have the Isis show the parameter name of an action in the viewers and restful api. Implementing Paranamer [1] in Isis solves the problem that currently Java reflection does not return parameter names. The current behaviour of @Named should not change and will override the parameter name.
> [1] http://paranamer.codehaus.org/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (ISIS-235) Remove dependency on @Named to return
parameter name
Posted by "Jeroen van der Wal (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ISIS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeroen van der Wal updated ISIS-235:
------------------------------------
Description:
Parameter names have to be annotated with @Named to have the Isis show the parameter name of an action in the viewers and restful api. Implementing Paranamer [1] in Isis solves the problem that currently Java reflection does not return parameter names. The current behaviour of @Named should not change and will override the parameter name.
[1] http://paranamer.codehaus.org/
was:
Parameter names have to be to annotated all @Named to have the Isis show the parameter name of an action. Implementing Paranamer [1] in Isis solves the problem that currently Java reflection does not return parameter names.
[1] http://paranamer.codehaus.org/
> Remove dependency on @Named to return parameter name
> ----------------------------------------------------
>
> Key: ISIS-235
> URL: https://issues.apache.org/jira/browse/ISIS-235
> Project: Isis
> Issue Type: Improvement
> Components: Core
> Reporter: Jeroen van der Wal
> Priority: Minor
>
> Parameter names have to be annotated with @Named to have the Isis show the parameter name of an action in the viewers and restful api. Implementing Paranamer [1] in Isis solves the problem that currently Java reflection does not return parameter names. The current behaviour of @Named should not change and will override the parameter name.
> [1] http://paranamer.codehaus.org/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (ISIS-235) Remove dependency on @Named to
return parameter name
Posted by "Dan Haywood (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ISIS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414587#comment-13414587 ]
Dan Haywood edited comment on ISIS-235 at 7/15/12 8:43 AM:
-----------------------------------------------------------
1. Navigate>Open Type: @Named annotation (org.apache.isis.applib.annotation)
2. on @Named, Search > References > Workspace : NamedAnnotationOnParameterFacetFactory... locate in package explorer
3. Copy/paste NamedFacetAnnotationOnParameter & NamedAnnotationOnParameterFacetFactory into a new, similar package. Rename (eg NamedFacetUsingParanamer & NamedAnnotationUsingParanamerFacetFactory)
4. Rework implementation of processParams() in NamedAnnotationUsingParanamerFacetFactory to use the paranamer API
- update dependencyManagement in the parent org.apache.isis:isis pom
5. On the original NamedAnnotationOnParameterFacetFactory: Search > References > Workspace : ProgrammingModelFacetsJava5
6. Register in ProgrammingModelFacets5
7. Write a unit test.
8. update applib guide (docbookx, XmlMind recommended)
was (Author: danhaywood):
1. Navigate>Open Type: @Named annotation (org.apache.isis.applib.annotation)
2. on @Named, Search > References > Workspace : NamedAnnotationOnParameterFacetFactory... locate in package explorer
3. Copy/paste NamedFacetAnnotationOnParameter & NamedAnnotationOnParameterFacetFactory into a new, similar package. Rename (eg NamedFacetUsingParanamer & NamedAnnotationUsingParanamerFacetFactory)
4. Rework implementation of processParams() in NamedAnnotationUsingParanamerFacetFactory to use the paranamer API
5. On the original NamedAnnotationOnParameterFacetFactory: Search > References > Workspace : ProgrammingModelFacetsJava5
6. Register in ProgrammingModelFacets5
7. Write a unit test.
> Remove dependency on @Named to return parameter name
> ----------------------------------------------------
>
> Key: ISIS-235
> URL: https://issues.apache.org/jira/browse/ISIS-235
> Project: Isis
> Issue Type: Improvement
> Components: Core
> Reporter: Jeroen van der Wal
> Priority: Minor
>
> Parameter names have to be annotated with @Named to have the Isis show the parameter name of an action in the viewers and restful api. Implementing Paranamer [1] in Isis solves the problem that currently Java reflection does not return parameter names. The current behaviour of @Named should not change and will override the parameter name.
> [1] http://paranamer.codehaus.org/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (ISIS-235) Remove dependency on @Named to
return parameter name
Posted by "Dan Haywood (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ISIS-235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414587#comment-13414587 ]
Dan Haywood edited comment on ISIS-235 at 7/15/12 8:27 AM:
-----------------------------------------------------------
1. Navigate>Open Type: @Named annotation (org.apache.isis.applib.annotation)
2. on @Named, Search > References > Workspace : NamedAnnotationOnParameterFacetFactory... locate in package explorer
3. Copy/paste NamedFacetAnnotationOnParameter & NamedAnnotationOnParameterFacetFactory into a new, similar package. Rename (eg NamedFacetUsingParanamer & NamedAnnotationUsingParanamerFacetFactory)
4. Rework implementation of processParams() in NamedAnnotationUsingParanamerFacetFactory to use the paranamer API
5. On the original NamedAnnotationOnParameterFacetFactory: Search > References > Workspace : ProgrammingModelFacetsJava5
6. Register in ProgrammingModelFacets5
7. Write a unit test.
was (Author: danhaywood):
1. Navigate>Open Type: @Named annotation (org.apache.isis.applib.annotation)
2. on @Named, Search > References > Workspace : NamedAnnotationOnParameterFacetFactory... locate in package explorer
3. Copy/paste NamedFacetAnnotationOnParameter & NamedAnnotationOnParameterFacetFactory into a new, similar package. Rename (eg NamedFacetUsingParanamer & NamedAnnotationUsingParanamerFacetFactory)
4. Rework implementation of processParams() in NamedAnnotationUsingParanamerFacetFactory to use the paranamer API
5. On the original NamedAnnotationOnParameterFacetFactory: Search > References > Workspace : ProgrammingModelFacetsJava5
6. Register in ProgrammingModelFacets5
> Remove dependency on @Named to return parameter name
> ----------------------------------------------------
>
> Key: ISIS-235
> URL: https://issues.apache.org/jira/browse/ISIS-235
> Project: Isis
> Issue Type: Improvement
> Components: Core
> Reporter: Jeroen van der Wal
> Priority: Minor
>
> Parameter names have to be annotated with @Named to have the Isis show the parameter name of an action in the viewers and restful api. Implementing Paranamer [1] in Isis solves the problem that currently Java reflection does not return parameter names. The current behaviour of @Named should not change and will override the parameter name.
> [1] http://paranamer.codehaus.org/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira