org.apache.myfaces.extensions.cdi.jsf.api.config.view
Annotation Type InlineViewConfigRoot


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface InlineViewConfigRoot

Only required for inline view-configs! Annotate a marker class or interface with this annotation for marking the package of the marker as base package. Simple example: Marker: my.customPackage.view.InlineViewConfigRootMarker //annotated with @InlineViewConfigRoot(pageBeanPostfix = "Page") PageBeans: my.customPackage.view.IndexPage //annotated with @Page and implements ViewConfig -> view-id: /index.xhtml my.customPackage.view.registration.RegistrationStep01 //annotated with @Page and implements ViewConfig -> view-id: /registration/registrationStep01.xhtml


Optional Element Summary
 String basePath
          Allows to customize the base-path
 String[] pageBeanPostfix
          Allows to implement beans which use a common post-fix which won't be part of the view-id
 

basePath

public abstract String basePath
Allows to customize the base-path

Returns:
base-path which should be used for the view-ids
Default:
"."

pageBeanPostfix

public abstract String[] pageBeanPostfix
Allows to implement beans which use a common post-fix which won't be part of the view-id

Returns:
optional common post-fix for page-beans
Default:
""


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.