The following sample XML takes fragments from various custom pages to illustrate each element in the <pluginUI> schema.
<?xml version="1.0" encoding="UTF-8"?> <pluginUI menuItem="pluginName" toolTip="view wl server pages" xmlns="http://www.sun.com/schema/SPS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sun.com/schema/SPS pluginUI.xsd" schemaVersion="5.1"> <icon jarPath="custom/gui/img/WLicon-small.gif"/> <customPage name="WebLogic"> <section title="WebLogic application tasks" description="capture and edit your WebLogic applications..."> <entry title="enterprise applications (EARs)" description="capture, edit and deploy your enterprise applications"> <action text="view all" toolTip="view all EARs"> <compList typeName="com.bigCo.logic.pluginName#WebLogic enterprise application" path="/com/bigCo/logic" flatView="true"/> </action> <action text="create new" toolTip="create new enterprise application"> <compCreate typeName="com.bigCo.logic.pluginName#WebLogic enterprise application"/> </action> </entry> <entry title="web applications (WARs)" description="capture, edit and deploy web applications"> <action text="view all" toolTip="view all WARs"> <compList typeName="com.bigCo.logic.pluginName#WebLogic web application"/> </action> <action text="create new" toolTip="create new webapp"> <compCreate typeName="com.bigCo.logic.pluginName#WebLogic web application"/> </action> </entry> <entry title="java archives containing EJBs (JARs)" description="capture, edit and deploy your JARS containing EJBs"> <action text="view all" toolTip="view all JARs"> <compList typeName="com.bigCo.logic.pluginName#WebLogic EJB"/> </action> <action text="create new" toolTip="create new java archive containing EJBs"> <compCreate typeName="com.bigCo.logic.pluginName#WebLogic EJB"/> </action> </entry> <section> <entry title="entry in a nested section" description="this is a an entry in a nested section"> <action text="view all" toolTip="view all aType comps"> <compList typeName="com.bigCo.logic.pluginName#aType" path="/com/bigCo/logic" /> </action> </entry> </section> </section> <section title="WebLogic infrastructure" description="create and edit your WebLogic infrastructure..."> <entry title="admin servers" description="WebLogic domains / administration servers"> <action text="manage admin servers" toolTip="manage WebLogic admin servers"> <compDetails path="/com/bea/weblogic" name="WL Admin Server 7.0"/> </action> <action text="view admin servers" toolTip="list of WebLogic admin servers"> <compWhereInstalled path="/com/bea/weblogic" name="WL Admin Server 7.0"/> </action> </entry> <entry title="clusters" description="WebLogic clusters"> <action text="manage clusters" toolTip="manage WebLogic clusters"> <compDetails path="/com/bea/weblogic" name="WL Cluster"/> </action> <action text="view clusters" toolTip="list of WebLogic clusters"> <compWhereInstalled path="/com/bea/weblogic" name="WL Cluster"/> </action> </entry> <entry title="managed servers" description="WebLogic server instances"> <action text="manage server instances" toolTip="WebLogic managed servers"> <compDetails path="/com/bea/weblogic" name="WL Managed Server"/> </action> <action text="view managed servers" toolTip="list of WebLogic managed servers"> <compWhereInstalled path="/com/bea/weblogic" name="WL Managed Server"/> </action> <action text="update managed servers" toolTip="run a plan on managed servers"> <planDetails path="/com/bea/weblogic/updates" name="updatePlan"/> </action> <action text="list servers" toolTip="list the apache servers"> <hostList searchName="com.bigCo.logic.pluginName.WebLogic#apacheHosts"/> </action> <action text="custom reports" toolTip="view the custom reports"> <external url="http://reportserver/reports/dec"/> </action> <action text="start a Managed Server" toolTip="run the start control of a ManagedServer component"> <compProcedureRun path="/com/sun/weblogic" name="WL Managed Server" procedureName="start" procedureType="CONTROL"/> </action> </entry> </section> </customPage> </pluginUI>