0 Replies Latest reply on Mar 18, 2009 4:57 AM by Avanish

    How to change diplay order of portlet page(tab)

    Avanish Newbie

      Hi
      I am developing my own portal and made my own theme and layout.

      I made my mycompany-object.xml

      <?xml version="1.0" encoding="UTF-8"?>
      <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
      version="2.0">


      <portlet-name>LoginPortlet</portlet-name>
      <portlet-class>org.mycompany.portlet.login.LoginPortlet</portlet-class>

      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>

      <portlet-info>
      Login
      </portlet-info>


      <portlet-name>ProjectDefinitionPortlet</portlet-name>
      <portlet-class>org.mycompany.portlet.projectDefinition.ProjectDefinitionPortlet</portlet-class>

      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>

      <portlet-info>
      Project Definitions
      </portlet-info>



      <portlet-name>TasksPortlet</portlet-name>
      <portlet-class>org.mycompany.portlet.tasks.TasksPortlet</portlet-class>

      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>

      <portlet-info>
      Tasks
      </portlet-info>



      <portlet-name>SubTaskPortlet</portlet-name>
      <portlet-class>org.mycompany.portlet.subtask.SubTaskPortlet</portlet-class>

      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>

      <portlet-info>
      Sub-Task
      </portlet-info>




      <portlet-name>TimesheetsPortlet</portlet-name>

      <portlet-class>org.mycompany.portlet.db.TimesheetsPortlet</portlet-class>



      <mime-type>text/html</mime-type>

      <portlet-mode>VIEW</portlet-mode>



      <portlet-info>

      Timesheets

      </portlet-info>



      <portlet-name>ResourcesPortlet</portlet-name>
      <portlet-class>org.mycompany.portlet.resources.ResourcesPortlet</portlet-class>

      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>

      <portlet-info>
      Resources
      </portlet-info>



      <service-name>PortalAuthorizationManagerFactory</service-name>
      <service-class>org.jboss.portal.security.spi.auth.PortalAuthorizationManagerFactory</service-class> <service-ref>:service=PortalAuthorizationManagerFactory</service-ref>


      </portlet-app>

      it is displaying alphbetic order like: Project Resource Subtask Task timesheet default

      Please suggest me how can i change order? and how rename default as Home?When i am renaming default as Home It is displaying 404 error on browser.

      With Regards
      Avanish