[jboss-user] [JBoss Portal] - Re: i want to disable page

Nagendra1020 do-not-reply at jboss.com
Tue Nov 11 00:19:05 EST 2008


Hi Peter,

i am using jboss-portal-2.6.6.GA .

Again i am sending portlet-instances.xml and helloworld-object.xml please tell me what is wrong with my code.


                           portlet-instances.xml

<?xml version="1.0" standalone="yes"?>
  | <deployments>
  |    <deployment>
  |          <instance>
  |             <instance-id>HelloWorldJSPPortletInstance</instance-id>
  |             <portlet-ref>HelloWorldJSPPortlet</portlet-ref>
  |             <security-constraint>
  | 		        <policy-permission>
  | 		          <action-name>view</action-name>
  | 		          <role-name>Admin</role-name>
  | 		        </policy-permission>
  | 		      </security-constraint>       
  |          </instance>
  |    </deployment>
  | </deployments>


                                  helloworld-object.xml

<?xml version="1.0" encoding="UTF-8"?>
  | <deployments>
  |    <deployment>
  |       <if-exists>overwrite</if-exists>
  |       <parent-ref>default</parent-ref>
  |       <page>
  |          <page-name>Google</page-name>
  |       <window>
  |          <window-name>HelloWorldJSPPortletWindow</window-name>
  |          <instance-ref>HelloWorldJSPPortletInstance</instance-ref>
  |          <region>center</region>
  |          <height>1</height>
  |          <properties>
  |                <property>
  |                   <name>theme.renderSetId</name>
  |                   <value>emptyRenderer</value>
  |                </property>
  |          </properties>
  |       </window>
  |        <properties>
  |             <property>
  |                <name>layout.id</name>
  |                <value>industrial</value>
  |             </property>
  |        </properties>
  |        <security-constraint>
  | 		<policy-permission>
  | 		<role-name>Admin</role-name>
  | 		<action-name>view</action-name>
  | 		</policy-permission>
  | 		</security-constraint>
  |       </page>
  |    </deployment>
  | </deployments>
  | 
  | 
                                      

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

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



More information about the jboss-user mailing list