myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "CreatingJSFPortlets" by StanSilvert
Date Wed, 22 Mar 2006 18:45:24 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by StanSilvert:
http://wiki.apache.org/myfaces/CreatingJSFPortlets

------------------------------------------------------------------------------
  `<!-- You must use this Portlet impl class -->`[[BR]]
  `<portlet-class>org.apache.myfaces.portlet.MyFacesGenericPortlet</portlet-class>`[[BR]]
  [[BR]][[BR]]
- `<!-- The "home page" of your JSF application -->`
+ `<!-- The "home page" of your JSF application -->`[[BR]]
- `<!-- This is a required param.               -->`
+ `<!-- This is a required param.               -->`[[BR]]
- `<init-param>`
+ `<init-param>`[[BR]]
- `   <name>default-view</name>`
+ `   <name>default-view</name>`[[BR]]
- `   <value>/some_view_id_from_faces-config</value>`
+ `   <value>/some_view_id_from_faces-config</value>`[[BR]]
- `</init-param>`
+ `</init-param>`[[BR]]
+ [[BR]][[BR]]
+ `<!-- A class name that implements org.apache.myfaces.portlet.DefaultViewSelector -->`[[BR]]
+ `<!-- This optional param is used if your want to choose different default views  -->`[[BR]]
+ `<!-- based on some condition.  You still must specify default-view above, but    -->`[[BR]]
+ `<!-- this impl will take precedence.                                             -->`[[BR]]
+ `<init-param>`[[BR]]
+ `   <name>default-view-selector</name>`[[BR]]
+ `   <value>com.foo.MyViewSelector</value>`[[BR]]
+ `</init-param>`[[BR]]
  
- <!-- A class name that implements org.apache.myfaces.portlet.DefaultViewSelector -->
- <!-- This optional param is used if your want to choose different default views  -->
- <!-- based on some condition.  You still must specify default-view above, but    -->
- <!-- this impl will take precedence.                                             -->
- <init-param>
-    <name>default-view-selector</name>
-    <value>com.foo.MyViewSelector</value>
- </init-param>
- 

Mime
View raw message