Here is the diff for the changes I made to the plugin archetype to get
the MQ team up and going.
Property changes on: .
___________________________________________________________________
Added: svn:ignore
+ target
Index: src/main/resources/archetype-resources/src/main/resources/
newTestTab1Page.jsf
===================================================================
--- src/main/resources/archetype-resources/src/main/resources/
newTestTab1Page.jsf (revision 22036)
+++ src/main/resources/archetype-resources/src/main/resources/
newTestTab1Page.jsf (working copy)
@@ -5,18 +5,17 @@
/>
<sun:page id="page1">
-#include "/shared/restart.inc"
<sun:html id="html93">
<sun:head id="propertyhead"
title="$resource{i18n.jvm.PathSettingsTitle}" >
<sun:script url="/resource/js/adminjsf.js" />
</sun:head>
<sun:body id="body3" onLoad="javascript:
synchronizeRestartRequired('#{requestScope.restartRequired}',
'#{sessionScope.restartRequired}')">
<sun:form id="propertyForm">
-#include "/shared/treeBreadcrumbs.inc"
-#include "/appServer/serverInstTabs.inc"
-#include "/shared/alertMsg.inc"
<sun:title id="propertyContentPage" title="Test Tab 1"
helpText="Some help for text for test tab 1">
</sun:title>
-"Test tab 1!
- <sun:hidden id="helpKey" value="$attribute{helpKey}" />
+ "Test tab 1!
+ </sun:form>
+ </sun:body>
+ </sun:html>
+</sun:page>
\ No newline at end of file
Index: src/main/resources/archetype-resources/src/main/resources/META-
INF/admingui/console-config.xml
===================================================================
--- src/main/resources/archetype-resources/src/main/resources/META-INF/
admingui/console-config.xml (revision 22036)
+++ src/main/resources/archetype-resources/src/main/resources/META-INF/
admingui/console-config.xml (working copy)
@@ -1,7 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<console-config id="tabtest">
- <integration-point id="tabtestTreeNode"
type="org.glassfish.admingui:treeNode" priority="40"
parentId="Resources" content="treeNode.jsf" />
- <integration-point id="tab2" type="org.glassfish.admingui:tab"
priority="22" parentId="jvmSettings" content="newTab2.jsf" />
- <integration-point id="tab1" type="org.glassfish.admingui:tab"
priority="28" parentId="serverInstTabs" content="newTab1.jsf" />
+ <integration-point id="tabtestTreeNode"
+ type="org.glassfish.admingui:treeNode"
+ priority="40"
+ parentId="Resources"
+ content="treeNode.jsf" />
+ <integration-point id="tab2"
+ type="org.glassfish.admingui:tab"
+ priority="22"
+ parentId="jvmSettings"
+ content="newTab2.jsf" />
+ <integration-point id="tab1"
+ type="org.glassfish.admingui:tab"
+ priority="28"
+ parentId="serverInstTabs"
+ content="newTab1.jsf" />
</console-config>
Index: src/main/resources/archetype-resources/src/main/resources/
newTestTab2Page.jsf
===================================================================
--- src/main/resources/archetype-resources/src/main/resources/
newTestTab2Page.jsf (revision 22036)
+++ src/main/resources/archetype-resources/src/main/resources/
newTestTab2Page.jsf (working copy)
@@ -5,18 +5,17 @@
/>
<sun:page id="page1">
-#include "/shared/restart.inc"
<sun:html id="html93">
<sun:head id="propertyhead"
title="$resource{i18n.jvm.PathSettingsTitle}" >
<sun:script url="/resource/js/adminjsf.js" />
</sun:head>
<sun:body id="body3" onLoad="javascript:
synchronizeRestartRequired('#{requestScope.restartRequired}',
'#{sessionScope.restartRequired}')">
<sun:form id="propertyForm">
-#include "/shared/treeBreadcrumbs.inc"
-#include "/appServer/serverInstTabs.inc"
-#include "/shared/alertMsg.inc"
- <sun:title id="propertyContentPage" title="Test Tab 2"
- helpText="Some help for text for test tab 2">
+ <sun:title id="propertyContentPage" title="Test Tab 1"
+ helpText="Some help for text for test tab 1">
</sun:title>
-"Test tab 2!
- <sun:hidden id="helpKey" value="$attribute{helpKey}" />
+ "Test tab 2!
+ </sun:form>
+ </sun:body>
+ </sun:html>
+</sun:page>
\ No newline at end of file
Index: src/main/resources/archetype-resources/src/main/resources/
treeNode.jsf
===================================================================
--- src/main/resources/archetype-resources/src/main/resources/
treeNode.jsf (revision 22036)
+++ src/main/resources/archetype-resources/src/main/resources/
treeNode.jsf (working copy)
@@ -1,12 +1,11 @@
<sun:treeNode id="tabtest"
- text="TabTest TreeNode"
+ text="Test Node #1"
url="tabtest/jdbcLists.jsf"
+ target="main"
imageURL="resource/images/instance.gif" />
<sun:treeNode id="tabtest2"
- text="#{someValue}"
+ text="Test Node #2"
url="tabtest/jdbcLists.jsf"
+ target="main"
imageURL="resource/images/instance.gif" >
-<!beforeCreate
- tabTestHandler(someValue=>$attribute{someValue});
-/>
</sun:treeNode>
Jason Lee - x31197
Senior Java Developer, Sun Microsystems
GlassFish Admin Console Team
Email: jasondlee_at_sun.com