[jboss-user] [JBoss Portal] - How to change the initial view of richfaces portlet

sri_hari do-not-reply at jboss.com
Tue Nov 4 02:26:23 EST 2008


Hi ,

i am using Richfaces portlet and i want to dynamically change the initial view of the portlet.

my portlet.xml is given below

<portlet-app version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  |   xsi:schemaLocation="http://java.sun.com/xml/ns/portlet"
  |   xmlns="http://java.sun.com/xml/ns/portlet">
  |   <portlet>
  |     <portlet-name>samplePortlet</portlet-name>
  |     <portlet-class>
  |       sample.samplePortlet
  |     </portlet-class>
  | 
  |      <init-param>
  |         <name>javax.portlet.faces.defaultViewId.view</name>
  |         <value>/jsf/sample.xhtml</value>
  |       </init-param>
  |     <portlet-info>
  |        <title>sample Portlet</title>
  |     </portlet-info>
  |     
  |     <supports>
  |       <mime-type>text/html</mime-type>
  |       <portlet-mode>VIEW</portlet-mode>
  |     </supports>
  |   </portlet>
  | </portlet-app>


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186563#4186563

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186563



More information about the jboss-user mailing list