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>