Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.9.5
-
None
Description
it should be possible to extend a class annotated with @Page and annotate this class with @PageParameter.List({@PageParameter(key="customParam", value="#
{customBean.value1}"), ...})if this class is used for navigation, codi should navigate to the page which is represented by the super-class (the class annotated with @Page) + all parameters should be added to the requested url.
furthermore, it should be possible to use @PageParameter directly at the same view-config class which is annotated with @Page
as an alternative it should be possible to annotate action methods with @PageParameter.
e.g. @PageParameter(on = CustomPage.class, key="customParam", value="#{customBean.value1}
")
... this would be also an alternative to approach mentioned at the beginning. a central class could do all mappings. however, this would reduce the possibility to use existing IDE support and it isn't obvious at the first view that parameters will be added.