incubator-isis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Haywood (JIRA)" <>
Subject [jira] [Commented] (ISIS-235) Remove dependency on @Named to return parameter name
Date Sun, 15 Jul 2012 08:26:34 GMT


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:
>             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]

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message