[jboss-cvs] JBossAS SVN: r110224 - in branches/JBPAPP_5_1_jopr: build and 10 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Dec 24 17:38:32 EST 2010
Author: fnasser at redhat.com
Date: 2010-12-24 17:38:29 -0500 (Fri, 24 Dec 2010)
New Revision: 110224
Added:
branches/JBPAPP_5_1_jopr/jopr/
branches/JBPAPP_5_1_jopr/jopr/META-INF/
branches/JBPAPP_5_1_jopr/jopr/META-INF/jboss-structure.xml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/classes/
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/classes/jboss-console.skin.properties
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/classes/messages.properties
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/classes/messages_ja.properties
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/components.xml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/exceptions.xml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/breadcrumb.xhtml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/displayGlobalMessages.xhtml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/errorLayout.xhtml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/footer.xhtml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formDropDownComponent.xhtml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formRadioComponent.xhtml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formSecretComponent.xhtml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formTextAreaComponent.xhtml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formTextAreaConverterComponent.xhtml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formTextComponent.xhtml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/header.xhtml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/layout.xhtml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/resourceDataScroller.xhtml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/resourceForm.xhtml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/resourceNavigation.xhtml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/tabMenu.xhtml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/faces-config.xml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/jboss-web.xml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/navigation.xml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/on.component.taglib.xml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/pages.xml
branches/JBPAPP_5_1_jopr/jopr/WEB-INF/web.xml
branches/JBPAPP_5_1_jopr/jopr/build.bat
branches/JBPAPP_5_1_jopr/jopr/build.sh
branches/JBPAPP_5_1_jopr/jopr/build.xml
branches/JBPAPP_5_1_jopr/jopr/css/
branches/JBPAPP_5_1_jopr/jopr/css/console-style.css
branches/JBPAPP_5_1_jopr/jopr/css/form-style.css
branches/JBPAPP_5_1_jopr/jopr/error.xhtml
branches/JBPAPP_5_1_jopr/jopr/images/
branches/JBPAPP_5_1_jopr/jopr/images/ArrowNextDisa.gif
branches/JBPAPP_5_1_jopr/jopr/images/ArrowNextNorm.gif
branches/JBPAPP_5_1_jopr/jopr/images/ArrowPrevDisa.gif
branches/JBPAPP_5_1_jopr/jopr/images/ArrowPrevNorm.gif
branches/JBPAPP_5_1_jopr/jopr/images/TabBkgActive.gif
branches/JBPAPP_5_1_jopr/jopr/images/TabBkgDisabled.gif
branches/JBPAPP_5_1_jopr/jopr/images/TabBkgHighlight.gif
branches/JBPAPP_5_1_jopr/jopr/images/TabBkgLeft.gif
branches/JBPAPP_5_1_jopr/jopr/images/TabBkgUnderline.gif
branches/JBPAPP_5_1_jopr/jopr/images/TablePrimary_Norm.gif
branches/JBPAPP_5_1_jopr/jopr/images/TablePrimary_Select.gif
branches/JBPAPP_5_1_jopr/jopr/images/TableSecondary_Norm.gif
branches/JBPAPP_5_1_jopr/jopr/images/bkg_leftsidegrey.gif
branches/JBPAPP_5_1_jopr/jopr/images/button_bkg.gif
branches/JBPAPP_5_1_jopr/jopr/images/detailpanel_bkg.gif
branches/JBPAPP_5_1_jopr/jopr/images/embjopr_logo.png
branches/JBPAPP_5_1_jopr/jopr/images/errorpage_icon.gif
branches/JBPAPP_5_1_jopr/jopr/images/favicon.png
branches/JBPAPP_5_1_jopr/jopr/images/hdr_bkg.gif
branches/JBPAPP_5_1_jopr/jopr/images/hdr_embeddedjopr_reg.gif
branches/JBPAPP_5_1_jopr/jopr/images/hdr_jbossadminconsole.gif
branches/JBPAPP_5_1_jopr/jopr/images/hdr_jbosslogo.gif
branches/JBPAPP_5_1_jopr/jopr/images/header.png
branches/JBPAPP_5_1_jopr/jopr/images/icoServerRestartWarning.gif
branches/JBPAPP_5_1_jopr/jopr/images/ico_datasource.gif
branches/JBPAPP_5_1_jopr/jopr/images/ico_formdescription.gif
branches/JBPAPP_5_1_jopr/jopr/images/ico_message_fail.gif
branches/JBPAPP_5_1_jopr/jopr/images/ico_message_inlineerror.gif
branches/JBPAPP_5_1_jopr/jopr/images/ico_message_success.gif
branches/JBPAPP_5_1_jopr/jopr/images/ico_trigger_grey_collapse.gif
branches/JBPAPP_5_1_jopr/jopr/images/ico_trigger_grey_expand.gif
branches/JBPAPP_5_1_jopr/jopr/images/ico_trigger_wht_collapse.gif
branches/JBPAPP_5_1_jopr/jopr/images/ico_trigger_wht_expand.gif
branches/JBPAPP_5_1_jopr/jopr/images/iconCollapsed.gif
branches/JBPAPP_5_1_jopr/jopr/images/iconExpanded.gif
branches/JBPAPP_5_1_jopr/jopr/images/iconFolderDisa.gif
branches/JBPAPP_5_1_jopr/jopr/images/iconFolderNorm.gif
branches/JBPAPP_5_1_jopr/jopr/images/iconFolderUnkn.gif
branches/JBPAPP_5_1_jopr/jopr/images/iconHomeDisa.gif
branches/JBPAPP_5_1_jopr/jopr/images/iconHomeNorm.gif
branches/JBPAPP_5_1_jopr/jopr/images/iconHomeUnkn.gif
branches/JBPAPP_5_1_jopr/jopr/images/iconLeafDisa.gif
branches/JBPAPP_5_1_jopr/jopr/images/iconLeafNorm.gif
branches/JBPAPP_5_1_jopr/jopr/images/iconLeafUnkn.gif
branches/JBPAPP_5_1_jopr/jopr/images/iconLinkArrowBlue.gif
branches/JBPAPP_5_1_jopr/jopr/images/iconStatusAvailable.gif
branches/JBPAPP_5_1_jopr/jopr/images/iconStatusUnavailable.gif
branches/JBPAPP_5_1_jopr/jopr/images/iconStatusUnknown.gif
branches/JBPAPP_5_1_jopr/jopr/images/left_gradient.gif
branches/JBPAPP_5_1_jopr/jopr/images/nav_gradhdr_blue.gif
branches/JBPAPP_5_1_jopr/jopr/images/nav_gradhdr_grey.gif
branches/JBPAPP_5_1_jopr/jopr/images/spacer.gif
branches/JBPAPP_5_1_jopr/jopr/images/swizzle_blue_closed.gif
branches/JBPAPP_5_1_jopr/jopr/images/swizzle_blue_open.gif
branches/JBPAPP_5_1_jopr/jopr/images/swizzle_grey_closed.gif
branches/JBPAPP_5_1_jopr/jopr/images/swizzle_grey_open.gif
branches/JBPAPP_5_1_jopr/jopr/images/temp_ok.gif
branches/JBPAPP_5_1_jopr/jopr/images/temp_reset.gif
branches/JBPAPP_5_1_jopr/jopr/index.html
branches/JBPAPP_5_1_jopr/jopr/index.xhtml
branches/JBPAPP_5_1_jopr/jopr/js/
branches/JBPAPP_5_1_jopr/jopr/js/embedded.js
branches/JBPAPP_5_1_jopr/jopr/js/formValues.js
branches/JBPAPP_5_1_jopr/jopr/login.xhtml
branches/JBPAPP_5_1_jopr/jopr/secure/
branches/JBPAPP_5_1_jopr/jopr/secure/addMap.xhtml
branches/JBPAPP_5_1_jopr/jopr/secure/addSimple.xhtml
branches/JBPAPP_5_1_jopr/jopr/secure/categorySummary.xhtml
branches/JBPAPP_5_1_jopr/jopr/secure/editMap.xhtml
branches/JBPAPP_5_1_jopr/jopr/secure/operationParameters.xhtml
branches/JBPAPP_5_1_jopr/jopr/secure/repeatNav.xhtml
branches/JBPAPP_5_1_jopr/jopr/secure/resourceContentCreate.xhtml
branches/JBPAPP_5_1_jopr/jopr/secure/resourceCreatePage1.xhtml
branches/JBPAPP_5_1_jopr/jopr/secure/resourceInstanceConfig.xhtml
branches/JBPAPP_5_1_jopr/jopr/secure/resourceInstanceContent.xhtml
branches/JBPAPP_5_1_jopr/jopr/secure/resourceInstanceMetrics.xhtml
branches/JBPAPP_5_1_jopr/jopr/secure/resourceInstanceOperation.xhtml
branches/JBPAPP_5_1_jopr/jopr/secure/resourceInstanceSummary.xhtml
branches/JBPAPP_5_1_jopr/jopr/secure/resourceTypeSummary.xhtml
branches/JBPAPP_5_1_jopr/jopr/secure/rootSummary.xhtml
branches/JBPAPP_5_1_jopr/jopr/secure/viewResultsMap.xhtml
branches/JBPAPP_5_1_jopr/jopr/src/
Modified:
branches/JBPAPP_5_1_jopr/build/build-distr.xml
branches/JBPAPP_5_1_jopr/build/build.xml
branches/JBPAPP_5_1_jopr/thirdparty/pom.xml
Log:
Add jopr module; still need to add remaining dependencies for WEB-INF/lib and plugins
Modified: branches/JBPAPP_5_1_jopr/build/build-distr.xml
===================================================================
--- branches/JBPAPP_5_1_jopr/build/build-distr.xml 2010-12-24 22:03:01 UTC (rev 110223)
+++ branches/JBPAPP_5_1_jopr/build/build-distr.xml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -867,6 +867,58 @@
<target name="_module-hornetq-int-all"></target>
<!-- ==== -->
+ <!-- JOPR -->
+ <!-- ==== -->
+
+ <target name="_module-jopr-most">
+ <property name="_module.name" value="jopr" override="true"/>
+ <property name="_module.output" override="true" value="${project.root}/${_module.name}"/>
+ <mkdir dir="${install.all.deploy}/admin-console.war"/>
+ <mkdir dir="${install.all.deploy}/admin-console.war/WEB-INF"/>
+ <mkdir dir="${install.all.deploy}/admin-console.war/WEB-INF/lib"/>
+ <mkdir dir="${install.all.deploy}/admin-console.war/plugins"/>
+ <copy todir="${install.all.deploy}/admin-console.war">
+ <fileset dir="${_module.output}">
+ <include name="**/*"/>
+ <exclude name="build.*"/>
+ <exclude name="src/**"/>
+ <exclude name="output/**"/>
+ </fileset>
+ </copy>
+
+ <!-- Copy thirdparty code to lib -->
+ <copy todir="${install.all.deploy}/admin-console.war/WEB-INF/lib" filtering="no">
+ <fileset dir="${apache.beanutils.lib}">
+ <include name="commons-beanutils.jar"/>
+ </fileset>
+ <fileset dir="${apache.codec.lib}">
+ <include name="commons-codec.jar"/>
+ </fileset>
+ <fileset dir="${apache.collections.lib}">
+ <include name="commons-collections.jar"/>
+ </fileset>
+ <fileset dir="${apache.digester.lib}">
+ <include name="commons-digester.jar"/>
+ </fileset>
+ <fileset dir="${apache.discovery.lib}">
+ <include name="commons-discovery.jar"/>
+ </fileset>
+ <!-- FIXME: Add all other libraries here -->
+ </copy>
+
+ <!-- Copy plugin code to plugins -->
+ <copy todir="${install.all.deploy}/admin-console.war/plugins" filtering="no">
+ <!-- FIXME: Add all other plugins here (beanutils does not realy belong -->
+ <fileset dir="${apache.beanutils.lib}">
+ <include name="commons-beanutils.jar"/>
+ </fileset>
+ </copy>
+
+ </target>
+
+ <target name="_module-jopr-all"></target>
+
+ <!-- ==== -->
<!-- J2SE -->
<!-- ==== -->
@@ -2352,8 +2404,10 @@
</fileset>
</chmod>
+<!--
<mkdir dir="${install.server}/all/deploy/admin-console.war"/>
<unjar src="${org.jboss.jopr.lib}/jopr-embedded-jbas5.war" dest="${install.server}/all/deploy/admin-console.war"/>
+-->
<mkdir dir="${install.server}/default/deploy/admin-console.war"/>
<unjar src="${org.jboss.jopr.lib}/jopr-embedded-jbas5.war" dest="${install.server}/default/deploy/admin-console.war"/>
Modified: branches/JBPAPP_5_1_jopr/build/build.xml
===================================================================
--- branches/JBPAPP_5_1_jopr/build/build.xml 2010-12-24 22:03:01 UTC (rev 110223)
+++ branches/JBPAPP_5_1_jopr/build/build.xml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -132,6 +132,7 @@
<module name="mbeans"/>
<module name="messaging"/>
<module name="hornetq-int"/>
+ <module name="jopr"/>
<module name="jbossas/remoting"/>
<module name="jmx-remoting"/>
<module name="jbossas/jmx-remoting"/>
@@ -172,6 +173,7 @@
jbossas/jmx-remoting,
messaging,
hornetq-int,
+ jopr,
cluster,
varia,
iiop,
@@ -552,6 +554,18 @@
<ant antfile="build-distr.xml" target="_module-hornetq-int-all"/>
</target>
+ <!-- ========= -->
+ <!-- JOPR -->
+ <!-- ========= -->
+
+ <target name="_module-jopr-most">
+ <ant antfile="build-distr.xml" target="_module-jopr-most"/>
+ </target>
+
+ <target name="_module-jopr-all" depends="_module-jopr-most">
+ <ant antfile="build-distr.xml" target="_module-jopr-all"/>
+ </target>
+
<!-- ==== -->
<!-- J2SE -->
<!-- ==== -->
Added: branches/JBPAPP_5_1_jopr/jopr/META-INF/jboss-structure.xml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/META-INF/jboss-structure.xml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/META-INF/jboss-structure.xml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Fix for EMBJOPR-21: ignore the EJB3 related metadata -->
+<structure>
+ <context>
+ <path name=""/>
+ <metaDataPath>
+ <path name="WEB-INF"/>
+ </metaDataPath>
+ <classpath>
+ <path name="WEB-INF/classes"/>
+ <path name="WEB-INF/lib" suffixes=".jar"/>
+ </classpath>
+ </context>
+</structure>
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/classes/jboss-console.skin.properties
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/classes/jboss-console.skin.properties (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/classes/jboss-console.skin.properties 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,70 @@
+#
+# Embedded Jopr Project
+# Copyright (C) 2006-2009 Red Hat, Inc.
+# All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#Colors
+headerBackgroundColor=#BED6F8
+headerGradientColor=#F2F7FF
+headerTextColor=#000000
+headerWeightFont=bold
+
+generalBackgroundColor=#D9E0E3
+generalTextColor=#454545
+generalSizeFont=11px
+generalFamilyFont="Lucida Grand", Verdana, Arial, Helvetica, sans-serif
+
+controlTextColor=#000000
+controlBackgroundColor=#ffffff
+additionalBackgroundColor=#ECF4FE
+
+shadowBackgroundColor=#000000
+shadowOpacity=1
+
+panelBorderColor=#BED6F8
+subBorderColor=#ffffff
+
+tabBackgroundColor=#C6DEFF
+tabDisabledTextColor=#8DB7F3
+
+trimColor=#D6E6FB
+
+tipBackgroundColor=#FAE6B0
+tipBorderColor=#E5973E
+
+selectControlColor=#E79A00
+
+
+generalLinkColor=#0078D0
+hoverLinkColor=#0090FF
+visitedLinkColor=#0090FF
+
+# Fonts
+headerSizeFont=11px
+headerFamilyFont="Lucida Grand", Verdana, Arial, Helvetica, sans-serif
+
+tabSizeFont=11
+tabFamilyFont="Lucida Grand", Verdana, Arial, Helvetica, sans-serif
+
+buttonSizeFont=11
+buttonFamilyFont="Lucida Grand", Verdana, Arial, Helvetica, sans-serif
+
+tableBackgroundColor=#FFFFFF
+tableFooterBackgroundColor=#cccccc
+tableSubfooterBackgroundColor=#f1f1f1
+tableBorderColor=#C0C0C0
+tableBorderWidth=1px
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/classes/messages.properties
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/classes/messages.properties (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/classes/messages.properties 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,217 @@
+#
+# Embedded Jopr Project
+# Copyright (C) 2006-2010 Red Hat, Inc.
+# All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#
+# English message bundle for JBoss Admin Console GUI.
+#
+product.name=JBoss EAP Admin Console
+product.version=1.3.4.SP1
+product.buildNumber=${buildNumber}
+product.copyright=© 2002-2010 Red Hat Middleware, LLC. All rights reserved. JBoss is a registered trademark of Red Hat, Inc.
+
+default.windowTitle=JBoss EAP Admin Console
+#default.header=Embedded Jopr Core
+default.breadcrumb=default breadcrumb
+
+button.ok=OK
+
+tab.menu.summary=Summary
+tab.menu.configuration=Configuration
+tab.menu.metrics=Metrics
+tab.menu.control=Control
+tab.menu.content=Content
+
+resource.not.found=Unable to find Resource
+
+resource.template=Template
+resource.template.select=Select Resource Template
+resource.template.desc=Configuration page will be pre-populated with the values from the selected template.
+
+resource.configuration.no.map.found=Resource configuration does not contain map named {0}.
+resource.configuration.map.button.ok=OK
+resource.configuration.map.button.cancel=Cancel
+resource.configuration.null=There was an error retrieving the configuration for this resource.
+
+resource.status.create.failure=Failed to add Resource (see app server log for additional details):
+resource.status.create.success=Successfully added new {0}.
+resource.status.update.validationErrors=An invalid value was specified for one or more properties. See below for details.
+resource.status.update.failure=Failed to update Resource (see app server log for additional details):
+resource.status.update.success=Successfully updated {0} '{1}'.
+resource.status.remove.failure=Failed to delete {0} '{1}' - {2}
+resource.status.remove.success=Successfully deleted {0} '{1}'.
+resource.status.invalidProps=One or more property values was invalid - see below for details.
+resource.status.failedForUnknownReason=Failed for unknown reason.
+
+resource.edit.title=Edit Resource
+
+resourcetype.no.action=No actions available
+#the following 3 are currently used in NavigationAction, but can be deleted once those usages are cleaned up
+datasource.list.jndiName=JNDI Name
+datasource.list.type=Type
+datasource.list.status=Status
+
+resource.view.button.save=Save
+resource.view.button.cancel=Cancel
+resource.view.requiredFields=Required fields
+
+resource.add.pageTitlePrefix=Add New
+resource.add.button.continue=Continue
+resource.add.button.save=Save
+resource.add.button.cancel=Cancel
+
+resource.content.button.update=Update
+
+component.dataPaginator.firstpage=First
+component.dataPaginator.lastpage=Last
+component.dataPaginator.previouspage=Prev
+component.dataPaginator.nextpage=Next
+component.dataPaginator.fastforward=Fast Forward
+component.dataPaginator.fastbackward=Rewind
+
+summary.root.title=Summary
+
+summary.resourceInstance.configuration=General Properties
+summary.resourceInstance.configuration.name=Name:
+summary.resourceInstance.configuration.version=Version:
+summary.resourceInstance.configuration.description=Description:
+summary.resourceInstance.traits=Traits
+summary.resourceInstance.metrics=Numeric Metrics
+summary.resourceInstance.metrics.name=Name
+summary.resourceInstance.metrics.value=Value
+
+summary.resourceType.name=Name
+summary.resourceType.status=Status
+summary.resourceType.actions=Actions
+summary.resourceType.delete=Delete
+summary.resourceType.addNew=Add a new resource
+summary.resourceType.confirmDelete=Are you sure you want to delete this Resource?
+
+summary.category.type=Type
+summary.category.types=Types
+summary.category.confirmDelete=Are you sure you want to delete this Category?
+
+#Messages for resourceInstanceMetrics.xhtml
+metrics.resourceInstance.title=Metrics
+metrics.resourceInstance.numericMetricValues=Numeric Metrics
+metrics.resourceInstance.traitValues=Traits
+metrics.resourceInstance.category=Category
+metrics.resourceInstance.name=Name
+metrics.resourceInstance.value=Value
+metrics.resourceInstance.description=Description
+metrics.resourceInstance.refresh=Refresh
+metrics.resourceInstance.pageDescription=View the numeric metrics and traits for this resource.
+metrics.noNumericMetricsAvailable=There are currently no numeric metrics available.
+
+#Messages for resourceDataScroller.xhtml
+scroller.total=Total:
+scroller.itemsPerPage=Items Per Page:
+
+#Messages for resourceInstanceControl.xhtml
+control.resourceInstance.title=Control Operations
+control.resourceInstance.name=Name
+control.resourceInstance.error.noOperations=No control operations for this resource
+control.resourceInstance.select=Select from the available control operations for this resource.
+control.resourceInstance.button.execute=Execute
+control.resourceInstance.operationHistory=Operation History
+control.resourceInstance.error.noPrevious=No operations have been executed on this Resource since this JBoss AS instance was last started.
+control.resourceInstance.previous.executedAt=Executed At
+control.resourceInstance.previous.operation=Operation Name
+control.resourceInstance.previous.status=Status
+control.resourceInstance.previous.viewLog=(View Log)
+control.resourceInstance.previous.closeLog=(Close)
+control.resourceInstance.previous.success=Successful
+control.resourceInstance.previous.inProgress=In Progress...
+control.resourceInstance.previous.failure=Failed
+control.resourceInstance.previous.showHideDetails=(Show/Hide Details)
+control.resourceInstance.previous.closeDetails=(Close)
+control.resourceInstance.previous.details=Details
+control.resourceInstance.previous.parameters=Parameters
+control.resourceInstance.previous.results=Results
+control.resourceInstance.previous.error=Error
+control.resourceInstance.previous.map.button.ok=OK
+control.resourceInstance.previous.map.buttonLabel.ok=Return to Control Tab
+
+#This is a workaround for JBMANCON-370. This can be deleted once
+#JBMANCON-370 is resolved.
+control.resourceInstance.status.details1a=In order to see the latest status of an operation, please
+control.resourceInstance.status.details1b=refresh this page
+
+#Messages for resourceInstanceContent.xhtml
+content.resourceInstance.title=Content
+content.resourceInstance.pageDescription=View the backing content for this resource
+content.resourceInstance.name=Name
+content.resourceInstance.architecture=Architecture
+content.resourceInstance.packagetype=Package Type
+content.resourceInstance.version=Version
+
+#Messages for resourceContentCreate.xhtml
+content.resourceInstance.create=Enter the absolute path to the local file you wish to deploy, specify deployment options, then click Continue.
+content.resourceInstance.create.noFileSelected=Please enter a file to upload.
+content.resourceInstance.create.resourceTypeHasNoCreationPackageType=Unable to create resources of this type. The resource type does not define a creation package type.
+content.resourceInstance.create.unableToCreateTempFile=Unable to create temp file from file upload.
+content.resourceInstance.create.success=Resource {0} created successfully!
+content.resourceInstance.create.failure=Failed to create Resource {0} - cause: {1}
+
+#Messages for resourceInstanceContent.xhtml
+content.resourceInstance.update.noFileSelected=Please enter a file to upload.
+content.resourceInstance.update.wrongFileName=The specified file must have the same name as the existing deployed {0} ({1}).
+content.resourceInstance.update.success={0} {1} updated.
+content.resourceInstance.update.failure=Failed to update {0} ({1}).
+
+exception.heading=Internal Error
+exception.paragraph1=The application has encountered an error.
+exception.paragraph2a=Please return to the
+exception.paragraph2b=main page
+exception.paragraph2c=to reset the application.
+
+
+help.link=Help
+login.welcome.paragraph1=Welcome to the
+login.welcome.paragraph2=.
+login.loginToProceed=Please login to proceed.
+
+security.username=Username
+security.password=Password
+security.login=Login
+security.logout=Logout
+security.loggedIn=Welcome
+security.NotLoggedIn=Not logged in
+
+org.jboss.seam.loginSuccessful=
+org.jboss.seam.loginFailed=log in attempt failed, please try again
+org.jboss.seam.NotLoggedIn=
+
+javax.faces.component.UIInput.REQUIRED=Value is required.
+
+javax.faces.validator.DoubleRangeValidator.MAXIMUM=Value is greater than allowable maximum of {0}
+javax.faces.validator.DoubleRangeValidator.MINIMUM=Value is less than allowable minimum of {0}
+javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE=Specified attribute is not between the expected values of {0} and {1}.
+javax.faces.validator.DoubleRangeValidator.TYPE=Value is not a valid floating point number
+javax.faces.validator.LengthValidator.MAXIMUM=Value is greater than allowable maximum of {0}
+javax.faces.validator.LengthValidator.MINIMUM=Value is less than allowable minimum of {0}
+javax.faces.validator.LongRangeValidator.MAXIMUM=Value is greater than allowable maximum of {0}
+javax.faces.validator.LongRangeValidator.MINIMUM=Value is less than allowable minimum of {0}
+javax.faces.validator.LongRangeValidator.NOT_IN_RANGE=Specified attribute is not between the expected values of {0} and {1}.
+javax.faces.validator.LongRangeValidator.TYPE=Value is not a valid integer
+
+#Messages for header.xhtml
+debugAction.dumpInventory=Dump Inventory
+debugAction.runServerScan=Run Server Scan
+debugAction.runServiceScan=Run Service Scan
+debugAction.testErrorPage=Test Error Page
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/classes/messages_ja.properties
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/classes/messages_ja.properties (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/classes/messages_ja.properties 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,217 @@
+#
+# Embedded Jopr Project
+# Copyright (C) 2006-2009 Red Hat, Inc.
+# All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+#
+# Japanese message bundle for JBoss Admin Console GUI.
+#
+product.name=Embedded Jopr Core
+product.version=1.3.4.SP1
+product.buildNumber=${buildNumber}
+product.copyright=© 2002-2009 Red Hat Middleware, LLC. All rights reserved. JBoss \u306f Red Hat, Inc. \u306e\u767b\u9332\u5546\u6a19\u3067\u3059.
+
+default.windowTitle=Embedded Jopr Core
+#default.header=JBoss Application Server Console
+default.breadcrumb=default breadcrumb
+
+button.ok=OK
+
+tab.menu.summary=\u30b5\u30de\u30ea
+tab.menu.configuration=\u8a2d\u5b9a
+tab.menu.metrics=\u30e1\u30c8\u30ea\u30af\u30b9
+tab.menu.control=\u7ba1\u7406
+tab.menu.content=\u30b3\u30f3\u30c6\u30f3\u30c8
+
+resource.not.found=\u30ea\u30bd\u30fc\u30b9\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f
+
+resource.template=\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8
+resource.template.select=\u30ea\u30bd\u30fc\u30b9\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u9078\u629e
+resource.template.desc=\u8a2d\u5b9a\u30da\u30fc\u30b8\u306f\u9078\u629e\u3055\u308c\u305f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u5024\u304c\u4e8b\u524d\u306b\u5165\u529b\u3055\u308c\u307e\u3059
+
+resource.configuration.no.map.found=\u30ea\u30bd\u30fc\u30b9\u8a2d\u5b9a\u306b {0} \u3068\u3044\u3046\u540d\u524d\u306e\u30de\u30c3\u30d7\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u305b\u3093
+resource.configuration.map.button.ok=OK
+resource.configuration.map.button.cancel=\u30ad\u30e3\u30f3\u30bb\u30eb
+resource.configuration.null=\u3053\u306e\u30ea\u30bd\u30fc\u30b9\u8a2d\u5b9a\u306e\u53d6\u5f97\u4e2d\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f
+
+resource.status.create.failure=\u30ea\u30bd\u30fc\u30b9\u306e\u8ffd\u52a0\u306b\u5931\u6557\u3057\u307e\u3057\u305f. \u8a73\u3057\u304f\u306f\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3068\u30b5\u30fc\u30d0\u30fc\u30ed\u30b0\u3092\u3054\u89a7\u304f\u3060\u3055\u3044.
+resource.status.create.success={0} \u304c\u6b63\u5e38\u306b\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f.
+resource.status.update.validationErrors=\u4e0d\u6b63\u306a\u5024\u304c\u6307\u5b9a\u3055\u308c\u307e\u3057\u305f.\u8a73\u3057\u304f\u306f\u4ee5\u4e0b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044.
+resource.status.update.failure=\u30ea\u30bd\u30fc\u30b9\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f. \u8a73\u3057\u304f\u306f\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3068\u30b5\u30fc\u30d0\u30fc\u30ed\u30b0\u3092\u3054\u89a7\u304f\u3060\u3055\u3044.
+resource.status.update.success={0} \u304c\u6b63\u5e38\u306b\u66f4\u65b0\u3055\u308c\u307e\u3057\u305f '{1}'
+resource.status.remove.failure={0} \u306e\u524a\u9664\u306b\u5931\u6557\u3057\u307e\u3057\u305f '{1}' - {2}
+resource.status.remove.success={0} \u304c\u6b63\u5e38\u306b\u524a\u9664\u3055\u308c\u307e\u3057\u305f '{1}'
+resource.status.invalidProps=\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5024\u304c\u4e0d\u6b63\u3067\u3059.\u8a73\u3057\u304f\u306f\u4ee5\u4e0b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044.
+resource.status.failedForUnknownReason=\u4e0d\u660e\u306a\u7406\u7531\u3067\u5931\u6557\u3057\u307e\u3057\u305f
+
+resource.edit.title=\u30ea\u30bd\u30fc\u30b9\u306e\u8a2d\u5b9a
+
+resourcetype.no.action=\u30a2\u30af\u30b7\u30e7\u30f3\u306f\u3042\u308a\u307e\u305b\u3093
+#the following 3 are currently used in NavigationAction, but can be deleted once those usages are cleaned up
+datasource.list.jndiName=JNDI \u540d
+datasource.list.type=\u30bf\u30a4\u30d7
+datasource.list.status=\u30b9\u30c6\u30fc\u30bf\u30b9
+
+resource.view.button.save=\u4fdd\u5b58
+resource.view.button.cancel=\u30ad\u30e3\u30f3\u30bb\u30eb
+resource.view.requiredFields=\u5fc5\u9808\u9805\u76ee
+
+resource.add.pageTitlePrefix=\u65b0\u3057\u304f\u8ffd\u52a0
+resource.add.button.continue=\u7d9a\u3051\u308b
+resource.add.button.save=\u4fdd\u5b58
+resource.add.button.cancel=\u30ad\u30e3\u30f3\u30bb\u30eb
+
+resource.content.button.update=\u66f4\u65b0
+
+component.dataPaginator.firstpage=\u6700\u521d
+component.dataPaginator.lastpage=\u6700\u5f8c
+component.dataPaginator.previouspage=\u524d
+component.dataPaginator.nextpage=\u6b21
+component.dataPaginator.fastforward=\u9806\u9001\u308a
+component.dataPaginator.fastbackward=\u5dfb\u304d\u623b\u3057
+
+summary.root.title=\u30b5\u30de\u30ea
+
+summary.resourceInstance.configuration=\u4e00\u822c\u60c5\u5831
+summary.resourceInstance.configuration.name=\u540d\u524d:
+summary.resourceInstance.configuration.version=\u30d0\u30fc\u30b8\u30e7\u30f3:
+summary.resourceInstance.configuration.description=\u8aac\u660e:
+summary.resourceInstance.traits=\u30ea\u30bd\u30fc\u30b9\u306e\u7279\u6027
+summary.resourceInstance.metrics=\u30e1\u30c8\u30ea\u30af\u30b9
+summary.resourceInstance.metrics.name=\u540d\u524d
+summary.resourceInstance.metrics.value=\u5024
+
+summary.resourceType.name=\u540d\u524d
+summary.resourceType.status=\u30b9\u30c6\u30fc\u30bf\u30b9
+summary.resourceType.actions=\u30a2\u30af\u30b7\u30e7\u30f3
+summary.resourceType.delete=\u524a\u9664
+summary.resourceType.addNew=\u65b0\u898f\u30ea\u30bd\u30fc\u30b9\u306e\u8ffd\u52a0
+summary.resourceType.confirmDelete=\u3053\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u672c\u5f53\u306b\u524a\u9664\u3057\u3066\u826f\u3044\u3067\u3059\u304b\uff1f
+
+summary.category.type=\u30bf\u30a4\u30d7
+summary.category.types=\u30bf\u30a4\u30d7
+summary.category.confirmDelete=\u672c\u5f53\u306b\u3053\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u524a\u9664\u3057\u3066\u826f\u3044\u3067\u3059\u304b?
+
+#Messages for resourceInstanceMetrics.xhtml
+metrics.resourceInstance.title=\u30e1\u30c8\u30ea\u30af\u30b9
+metrics.resourceInstance.numericMetricValues=\u30e1\u30c8\u30ea\u30af\u30b9
+metrics.resourceInstance.traitValues=\u7279\u6027\u5024
+metrics.resourceInstance.category=\u30ab\u30c6\u30b4\u30ea
+metrics.resourceInstance.name=\u540d\u524d
+metrics.resourceInstance.value=\u5024
+metrics.resourceInstance.description=\u8aac\u660e
+metrics.resourceInstance.refresh=\u30ea\u30d5\u30ec\u30c3\u30b7\u30e5
+metrics.resourceInstance.pageDescription=\u3053\u306e\u30ea\u30bd\u30fc\u30b9\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30e1\u30c8\u30ea\u30af\u30b9\u3092\u898b\u308b.
+metrics.noNumericMetricsAvailable=\u8868\u793a\u53ef\u80fd\u306a\u30e1\u30c8\u30ea\u30af\u30b9\u306f\u3042\u308a\u307e\u305b\u3093.
+
+#Messages for resourceDataScroller.xhtml
+scroller.total=\u8a08:
+scroller.itemsPerPage=\u8868\u793a\u4ef6\u6570:
+
+#Messages for resourceInstanceControl.xhtml
+control.resourceInstance.title=\u7ba1\u7406\u64cd\u4f5c
+control.resourceInstance.name=\u540d\u524d
+control.resourceInstance.error.noOperations=\u3053\u306e\u30ea\u30bd\u30fc\u30b9\u306b\u5bfe\u3057\u3066\u53ef\u80fd\u306a\u64cd\u4f5c\u306f\u3042\u308a\u307e\u305b\u3093
+control.resourceInstance.select=\u3053\u306e\u30ea\u30bd\u30fc\u30b9\u306b\u5bfe\u3057\u3066\u53ef\u80fd\u306a\u64cd\u4f5c:
+control.resourceInstance.button.execute=\u5b9f\u884c
+control.resourceInstance.operationHistory=\u64cd\u4f5c\u5c65\u6b74
+control.resourceInstance.error.noPrevious=\u3053\u306e\u30ea\u30bd\u30fc\u30b9\u306b\u5bfe\u3057\u3066\u884c\u308f\u308c\u305f\u4ee5\u524d\u306e\u64cd\u4f5c\u306f\u3042\u308a\u307e\u305b\u3093
+control.resourceInstance.previous.executedAt=\u5b9f\u884c\u6642\u523b:
+control.resourceInstance.previous.operation=\u64cd\u4f5c\u540d
+control.resourceInstance.previous.status=\u30b9\u30c6\u30fc\u30bf\u30b9
+control.resourceInstance.previous.viewLog=(\u30ed\u30b0\u3092\u898b\u308b)
+control.resourceInstance.previous.closeLog=(\u30ed\u30b0\u3092\u9589\u3058\u308b)
+control.resourceInstance.previous.success=\u6210\u529f
+control.resourceInstance.previous.inProgress=\u9032\u884c\u4e2d
+control.resourceInstance.previous.failure=\u5931\u6557
+control.resourceInstance.previous.showHideDetails=(\u8a73\u7d30\u3092\u8868\u793a/\u975e\u8868\u793a)
+control.resourceInstance.previous.closeDetails=(\u9589\u3058\u308b)
+control.resourceInstance.previous.details=\u8a73\u7d30
+control.resourceInstance.previous.parameters=\u30d1\u30e9\u30e1\u30fc\u30bf
+control.resourceInstance.previous.results=\u7d50\u679c
+control.resourceInstance.previous.error=\u30a8\u30e9\u30fc
+control.resourceInstance.previous.map.button.ok=OK
+control.resourceInstance.previous.map.buttonLabel.ok=\u7ba1\u7406\u30bf\u30d6\u306b\u623b\u308b
+
+#This is a workaround for JBMANCON-370. This can be deleted once
+#JBMANCON-370 is resolved.
+control.resourceInstance.status.details1a=\u6700\u65b0\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306f\u3053\u306e\u30da\u30fc\u30b8\u3092\u30ea\u30d5\u30ec\u30c3\u30b7\u30e5\u3057\u3066\u304f\u3060\u3055\u3044
+control.resourceInstance.status.details1b=
+
+#Messages for resourceInstanceContent.xhtml
+content.resourceInstance.title=\u30b3\u30f3\u30c6\u30f3\u30c8
+content.resourceInstance.pageDescription=\u3053\u306e\u30ea\u30bd\u30fc\u30b9\u306e\u30d0\u30c3\u30ad\u30f3\u30b0\u30b3\u30f3\u30c6\u30f3\u30c8\u3092\u898b\u308b
+content.resourceInstance.name=\u540d\u524d
+content.resourceInstance.architecture=\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3
+content.resourceInstance.packagetype=\u30d1\u30c3\u30b1\u30fc\u30b8\u30bf\u30a4\u30d7
+content.resourceInstance.version=\u30d0\u30fc\u30b8\u30e7\u30f3
+
+#Messages for resourceContentCreate.xhtml
+content.resourceInstance.create=\u30c7\u30d7\u30ed\u30a4\u3057\u305f\u3044\u30ed\u30fc\u30ab\u30eb\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044."\u7d9a\u3051\u308b"\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u30c7\u30d7\u30ed\u30a4\u3067\u304d\u307e\u3059
+content.resourceInstance.create.noFileSelected=\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044.
+content.resourceInstance.create.resourceTypeHasNoCreationPackageType=\u3053\u306e\u30bf\u30a4\u30d7\u306e\u30ea\u30bd\u30fc\u30b9\u306f\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093. \u3053\u306e\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u306f\u30d1\u30c3\u30b1\u30fc\u30b8\u30bf\u30a4\u30d7\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u305b\u3093.
+content.resourceInstance.create.unableToCreateTempFile=\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u4e2d\u306b\u4e00\u6642\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\u306b\u5931\u6557\u3057\u307e\u3057\u305f.
+content.resourceInstance.create.success=\u30ea\u30bd\u30fc\u30b9 {0} \u304c\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f!
+content.resourceInstance.create.failure=\u30ea\u30bd\u30fc\u30b9 {0} \u306e\u4f5c\u6210\u306b\u5931\u6557\u3057\u307e\u3057\u305f - \u539f\u56e0: {1}
+
+#Messages for resourceInstanceContent.xhtml
+content.resourceInstance.update.noFileSelected=\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044.
+content.resourceInstance.update.wrongFileName=\u30d5\u30a1\u30a4\u30eb\u306f\u65e2\u306b\u30c7\u30d7\u30ed\u30a4\u3055\u308c\u3066\u3044\u308b {0} \u3068\u540c\u3058\u30d5\u30a1\u30a4\u30eb\u540d\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059 ({1}).
+content.resourceInstance.update.success={0} {1} \u304c\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u307e\u3057\u305f.
+content.resourceInstance.update.failure={0} \u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306b\u5931\u6557\u3057\u307e\u3057\u305f ({1}).
+
+exception.heading=\u5185\u90e8\u30a8\u30e9\u30fc
+exception.paragraph1=\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f
+exception.paragraph2a=\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u3078
+exception.paragraph2b=\u623b\u308b\u3068
+exception.paragraph2c=\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u30ea\u30bb\u30c3\u30c8\u3055\u308c\u307e\u3059
+
+
+help.link=\u30d8\u30eb\u30d7
+login.welcome.paragraph1=\u3088\u3046\u3053\u305d
+login.welcome.paragraph2= \u3078
+login.loginToProceed=\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u304f\u3060\u3055\u3044.
+
+security.username=\u30e6\u30fc\u30b6\u540d
+security.password=\u30d1\u30b9\u30ef\u30fc\u30c9
+security.login=\u30ed\u30b0\u30a4\u30f3
+security.logout=\u30ed\u30b0\u30a2\u30a6\u30c8
+security.loggedIn=\u30ed\u30b0\u30a4\u30f3\u4e2d:
+security.NotLoggedIn=\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u307e\u305b\u3093
+
+org.jboss.seam.loginSuccessful=
+org.jboss.seam.loginFailed=\u30ed\u30b0\u30a4\u30f3\u306b\u5931\u6557\u3057\u307e\u3057\u305f, \u30e6\u30fc\u30b6\u540d\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044
+org.jboss.seam.NotLoggedIn=
+
+javax.faces.component.UIInput.REQUIRED=\u5165\u529b\u5fc5\u9808\u9805\u76ee\u3067\u3059.
+
+javax.faces.validator.DoubleRangeValidator.MAXIMUM=\u5024\u304c\u6700\u5927\u5024 {0} \u3092\u8d85\u3048\u3066\u3044\u307e\u3059
+javax.faces.validator.DoubleRangeValidator.MINIMUM=\u5024\u304c\u6700\u5c0f\u5024 {0} \u3092\u8d85\u3048\u3066\u3044\u307e\u3059
+javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE=\u5024\u306f {0} \u301c {1} \u306e\u7bc4\u56f2\u5185\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059.
+javax.faces.validator.DoubleRangeValidator.TYPE=\u5024\u306f\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u3067\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044
+javax.faces.validator.LengthValidator.MAXIMUM=\u5024\u304c\u6700\u5927\u5024 {0} \u3092\u8d85\u3048\u3066\u3044\u307e\u3059
+javax.faces.validator.LengthValidator.MINIMUM=\u5024\u304c\u6700\u5c0f\u5024 {0} \u3092\u8d85\u3048\u3066\u3044\u307e\u3059
+javax.faces.validator.LongRangeValidator.MAXIMUM=\u5024\u304c\u6700\u5927\u5024 {0} \u3092\u8d85\u3048\u3066\u3044\u307e\u3059
+javax.faces.validator.LongRangeValidator.MINIMUM=\u5024\u304c\u6700\u5c0f\u5024 {0} \u3092\u8d85\u3048\u3066\u3044\u307e\u3059
+javax.faces.validator.LongRangeValidator.NOT_IN_RANGE=\u5024\u306f {0} \u301c {1} \u306e\u7bc4\u56f2\u5185\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059.
+javax.faces.validator.LongRangeValidator.TYPE=\u5024\u306f\u6574\u6570\u3067\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044
+
+#Messages for header.xhtml
+debugAction.dumpInventory=\u30a4\u30f3\u30d9\u30f3\u30c8\u30ea\u3092\u30c0\u30f3\u30d7
+debugAction.runServerScan=\u30b5\u30fc\u30d0\u30b9\u30ad\u30e3\u30f3\u3092\u5b9f\u884c
+debugAction.runServiceScan=\u30b5\u30fc\u30d3\u30b9\u30b9\u30ad\u30e3\u30f3\u3092\u5b9f\u884c
+debugAction.testErrorPage=\u30a8\u30e9\u30fc\u30da\u30fc\u30b8\u306e\u30c6\u30b9\u30c8
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/components.xml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/components.xml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/components.xml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<components xmlns="http://jboss.com/products/seam/components"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:security="http://jboss.com/products/seam/security"
+ xsi:schemaLocation=
+ "http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd
+ http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd">
+
+ <component name="org.jboss.seam.core.init">
+ <property name="debug">false</property>
+ <!-- enable only when needed -->
+ <property name="transactionManagementEnabled">false</property>
+ </component>
+
+ <component name="navigationAction">
+ <property name="openDepth">4</property>
+ </component>
+
+ <component name="discoveryAction">
+ <property name="scanPeriod">60000</property>
+ </component>
+
+ <!-- security stuff -->
+ <security:identity authenticate-method="#{authenticator.authenticate}"
+ jaas-config-name="jmx-console"/>
+
+ <!-- remember what page the user was on before the login redirect -->
+ <event type="org.jboss.seam.notLoggedIn">
+ <action execute="#{redirect.captureCurrentView}"/>
+ </event>
+
+ <event type="org.jboss.seam.postAuthenticate">
+ <action execute="#{redirect.returnToCapturedView}"/>
+ </event>
+
+</components>
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/exceptions.xml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/exceptions.xml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/exceptions.xml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,39 @@
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<exceptions>
+ <!-- Authorization Exceptions -->
+ <exception class="org.jboss.seam.security.NotLoggedInException">
+ <redirect view-id="/login.xhtml">
+ </redirect>
+ </exception>
+ <exception class="org.jboss.seam.security.AuthorizationException">
+ <end-conversation/>
+ <redirect view-id="/login.xhtml">
+ <message>You must be logged in to perform this action.</message>
+ </redirect>
+ </exception>
+
+ <!-- Catch-all for all other Exceptions-->
+ <exception class="java.lang.Exception">
+ <end-conversation/>
+ <redirect view-id="/error.xhtml">
+ </redirect>
+ </exception>
+</exceptions>
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/breadcrumb.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/breadcrumb.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/breadcrumb.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:s="http://jboss.com/products/seam/taglib">
+
+<body>
+<f:view>
+ <ui:composition>
+
+ <h:form>
+ <!--loop through the breadcrumbs-->
+ <ui:repeat var="node" value="#{breadcrumb}">
+ <ul>
+ <li>
+ <s:link view="/secure/summary.xhtml" propagation="end">
+ <f:param name="path" value="#{node.path}"/>#{node.name}
+ </s:link>
+ </li>
+ </ul>
+ </ui:repeat>
+
+ </h:form>
+ </ui:composition>
+</f:view>
+</body>
+</html>
\ No newline at end of file
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/displayGlobalMessages.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/displayGlobalMessages.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/displayGlobalMessages.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,49 @@
+<?xml version="1.0"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ >
+<head>
+ <title></title>
+</head>
+<body>
+
+<!--Displays any facesMessages that were stored globally (i.e. not assigned to a single field, like a validation error -->
+<!--usage:-->
+<!--<ui:include src="/WEB-INF/facelets/displayGlobalMessages.xhtml"/>-->
+
+<ui:composition>
+ <!--the SUCCESS / FAIL / ERROR messages-->
+ <s:div styleClass="messagingBox" rendered="#{resourceAction.hasGlobalMessages}">
+ <h:messages
+ errorClass="messagingFail"
+ infoClass="messagingSuccess"
+ warnClass="messagingFail"
+ fatalClass="messagingFail"/>
+ </s:div>
+</ui:composition>
+</body>
+</html>
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/errorLayout.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/errorLayout.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/errorLayout.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,63 @@
+<!--
+ ~ Jopr Management Platform
+ ~ Copyright (C) 2005-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU General Public License, version 2, as
+ ~ published by the Free Software Foundation, and/or the GNU Lesser
+ ~ General Public License, version 2.1, also as published by the Free
+ ~ Software Foundation.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ ~ GNU General Public License and the GNU Lesser General Public License
+ ~ for more details.
+ ~
+ ~ You should have received a copy of the GNU General Public License
+ ~ and the GNU Lesser General Public License along with this program;
+ ~ if not, write to the Free Software Foundation, Inc.,
+ ~ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ -->
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+<ui:remove>
+ <!-- Set the content type to "text/html" to ensure "application/xhtml+xml", which would put Firefox and
+ other Gecko-based browsers into XML mode (which requires pages to be well-formed XML), is not used.
+ We also specify the charset/encoding here, since we cannot specify it via the xml prolog, since
+ including an xml prolog causes IE6 to go into the undesirable "quirks mode".
+ (see https://jira.jboss.org/jira/browse/EMBJOPR-19) -->
+</ui:remove>
+<f:view contentType="text/html; charset=UTF-8">
+
+ <head>
+ <base href="#{baseUrl}"/>
+ <title>
+ <ui:insert name="title">#{messages['default.windowTitle']}</ui:insert>
+ </title>
+
+ <link href="css/console-style.css" rel="stylesheet" type="text/css"/>
+ <link href="css/form-style.css" rel="stylesheet" type="text/css"/>
+
+ <link rel="icon" type="image/png" href="images/favicon.png"/>
+ <link rel="apple-touch-icon" href="images/favicon.png"/>
+
+ <script type="text/javascript" src="js/embedded.js"></script>
+ </head>
+ <body>
+ <div class="container">
+ <ui:include src="header.xhtml"/>
+ <ui:insert name="body">body goes here</ui:insert>
+ </div>
+ </body>
+</f:view>
+</html>
+
\ No newline at end of file
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/footer.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/footer.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/footer.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ >
+<head>
+ <title></title>
+</head>
+<body>
+<ui:composition>
+ <div id="footer">
+ <h:outputText escape="false" value="#{messages['product.name']} #{messages['product.version']}"/>
+ <h:outputText escape="false" value=" (r#{messages['product.buildNumber']})"
+ rendered="#{not empty messages['product.buildNumber']}"/>
+ - Powered by <a href="http://jboss.org/embjopr/" title="Embedded Jopr">Embedded Jopr</a>
+ <br/>
+ <h:outputText escape="false" value="#{messages['product.copyright']}"/>
+ </div>
+</ui:composition>
+</body>
+</html>
\ No newline at end of file
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formDropDownComponent.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formDropDownComponent.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formDropDownComponent.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,73 @@
+<?xml version="1.0"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ >
+<head>
+ <title></title>
+</head>
+<body>
+
+<!--include this component to display a radio button in a form-->
+
+<!--rendered: should this component be rendered at all-->
+<!--label: the label to display, the name of the setting-->
+<!--required: the symbol to indicate a required component (only define this if the component is required)-->
+<!--beanValue: the bean property to be set-->
+<!--desc: the description of how this property is used by JBoss-->
+<!--default: the description of the default value of this property (if there is one)-->
+<!--defaultRendered: true if the "default" property should be displayed, don't include it or mark it "false" if it should not-->
+
+<!--ex:-->
+<!--<ui:include src="/WEB-INF/facelets/formRadioComponent.xhtml">-->
+<!--<ui:param name="label" value="# {messages['datasource.attribute']}"/>-->
+<!--<ui:param name="requiredLabel" value="*"/>-->
+<!--<ui:param name="beanValue" value="# {someComponentBean.someAttribute"/>-->
+<!--<ui:param name="desc" value="# {messages['datasource.attribute.desc']}"/>-->
+<!--<ui:param name="default" value="# {messages['datasource.attribute.default']}"/>-->
+<!--<ui:param name="defaultRendered" value="true"/>-->
+<!--<ui:param name="rendered" value="true"/> -->
+<!--<ui:param name="required" value="true"/> -->
+<!--</ui:include>-->
+
+<ui:composition>
+ <h:panelGroup rendered="#{rendered}">
+ <h:outputLabel value="#{label} #{requiredLabel}"/><br/>
+ <h:outputText rendered="#{defaultRendered}">#{default}<br/></h:outputText>
+ <h:selectOneMenu id="#{identifier}" value="#{beanValue}" required="#{required}">
+ <f:selectItems value="#{itemValues}"></f:selectItems>
+ </h:selectOneMenu>
+
+ <p><strong>#{label}:</strong>#{desc}</p>
+ </h:panelGroup>
+ <h:message for="#{identifier}" showDetail="true" errorClass="errorbkg"/>
+ <h:panelGroup rendered="#{rendered}">
+ <hr/>
+ </h:panelGroup>
+</ui:composition>
+</body>
+</html>
\ No newline at end of file
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formRadioComponent.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formRadioComponent.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formRadioComponent.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,74 @@
+<?xml version="1.0"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ >
+<head>
+ <title></title>
+</head>
+<body>
+
+<!--include this component to display a radio button in a form-->
+
+<!--rendered: should this component be rendered at all-->
+<!--label: the label to display, the name of the setting-->
+<!--beanValue: the bean property to be set-->
+<!--desc: the description of how this property is used by JBoss-->
+<!--default: the description of the default value of this property (if there is one)-->
+<!--defaultRendered: true if the "default" property should be displayed, don't include it or mark it "false" if it should not-->
+
+<!--ex:-->
+<!--<ui:include src="/WEB-INF/facelets/formRadioComponent.xhtml">-->
+<!--<ui:param name="label" value="# {messages['datasource.attribute']}"/>-->
+<!--required: the symbol to indicate a required component (only define this if the component is required)-->
+<!--<ui:param name="required" value="*"/>-->
+<!--<ui:param name="beanValue" value="# {someComponentBean.someAttribute"/>-->
+<!--<ui:param name="desc" value="#{ messages['datasource.attribute.desc']}"/>-->
+<!--<ui:param name="default" value="# {messages['datasource.attribute.default']}"/>-->
+<!--<ui:param name="defaultRendered" value="true"/>-->
+<!--<ui:param name="rendered" value="true"/> -->
+<!--</ui:include>-->
+
+<ui:composition>
+ <h:panelGroup rendered="#{rendered}">
+ <h:outputLabel value="#{label} #{required}"/><br/>
+ <h:outputText rendered="#{defaultRendered}">#{default}<br/></h:outputText>
+ <!--TODO: for some reason the spacing on this is WAY bigger than the mockup,-->
+ <!--I think its because this is rendered with a table, rather than a br to breakup each item-->
+ <h:selectOneRadio id="#{identifier}" value="#{beanValue}" layout="pageDirection" styleClass="radiolabels">
+ <f:selectItems value="#{itemValues}"></f:selectItems>
+ </h:selectOneRadio>
+
+ <p><strong>#{label}:</strong>#{desc}</p>
+ </h:panelGroup>
+ <h:message for="#{identifier}" showDetail="true" errorClass="errorbkg"/>
+ <h:panelGroup rendered="#{rendered}">
+ <hr/>
+ </h:panelGroup>
+</ui:composition>
+</body>
+</html>
\ No newline at end of file
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formSecretComponent.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formSecretComponent.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formSecretComponent.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ >
+<head>
+ <title></title>
+</head>
+<body>
+
+<!--include this component to display a text box in a form but obfuscates the text-->
+
+<!--rendered: should this component be rendered at all-->
+<!--label: the label to display, the name of the setting-->
+<!--required: the symbol to indicate a required component (only define this if the component is required)-->
+<!--beanValue: the bean property to be set-->
+<!--desc: the description of how this property is used by JBoss-->
+<!--default: the description of the default value of this property (if there is one)-->
+<!--defaultRendered: true if the "default" property should be displayed, don't include it or mark it "false" if it should not-->
+
+<!--ex:-->
+<!--<ui:include src="/WEB-INF/facelets/formTextComponent.xhtml">-->
+<!--<ui:param name="label" value="# {messages['datasource.attribute']}"/>-->
+<!--<ui:param name="required" value="*"/>-->
+<!--<ui:param name="beanValue" value="# {someComponentBean.someAttribute"/>-->
+<!--<ui:param name="desc" value="# {messages['datasource.attribute.desc']}"/>-->
+<!--<ui:param name="default" value="# {messages['datasource.attribute.default']}"/>-->
+<!--<ui:param name="defaultRendered" value="true"/>-->
+<!--<ui:param name="rendered" value="true"/> -->
+<!--</ui:include>-->
+
+<ui:composition>
+ <h:panelGroup rendered="#{rendered}">
+ <h:outputLabel value="#{label} #{required}"/><br/>
+ <h:outputText rendered="#{defaultRendered}">#{default}<br/></h:outputText>
+ <h:inputSecret id="#{identifier}" value="#{beanValue}"/>
+
+ <p><strong>#{label}:</strong>#{desc}</p>
+ </h:panelGroup>
+ <h:message for="#{identifier}" showDetail="true" errorClass="errorbkg"/>
+ <h:panelGroup rendered="#{rendered}">
+ <hr/>
+ </h:panelGroup>
+</ui:composition>
+</body>
+</html>
\ No newline at end of file
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formTextAreaComponent.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formTextAreaComponent.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formTextAreaComponent.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,71 @@
+<?xml version="1.0"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ >
+<head>
+ <title></title>
+</head>
+<body>
+
+<!--include this component to display a textarea in a form-->
+
+<!--rendered: should this component be rendered at all-->
+<!--label: the label to display, the name of the setting-->
+<!--required: the symbol to indicate a required component (only define this if the component is required)-->
+<!--beanValue: the bean property to be set-->
+<!--desc: the description of how this property is used by JBoss-->
+<!--default: the description of the default value of this property (if there is one)-->
+<!--defaultRendered: true if the "default" property should be displayed, don't include it or mark it "false" if it should not-->
+
+<!--ex:-->
+<!--<ui:include src="/WEB-INF/facelets/formTextAreaComponent.xhtml">-->
+<!--<ui:param name="label" value="# {messages['datasource.attribute']}"/>-->
+<!--<ui:param name="required" value="*"/>-->
+<!--<ui:param name="beanValue" value="# {someComponentBean.someAttribute"/>-->
+<!--<ui:param name="desc" value="# {messages['datasource.attribute.desc']}"/>-->
+<!--<ui:param name="default" value="# {messages['datasource.attribute.default']}"/>-->
+<!--<ui:param name="defaultRendered" value="true"/>-->
+<!--<ui:param name="rendered" value="true"/> -->
+<!--</ui:include>-->
+
+<ui:composition>
+ <h:panelGroup rendered="#{rendered}">
+ <h:outputLabel value="#{label} #{required}"/><br/>
+ <h:outputText rendered="#{defaultRendered}">#{default}<br/></h:outputText>
+ <!--TODO need to get the size for the textArea to be used, from james:-->
+ <h:inputTextarea id="#{identifier}" value="#{beanValue}" rows="5" cols="50"/>
+
+ <p><strong>#{label}:</strong>#{desc}</p>
+ </h:panelGroup>
+ <h:message for="#{identifier}" showDetail="true" errorClass="errorbkg"/>
+ <h:panelGroup rendered="#{rendered}">
+ <hr/>
+ </h:panelGroup>
+</ui:composition>
+</body>
+</html>
\ No newline at end of file
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formTextAreaConverterComponent.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formTextAreaConverterComponent.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formTextAreaConverterComponent.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,73 @@
+<?xml version="1.0"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ >
+<head>
+ <title></title>
+</head>
+<body>
+
+<!--include this component to display a textarea in a form-->
+
+<!--rendered: should this component be rendered at all-->
+<!--label: the label to display, the name of the setting-->
+<!--required: the symbol to indicate a required component (only define this if the component is required)-->
+<!--beanValue: the bean property to be set-->
+<!--desc: the description of how this property is used by JBoss-->
+<!--default: the description of the default value of this property (if there is one)-->
+<!--defaultRendered: true if the "default" property should be displayed, don't include it or mark it "false" if it should not-->
+
+<!--ex:-->
+<!--<ui:include src="/WEB-INF/facelets/formTextAreaComponent.xhtml">-->
+<!--<ui:param name="label" value="# {messages['datasource.attribute']}"/>-->
+<!--<ui:param name="required" value="*"/>-->
+<!--<ui:param name="beanValue" value="# {someComponentBean.someAttribute"/>-->
+<!--<ui:param name="desc" value="# {messages['datasource.attribute.desc']}"/>-->
+<!--<ui:param name="default" value="# {messages['datasource.attribute.default']}"/>-->
+<!--<ui:param name="defaultRendered" value="true"/>-->
+<!--<ui:param name="rendered" value="true"/> -->
+<!--</ui:include>-->
+
+<ui:composition>
+ <h:panelGroup rendered="#{rendered}">
+ <h:outputLabel value="#{label} #{required}"/><br/>
+ <h:outputText rendered="#{defaultRendered}">#{default}<br/></h:outputText>
+ <!--TODO need to get the size for the textArea to be used, from james:-->
+ <h:inputTextarea id="#{identifier}" value="#{beanValue}" rows="5" cols="50">
+ <f:converter converterId="#{converter}"/>
+ </h:inputTextarea>
+
+ <p><strong>#{label}:</strong>#{desc}</p>
+ </h:panelGroup>
+ <h:message for="#{identifier}" showDetail="true" errorClass="errorbkg"/>
+ <h:panelGroup rendered="#{rendered}">
+ <hr/>
+ </h:panelGroup>
+</ui:composition>
+</body>
+</html>
\ No newline at end of file
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formTextComponent.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formTextComponent.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/formTextComponent.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ >
+<head>
+ <title></title>
+</head>
+<body>
+
+<!--include this component to display a text box in a form-->
+
+<!--rendered: should this component be rendered at all-->
+<!--label: the label to display, the name of the setting-->
+<!--required: the symbol to indicate a required component (only define this if the component is required)-->
+<!--beanValue: the bean property to be set-->
+<!--desc: the description of how this property is used by JBoss-->
+<!--default: the description of the default value of this property (if there is one)-->
+<!--defaultRendered: true if the "default" property should be displayed, don't include it or mark it "false" if it should not-->
+
+<!--ex:-->
+<!--<ui:include src="/WEB-INF/facelets/formTextComponent.xhtml">-->
+<!--<ui:param name="label" value="# {messages['datasource.attribute']}"/>-->
+<!--<ui:param name="required" value="*"/>-->
+<!--<ui:param name="beanValue" value="# {someComponentBean.someAttribute"/>-->
+<!--<ui:param name="desc" value="# {messages['datasource.attribute.desc']}"/>-->
+<!--<ui:param name="default" value="# {messages['datasource.attribute.default']}"/>-->
+<!--<ui:param name="defaultRendered" value="true"/>-->
+<!--<ui:param name="rendered" value="true"/> -->
+<!--</ui:include>-->
+
+<ui:composition>
+ <h:panelGroup rendered="#{rendered}">
+ <h:outputLabel value="#{label} #{required}"/><br/>
+ <h:outputText rendered="#{defaultRendered}">#{default}<br/></h:outputText>
+ <h:inputText id="#{identifier}" value="#{beanValue}"/>
+
+ <p><strong>#{label}:</strong>#{desc}</p>
+ </h:panelGroup>
+ <h:message for="#{identifier}" showDetail="true" errorClass="errorbkg"/>
+ <h:panelGroup rendered="#{rendered}">
+ <hr/>
+ </h:panelGroup>
+</ui:composition>
+</body>
+</html>
\ No newline at end of file
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/header.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/header.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/header.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,74 @@
+<?xml version="1.0"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ >
+<head>
+ <title></title>
+</head>
+<body>
+<ui:composition>
+ <div id="pageheader">
+ <div class="floatleft">
+ <h:panelGrid columns="2">
+ <h:outputLink value="http://jboss.org/embjopr/">
+ <h:graphicImage value="images/header.png" alt="Embedded Jopr"/>
+ </h:outputLink>
+ <h:panelGroup styleClass="headerText">
+ #{messages['product.name']}
+ </h:panelGroup>
+ </h:panelGrid>
+ </div>
+ <div class="login">
+ <h:outputText rendered="#{not empty identity.username}">
+ #{messages['security.loggedIn']} #{identity.username}
+ [<s:link id="logoutLink" action="#{identity.logout}">#{messages['security.logout']}</s:link>]
+ </h:outputText>
+ <h:outputText rendered="#{empty identity.username}">
+ #{messages['security.NotLoggedIn']}
+ [<s:link action="/login.xhtml">#{messages['security.login']}</s:link>]
+ </h:outputText>
+ <ui:remove>
+ <!-- Disable the Help link until we actually have some online help to link to. -->
+ |
+ [<a href="#">#{messages['help.link']}</a>]
+ </ui:remove>
+ <h:outputText rendered="#{debug}">
+ |
+ [<s:link action="#{debugAction.dumpInventory()}">#{messages['debugAction.dumpInventory']}</s:link>]
+ |
+ [<s:link action="#{debugAction.runServerScan()}">#{messages['debugAction.runServerScan']}</s:link>]
+ |
+ [<s:link action="#{debugAction.runServiceScan()}">#{messages['debugAction.runServiceScan']}</s:link>]
+ |
+ [<s:link action="#{debugAction.testErrorPage()}">#{messages['debugAction.testErrorPage']}</s:link>]
+ </h:outputText>
+ </div>
+ </div>
+</ui:composition>
+</body>
+</html>
\ No newline at end of file
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/layout.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/layout.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/layout.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,152 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<!--
+ ~ Jopr Management Platform
+ ~ Copyright (C) 2005-2010 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU General Public License, version 2, as
+ ~ published by the Free Software Foundation, and/or the GNU Lesser
+ ~ General Public License, version 2.1, also as published by the Free
+ ~ Software Foundation.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ ~ GNU General Public License and the GNU Lesser General Public License
+ ~ for more details.
+ ~
+ ~ You should have received a copy of the GNU General Public License
+ ~ and the GNU Lesser General Public License along with this program;
+ ~ if not, write to the Free Software Foundation, Inc.,
+ ~ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ -->
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+<ui:remove>
+ <!-- Set the content type to "text/html" to ensure "application/xhtml+xml", which would put Firefox and
+ other Gecko-based browsers into XML mode (which requires pages to be well-formed XML), is not used.
+ We also specify the charset/encoding here, since we cannot specify it via the xml prolog, since
+ including an xml prolog causes IE6 to go into the undesirable "quirks mode".
+ (see https://jira.jboss.org/jira/browse/EMBJOPR-19) -->
+</ui:remove>
+<f:view contentType="text/html; charset=UTF-8">
+ <head>
+ <base href="#{baseUrl}"/>
+ <title>
+ <ui:insert name="title">#{messages['default.windowTitle']}</ui:insert>
+ </title>
+
+ <link href="css/console-style.css" rel="stylesheet" type="text/css"/>
+ <link href="css/form-style.css" rel="stylesheet" type="text/css"/>
+
+ <link rel="icon" type="image/png" href="images/favicon.png"/>
+ <link rel="apple-touch-icon" href="images/favicon.png"/>
+
+ <script type="text/javascript" src="js/embedded.js"></script>
+
+ <!--[if lt IE 7]>
+ <style type="text/css" media="screen">
+ /* let the IE expressions commence */
+ /* old ghost in the box for IEs 5.01 + 5.5 */
+ body
+ {
+ overflow-y: hidden;
+ margin: 0;
+ padding: 0;
+ }
+ #content
+ {
+ height: expression( document.body.clientHeight - (parseInt(document.body.currentStyle.fontSize) * 1.3333333 * (8 + 5) ) + 'px') ;
+ overflow: auto;
+ }
+ /* backslashes feed the new ghost in the box to IE6 */
+ h\tml
+ {
+ overflow: hidden;
+ }
+ h\tml body
+ {
+ height: 100%;
+ overflow: auto;
+ }
+ h\tml #content
+ {
+ padding: 16px; /* replace the em units for padding with something we can compute with in the expressions below */
+ overflow: auto;
+ height: expression((document.body.clientHeight - 2 * 31 - 49 + 1) + 'px'); /* 49 = header height, 31 = footer height, but why I have to substract it twice escapes me. 1 = so that it looks better.*/
+ width: expression((document.body.clientWidth - 300 - 2 * 16) + 'px'); /* 300 = width of the sidebar, 16 = padding */
+ }
+ #pageheader, #footer
+ {
+ width: expression(document.body.clientWidth + 'px');
+ }
+ #sidebar-left
+ {
+ height: expression((document.body.clientHeight - 31 - 49 + 2) + 'px'); /* 49 = header height, 31 = footer height, 2 = so it looks better. */
+ }
+ </style>
+ <![endif]-->
+ </head>
+ <body>
+ <div id="content">
+ <!--TODO: add if statement to determine if this warning should be displayed-->
+ <!-- Restart of server indicator -->
+ <!--<div id="RestartWarning">-->
+ <!--<h:graphicImage value="images/icoServerRestartWarning.gif"/>-->
+ <!--<span>Restart of server is required</span>-->
+ <!--( <a href="#">hide</a> | <a href="#">Learn more</a> )-->
+ <!--</div>-->
+ <!--breadcrumb-->
+ <div id="bread">
+ <ui:repeat var="node" value="#{navigationAction.getBreadCrumbs()}">
+ <ul>
+ <li>
+ <h:outputText value=" : "/>
+ <s:link view="/secure/summary.xhtml" propagation="end">
+ <f:param name="path" value="#{node.path}"/>
+ #{node.name} </s:link>
+ </li>
+ </ul>
+ </ui:repeat>
+ </div>
+ <!-- page titling -->
+ <h1>
+ <ui:insert name="pagetitle"/>
+ </h1>
+ <!--tab menu is optional-->
+ <ui:insert name="tabmenu"></ui:insert>
+ <ui:insert name="body">body goes here</ui:insert>
+ </div>
+ <ui:include src="resourceNavigation.xhtml"/>
+ <ui:include src="header.xhtml"/>
+ <ui:include src="footer.xhtml"/>
+
+ <!-- I'm giving up on proper CSS for IE. These poor hacks make the tab menu look nice in both IE6 and IE7 -->
+ <!-- This has to be present only *AFTER* all the content is defined, because the below CSS contains expressions
+ refering to the DOM objects defined above (like content). -->
+ <!--[if lt IE 8]>
+ <script type="text/javascript" language="javascript">
+ var scrollBarWidth = getScrollBarWidth();
+ </script>
+ <style type="text/css" media="screen">
+ h\tml #content
+ {
+ /* This definition is repeated from above so that it also applies for IE7 here, where we need this pixel-sized
+ padding so that we can compute the width of the tabmenu below. */
+ padding: 16px; /* replace the em units for padding with something we can compute with in the expressions below */
+ }
+ #tabmenu {
+ width: expression((document.body.clientWidth - 300 - 2 * 16 - (content.scrollHeight > content.clientHeight ? scrollBarWidth : 0)) + 'px'); /* 300 = width of sidebar, 16 content padding. */
+ }
+ </style>
+ <![endif]-->
+ </body>
+</f:view>
+</html>
+
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/resourceDataScroller.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/resourceDataScroller.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/resourceDataScroller.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:rich="http://richfaces.ajax4jsf.org/rich"
+ xmlns:a4j="https://ajax4jsf.dev.java.net/ajax">
+
+<body>
+
+<f:view>
+ Usage: The following parameters must be set in the calling page
+
+ paginationDataModel - Data model of the underlying table being controlled (used for total size)
+ paginationDataTableName - Name of the data table to be controlled
+ <ui:composition>
+
+ <ui:param name="paginationDataScrollerName" value="#{paginationDataTableName}Scroller"/>
+
+ <rich:spacer height="10px"/>
+ <rich:datascroller id="#{paginationDataScrollerName}" for="#{paginationDataTableName}"
+ align="right" renderIfSinglePage="false" fastStep="2"
+ stepControls="show" fastControls="hide" boundaryControls="show"
+ binding="#{datascrollerUI.datascroller}">
+ <f:facet name="controlsSeparator">
+ <h:outputText value="|"/>
+ </f:facet>
+ <f:facet name="first">
+ <h:outputText value="#{messages['component.dataPaginator.firstpage']}"
+ styleClass="rich-datascr-textlinks"/>
+ </f:facet>
+ <f:facet name="first_disabled">
+ <h:outputText value="#{messages['component.dataPaginator.firstpage']}"
+ styleClass="rich-datascr-textdisabled"/>
+ </f:facet>
+ <f:facet name="last">
+ <h:outputText value="#{messages['component.dataPaginator.lastpage']}"
+ styleClass="rich-datascr-textlinks"/>
+ </f:facet>
+ <f:facet name="last_disabled">
+ <h:outputText value="#{messages['component.dataPaginator.lastpage']}"
+ styleClass="rich-datascr-textdisabled"/>
+ </f:facet>
+ <f:facet name="next">
+ <h:panelGroup>
+ <h:graphicImage value="images/ArrowNextNorm.gif" style="padding: 0px 5px 0px 7px;"/>
+ <h:outputText id="nextPage" value="#{messages['component.dataPaginator.nextpage']}"
+ styleClass="rich-datascr-textlinks"/>
+ </h:panelGroup>
+ </f:facet>
+ <f:facet name="next_disabled">
+ <h:panelGroup>
+ <h:graphicImage value="images/ArrowNextDisa.gif" style="padding: 0px 5px 0px 7px; cursor:default;"/>
+ <h:outputText value="#{messages['component.dataPaginator.nextpage']}"
+ styleClass="rich-datascr-textdisabled"/>
+ </h:panelGroup>
+ </f:facet>
+ <f:facet name="previous">
+ <h:panelGroup>
+ <h:outputText value="#{messages['component.dataPaginator.previouspage']}"
+ styleClass="rich-datascr-textlinks"/>
+ <h:graphicImage value="images/ArrowPrevNorm.gif" style="padding: 0px 7px 0px 5px;"/>
+ </h:panelGroup>
+ </f:facet>
+ <f:facet name="previous_disabled">
+ <h:panelGroup>
+ <h:outputText value="#{messages['component.dataPaginator.previouspage']}"
+ styleClass="rich-datascr-textdisabled"/>
+ <h:graphicImage value="images/ArrowPrevDisa.gif" style="padding: 0px 7px 0px 5px; cursor:default;"/>
+ </h:panelGroup>
+ </f:facet>
+ <f:facet name="fastforward">
+ <h:outputText value="#{messages['component.dataPaginator.fastforward']}"
+ styleClass="rich-datascr-textlinks"/>
+ </f:facet>
+ <f:facet name="fastforward_disabled">
+ <h:outputText value="#{messages['component.dataPaginator.fastforward']}"
+ styleClass="rich-datascr-textdisabled"/>
+ </f:facet>
+ <f:facet name="fastrewind">
+ <h:outputText value="#{messages['component.dataPaginator.fastbackward']}"
+ styleClass="rich-datascr-textlinks"/>
+ </f:facet>
+ <f:facet name="fastrewind_disabled">
+ <h:outputText value="#{messages['component.dataPaginator.fastbackward']}"
+ styleClass="rich-datascr-textdisabled"/>
+ </f:facet>
+ </rich:datascroller>
+ <h:panelGroup layout="block" style=" margin-top: -4px; float: right; font-size:11px;">
+ <h:outputText id="paginationTotalItems"
+ style="margin-right: 1em;">#{messages['scroller.total']}#{paginationDataModel.size}</h:outputText>
+
+ <!-- Allow the user to configure the number of items per page
+ displayed in a data table. -->
+ <h:outputText style="margin-right: .2em;"
+ rendered="#{paginationDataModel.size > tableManager.minimumPageSize}">#{messages['scroller.itemsPerPage']}</h:outputText>
+ <h:selectOneListbox
+ style="margin-right: 1em; width: 3.5em; height: 1.8em; position: relative; top: -0.05em; left: 0.1em;"
+ id="currentPageSize" size="1"
+ value="#{tableManager.numRows}"
+ rendered="#{paginationDataModel.size > tableManager.minimumPageSize}">
+ <a4j:support event="onchange"
+ reRender="#{paginationDataTableName}, #{paginationDataScrollerName}"
+ action="#{datascrollerUI.resetDatascroller}"/>
+ <f:selectItems value="#{tableManager.pageSizes}"/>
+ </h:selectOneListbox>
+ </h:panelGroup>
+
+ <a4j:log rendered="false" popup="false" level="ALL" style="width: 800px; height: 400px;"/>
+
+ </ui:composition>
+
+</f:view>
+
+</body>
+</html>
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/resourceForm.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/resourceForm.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/resourceForm.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,79 @@
+<?xml version="1.0"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ >
+<head>
+ <title></title>
+</head>
+<body>
+<h:form>
+ <ui:composition>
+ <!-- TODO: ICE - this was an <ice:panelGroup> because an <h:panelGroup> renders a <span>, but we need a <div>
+ in order to achieve the correct look/feel-->
+ <h:panelGroup styleClass="alignright">
+ <h:outputText value="* #{messages['resource.view.requiredFields']}"/>
+ </h:panelGroup>
+ <h:panelGroup>
+ <br/>
+ <h:outputLabel value="#{messages['resource.template']}"/>
+ <br/>
+ <h:inputText value="#{configurationBean['resourceTypeName']}" disabled="true"/>
+ </h:panelGroup>
+ <hr/>
+
+ <!-- facet start -->
+ <f:facet name="beforeInvalidField">
+ <!-- TODO:ccrouch use a better image -->
+ <h:graphicImage value="images/swizzle_blue_open.gif"/>
+ </f:facet>
+
+ <!-- in order to get the aroundInvalidField to apply its style to
+the label and description, we have to wrap everything in UIDecorate (s:decorate)
+therefore anything that comes "afterInvalidField" will be right at
+the end and beyond where we want to display stuff -->
+ <!--<f:facet name="afterInvalidField">-->
+ <!--<h:graphicImage value="images/swizzle_blue_open.gif"/> -->
+ <!--</f:facet> -->
+
+ <!-- this only gets applied to the span rather than the parent td or tr
+so it doesn't render as we would like, it just changes the background
+of the text fields themselves, which looks odd -->
+ <!--<s:span styleClass="errorbkg"/>-->
+ <f:facet name="aroundInvalidField">
+ <s:span style="color:red"/>
+ </f:facet>
+ <!-- facet end -->
+
+ <!-- panel start -->
+ <h:panelGroup layout="block" binding="#{dynamicPanelGridTest}"/>
+ <!-- panel end -->
+
+ </ui:composition>
+</h:form>
+</body>
+</html>
\ No newline at end of file
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/resourceNavigation.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/resourceNavigation.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/resourceNavigation.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,126 @@
+<?xml version="1.0"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:rich="http://richfaces.ajax4jsf.org/rich"
+ >
+<head>
+ <title></title>
+</head>
+<body>
+<ui:composition>
+ <div id="sidebar-left">
+ <h:form id="navTreeForm" rendered="#{s:hasRole('JBossAdmin')}">
+
+ <rich:tree switchType="ajax"
+ id="navTree"
+ value="#{rootNode}"
+ var="item"
+ nodeFace="#{item.class.name}"
+ componentState="#{navigationAction.navigationState}"
+ iconCollapsed="/images/iconCollapsed.gif"
+ iconExpanded="/images/iconExpanded.gif"
+ iconLeaf="/images/iconLeafNorm.gif"
+ icon="/images/iconFolderNorm.gif"
+ adviseNodeOpened="#{navigationAction.openNodeAdvisor}"
+ changeExpandListener="#{navigationAction.changeExpandListener}"
+ style="width: 300px; margin-top: 9px">
+ <!-- NODE: resourceInstance summary home node -->
+ <rich:treeNode type="org.jboss.on.embedded.ui.nav.PlatformResourceTreeNode"
+ id="homeNode"
+ icon="/images/iconHome#{navigationAction.getAvailableStatus(item.resource).equals('UNKNOWN') ? 'Unkn' : navigationAction.getAvailableStatus(item.resource).equals('DOWN') ? 'Disa' : 'Norm'}.gif"
+ iconLeaf="/images/iconLeaf#{navigationAction.getAvailableStatus(item.resource).equals('UNKNOWN') ? 'Unkn' : navigationAction.getAvailableStatus(item.resource).equals('DOWN') ? 'Disa' : 'Norm'}.gif">
+ <!--a-->
+ <s:link view="/secure/summary.xhtml" propagation="end"
+ id="homeLink"
+ styleClass="#{navigationAction.getAvailableStatus(item.resource).equals('DOWN') ? 'rich-tree-node-unavailable' : ''} #{navigationAction.equalsSelectedNode(item) ? 'rich-tree-node-selected' : '' }">
+ #{item.name}
+ <!--
+ dont like this because it requires two calls to isAvailable
+ alt="# {navigationAction.isAvailable(item.getResource()) ? 'up' : 'down'}"/>
+ -->
+ <f:param name="path" value="#{item.path}"/>
+ </s:link>
+ </rich:treeNode>
+ <!-- NODE: resourceInstanceSummary node or leaf-->
+ <rich:treeNode type="org.jboss.on.embedded.ui.nav.ResourceTreeNode"
+ id="instanceNodeOrLeaf"
+ iconLeaf="/images/iconLeaf#{navigationAction.getAvailableStatus(item.resource).equals('UNKNOWN') ? 'Unkn' : navigationAction.getAvailableStatus(item.resource).equals('DOWN') ? 'Disa' : 'Norm'}.gif"
+ icon="/images/iconLeaf#{navigationAction.getAvailableStatus(item.resource).equals('UNKNOWN') ? 'Unkn' : navigationAction.getAvailableStatus(item.resource).equals('DOWN') ? 'Disa' : 'Norm'}.gif">
+ <!--b-->
+ <s:link view="/secure/summary.xhtml" propagation="end"
+ id="instanceNodeOrLeafLink"
+ styleClass="#{navigationAction.getAvailableStatus(item.resource).equals('DOWN') ? 'rich-tree-node-unavailable' : ''} #{navigationAction.equalsSelectedNode(item) ? 'rich-tree-node-selected' : '' }">
+ #{item.name}
+ <f:param name="path" value="#{item.path}"/>
+ </s:link>
+ </rich:treeNode>
+ <!-- NODE: resourceInstanceSummary leaf -->
+ <rich:treeNode type="org.jboss.on.embedded.ui.nav.SingletonResourceTypeTreeNode"
+ id="instanceLeaf"
+ iconLeaf="/images/iconLeaf#{navigationAction.getAvailableStatus(item.resource).equals('UNKNOWN') ? 'Unkn' : navigationAction.getAvailableStatus(item.resource).equals('DOWN') ? 'Disa' : 'Norm'}.gif"
+ icon="/images/iconLeaf#{navigationAction.getAvailableStatus(item.resource).equals('UNKNOWN') ? 'Unkn' : navigationAction.getAvailableStatus(item.resource).equals('DOWN') ? 'Disa' : 'Norm'}.gif">
+ <!--c-->
+ <s:link view="/secure/summary.xhtml" propagation="end"
+ id="instanceLeafLink"
+ styleClass="#{navigationAction.getAvailableStatus(item.resource).equals('DOWN') ? 'rich-tree-node-unavailable' : ''} #{navigationAction.equalsSelectedNode(item) ? 'rich-tree-node-selected' : '' }">
+ #{item.name}
+ <f:param name="path" value="#{item.path}"/>
+ </s:link>
+ </rich:treeNode>
+ <!-- NODE: resourceTypeSummary -->
+ <rich:treeNode type="org.jboss.on.embedded.ui.nav.NonSingletonResourceTypeTreeNode"
+ id="typeSummary"
+ iconLeaf="/images/iconFolderNorm.gif"
+ icon="/images/iconFolderNorm.gif">
+ <!--d-->
+ <s:link view="/secure/summary.xhtml" propagation="end"
+ id="typeSummaryLink"
+ styleClass="#{navigationAction.equalsSelectedNode(item) ? 'rich-tree-node-selected' : 'false_D'}">
+ #{item.name}
+ <f:param name="path" value="#{item.path}"/>
+ </s:link>
+ </rich:treeNode>
+ <!-- NODE: categorySummary or repeatNav -->
+ <rich:treeNode type="org.jboss.on.embedded.ui.nav.SubCategoryTreeNode"
+ id="categorySummary"
+ iconLeaf="/images/iconFolderNorm.gif"
+ icon="/images/iconFolderNorm.gif">
+ <!--e-->
+ <s:link view="/secure/summary.xhtml" propagation="end"
+ id="categorySummaryLink"
+ styleClass="#{navigationAction.equalsSelectedNode(item) ? 'rich-tree-node-selected' : 'false_E'}">
+ #{item.name}
+ <f:param name="path" value="#{item.path}"/>
+ </s:link>
+ </rich:treeNode>
+ </rich:tree>
+ </h:form>
+ </div>
+</ui:composition>
+</body>
+</html>
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/tabMenu.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/tabMenu.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/facelets/tabMenu.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,188 @@
+<?xml version="1.0"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ >
+
+<!-- USAGE:
+ <ui:include src="/WEB-INF/facelets/tabMenu.xhtml">
+ <ui:param name="activeTab" value="operation"/>
+ </ui:include>
+
+ valid 'activeTab' values are: summary, configuration, operation, metric and content
+-->
+
+<body>
+<ui:composition>
+ <!-- don't need to specify the 'path' param on these links because Seam will take care
+of adding it because its specified as a page param in pages.xml -->
+ <div id="tabmenu">
+ <ul>
+ <!-- ======================= SUMMARY TAB ======================== -->
+ <h:panelGroup layout="block">
+ <!-- ACTIVE panel (currently being viewed) -->
+ <h:panelGroup layout="block" rendered="#{activeTab eq 'summary'}">
+ <li>
+ <span id="summaryTab" class="active">#{messages['tab.menu.summary']}</span>
+ </li>
+ </h:panelGroup>
+ <!-- ENABLED panel (can be viewed) -->
+ <h:panelGroup layout="block" rendered="#{activeTab ne 'summary'}">
+ <li>
+ <s:link id="summaryTab" styleClass="" view="/secure/summary.xhtml" propagation="end">
+ #{messages['tab.menu.summary']}
+ </s:link>
+ </li>
+ </h:panelGroup>
+ </h:panelGroup>
+
+ <!-- ======================= CONFIGURATION TAB ======================== -->
+ <h:panelGroup layout="block">
+ <!-- ACTIVE panel (currently being viewed) -->
+ <h:panelGroup layout="block" rendered="#{activeTab eq 'configuration'}">
+ <li>
+ <span id="configurationTab" class="active">#{messages['tab.menu.configuration']}</span>
+ </li>
+ </h:panelGroup>
+ <!-- ENABLED panel (can be viewed) -->
+ <h:panelGroup layout="block"
+ rendered="#{activeTab ne 'configuration' and navigationAction.enabledTabs['configuration']}">
+ <li>
+ <s:link id="configurationTab" styleClass=""
+ action="#{resourceConfigurationUIBean.resourceConfiguration()}" propagation="end">
+ #{messages['tab.menu.configuration']}
+ </s:link>
+ </li>
+ </h:panelGroup>
+ <!-- DISABLED panel (can not be viewed) -->
+ <h:panelGroup layout="block" rendered="#{!navigationAction.enabledTabs['configuration']}">
+ <li>
+ <span id="configurationTab" class="disabled">#{messages['tab.menu.configuration']}</span>
+ </li>
+ </h:panelGroup>
+ </h:panelGroup>
+
+ <!-- ======================= METRICS TAB ======================== -->
+ <h:panelGroup layout="block">
+ <!-- ACTIVE panel (currently being viewed) -->
+ <h:panelGroup layout="block" rendered="#{activeTab eq 'metric'}">
+ <li>
+ <span id="metricsTab" class="active">#{messages['tab.menu.metrics']}</span>
+ </li>
+ </h:panelGroup>
+ <!-- ENABLED panel (can be viewed) -->
+ <h:panelGroup layout="block"
+ rendered="#{activeTab ne 'metric' and navigationAction.enabledTabs['metric']}">
+ <li>
+ <s:link id="metricsTab" styleClass="" view="/secure/resourceInstanceMetrics.xhtml"
+ propagation="end">
+ #{messages['tab.menu.metrics']}
+ </s:link>
+ </li>
+ </h:panelGroup>
+ <!-- DISABLED panel (can not be viewed) -->
+ <h:panelGroup layout="block" rendered="#{!navigationAction.enabledTabs['metric']}">
+ <li>
+ <span id="metricsTab" class="disabled">#{messages['tab.menu.metrics']}</span>
+ </li>
+ </h:panelGroup>
+ </h:panelGroup>
+
+ <!-- ======================= CONTROL TAB ======================== -->
+ <h:panelGroup layout="block">
+ <!-- ACTIVE panel (currently being viewed) -->
+ <h:panelGroup layout="block" rendered="#{activeTab eq 'operation'}">
+ <li>
+ <span id="controlTab" class="active">#{messages['tab.menu.control']}</span>
+ </li>
+ </h:panelGroup>
+ <!-- ENABLED panel (can be viewed) -->
+ <h:panelGroup layout="block"
+ rendered="#{activeTab ne 'operation' and navigationAction.enabledTabs['operation']}">
+ <li>
+ <s:link id="controlTab" styleClass="" view="/secure/resourceInstanceOperation.xhtml"
+ propagation="end">
+ #{messages['tab.menu.control']}
+ </s:link>
+ </li>
+ </h:panelGroup>
+ <!-- DISABLED panel (can not be viewed) -->
+ <h:panelGroup layout="block" rendered="#{!navigationAction.enabledTabs['operation']}">
+ <li>
+ <span id="controlTab" class="disabled">#{messages['tab.menu.control']}</span>
+ </li>
+ </h:panelGroup>
+ </h:panelGroup>
+
+ <!-- ======================= CONTENT TAB ======================== -->
+ <h:panelGroup layout="block">
+ <!-- ACTIVE panel (currently being viewed) -->
+ <h:panelGroup layout="block" rendered="#{activeTab eq 'content'}">
+ <li>
+ <span id="contentTab" class="active">#{messages['tab.menu.content']}</span>
+ </li>
+ </h:panelGroup>
+ <!-- ENABLED panel (can be viewed) -->
+ <h:panelGroup layout="block"
+ rendered="#{activeTab ne 'content' and navigationAction.enabledTabs['content']}">
+ <li>
+ <s:link id="contentTab" styleClass="" view="/secure/resourceInstanceContent.xhtml"
+ propagation="end">
+ #{messages['tab.menu.content']}
+ </s:link>
+ </li>
+ </h:panelGroup>
+ <!-- DISABLED panel (can not be viewed) -->
+ <h:panelGroup layout="block" rendered="#{!navigationAction.enabledTabs['content']}">
+ <li>
+ <span id="contentTab" class="disabled">#{messages['tab.menu.content']}</span>
+ </li>
+ </h:panelGroup>
+ </h:panelGroup>
+
+ </ul>
+ <div class="statusindicator">
+ <h:panelGroup rendered="#{navigationAction.availableStatus ne 'SUMMARY'}">
+ <strong>Status:</strong>
+ <h:panelGroup rendered="#{navigationAction.availableStatus eq 'UP'}">
+ <h:graphicImage value="images/iconStatusAvailable.gif"/>Available
+ </h:panelGroup>
+ <h:panelGroup rendered="#{navigationAction.availableStatus eq 'DOWN'}">
+ <h:graphicImage value="images/iconStatusUnavailable.gif"/>Unavailable
+ </h:panelGroup>
+ <h:panelGroup rendered="#{navigationAction.availableStatus eq 'UNKNOWN'}">
+ <h:graphicImage value="images/iconStatusUnknown.gif"/>Unknown
+ </h:panelGroup>
+ </h:panelGroup>
+ </div>
+
+ <div style="clear:both;"></div>
+ </div>
+</ui:composition>
+
+</body>
+</html>
\ No newline at end of file
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/faces-config.xml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/faces-config.xml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/faces-config.xml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
+
+ <converter>
+ <converter-id>jboss.TextareaMapConverter</converter-id>
+ <converter-class>org.jboss.on.embedded.TextareaMapConverter</converter-class>
+ </converter>
+ <converter>
+ <converter-id>jboss.OperationDefinitionConverter</converter-id>
+ <converter-class>org.jboss.on.embedded.converter.OperationDefinitionConverter</converter-class>
+ </converter>
+
+ <validator>
+ <validator-id>regexValidator</validator-id>
+ <validator-class>org.rhq.core.gui.validator.RegexValidator</validator-class>
+ <attribute>
+ <attribute-name>regex</attribute-name>
+ <attribute-class>java.lang.String</attribute-class>
+ </attribute>
+ </validator>
+
+ <application>
+ <!-- initial viewhandler: -->
+ <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
+
+ <!-- Customize JSF validation messages -->
+ <message-bundle>messages</message-bundle>
+
+ </application>
+
+ <!-- Phase listener needed for all Seam applications -->
+ <!--lifecycle>
+ <phase-listener>org.jboss.seam.jsf.SeamPhaseListener</phase-listener>
+ </lifecycle-->
+
+ <component>
+ <component-type>org.jboss.on.Config</component-type>
+ <component-class>org.rhq.core.gui.configuration.ConfigUIComponent</component-class>
+ </component>
+
+ <render-kit>
+ <renderer>
+ <description>renderer for a Config component</description>
+ <component-family>rhq</component-family>
+ <renderer-type>org.jboss.on.Config</renderer-type>
+ <renderer-class>org.rhq.core.gui.configuration.ConfigRenderer</renderer-class>
+ </renderer>
+ </render-kit>
+
+</faces-config>
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/jboss-web.xml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/jboss-web.xml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/jboss-web.xml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE jboss-web PUBLIC
+ "-//JBoss//DTD Web Application 5.0//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd">
+
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<jboss-web>
+
+ <class-loading>
+ <loader-repository>
+ org.jboss.on:loader=embedded
+ <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
+ </loader-repository>
+ </class-loading>
+
+ <security-domain>java:/jaas/jmx-console</security-domain>
+
+ <context-root>admin-console</context-root>
+
+</jboss-web>
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/navigation.xml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/navigation.xml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/navigation.xml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,133 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE faces-config
+ PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
+ "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
+<faces-config>
+ <navigation-rule>
+ <!--<navigation-case>
+ <from-outcome>gotoCreateAction</from-outcome>
+ <to-view-id>/secure/resourceCreatePage1.xhtml</to-view-id>
+ <redirect/>
+ </navigation-case>-->
+ <!--<navigation-case>-->
+ <!--<from-action>#{summaryAction.view}</from-action>-->
+ <!--<from-outcome>repeatNav</from-outcome>-->
+ <!--<to-view-id>/repeatNav.xhtml</to-view-id>-->
+ <!--</navigation-case>-->
+ <!--<navigation-case>-->
+ <!--<from-action>#{summaryAction.view2}</from-action>-->
+ <!--<from-outcome>table</from-outcome>-->
+ <!--<to-view-id>/categorySummary.xhtml</to-view-id>-->
+ <!--</navigation-case>-->
+ <!--<navigation-case>-->
+ <!--<from-action>#{summaryAction.view}</from-action>-->
+ <!--<from-outcome>root</from-outcome>-->
+ <!--<to-view-id>/rootSummary.xhtml</to-view-id>-->
+ <!--</navigation-case>-->
+ <!--<navigation-case>-->
+ <!--<from-action>#{summaryAction.view}</from-action>-->
+ <!--<from-outcome>resourceSummary</from-outcome>-->
+ <!--<to-view-id>/resourceTypeSummary.xhtml</to-view-id>-->
+ <!--</navigation-case>-->
+ <!--<navigation-case>-->
+ <!--<from-action>#{summaryAction.view}</from-action>-->
+ <!--<from-outcome>resourceSingle</from-outcome>-->
+ <!--<to-view-id>/resourceSingleSummary.xhtml</to-view-id>-->
+ <!--</navigation-case>-->
+ <!--<navigation-case>-->
+ <!--<from-action>#{summaryAction.view2}</from-action>-->
+ <!--<from-outcome>resourceInstance</from-outcome>-->
+ <!--<to-view-id>/resourceInstanceSummary.xhtml</to-view-id>-->
+ <!--</navigation-case>-->
+ <!--<navigation-case>-->
+ <!--<from-action>#{resourceCRUDAction.getTemplateDropDownEntries()}</from-action>-->
+ <!--<from-outcome>selectTemplate</from-outcome>-->
+ <!--<to-view-id>/secure/resourceCreatePage1.xhtml</to-view-id>-->
+ <!-- dont make this a redirect to try to maintain event based selectedTemplate variable -->
+ <!--<redirect/>-->
+ <!--</navigation-case>-->
+ <!--<navigation-case>-->
+ <!--<from-action>#{resourceCRUDAction.selectTemplateByResourceType()}</from-action>-->
+ <!--<from-outcome>selectTemplate</from-outcome>-->
+ <!--<to-view-id>/secure/resourceCreatePage1.xhtml</to-view-id>-->
+ <!-- dont make this a redirect to try to maintain event based selectedTemplate variable -->
+ <!--<redirect/>-->
+ <!--</navigation-case>-->
+ <!--<navigation-case>
+ <from-action>#{resourceCRUDAction.populateFromTemplate}</from-action>
+ <from-outcome>createResource</from-outcome>
+ <to-view-id>/secure/resourceCreatePage2.xhtml</to-view-id>
+ <redirect/>
+ </navigation-case>-->
+ <!--<navigation-case>-->
+ <!--<from-action>#{resourceCRUDAction.createResourceAction}</from-action>-->
+ <!--<from-outcome>success</from-outcome>-->
+ <!--<to-view-id>/resourceList.xhtml</to-view-id>-->
+ <!--<redirect/>-->
+ <!--</navigation-case>-->
+ <!--<navigation-case>-->
+ <!--<from-action>#{resourceCRUDAction.createResourceAction}</from-action>-->
+ <!--<from-outcome>failure</from-outcome>-->
+ <!--<to-view-id>/dataSourceCreatePage2.xhtml</to-view-id>-->
+ <!--<redirect/>-->
+ <!--</navigation-case>-->
+ <!--<navigation-case>-->
+ <!--<from-action>#{resourceAction.cancelResourceAction}</from-action>-->
+ <!--<from-outcome>cancel</from-outcome>-->
+ <!--<to-view-id>/resourceList.xhtml</to-view-id>-->
+ <!--<redirect/>-->
+ <!--</navigation-case>-->
+ <!--<navigation-case>-->
+ <!--<from-action>#{resourceCRUDAction.removeResourceAction(resourceItem.resource)}</from-action>-->
+ <!--<from-outcome>success</from-outcome>-->
+ <!--<to-view-id>/resourceList.xhtml</to-view-id>-->
+ <!--<redirect/>-->
+ <!--</navigation-case>-->
+ <!-- TODO test what happens if remove fails -->
+ <!--<navigation-case>-->
+ <!--<from-action>#{resourceCRUDAction.viewResourceAction(resourceItem.resource)}</from-action>-->
+ <!--<from-outcome>success</from-outcome>-->
+ <!--<to-view-id>/resourceInstanceConfig.xhtml</to-view-id>-->
+ <!--<redirect/>-->
+ <!--</navigation-case>-->
+ <!-- TODO test what happens if view fails -->
+ <!--<navigation-case>-->
+ <!--<from-action>#{resourceCRUDAction.updateResourceAction}</from-action>-->
+ <!--<from-outcome>failure</from-outcome>-->
+ <!--<to-view-id>/resourceInstanceConfig.xhtml</to-view-id>-->
+ <!--<redirect/>-->
+ <!--</navigation-case>-->
+ <!--<navigation-case>-->
+ <!--<from-action>#{resourceCRUDAction.updateResourceAction}</from-action>-->
+ <!--<from-outcome>success</from-outcome>-->
+ <!--<to-view-id>/resourceList.xhtml</to-view-id>-->
+ <!--<redirect/>-->
+ <!--</navigation-case>-->
+ <!--<navigation-case>-->
+ <!--<from-action>#{metricAction.view}</from-action>-->
+ <!--<from-outcome>success</from-outcome>-->
+ <!--<to-view-id>/resourceInstanceMetrics.xhtml</to-view-id>-->
+ <!--</navigation-case>-->
+
+ </navigation-rule>
+
+</faces-config>
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/on.component.taglib.xml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/on.component.taglib.xml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/on.component.taglib.xml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE facelet-taglib PUBLIC
+ "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
+ "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
+
+<facelet-taglib>
+
+ <namespace>http://jboss.org/on/component</namespace>
+
+ <tag>
+ <tag-name>config</tag-name>
+ <component>
+ <component-type>org.jboss.on.Config</component-type>
+ <renderer-type>org.jboss.on.Config</renderer-type>
+ </component>
+ </tag>
+
+</facelet-taglib>
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/pages.xml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/pages.xml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/pages.xml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,215 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<pages xmlns="http://jboss.com/products/seam/pages"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd"
+ login-view-id="/login.xhtml"
+ no-conversation-view-id="/index.xhtml">
+
+ <!-- TODO: we can add these attributes to the pages element above:-->
+ <!--no-conversation-view-id="/main.xhtml"-->
+ <!--login-view-id="/home.xhtml"-->
+
+ <!-- Fix for JBMANCON-353 -->
+ <page view-id="/login.xhtml">
+ <navigation>
+ <rule if="#{s:hasRole('JBossAdmin')}">
+ <redirect view-id="/secure/summary.xhtml"/>
+ </rule>
+ </navigation>
+ </page>
+
+ <page view-id="/secure/*" login-required="true">
+ <restrict>#{s:hasRole('JBossAdmin')}</restrict>
+ </page>
+
+ <!-- summary.xhtml is a placeholder view-id, the page doesn't actually
+ exist. Instead the navigation rules below determine which actual page is rendered-->
+ <page view-id="/secure/summary.xhtml">
+ <!-- map the path request parameter to a session scoped variable -->
+ <param name="path" value="#{navigationAction.currentPath}"/>
+
+ <!-- run this method before rendering the page-->
+ <action execute="#{summaryAction.view()}"/>
+
+ <navigation from-action="#{summaryAction.view()}">
+ <rule if-outcome="repeatNav">
+ <render view-id="/secure/repeatNav.xhtml"/>
+ </rule>
+ <rule if-outcome="subCategory">
+ <render view-id="/secure/categorySummary.xhtml"/>
+ </rule>
+ <rule if-outcome="root">
+ <render view-id="/secure/rootSummary.xhtml"/>
+ </rule>
+ <rule if-outcome="resourceSummary">
+ <render view-id="/secure/resourceTypeSummary.xhtml"/>
+ </rule>
+ <rule if-outcome="resourceInstance">
+ <render view-id="/secure/resourceInstanceSummary.xhtml"/>
+ </rule>
+ <rule if-outcome="error">
+ <redirect view-id="/secure/summary.xhtml"/>
+ </rule>
+ </navigation>
+ </page>
+
+ <page view-id="/secure/resourceTypeSummary.xhtml">
+ <navigation from-action="#{createContentBackedResourceAction.init()}">
+ <rule if-outcome="success">
+ <redirect view-id="/secure/resourceContentCreate.xhtml"/>
+ </rule>
+ </navigation>
+ </page>
+
+ <page view-id="/secure/resourceContentCreate.xhtml">
+ <navigation>
+ <rule if-outcome="success">
+ <redirect view-id="/secure/summary.xhtml"/>
+ </rule>
+ <rule if-outcome="failure">
+ <render view-id="/secure/resourceContentCreate.xhtml"/>
+ </rule>
+ </navigation>
+ </page>
+
+ <page view-id="/secure/resourceInstanceConfig.xhtml">
+
+ <!--Do NOT try and put parenthesis in the add/edit/open map pages from action because the
+action on the form does not have a parenthesis and would not find its match
+in the map of navigation that Seam is holding for navigation-->
+ <navigation from-action="#{ConfigHelperUIBean.accessMap}">
+ <render view-id="/secure/editMap.xhtml"/>
+ </navigation>
+
+ <navigation from-action="#{ConfigHelperUIBean.addNewMap}">
+ <render view-id="/secure/addMap.xhtml"/>
+ </navigation>
+
+ <navigation from-action="#{ConfigHelperUIBean.addNewOpenMapMemberProperty}">
+ <render view-id="/secure/addSimple.xhtml"/>
+ </navigation>
+
+ <navigation from-action="#{resourceConfigurationUIBean.saveConfiguration()}">
+ <rule if-outcome="success">
+ <!-- after a successful update operation go back to the summary page
+ Seam takes care of submitting the path param -->
+ <redirect view-id="/secure/summary.xhtml"/>
+ </rule>
+ <rule if-outcome="failure">
+ <render view-id="/secure/resourceInstanceConfig.xhtml"/>
+ </rule>
+ </navigation>
+ </page>
+
+ <page view-id="/secure/editMap.xhtml">
+ <navigation from-action="#{resourceConfigurationUIBean.editMap()}">
+ <render view-id="/secure/resourceInstanceConfig.xhtml"/>
+ </navigation>
+ </page>
+
+ <page view-id="/secure/addMap.xhtml">
+ <navigation from-action="#{resourceConfigurationUIBean.addMap()}">
+ <render view-id="/secure/resourceInstanceConfig.xhtml"/>
+ </navigation>
+ </page>
+
+ <page view-id="/secure/addSimple.xhtml">
+ <navigation from-action="#{addNewOpenMap.addProperty()}">
+ <render view-id="/secure/resourceInstanceConfig.xhtml"/>
+ </navigation>
+ </page>
+
+ <page view-id="/secure/resourceInstanceOperation.xhtml">
+ <param name="path" value="#{navigationAction.currentPath}"/>
+
+ <!-- Run this method before rendering the page. -->
+ <action execute="#{operationAction.initOperationsAndHistory()}"/>
+
+ <navigation from-action="#{ConfigHelperUIBean.accessMap}">
+ <render view-id="/secure/viewResultsMap.xhtml"/>
+ </navigation>
+
+ <navigation from-action="#{operationAction.invokeOperation()}">
+ <rule if-outcome="missingParams">
+ <render view-id="/secure/operationParameters.xhtml"/>
+ </rule>
+ <rule if-outcome="success">
+ <redirect view-id="/secure/resourceInstanceOperation.xhtml"/>
+ </rule>
+ </navigation>
+ </page>
+
+ <page view-id="/secure/operationParameters.xhtml">
+ <param name="path" value="#{navigationAction.currentPath}"/>
+
+ <navigation from-action="#{operationAction.invokeOperation()}">
+ <redirect view-id="/secure/resourceInstanceOperation.xhtml"/>
+ </navigation>
+ </page>
+
+ <page view-id="/secure/resourceInstanceMetrics.xhtml">
+ <param name="path" value="#{navigationAction.currentPath}"/>
+
+ <!-- run this method before rendering the page-->
+ <action execute="#{metricAction.view()}"/>
+
+ <navigation from-action="#{metricAction.view()}">
+ <render view-id="/secure/resourceInstanceMetrics.xhtml"/>
+ </navigation>
+ </page>
+
+ <page view-id="/secure/resourceInstanceContent.xhtml">
+ <!-- Run this method before rendering the page. -->
+ <action execute="#{updateBackingContentAction.init()}"/>
+ </page>
+
+ <page view-id="*">
+ <action execute="#{debugAction.init()}"/>
+ <action execute="#{discoveryAction.checkAutodiscovery()}"/>
+
+ <!-- This is done to ensure that the login screen after logging out has a Conversation. -->
+ <navigation from-action="#{identity.logout}">
+ <redirect view-id="/index.xhtml"/>
+ </navigation>
+
+ <navigation from-action="#{resourceCRUDAction.removeResourceAction()}">
+ <redirect view-id="/secure/summary.xhtml"/>
+ </navigation>
+
+ <navigation from-action="#{templateDropDownPopulator.getTemplateDropDownEntriesByResourceType()}">
+ <render view-id="/secure/resourceCreatePage1.xhtml"/>
+ </navigation>
+
+ <navigation from-action="#{templateDropDownPopulator.getTemplateDropDownEntriesBySubCategory()}">
+ <render view-id="/secure/resourceCreatePage1.xhtml"/>
+ </navigation>
+
+ <navigation from-action="#{resourceConfigurationUIBean.resourceConfiguration()}">
+ <render view-id="/secure/resourceInstanceConfig.xhtml"/>
+ </navigation>
+
+ <navigation from-action="#{templateDropDownPopulator.populateFromTemplate()}">
+ <render view-id="/secure/resourceInstanceConfig.xhtml"/>
+ </navigation>
+ </page>
+
+</pages>
Added: branches/JBPAPP_5_1_jopr/jopr/WEB-INF/web.xml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/WEB-INF/web.xml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/WEB-INF/web.xml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2010 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+
+ <!--
+ This special version of web.xml allows Embedded Jopr to use MyFaces instead of
+ the built-in Mojarra JSF implementaiton.
+ -->
+<web-app version="2.5"
+ xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+
+ <!-- RichFaces -->
+
+ <!-- From Seam docs: If RichFaces is used in your project, Seam will install
+ the RichFaces Ajax filter for you, making sure to install it before all
+ other built-in filters. You don't need to install the RichFaces Ajax
+ filter in web.xml yourself. -->
+
+ <context-param>
+ <param-name>org.richfaces.SKIN</param-name>
+ <param-value>jboss-console</param-value>
+ </context-param>
+
+ <!-- Seam (lazy loaded)-->
+ <context-param>
+ <param-name>org.jboss.on.embedded.LazyStartupListener</param-name>
+ <param-value>org.jboss.seam.servlet.SeamListener</param-value>
+ </context-param>
+ <listener>
+ <listener-class>org.jboss.on.embedded.LazyStartupListener</listener-class>
+ </listener>
+
+ <!-- From Seam docs: The Seam master filter must be the first filter specified
+ in web.xml. This ensures it is run first. -->
+ <filter>
+ <filter-name>Seam Filter</filter-name>
+ <!-- Lazily start up the Seam Filter -->
+ <filter-class>org.jboss.on.embedded.LazyStartupFilter</filter-class>
+ <init-param>
+ <param-name>org.jboss.on.embedded.LazyStartupFilter</param-name>
+ <param-value>org.jboss.seam.servlet.SeamFilter</param-value>
+ </init-param>
+ </filter>
+ <filter-mapping>
+ <filter-name>Seam Filter</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+
+ <!-- JSF -->
+
+ <servlet>
+ <servlet-name>Faces Servlet</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>*.seam</url-pattern>
+ </servlet-mapping>
+
+ <context-param>
+ <param-name>javax.faces.CONFIG_FILES</param-name>
+ <param-value>/WEB-INF/navigation.xml</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+ <param-value>server</param-value>
+ </context-param>
+
+ <context-param>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.xhtml</param-value>
+ </context-param>
+
+ <!-- Facelets -->
+
+ <!-- load our Facelets taglibs (value must be semicolon-delimited) -->
+ <context-param>
+ <param-name>facelets.LIBRARIES</param-name>
+ <param-value>/WEB-INF/on.component.taglib.xml</param-value>
+ </context-param>
+
+ <!-- enable special debug output for development -->
+ <context-param>
+ <param-name>facelets.DEVELOPMENT</param-name>
+ <param-value>true</param-value>
+ </context-param>
+
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ <realm-name>JBoss embedded Console</realm-name>
+ </login-config>
+ <security-role>
+ <role-name>JBossAdmin</role-name>
+ </security-role>
+
+</web-app>
Added: branches/JBPAPP_5_1_jopr/jopr/build.bat
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/build.bat (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/build.bat 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,89 @@
+ at echo off
+REM ======================================================================
+REM
+REM This is the main entry point for the build system.
+REM
+REM Users should be sure to execute this file rather than 'ant' to ensure
+REM the correct version is being used with the correct configuration.
+REM
+REM ======================================================================
+REM
+REM $Id: build.bat 24242 2004-10-04 20:13:37Z andd $
+REM
+REM Authors:
+REM Jason Dillon <jason at planet57.com>
+REM Sacha Labourey <sacha.labourey at cogito-info.ch>
+REM
+
+REM ******************************************************
+REM Ignore the ANT_HOME variable: we want to use *our*
+REM ANT version and associated JARs.
+REM ******************************************************
+REM Ignore the users classpath, cause it might mess
+REM things up
+REM ******************************************************
+
+SETLOCAL
+
+set CLASSPATH=
+set ANT_HOME=
+set ANT_OPTS=-Djava.protocol.handler.pkgs=org.jboss.net.protocol -Dbuild.script=build.bat
+
+REM ******************************************************
+REM - "for" loops have been unrolled for compatibility
+REM with some WIN32 systems.
+REM ******************************************************
+
+set NAMES=tools;tools\ant;tools\apache\ant
+set SUBFOLDERS=..;..\..;..\..\..;..\..\..\..
+
+REM ******************************************************
+REM ******************************************************
+
+SET EXECUTED=FALSE
+for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6
+
+goto :EOF
+
+
+REM ******************************************************
+REM ********* Search for names in the subfolders *********
+REM ******************************************************
+
+:subLoop
+for %%j in (%SUBFOLDERS%) do call :testIfExists %%j\%1\bin\ant.bat %2 %3 %4 %5 %6 %7
+
+goto :EOF
+
+
+REM ******************************************************
+REM ************ Test if ANT Batch file exists ***********
+REM ******************************************************
+
+:testIfExists
+if exist %1 call :BatchFound %1 %2 %3 %4 %5 %6 %7 %8
+
+goto :EOF
+
+
+REM ******************************************************
+REM ************** Batch file has been found *************
+REM ******************************************************
+
+:BatchFound
+if (%EXECUTED%)==(FALSE) call :ExecuteBatch %1 %2 %3 %4 %5 %6 %7 %8
+set EXECUTED=TRUE
+
+goto :EOF
+
+REM ******************************************************
+REM ************* Execute Batch file only once ***********
+REM ******************************************************
+
+:ExecuteBatch
+echo Calling %1 %2 %3 %4 %5 %6 %7 %8
+call %1 %2 %3 %4 %5 %6 %7 %8
+
+:end
+
+if "%NOPAUSE%" == "" pause
Property changes on: branches/JBPAPP_5_1_jopr/jopr/build.bat
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/JBPAPP_5_1_jopr/jopr/build.sh
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/build.sh (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/build.sh 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,179 @@
+#!/bin/sh
+### ====================================================================== ###
+## ##
+## This is the main entry point for the build system. ##
+## ##
+## Users should be sure to execute this file rather than 'ant' to ensure ##
+## the correct version is being used with the correct configuration. ##
+## ##
+### ====================================================================== ###
+
+# $Id: build.sh 75356 2008-07-03 21:14:19Z dimitris at jboss.org $
+
+PROGNAME=`basename $0`
+DIRNAME=`dirname $0`
+GREP="grep"
+ROOT="/"
+
+# Ignore user's ANT_HOME if it is set
+ANT_HOME=""
+
+# the default search path for ant
+ANT_SEARCH_PATH="\
+ tools
+ tools/ant \
+ tools/apache/ant \
+ ant"
+
+# the default build file name
+ANT_BUILD_FILE="build.xml"
+
+# the default arguments
+ANT_OPTIONS="--noconfig -find $ANT_BUILD_FILE"
+
+# Use the maximum available, or set MAX_FD != -1 to use that
+MAX_FD="maximum"
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false;
+darwin=false;
+case "`uname`" in
+ CYGWIN*)
+ cygwin=true
+ ;;
+
+ Darwin*)
+ darwin=true
+ ;;
+esac
+
+#
+# Helper to complain.
+#
+die() {
+ echo "${PROGNAME}: $*"
+ exit 1
+}
+
+#
+# Helper to complain.
+#
+warn() {
+ echo "${PROGNAME}: $*"
+}
+
+#
+# Helper to source a file if it exists.
+#
+maybe_source() {
+ for file in $*; do
+ if [ -f "$file" ]; then
+ . $file
+ fi
+ done
+}
+
+search() {
+ search="$*"
+ for d in $search; do
+ ANT_HOME="`pwd`/$d"
+ ANT="$ANT_HOME/bin/ant"
+ if [ -x "$ANT" ]; then
+ # found one
+ echo $ANT_HOME
+ break
+ fi
+ done
+}
+
+#
+# Main function.
+#
+main() {
+ # if there is a build config file. then source it
+ maybe_source "$DIRNAME/build.conf" "$HOME/.build.conf"
+
+ # Increase the maximum file descriptors if we can
+ if [ $cygwin = "false" ]; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ]; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ]; then
+ # use the system max
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ]; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query system maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+ fi
+
+ # try the search path
+ ANT_HOME=`search $ANT_SEARCH_PATH`
+
+ # try looking up to root
+ if [ "x$ANT_HOME" = "x" ]; then
+ target="build"
+ _cwd=`pwd`
+
+ while [ "x$ANT_HOME" = "x" ] && [ "$cwd" != "$ROOT" ]; do
+ cd ..
+ cwd=`pwd`
+ ANT_HOME=`search $ANT_SEARCH_PATH`
+ done
+
+ # make sure we get back
+ cd $_cwd
+
+ if [ "$cwd" != "$ROOT" ]; then
+ found="true"
+ fi
+
+ # complain if we did not find anything
+ if [ "$found" != "true" ]; then
+ die "Could not locate Ant; check \$ANT or \$ANT_HOME."
+ fi
+ fi
+
+ # make sure we have one
+ ANT=$ANT_HOME/bin/ant
+ if [ ! -x "$ANT" ]; then
+ die "Ant file is not executable: $ANT"
+ fi
+
+ # need to specify planet57/buildmagic protocol handler package
+ ANT_OPTS="-Djava.protocol.handler.pkgs=org.jboss.net.protocol"
+
+ # setup some build properties
+ ANT_OPTS="$ANT_OPTS -Dbuild.script=$0"
+
+ # add some more memory
+ ANT_OPTS="$ANT_OPTS -Xmx512m"
+
+ # prevent default config beeing used
+ ANT_OPTIONS="--noconfig $ANT_OPTIONS"
+
+ # change to the directory where the script lives so users are not forced
+ # to be in the same directory as build.xml
+ cd $DIRNAME
+
+ # export some stuff for ant
+ export ANT ANT_HOME ANT_OPTS
+
+ # execute in debug mode, or simply execute
+ if [ "x$ANT_DEBUG" != "x" ]; then
+ /bin/sh -x $ANT $ANT_OPTIONS "$@"
+ else
+ exec $ANT $ANT_OPTIONS "$@"
+ fi
+}
+
+##
+## Bootstrap
+##
+
+main "$@"
+
Property changes on: branches/JBPAPP_5_1_jopr/jopr/build.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/JBPAPP_5_1_jopr/jopr/build.xml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/build.xml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/build.xml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE project [
+ <!ENTITY buildmagic SYSTEM "../tools/etc/buildmagic/buildmagic.ent">
+ <!ENTITY libraries SYSTEM "../thirdparty/libraries.ent">
+ <!ENTITY modules SYSTEM "../tools/etc/buildmagic/modules.ent">
+ <!ENTITY targets SYSTEM "../tools/etc/buildmagic/targets.ent">
+]>
+
+<!-- ====================================================================== -->
+<!-- -->
+<!-- JBoss, the OpenSource J2EE webOS -->
+<!-- -->
+<!-- Distributable under LGPL license. -->
+<!-- See terms of license at http://www.gnu.org. -->
+<!-- -->
+<!-- ====================================================================== -->
+
+<project default="main" name="Embedded Jopr Console Integration">
+
+ <!-- ================================================================== -->
+ <!-- Setup -->
+ <!-- ================================================================== -->
+
+ <!--
+ | Include the common Buildmagic elements.
+ |
+ | This defines several different targets, properties and paths.
+ | It also sets up the basic extention tasks amoung other things.
+ -->
+
+ <property name="javac.target" value="1.5"/>
+ <property name="javac.source" value="1.5"/>
+
+ &buildmagic;
+
+ <!--
+ | Include the normal targets.
+ -->
+ &targets;
+
+ <!-- ================================================================== -->
+ <!-- Configuration -->
+ <!-- ================================================================== -->
+
+ <!--
+ | Configure the build system.
+ |
+ | This target is invoked by the Buildmagic initialization logic and
+ | should contain module specific configuration elements.
+ -->
+
+ <target name="configure" unless="configure.disable">
+
+ <!-- =================== -->
+ <!-- Basic Configuration -->
+ <!-- =================== -->
+ <property name="module.name" value="jopr"/>
+ <property name="module.Name" value="Embedded Jopr Console Integration"/>
+
+ <!-- The combined thirdparty classpath -->
+ <path id="thirdparty.classpath">
+ <path refid="library.classpath"/>
+ <path refid="dependentmodule.classpath"/>
+ </path>
+
+ <!-- classpath and local.classpath must have a value using with a path -->
+ <property name="classpath" value=""/>
+ <property name="local.classpath" value=""/>
+
+ <!-- The classpath required to build classes. -->
+ <path id="javac.classpath">
+ <pathelement path="${classpath}"/>
+ <pathelement path="${local.classpath}"/>
+ <path refid="thirdparty.classpath"/>
+ </path>
+
+ <!-- ========= -->
+ <!-- Libraries -->
+ <!-- ========= -->
+ &libraries;
+
+ <!-- The combined library classpath -->
+ <path id="library.classpath">
+ </path>
+
+ <!-- ======= -->
+ <!-- Modules -->
+ <!-- ======= -->
+ &modules;
+
+ <!-- Specify modules upon which this build depends -->
+ <path id="dependentmodule.classpath">
+ </path>
+ <!-- ======= -->
+ <!-- Modules -->
+ <!-- ======= -->
+ &modules;
+ <call target="_default:task-init"/>
+ </target>
+
+ <!-- ================================================================== -->
+ <!-- Compile -->
+ <!-- ================================================================== -->
+
+ <!--
+ | Compile everything.
+ |
+ | This target should depend on other compile-* targets for each
+ | different type of compile that needs to be performed, short of
+ | documentation compiles.
+ -->
+ <target name="compile"
+ description="Nothing to compile."/>
+
+
+ <!-- ================================================================== -->
+ <!-- Archives -->
+ <!-- ================================================================== -->
+ <target name="module-jars"
+ description="All JARs are third-party dependencies.">
+ </target>
+
+</project>
Added: branches/JBPAPP_5_1_jopr/jopr/css/console-style.css
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/css/console-style.css (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/css/console-style.css 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,810 @@
+/*
+ * Embedded Jopr Project
+ * Copyright (C) 2006-2009 Red Hat, Inc.
+ * All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+/* ----- JBoss Application Server Console --------------- */
+
+html {
+ margin: 0;
+ padding: 0;
+ overflow: auto;
+}
+
+body {
+ margin: 0;
+ padding: 0;
+ font-family: "Lucida Grand", Verdana, Arial, Helvetica, sans-serif;
+ color: #454545;
+}
+
+/* ----------- MAIN LAYOUT COMPONENTS ------------ */
+
+#pageheader {
+ /*
+ background-image: url( ../images/hdr_bkg.gif );
+ background-repeat: repeat-x;
+ */
+ background-color: #2A3B4E;
+ /*
+ height: 4em;
+ */
+ height: 49px;
+ color: #dddddd;
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+}
+
+#pageheader a {
+ color: #dddddd
+}
+
+#pageheader .login {
+ padding-top: 5px;
+ margin-right: 20px;
+ text-align: right;
+ font-size: 11px;
+ line-height: 160%;
+}
+
+#content {
+ position: absolute;
+ top: 46px;
+ left: 300px;
+ right: 0;
+ bottom: 31px;
+ overflow: auto;
+ padding: 1em;
+ background: #FFFFFF;
+}
+
+#sidebar-left {
+ position: absolute;
+ top: 46px;
+ bottom: 31px; /* Operas 5 + 6 shouldn't see this property */
+ left: 0;
+ width: 300px;
+ overflow: auto;
+ background: #eff2f4;
+ border-right: 1px solid #dee6ee;
+}
+
+#footer {
+ position: absolute; /* Operas 5 + 6, need this to be relative */
+ bottom: 0;
+ left: 0;
+ width: 100%;
+ height: 31px;
+ color: #dbe7ee;
+ font-size: 9px;
+ text-align: center;
+ background: #35485d;
+}
+
+/*\*/
+body>#pageheader, body>#sidebar-left, body>#footer {
+ position: fixed;
+}
+
+/* Exclude Mac IE5 from fixed - exclude for Opera 5 + 6 if needed */
+/* ]]> */
+
+/* ------- Common Elements ---------- */
+
+p + p {
+ /* Only set a top margin on paragraphs that follow other paragraphs
+ (i.e. it will not set the margin of the first paragraph on the page,
+ or the first paragraph in a section). */
+ margin-top: 0.5em;
+}
+
+a {
+ color: #527fa8;
+}
+
+hr {
+ border-top: 1px solid #a4b2b9;
+ border-right: 0px solid #a4b2b9;
+ border-left: 0px solid #a4b2b9;
+ border-bottom: 0px solid #a4b2b9;
+ margin-bottom: 3px;
+}
+
+img {
+ border: 0px;
+}
+
+h1 {
+ font-size: 1.25em;
+ font-weight: bold;
+ color: #50667c;
+}
+
+h2 {
+ font-size: 1.2em;
+ font-weight: bold;
+ color: #32444d; /* border-bottom: 1px solid #e6eaef; */
+}
+
+h3 {
+ font-size: 1.15em;
+ font-weight: bold;
+ color: #32444d; /* border-bottom: 1px solid #e6eaef; */
+}
+
+h4 {
+ font-size: 1.1em;
+ font-weight: bold;
+}
+
+h5 {
+ font-size: 1.05em;
+ font-weight: bold;
+}
+
+h6 {
+ font-size: 1em;
+ font-weight: bold;
+}
+
+/* -------------------- this is the content container ----------------------------- */
+
+.headerText {
+ font-size: 24px;
+ font-weight: normal;
+ color: #DDD;
+}
+
+.tabmenubox {
+ font: 0.9em / 1.3em "Lucida Grand", Verdana, sans-serif;
+ text-align: left;
+ background: #fff;
+ padding: 30px;
+ border: 1px solid #5f6a6f;
+ border-top: 0px;
+ z-index: 2;
+ clear: both;
+}
+
+.notabmenubox {
+ font: 0.9em / 1.3em "Lucida Grand", Verdana, sans-serif;
+ text-align: left;
+ background: #fff;
+ padding: 20px;
+ border: 1px solid #5f6a6f;
+ z-index: 2;
+ clear: both;
+}
+
+.notabmenubox a {
+ text-decoration: none;
+}
+
+.noborderbox {
+ font: 0.9em / 1.3em "Lucida Grand", Verdana, sans-serif;
+ padding-top: 20px;
+ text-align: left;
+ z-index: 2;
+ clear: both;
+}
+
+/* ------------------------ Error page styles -------------------------- */
+
+#errorbox {
+ margin-top: 80px;
+ margin-left: 100px;
+ margin-right: 100px;
+ background: #ffffff;
+ padding: 30px 60px 30px 150px;
+ border: 1px solid #5f6a6f;
+ background-image: url(../images/errorpage_icon.gif);
+ background-repeat: no-repeat;
+ background-position: 30px 40px;
+
+}
+
+#errorbox #codebox {
+ height: 250px;
+ overflow: auto;
+ background-color: #eff2f4;
+ padding: 10px;
+}
+
+/* ------------------------ Login styles -------------------------- */
+
+.LoginContainer {
+ padding-top: 80px;
+}
+
+.Loginbox {
+ text-align: left;
+ background: #ffffff;
+ padding: 10px 60px 30px 60px;
+ width: 180px;
+ border: 1px solid #5f6a6f;
+ clear: both;
+}
+
+.Loginbox h4 {
+ font-weight: bold;
+ color: #32444d;
+}
+
+.loginerror-msg {
+ width: 160px;
+ padding-top: 10px;
+ font-weight: bold;
+ color: #880000;
+}
+
+/* ------------------------ other stuff --------------------------- */
+
+.content2 a:hover {
+}
+
+/* ----------------------------- float styles --------------------------- */
+
+.floatright {
+ float: right;
+}
+
+.floatleft {
+ float: left;
+}
+
+/* --------- main page content ---------- */
+
+td {
+}
+
+td.key {
+ font-weight: bold;
+}
+
+ul.links {
+ padding-left: 15px;
+}
+
+ul.links li a {
+ color: #50667c;
+}
+
+ul.links li a:hover {
+ color: #aaa;
+ text-decoration: underline;
+}
+
+/* ----------------------------- Tab menu ------------------------------------------ */
+
+#tabmenu {
+ font: bold 1em "Lucida Grand", Arial, sans-serif;
+ width: 100%;
+ background: url(../images/TabBkgUnderline.gif) repeat-x bottom;
+}
+
+#tabmenu ul {
+ margin: 0px;
+ padding: 0px;
+ list-style: none;
+ display: block;
+}
+
+#tabmenu li {
+ float: left;
+ display: inline;
+ background: url(../images/TabBkgLeft.gif) no-repeat top left;
+ margin: 0px;
+ padding: 0px 0px 0px 2px;
+
+}
+
+#tabmenu a {
+ display: block;
+ margin: 0px;
+ padding: 5px 15px 4px;
+ color: #3d5b75;
+ background: url(../images/TabBkgActive.gif) no-repeat top right;
+ text-decoration: none;
+ border-bottom: 1px solid #5f6a6f;
+}
+
+#tabmenu .active {
+ display: block;
+ margin: 0px;
+ padding: 5px 15px 4px;
+ color: #233346;
+ background: url(../images/TabBkgHighlight.gif) no-repeat top right;
+ text-decoration: none;
+ border-bottom: 1px solid #ffffff;
+}
+
+#tabmenu .disabled {
+ display: block;
+ margin: 0px;
+ padding: 5px 15px 4px;
+ color: #a3a4a4;
+ background: url(../images/TabBkgDisabled.gif) no-repeat top right;
+ text-decoration: none;
+ border-bottom: 1px solid #5f6a6f;
+}
+
+#tabmenu a:hover {
+ color: #7995ad;
+}
+
+#tabmenu span.active:hover {
+}
+
+#tabmenu .statusindicator {
+ text-align: right;
+ padding-right: 4px;
+ font-weight: normal;
+ white-space: nowrap;
+}
+
+#tabmenu .statusindicator img {
+ vertical-align: bottom;
+ padding-left: 3px;
+}
+
+/* ----------------------- Messaging ------------------------------------------ */
+
+.messagingBox {
+ padding: 9px 15px;
+ margin-bottom: 10px;
+ border: 1px solid #d0a131;
+ background-color: #fceecf;
+ vertical-align: middle;
+ display: block;
+}
+
+.messagingBox ul {
+ padding: 0px 0px 0px 5px;
+ margin: 0px;
+}
+
+.messagingBox li {
+ list-style: none;
+}
+
+.messagingSuccess {
+ background-image: url(../images/ico_message_success.gif);
+ background-repeat: no-repeat;
+ background-position: left center;
+ color: #3b6b1b;
+ font-weight: bold;
+ padding: 6px 0px 6px 28px;
+}
+
+.messagingFail {
+ background-image: url(../images/ico_message_fail.gif);
+ background-repeat: no-repeat;
+ background-position: left center;
+ color: #cc0000;
+ font-weight: bold;
+ padding: 6px 0px 6px 28px;
+}
+
+/* -- Restart Warning -- */
+
+#RestartWarning {
+ width: 100%;
+ font-size: 11px;
+ float: right;
+ text-align: right;
+ padding-right: 4px;
+ padding-bottom: 10px;
+ white-space: nowrap;
+}
+
+#RestartWarning span {
+
+ color: #CC0000;
+ font-weight: bold;
+ padding-right: 12px;
+}
+
+#RestartWarning img {
+ vertical-align: bottom;
+}
+
+.instructionalText {
+ margin-bottom: 10px;
+}
+
+/* ------------------- Control Tab Styles : Operations History Table styles ---------------------------- */
+
+.controlTriggerPanel {
+ padding: 5px 25px 0px 25px;
+ background-color: #eff2f4;
+ border-top: 1px solid #cdcfd3;
+ border-bottom: 1px solid #cdcfd3;
+ border-right: none;
+ border-left: none;
+}
+
+.controlTriggerPanel .internalTable {
+ border: none;
+}
+
+.controlTriggerPanel .internalTable TD {
+ border-bottom: 1px dotted #cdcfd3;
+ border-top: none;
+ border-left: none;
+ border-right: none;
+ padding: 15px 0px;
+ background-color: #eff2f4;
+}
+
+.controlTriggerPanelLast .internalTable TD {
+ border-bottom: none;
+ border-top: none;
+ border-left: none;
+ border-right: none;
+ padding: 15px 0px;
+ background-color: #eff2f4;
+}
+
+.controlTriggerPanel .buttonColumn {
+ width: 10%;
+}
+
+.controlTriggerPanel .descripColumn {
+ width: 90%;
+ white-space: inherit;
+}
+
+.controlTable {
+ width: 100%;
+ border: 0;
+}
+
+.failurePanel {
+ border-top-width: 0;
+ border-bottom-width: 0;
+ padding: 0px 10px;
+ margin: 0px;
+ position: center;
+ width: 100%;
+ background-color: #f7f3dc;
+ border-right: none;
+ border-left: none;
+}
+
+.operationNameColumn {
+ border-right: 1px solid #d9e0e3;
+ border-bottom: 1px solid #d9e0e3;
+ width: 25%;
+}
+
+.operationTimeColumn {
+ border-right: 1px solid #d9e0e3;
+ border-bottom: 1px solid #d9e0e3;
+ width: 25%;
+}
+
+.operationStatusColumn {
+ border-right: 1px solid #d9e0e3;
+ border-bottom: 1px solid #d9e0e3;
+ width: 50%;
+}
+
+.operationSuccess {
+ color: #008800;
+}
+
+.operationFailure {
+ color: #CC0000;
+ margin-right: 4px;
+}
+
+.operationFailure a, operationFailure a:visited {
+ color: #aa0000;
+ text-decoration: underline;
+}
+
+.operationInProgress {
+ color: indigo;
+}
+
+.operation-first-row {
+ font-weight: bold;
+}
+
+.properties-table .DarkRow {
+ background-color: #d2e1ea;
+}
+
+.selectedRow {
+ border: medium solid #FFF;
+ background-color: #777;
+}
+
+.detailPanel {
+ border-top-width: 0;
+ border-bottom-width: 0;
+ background-image: url(../images/detailpanel_bkg.gif);
+ background-repeat: repeat-x;
+ padding: 0px 10px;
+ margin: 0px;
+ position: center;
+ width: 100%;
+ background-color: white;
+ border-right: none;
+ border-left: none;
+}
+
+.detailPanel .properties-table .OddRow {
+ background-color: white;
+}
+
+.detailPanel .properties-table-header-cell {
+ background-color: #eef1f3;
+ background-image: none;
+ border-top: 1px solid #d9e0e3;
+ border-right: 1px solid #d9e0e3;
+ border-bottom: 1px solid #d9e0e3;
+ border-left: 1px solid #d9e0e3;
+}
+
+/* ---------------------------------- RichFaces DataScroller styles ------------------------------------- */
+.rich-datascr {
+ background-color: transparent;
+ border-style: none;
+}
+
+.rich-datascr-button, .rich-datascr-ctrls-separator {
+ background-color: transparent;
+ border-style: none;
+ width: auto;
+}
+
+.rich-datascr-ctrls-separator {
+ padding: 0px 7px 0px 7px;
+ color: #8f8f8f;
+ cursor: default;
+}
+
+.rich-dtascroller-table {
+ border-style: none;
+ white-space: nowrap;
+ width: 100px;
+}
+
+.rich-datascr-act {
+ color: #527fa8;
+ border-top-style: none;
+ font-weight: bold;
+ width: inherit;
+ padding: 0px 3px;
+}
+
+.rich-datascr-inact {
+ color: #527fa8;
+ border-top-style: none;
+ text-decoration: underline;
+ width: inherit;
+ padding: 0px 3px;
+}
+
+.rich-datascr-textdisabled {
+ color: #b3b3b3;
+ cursor: default;
+}
+
+.rich-datascr-textlinks {
+ color: #527fa8;
+ text-decoration: underline;
+}
+
+/* ---------------------------------------- Breadcrumb navigation --------------------------------- */
+
+#bread {
+ color: #636464;
+ padding-right: 3px;
+ margin-bottom: 10px;
+}
+
+#bread ul {
+ margin-left: 0;
+ padding-left: 0;
+ display: inline;
+ border: none;
+}
+
+#bread ul li {
+ margin-left: 0;
+ padding-left: 2px;
+ font-size: 10px;
+ border: none;
+ list-style: none;
+ display: inline;
+}
+
+/* ---------------------------- Resource Links "Second Navigation" ----------------------------------------- */
+
+.sectionalLinks {
+}
+
+.sectionalLinks ol {
+ list-style-image: url(../images/iconLinkArrowBlue.gif);
+ list-style-type: circle;
+
+}
+
+.sectionalLinks li {
+ padding: 4px 0px;
+}
+
+.sectionalLinks li a {
+ font-weight: bold;
+ font-size: 12px;
+}
+
+/* ------ Tree Controls from RichFaces ---------- */
+
+.rich-tree {
+
+}
+
+.rich-tree-node {
+ font-size: 0.7em;
+ white-space: normal;
+}
+
+.rich-tree-node-selected {
+ font-weight: bold;
+ color: #40474b;
+}
+
+.rich-tree-node-highlighted {
+}
+
+.rich-tree-node-unavailable {
+ color: #6b4c4c;
+}
+
+/* ----------------- Default Table styles from RichFaces --- This is the Gradient header --------- */
+
+.rich-table {
+ border: 0px;
+}
+
+.rich-table-caption {
+}
+
+.rich-table-header {
+}
+
+.rich-table-headercell {
+ background-color: #d9e0e3;
+ background-image: url(../images/TablePrimary_Norm.gif);
+ background-position: top;
+ background-repeat: repeat-x;
+ font-size: 10px;
+ font-weight: bold;
+ color: #5f6a6f;
+ text-align: left;
+ border-top: 1px solid #e7eaed;
+ border-right: 1px solid #a4b2b9;
+ border-bottom: 1px solid #a4b2b9;
+ border-left: 1px solid #e7eaed;
+ padding: 0px 8px;
+}
+
+.rich-table-subheader {
+}
+
+.rich-table-subheadercell {
+}
+
+.rich-table-cell {
+ border-bottom: 1px solid #d9e0e3;
+ border-right: 1px solid #d9e0e3;
+ border-left: none;
+ padding-left: 8px;
+ padding-right: 30px;
+ white-space: nowrap;
+}
+
+.rich-table-row {
+}
+
+.rich-table-subfooter {
+}
+
+.rich-table-subfootercell {
+}
+
+.rich-table-footer {
+ height: 4px;
+ background-color: #d9e0e3;
+}
+
+.rich-table-footercell {
+ border: none;
+ padding: 0px;
+}
+
+.evenRow {
+ background-color: white;
+}
+
+.oddRow {
+ background-color: #eff4f7;
+}
+
+.errorRow {
+ background-color: #fceecf;
+}
+
+.errorRow td {
+ border-right: none;
+ border-bottom: none;
+}
+
+.categoryRow {
+ background-color: #c6d0d5;
+ font-weight: bold;
+ color: #40474b;
+ border-left: 1px solid #c6d0d5;
+
+}
+
+.link-unavailable {
+ padding-left: 18px;
+ color: #6b4c4c;
+ background-image: url(../images/iconLeafDisa.gif);
+ background-repeat: no-repeat;
+ background-position: 0px 0px;
+ padding-bottom: 2px;
+}
+
+.link-available {
+ padding-left: 18px;
+ background-image: url(../images/iconLeafNorm.gif);
+ background-repeat: no-repeat;
+ background-position: 0px 0px;
+ padding-bottom: 2px;
+}
+
+/* ------column width styles to force spacing -------- */
+
+.rich-table-cell-action {
+ border-right: none;
+ border-bottom: 1px solid #d9e0e3;
+ width: 100%;
+ white-space: normal;
+}
+
+/* ------Style for the action header used above the dataTable */
+
+.actionHeader {
+ padding: 10px;
+ background-color: #a4b2b9;
+ color: white;
+}
+
+/* ----------------------- column style for Metrics Columns -------------------------- */
+.standard-traitscolumn {
+ white-space: nowrap;
+ padding-right: 40px;
+ padding-bottom: 0px;
+ border: 0px;
+}
Added: branches/JBPAPP_5_1_jopr/jopr/css/form-style.css
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/css/form-style.css (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/css/form-style.css 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,532 @@
+/*
+ * Embedded Jopr Project
+ * Copyright (C) 2006-2009 Red Hat, Inc.
+ * All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+/* --------------------- configuration screen specific styles ----------------------- */
+
+/* --------------------- link arrows for the expand all / collapse all feature --------------- */
+
+.ExpandAllLink {
+ background-image: url(../images/ico_trigger_grey_expand.gif);
+ background-repeat: no-repeat;
+ background-position: 3px 3px;
+ padding-left: 12px;
+}
+
+.CollapseAllLink {
+ background-image: url(../images/ico_trigger_grey_collapse.gif);
+ background-repeat: no-repeat;
+ background-position: 3px 3px;
+ padding-left: 12px;
+}
+
+/* BLOCK & LIST */
+.ListTitle, .BlockTitle {
+ font-size: 1.1em;
+ color: white;
+ font-weight: bold;
+ background-color: #a4b2b9;
+ padding: 12px 0px 10px 10px;
+ border-bottom: 1px solid #8b989f;
+ margin: 0px;
+}
+
+/* Rich faces toggle panel - overriding styles so that the default richfaces stuff isn't used*/
+.dr-stglpnl-h {
+ background-image: inherit;
+ border-top-width: 0px;
+ border-right-width: 0px;
+ border-left-width: 0px;
+ border-top-style: inherit;
+ border-right-style: inherit;
+ border-left-style: inherit;
+ cursor: inherit;
+ font-family: inherit;
+ border-top-color: inherit;
+ border-right-color: inherit;
+ border-left-color: inherit;
+}
+
+/* Rich faces toggle panel - overriding styles so that the default richfaces stuff isn't used*/
+.dr-stglpnl-h {
+ background-image: none;
+ border-top-width: 0px;
+ border-right-width: 0px;
+ border-left-width: 0px;
+ border-top-style: none;
+ border-right-style: none;
+ border-left-style: none;
+ cursor: pointer;
+ font-family: Verdana, Arial, sans-serif;
+ border-top-color: inherit;
+ border-right-color: inherit;
+ border-left-color: inherit;
+}
+
+.dr-stglpnl-b {
+ color: inherit;
+ font-family: inherit;
+ font-size: inherit;
+ padding: 0px;
+ text-align: inherit;
+ vertical-align: inherit;
+ background-color: inherit;
+}
+
+.dr-stglpnl {
+ border: 0px;
+ border-style: none;
+ border-color: inherit;
+ background-color: inherit;
+ padding: 0px;
+ background-x-position: right;
+ background-y-position: top;
+ background-repeat: no-repeat;
+}
+
+/* BLOCK */
+.BlockContent {
+}
+
+.BlockContentNoPadding {
+ padding: 0px;
+}
+
+/* OVERLOADING -----------------------------------------*/
+.ListTitle, .BlockTitle {
+}
+
+.ListHeader, .tableRowHeader, .tableCellHeader, .ListHeaderInactive, .tableRowInactive, .ListHeaderInactiveSorted, .ListHeaderInactiveCenter, .ListHeaderCheckbox, .ListHeaderSorted, .tableRowSorted {
+ color: #444444;
+ font-size: 9px;
+ font-weight: normal;
+ background-color: #d8d8d8;
+ border-top: solid #ABB1C7;
+ border-bottom: solid #D5D8DE;
+ border-width: 1px
+}
+
+.ListRow, .tableRowEven, .tableRowOdd {
+ background-color: #f4f4f4
+}
+
+/* EXTENSIONS ------------------------------------------*/
+.ListCell a, .tableCell a,
+ .ListCell a:link, .tableCell a:link,
+ .ListCell a:visited, .tableCell a:visited {
+ color: black;
+ text-decoration: none;
+ font-weight: normal;
+}
+
+.ListCell a:hover, .tableCell a:hover {
+ text-decoration: underline
+}
+
+/* Show/Hide functionality -----------------------------*/
+.switchcontent {
+ background-color: #D8D8D8;
+ border: 1px solid #A5A5A5;
+ padding: 2px;
+}
+
+.showHideSwitch {
+ cursor: hand;
+ cursor: pointer;
+}
+
+P.compact {
+ margin-top: 8px;
+ margin-bottom: 8px;
+}
+
+/*--- Resource ---------------------*/
+
+.data-table {
+ width: 100%;
+ border-style: none;
+ border-collapse: collapse;
+ margin: 2px, 2px, 2px, 2px;
+}
+
+.trait-cell {
+ width: 50%;
+ border-style: none;
+ padding: 2px;
+ vertical-align: top;
+}
+
+/*--- Configuration ---------------------*/
+
+.property-group-header {
+ padding: 4px;
+ background: #50667C;
+ color: #FFF;
+}
+
+.property-group-header a {
+ text-decoration: none;
+ font-weight: bold;
+ color: #fff;
+}
+
+.property-group-header a:hover {
+ font-weight: bold;
+ color: #ccc;
+}
+
+.spinner {
+ font-size: .6em;
+ margin-left: 40px;
+}
+
+.group-description-panel {
+ background-color: #DDD;
+}
+
+.group-description-text-panel {
+ padding-left: 10px;
+ font-size: .9em;
+ color: #dae0e4;
+ font-weight: normal;
+}
+
+/* ------------ These are the primary table styles ----------------- */
+
+.properties-table, .nested-properties-table {
+ width: 100%;
+ margin: 0px;
+ padding: 0px;
+ border-collapse: collapse;
+ border-style: none;
+ background-color: white;
+}
+
+.properties-table .EvenRow {
+ background-color: white;
+}
+
+.properties-table .OddRow {
+ background-color: #eff4f7;
+}
+
+.nested-properties-table {
+ margin-left: 10px;
+ margin-right: 10px;
+ border: 1px solid #cad0d3;
+}
+
+.properties-table-header-cell {
+ background-color: #d9e0e3;
+ background-image: url(../images/TablePrimary_Norm.gif);
+ background-position: top;
+ background-repeat: repeat-x;
+ font-size: 10px;
+ font-weight: bold;
+ color: #5f6a6f;
+ text-align: left;
+ border-top: 1px solid #e7eaed;
+ border-right: 1px solid #a4b2b9;
+ border-bottom: 1px solid #a4b2b9;
+ border-left: 1px solid #e7eaed;
+ padding: 0px 5px;
+}
+
+.nested-properties-table-header-cell {
+ background-color: #d9e0e3;
+ background-image: url(../images/TableSecondary_Norm.gif);
+ background-position: top;
+ background-repeat: repeat-x;
+ font-size: 10px;
+ font-weight: bold;
+ color: #5f6a6f;
+ text-align: left;
+ border: 1px solid #cad0d3;
+ padding: 0px 5px;
+}
+
+.nested-properties-table-header-cell {
+}
+
+/* removed as unnecessary
+.nested-properties-table-indent-spacer {
+ margin-right: 10px;
+}
+*/
+
+.property-display-name-cell, .property-value-cell, .property-description-cell, .property-enabled-cell, .property-error-cell {
+ border-bottom: 1px solid #e6eaef;
+ padding: 6px;
+ vertical-align: top;
+ line-height: 125%;
+ white-space: normal;
+}
+
+.property-display-name-cell {
+ width: 225px;
+ border-right: 1px solid #d9e0e3;
+}
+
+.property-enabled-cell {
+ width: 22px;
+ text-align: center;
+ border-right: 1px solid #d9e0e3;
+}
+
+.property-value-cell {
+ width: 200px;
+ border-right: 1px solid #d9e0e3;
+}
+
+.property-description-cell {
+}
+
+.list-property-display-name-cell, .list-property-value-cell, .list-property-description-cell, .list-property-enabled-cell, .list-property-error-cell {
+ padding: 4px;
+ vertical-align: top;
+}
+
+.list-property-display-name-cell {
+ width: 200px;
+}
+
+.list-property-value-cell {
+ width: 175px;
+}
+
+.list-property-enabled-cell {
+ width: 22px;
+ text-align: center;
+}
+
+.list-property-children-cell {
+ border-bottom: 1px solid #e6eaef;
+}
+
+.display-name {
+ margin-right: 10px;
+ font-weight: bold;
+ font-size: 1em;
+}
+
+.description {
+ font-size: .9em;
+ font-weight: normal;
+}
+
+.required-marker-text {
+ color: #e13333;
+}
+
+ul.radio-group {
+ border: none;
+ list-style-type: none;
+ margin-left: 0;
+ margin-top: 2px;
+ padding-left: 5px;
+ font-size: .8em;
+}
+
+ul.radio-group .unspecified {
+ font-style: italic;
+}
+
+.links {
+ font-size: 1em;
+ font-weight: bold;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ margin-left: 5px;
+}
+
+.note-panel {
+ font-size: .9em;
+ margin-top: 5px;
+ margin-bottom: 12px;
+}
+
+.property-display-name-text {
+ font-size: .9em;
+ font-weight: bold;
+ white-space: normal;
+}
+
+/* ------------------ Button spacing -------------------- */
+
+.buttons-table {
+ border-style: none;
+ border-collapse: collapse;
+ margin-top: 6px;
+ margin-left: 6px;
+ margin-bottom: 6px;
+}
+
+.button-cell {
+ padding-right: 6px;
+}
+
+/* ------------------------------------- Buttons styles ------------------------------------------ */
+
+.buttonsmall {
+ font-size: 10px;
+ font-weight: normal;
+ color: #FFFFFF;
+ background-color: #d0a131;
+ border: 1px solid #8d6709;
+ padding: 0px 5px;
+ cursor: pointer;
+}
+
+.buttonmed {
+ font-size: 12px;
+ font-weight: bold;
+ color: #FFFFFF;
+ background-color: #d0a131;
+ border: 1px solid #8d6709;
+ padding: 0px 10px;
+ cursor: pointer;
+}
+
+/*--- Inventory ---------------------*/
+
+.resources-table {
+ width: 100%;
+ border-style: none;
+ border-collapse: collapse;
+}
+
+.resource-checkbox, .resource-name-cell, .resource-category-cell, .resource-type-cell, .resource-description-cell, .resource-availability-cell {
+ border-style: none;
+ border-bottom: 1px solid #999;
+ padding: 4px;
+ vertical-align: top;
+}
+
+.resource-checkbox {
+ width: 20px;
+}
+
+.resource-name-cell {
+ width: 170px;
+}
+
+.resource-category-cell {
+ width: 70px;
+}
+
+.resource-type-cell {
+ width: 170px;
+}
+
+.resource-availability-cell {
+ width: 65px;
+ text-align: center;
+}
+
+.resources-control-cell {
+ border-style: none;
+ padding: 4px;
+ vertical-align: top;
+ width: 33%;
+}
+
+.general-props-cell {
+ width: 50%;
+ border-style: none;
+ padding: 4px;
+ vertical-align: top;
+}
+
+/* ----------------------------- INPUT Specific Styles --------------------------------- */
+
+input:disabled {
+ background-color: #e4edf1;
+}
+
+/* ------------------------------ List of Maps Styles ------------------------- */
+
+.property-map-summary-table {
+ margin: 4px 0px 6px 6px;
+ border-collapse: collapse;
+ background-color: white;
+ border: 1px solid #cad0d3;
+
+}
+
+.property-map-summary-data-header-cell {
+ background-color: #d9e0e3;
+ background-image: url(../images/TableSecondary_Norm.gif);
+ background-position: top;
+ background-repeat: repeat-x;
+ font-size: 10px;
+ font-weight: bold;
+ color: #5f6a6f;
+ text-align: left;
+ border: 1px solid #cad0d3;
+ padding: 0px 5px;
+}
+
+.property-map-summary-buttons-cell, .property-map-summary-data-cell {
+ border-bottom: 1px solid #d9e0e3;
+ vertical-align: top;
+ line-height: 125%;
+}
+
+.property-map-summary-data-cell {
+ padding: 6px;
+ border-right: 1px solid #d9e0e3;
+}
+
+.property-map-summary-data-header-cell {
+ width: 110px;
+}
+
+.property-map-summary-data-cell {
+ width: 110px;
+
+}
+
+.property-map-summary-header-text {
+ font-size: .9em;
+ font-weight: bold;
+ color: #444;
+}
+
+.property-map-summary-data-text {
+ font-size: .9em;
+ font-weight: normal;
+}
+
+/* newly added style for embedded console */
+
+.property-buttonfooterrow {
+ padding: 6px;
+ background-color: #e4edf1;
+}
+
+.error-msg {
+ background-image: url(../images/ico_message_inlineerror.gif);
+ background-repeat: no-repeat;
+ padding-left: 18px;
+ font-weight: bold;
+ color: #880000;
+}
+
+.inputerror {
+ background-color: #fceecf;
+}
Added: branches/JBPAPP_5_1_jopr/jopr/error.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/error.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/error.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,59 @@
+<?xml version="1.0"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+<f:view>
+ <ui:composition template="/WEB-INF/facelets/errorLayout.xhtml">
+ <!-- body -->
+ <ui:define name="body">
+ <div id="errorbox">
+ <h1>#{messages['exception.heading']}</h1>
+
+ <p>#{messages['exception.paragraph1']}</p>
+
+ <p>#{messages['exception.paragraph2a']} <a href="index.html">#{messages['exception.paragraph2b']}</a>
+ #{messages['exception.paragraph2c']}</p>
+
+ <h3 style="padding-top: 12px; border-bottom: 1px solid #e6eaef;">Error details:</h3>
+
+ <div id="codebox">
+ <a4j:repeat value="#{exceptionAction.causes}" var="cause" rowKeyVar="rowKey">
+ <div style="margin-bottom: 15px">
+ <b><h:outputLabel rendered="#{rowKey ne 0}">Caused by: </h:outputLabel>#{cause}</b><br/>
+
+ <div style="margin-left: 20px">
+ <ui:repeat value="#{cause.stackTrace}" var="stackElement">
+ at #{stackElement}<br/>
+ </ui:repeat>
+ </div>
+ </div>
+ </a4j:repeat>
+ </div>
+ </div>
+ </ui:define>
+ </ui:composition>
+</f:view>
+</html>
Added: branches/JBPAPP_5_1_jopr/jopr/images/ArrowNextDisa.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/ArrowNextDisa.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/ArrowNextNorm.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/ArrowNextNorm.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/ArrowPrevDisa.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/ArrowPrevDisa.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/ArrowPrevNorm.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/ArrowPrevNorm.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/TabBkgActive.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/TabBkgActive.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/TabBkgDisabled.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/TabBkgDisabled.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/TabBkgHighlight.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/TabBkgHighlight.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/TabBkgLeft.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/TabBkgLeft.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/TabBkgUnderline.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/TabBkgUnderline.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/TablePrimary_Norm.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/TablePrimary_Norm.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/TablePrimary_Select.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/TablePrimary_Select.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/TableSecondary_Norm.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/TableSecondary_Norm.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/bkg_leftsidegrey.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/bkg_leftsidegrey.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/button_bkg.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/button_bkg.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/detailpanel_bkg.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/detailpanel_bkg.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/embjopr_logo.png
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/embjopr_logo.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/errorpage_icon.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/errorpage_icon.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/favicon.png
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/favicon.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/hdr_bkg.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/hdr_bkg.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/hdr_embeddedjopr_reg.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/hdr_embeddedjopr_reg.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/hdr_jbossadminconsole.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/hdr_jbossadminconsole.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/hdr_jbosslogo.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/hdr_jbosslogo.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/header.png
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/header.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/icoServerRestartWarning.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/icoServerRestartWarning.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/ico_datasource.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/ico_datasource.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/ico_formdescription.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/ico_formdescription.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/ico_message_fail.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/ico_message_fail.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/ico_message_inlineerror.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/ico_message_inlineerror.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/ico_message_success.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/ico_message_success.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/ico_trigger_grey_collapse.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/ico_trigger_grey_collapse.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/ico_trigger_grey_expand.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/ico_trigger_grey_expand.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/ico_trigger_wht_collapse.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/ico_trigger_wht_collapse.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/ico_trigger_wht_expand.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/ico_trigger_wht_expand.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/iconCollapsed.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/iconCollapsed.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/iconExpanded.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/iconExpanded.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/iconFolderDisa.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/iconFolderDisa.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/iconFolderNorm.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/iconFolderNorm.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/iconFolderUnkn.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/iconFolderUnkn.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/iconHomeDisa.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/iconHomeDisa.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/iconHomeNorm.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/iconHomeNorm.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/iconHomeUnkn.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/iconHomeUnkn.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/iconLeafDisa.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/iconLeafDisa.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/iconLeafNorm.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/iconLeafNorm.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/iconLeafUnkn.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/iconLeafUnkn.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/iconLinkArrowBlue.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/iconLinkArrowBlue.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/iconStatusAvailable.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/iconStatusAvailable.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/iconStatusUnavailable.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/iconStatusUnavailable.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/iconStatusUnknown.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/iconStatusUnknown.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/left_gradient.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/left_gradient.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/nav_gradhdr_blue.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/nav_gradhdr_blue.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/nav_gradhdr_grey.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/nav_gradhdr_grey.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/spacer.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/spacer.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/swizzle_blue_closed.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/swizzle_blue_closed.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/swizzle_blue_open.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/swizzle_blue_open.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/swizzle_grey_closed.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/swizzle_grey_closed.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/swizzle_grey_open.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/swizzle_grey_open.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/temp_ok.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/temp_ok.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/images/temp_reset.gif
===================================================================
(Binary files differ)
Property changes on: branches/JBPAPP_5_1_jopr/jopr/images/temp_reset.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/JBPAPP_5_1_jopr/jopr/index.html
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/index.html (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/index.html 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,31 @@
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2010 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<html>
+<head>
+ <meta http-equiv="Refresh" content="0; URL=index.seam"/>
+</head>
+
+<body>
+ <p>Redirecting to the start page. If you are not redirected within a few seconds, click
+ <a href="index.seam">here</a>.</p>
+</body>
+
+</html>
+
Added: branches/JBPAPP_5_1_jopr/jopr/index.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/index.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/index.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,48 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2010 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+<ui:remove>
+ <!-- Set the content type to "text/html" to ensure "application/xhtml+xml", which would put Firefox and
+ other Gecko-based browsers into XML mode (which requires pages to be well-formed XML), is not used.
+ We also specify the charset/encoding here, since we cannot specify it via the xml prolog, since
+ including an xml prolog causes IE6 to go into the undesirable "quirks mode".
+ (see https://jira.jboss.org/jira/browse/EMBJOPR-19) -->
+</ui:remove>
+<f:view contentType="text/html; charset=UTF-8">
+
+ <head>
+ <meta http-equiv="Refresh" content="0; URL=secure/summary.seam"/>
+ </head>
+
+ <body>
+ <p>Redirecting to the login page. If you are not redirected within a few seconds, click
+ <a href="secure/summary.seam">here</a>.</p>
+ </body>
+
+</f:view>
+</html>
+
Added: branches/JBPAPP_5_1_jopr/jopr/js/embedded.js
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/js/embedded.js (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/js/embedded.js 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,505 @@
+/*
+ * Embedded Jopr Project
+ * Copyright (C) 2006-2009 Red Hat, Inc.
+ * All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+//**********************************************************************************************************/
+// NOTE: This file is a copy of rhq.js, r1832. If that file is updated, this file should be updated as well!
+//**********************************************************************************************************/
+
+/**
+ * The theme used for all PWC (i.e. window.js) windows.
+ *
+ * TODO: We should define our own PWC theme that matches the L&F of the rest of the app.
+ */
+var WINDOW_THEME = 'alphacube';
+
+/**
+ * A special value for an input that tells the server-side that the corresponding value should be set to null.
+ */
+var NULL_INPUT_VALUE = " ";
+
+/**
+ * Set the unset status of the specified input.
+ *
+ * @param input an input element
+ * @param unset whether or not the input should be unset
+ */
+function setInputUnset(input, unset)
+{
+ clearInputValue(input);
+ setInputDisabled(input, unset, true);
+ input.unset = unset; // our own special property that tells us whether an input is unset
+ if (!unset)
+ {
+ // Set focus on the input, but only if it is a text-entry field - it doesn't make sense for radios, checkboxes,
+ // etc.
+ if (input.type == 'text' || input.type == 'password' || input.type == 'textarea' || input.type == 'file')
+ {
+ input.focus();
+ }
+ }
+}
+
+/**
+ * Write-protect the specified input element.
+ *
+ * @param input an input element
+ */
+function writeProtectInput(input)
+{
+ if (input.length != null && (input[0].type == 'radio' || input[0].type == 'select-multiple'))
+ {
+ // Recursively call ourself for each of the array items, which are the actual radio buttons or menu items.
+ for (var i = 0; i < input.length; i++)
+ {
+ writeProtectInput(input[i]);
+ }
+ }
+ else
+ {
+ input.readonly = true;
+ // NOTE: For non-text inputs (radios, checkboxes, etc), the "readonly" attribute is ignored by browsers, so we
+ // resort to the "disabled" attribute for these types of inputs. For the text inputs, it is important to
+ // *not* set the "disabled" attribute, because then the browser does not allow them to receive focus, which
+ // prevents tooltips from working (see http://jira.jboss.com/jira/browse/JBNADM-1608).
+ if (input.type != 'text' && input.type != 'password' && input.type != 'textarea' && input.type != 'file')
+ {
+ setInputDisabled(input, true, true);
+ }
+ }
+}
+
+/**
+ * Set the "title" attribute on the specified text input. If the input's value is longer than the size of the input,
+ * set the title to the value. Otherwise, set the title to null.
+ *
+ * @param input an input element
+ */
+function setInputTitle(input)
+{
+ if (input != null && input.type == 'text')
+ {
+ if (input.value != null && input.value.length > input.size)
+ {
+ input.title = input.value;
+ }
+ else
+ {
+ input.title = null;
+ }
+ }
+}
+
+/**
+ * Clear the value of the specified input.
+ *
+ * @param input an input element
+ */
+function clearInputValue(input)
+{
+ if (input.length != null)
+ {
+ if (input[0].type == 'radio')
+ {
+ // Recursively call ourself for each of the array items, which are the actual radio buttons.
+ for (var i = 0; i < input.length; i++)
+ {
+ clearInputValue(input[i]);
+ }
+ }
+ else if (input[0].type == 'select-one' || input[0].type == 'select-multiple')
+ {
+ // Recursively call ourself on the selected item.
+ clearInputValue(input[input.selectedIndex]);
+ }
+ }
+ else
+ {
+ switch (input.type)
+ {
+ case 'checkbox':
+ case 'radio':
+ input.checked = false; break;
+ case 'select-one':
+ case 'select-multiple':
+ input.selected = false; break;
+ default:
+ // NOTE: We set the value to an empty string rather than null, because IE converts null to the string 'null'.
+ input.value = '';
+ }
+ }
+}
+
+/**
+ * Disable or enable the specified input element.
+ *
+ * @param input an input element
+ * @param disabled if true, disable the input; otherwise, enable it
+ * @param updateStyle whether or not the input's CSS style should be updated (i.e. grayed out if being disabled or
+ * un-grayed-out if being enabled)
+ */
+function setInputDisabled(input, disabled, updateStyle)
+{
+ if (input.length != null && (input[0].type == 'radio' || input[0].type == 'select-multiple'))
+ {
+ // Recursively call ourself for each of the array items, which are the actual radio buttons or menu items.
+ for (var i = 0; i < input.length; i++)
+ {
+ setInputDisabled(input[i], disabled, updateStyle);
+ }
+ }
+ else
+ {
+ input.disabled = disabled;
+ if (updateStyle)
+ {
+ updateInputStyle(input);
+ }
+ }
+}
+
+/**
+ * "Unsets" an array of input elements.
+ *
+ * @param inputs an array of input elements
+ */
+function unsetInputs(inputs)
+{
+ for (var i = 0; i < inputs.length; i++)
+ {
+ setInputUnset(inputs[i], true);
+ }
+}
+
+function setInputsOverride(inputs, shouldOverride)
+{
+ for (var i = 0; i < inputs.length; i++)
+ {
+ setInputOverride(inputs[i], shouldOverride);
+ }
+}
+
+function setInputOverride(input, shouldOverride)
+{
+ input.override = shouldOverride;
+ if (shouldOverride)
+ {
+ input.check();
+ }
+}
+
+/**
+ * Write-protects an array of input elements.
+ *
+ * @param inputs an array of input elements
+ */
+function writeProtectInputs(inputs)
+{
+ for (var i = 0; i < inputs.length; i++)
+ {
+ writeProtectInput(inputs[i]);
+ }
+}
+
+/**
+ * @param form a form element
+ */
+function prepareInputsForSubmission(form)
+{
+ var inputs = Form.getInputs(form);
+ for (var i = 0; i < inputs.length; i++)
+ {
+ var input = inputs[i];
+ if (input.disabled)
+ {
+ // NOTE: It is vital to enable any disabled inputs, since the browser will exclude disabled inputs from the
+ // POST request.
+ setInputDisabled(input, false, false);
+ // Some browsers (e.g. Firefox) will automatically un-gray-out the input, when the disabled property is
+ // set to false, so we need to gray it out again, so it still appears to be disabled.
+ grayOutInput(input);
+ if (input.unset)
+ {
+ // NOTE: Set the input's value to a special string that will allow the server-side to distinguish between a
+ // null (i.e. unset) value and an empty string value.
+ input.value = NULL_INPUT_VALUE;
+ }
+ }
+ }
+}
+
+/**
+ * @param input an input element
+ */
+function updateInputStyle(input)
+{
+ if (input.disabled)
+ {
+ grayOutInput(input);
+ }
+ else
+ {
+ input.style.background = '#FFFFFF';
+ input.style.color = '#000000';
+ input.style.border = '1px solid #A7A6AA';
+ }
+}
+
+/**
+ * @param input an input element
+ */
+function grayOutInput(input)
+{
+ // Use the default Firefox colors, which are much more intuitive than the default IE colors.
+ input.style.background = '#D6D5D9';
+ input.style.color = '#000000';
+ input.style.border = '1px solid #A7A6AA';
+}
+
+/**
+ * @param title the title to be displayed at the top of the modal
+ * @param message the message to be displayed in the body the modal
+ */
+function displayMessageModal(title, message)
+{
+ var win = new Window({className:WINDOW_THEME, width:350, height:400, zIndex: 100, resizable:true, showEffect:Effect.BlindDown, hideEffect:Effect.SwitchOff, draggable:true, wiredDrag:true});
+ win.getContent().innerHTML = "<div style='padding:10px'>" + message + "</div>";
+ win.setTitle(title);
+ win.showCenter(true); // true == modal
+}
+
+/**
+ * This method is called in the onload of the body of
+ * the main template to disable all conditional buttons
+ */
+function disableConditionalButtons()
+{
+ var buttons = document.getElementsByTagName("input");
+ var i;
+ var button;
+ for (i = 0; i < buttons.length; i++)
+ {
+ button = buttons.item(i);
+ if (button.getAttribute("target") != null)
+ {
+ button.disabled = true;
+ }
+ }
+}
+
+/**
+ * @param thisObj the calling AllSelect object instance use to determine whether
+ * or select or deselect all of the objects with the name selectName
+ * @param selectName name of the dom instances that should be checked / unchecked
+ */
+function selectAll(thisObj, selectName)
+{
+ var selects = document.getElementsByName(selectName);
+ var i;
+ var select;
+ for (i = 0; i < selects.length; i++)
+ {
+ select = selects.item(i);
+ if (select.disabled)
+ {
+ continue;
+ }
+ if (thisObj.checked)
+ {
+ select.checked = true;
+ }
+ else
+ {
+ select.checked = false;
+ }
+ }
+ updateButtons(selectName);
+}
+
+/**
+ * This method will be called either:
+ * 1) directly as a result of checking or unchecking a single Select component, or
+ * 2) as the final task of the selectAll method
+ *
+ * @param selectName name of the dom instances that are checked or unchecked which will determine
+ * whether or not the conditional buttons on the page should be enabled / disabled
+ */
+// TODO: Make this robust enough to properly maintain CSS style when the button is disabled (ips, 08/31/07).
+function updateButtons(targetName)
+{
+ var count = countSelected(targetName);
+ var buttons = document.getElementsByTagName("input");
+ var i;
+ var button;
+ for (i = 0; i < buttons.length; i++)
+ {
+ button = buttons.item(i);
+ if (button.getAttribute("target") != null && button.getAttribute("target") == targetName)
+ {
+ var low = button.getAttribute("low");
+ var high = button.getAttribute("high");
+ if (high != null)
+ {
+ if (low <= count && count <= high)
+ {
+ button.disabled = false;
+ }
+ else
+ {
+ button.disabled = true;
+ }
+ }
+ else
+ {
+ if (low <= count)
+ {
+ button.disabled = false;
+ }
+ else
+ {
+ button.disabled = true;
+ }
+ }
+ }
+ }
+}
+
+/**
+ * Returns the number of checkboxes with the given name that are currently selected
+ *
+ * @param selectName name of the dom instances that should be counted for selections
+ */
+function countSelected(selectName)
+{
+ var total = 0;
+ var selectElts = document.getElementsByName(selectName);
+ var i;
+ for (i = 0; i < selectElts.length; i++)
+ {
+ if (selectElts.item(i).checked)
+ {
+ total = total + 1;
+ }
+ }
+ return (total);
+}
+
+function setFoot()
+{
+ var conH;
+ var winH;
+ var footerH = 28;
+ var browserH = 88;
+ if (isIE)
+ {
+ conH = document.body.scrollHeight;
+ winH = document.body.clientHeight;
+ }
+ else
+ {
+ conH = document.height;
+ winH = window.innerHeight;
+ }
+ var myHeight = winH - conH - footerH + browserH;
+ if (myHeight > 60)
+ {
+ var footerSpacer = document.getElementById("footerSpacer");
+ footerSpacer.setAttribute('height', myHeight);
+ }
+}
+
+function openAbout(windowTitle)
+{
+ var content = $('about').innerHTML;
+ // NOTE: The PWC docs say the 'closable' option defaults to true, but this does not appear to be the case.
+ var windowOptions = {className:WINDOW_THEME, title:windowTitle, width:296, height:164, closable:true, minimizable:false, maximizable:false, resize:false, draggable:false, effectOptions:{duration: 0.25}};
+ Dialog.alert(content, windowOptions);
+}
+
+/**
+ * Sends a click event to the anchor element with the specified id.
+ * See http://wiki.apache.org/myfaces/JavascriptWithJavaServerFaces.
+ *
+ * @param anchorId the id of an anchor element
+ */
+function clickAnchor(anchorId)
+{
+ var anchor = document.getElementById(anchorId);
+ if (document.createEvent)
+ {
+ var event = document.createEvent('MouseEvents');
+ event.initEvent('click', true, false);
+ anchor.dispatchEvent(event);
+ }
+ else if (document.createEventObject)
+ {
+ anchor.fireEvent('onclick');
+ }
+}
+
+function hidediv(elementId)
+{
+ document.getElementById(elementId).style.visibility = 'hidden';
+ document.getElementById(elementId).style.display = 'none';
+}
+
+function showdiv(elementId)
+{
+ document.getElementById(elementId).style.visibility = 'visible';
+ document.getElementById(elementId).style.display = 'block';
+}
+
+function clickRadio(radioName, valueToClick)
+{
+ var radioSet = document.getElementsByName(radioName);
+ var i;
+ for (i = 0; i < radioSet.length; i++)
+ {
+ if (radioSet.item(i).value == valueToClick)
+ {
+ radioSet.item(i).click();
+ }
+ }
+}
+
+function getScrollBarWidth () {
+ var inner = document.createElement('p');
+ inner.style.width = "100%";
+ inner.style.height = "200px";
+
+ var outer = document.createElement('div');
+ outer.style.position = "absolute";
+ outer.style.top = "0px";
+ outer.style.left = "0px";
+ outer.style.visibility = "hidden";
+ outer.style.width = "200px";
+ outer.style.height = "150px";
+ outer.style.overflow = "hidden";
+ outer.appendChild (inner);
+
+ document.body.appendChild (outer);
+ var w1 = inner.offsetWidth;
+ outer.style.overflow = 'scroll';
+ var w2 = inner.offsetWidth;
+ if (w1 == w2) w2 = outer.clientWidth;
+
+ document.body.removeChild (outer);
+
+ return (w1 - w2);
+};
Added: branches/JBPAPP_5_1_jopr/jopr/js/formValues.js
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/js/formValues.js (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/js/formValues.js 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,62 @@
+/*
+ Script by RoBorg
+ RoBorg at geniusbug.com
+ http://javascript.geniusbug.com | http://www.roborg.co.uk
+ Please do not remove or edit this message
+ Please link to this website if you use this script!
+ */
+function getElementValue(formElement)
+{
+ if (formElement.length != null) var type = formElement[0].type;
+ if ((typeof(type) == 'undefined') || (type == 0)) var type = formElement.type;
+ switch (type)
+ {
+ case 'undefined':
+ return null;
+ case 'radio':
+ for (var i = 0; i < formElement.length; i++)
+ {
+ if (formElement[i].checked)
+ {
+ return formElement[i].value;
+ }
+ }
+ return null;
+ case 'select-multiple':
+ var values = new Array();
+ for (var i = 0; i < formElement.length; i++)
+ {
+ if (formElement[i].selected)
+ {
+ values[values.length] = formElement[i].value;
+ }
+ }
+ return values;
+ case 'checkbox':
+ return formElement.checked;
+ default:
+ return formElement.value;
+ }
+}
+
+function setElementValue(formElement, value)
+{
+ switch (formElement.type)
+ {
+ case 'undefined':
+ break;
+ case 'radio':
+ case 'checkbox':
+ formElement.checked = value; break;
+ case 'select-one':
+ formElement.selectedIndex = value; break;
+ case 'select-multiple':
+ for (var i = 0; i < formElement.length; i++)
+ {
+ formElement[i].selected = value[i];
+ }
+ break;
+ default:
+ formElement.value = value; break;
+ }
+}
Added: branches/JBPAPP_5_1_jopr/jopr/login.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/login.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/login.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,87 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+<ui:remove>
+ <!-- Set the content type to "text/html" to ensure "application/xhtml+xml", which would put Firefox and
+ other Gecko-based browsers into XML mode (which requires pages to be well-formed XML), is not used.
+ We also specify the charset/encoding here, since we cannot specify it via the xml prolog, since
+ including an xml prolog causes IE6 to go into the undesirable "quirks mode".
+ (see https://jira.jboss.org/jira/browse/EMBJOPR-19) -->
+</ui:remove>
+<f:view contentType="text/html; charset=UTF-8">
+ <head>
+ <base href="#{baseUrl}"/>
+ <title><ui:insert name="title">#{messages['default.windowTitle']}</ui:insert></title>
+
+ <link href="css/console-style.css" rel="stylesheet" type="text/css"/>
+
+ <link rel="icon" type="image/png" href="images/favicon.png"/>
+ <link rel="apple-touch-icon" href="images/favicon.png"/>
+ </head>
+ <body onload="document.getElementById('login_form:name').focus();">
+ <div align="center" class="LoginContainer">
+ <div id="pageheader">
+ <div class="floatleft">
+ <h:panelGrid columns="2">
+ <h:outputLink value="http://jboss.org/embjopr/">
+ <h:graphicImage value="images/header.png" alt="Embedded Jopr"/>
+ </h:outputLink>
+ <h:panelGroup styleClass="headerText">
+ #{messages['product.name']}
+ </h:panelGroup>
+ </h:panelGrid>
+ </div>
+ <!--<div class="login"><a href="#">#{messages['help.link']}</a><br/></div>-->
+ </div>
+ <div class="Loginbox">
+ <h:messages layout="table" styleClass="loginerror-msg"/>
+ <h:form id="login_form">
+ <div>
+ <p>#{messages['login.welcome.paragraph1']} #{messages['product.name']}#{messages['login.welcome.paragraph2']}</p>
+ <p>#{messages['login.loginToProceed']}</p>
+ <p>
+ <h:outputLabel for="name" value="#{messages['security.username']}"/><br/>
+ <h:inputText id="name" value="#{identity.username}" size="20"/>
+ </p>
+ </div>
+ <div style="padding-top: 10px;">
+ <h:outputLabel for="password" value="#{messages['security.password']}"/><br/>
+ <h:inputSecret id="password" value="#{identity.password}" size="20"/>
+ </div>
+ <div style="padding-top: 10px;">
+ <h:commandButton value="#{messages['security.login']}" id="submit"
+ action="#{identity.login()}" styleClass="buttonmed"/>
+ </div>
+ </h:form>
+ </div>
+ <div style="margin-top:130px;">
+ <ui:include src="/WEB-INF/facelets/footer.xhtml"/>
+ </div>
+ </div>
+ </body>
+</f:view>
+</html>
Added: branches/JBPAPP_5_1_jopr/jopr/secure/addMap.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/secure/addMap.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/secure/addMap.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:onc="http://jboss.org/on/component">
+
+THIS TEXT WILL BE REMOVED.
+
+<ui:composition template="/WEB-INF/facelets/layout.xhtml">
+
+ THIS TEXT WILL BE REMOVED AS WELL.
+
+ <ui:param name="pageTitle" value="#{resource.resource.name} - Add Map To List '#{param.listName}']"/>
+
+ <ui:define name="body">
+ <div class="instructionalText">
+ Any values added here will not be persisted until you hit the Save button on the Resource's main Edit
+ Configuration page.
+ </div>
+
+ <h:form id="editResourceConfigurationForm" onsubmit="prepareInputsForSubmission(this)">
+
+ <onc:config configurationDefinition="#{resourceConfigurationUIBean.configurationDefinition}"
+ configuration="#{resourceConfigurationUIBean.configuration}"
+ listName="#{param.listName}"/>
+
+ <h:panelGrid columns="2" styleClass="buttons-table" columnClasses="button-cell">
+ <h:commandButton value="#{messages['resource.configuration.map.button.ok']}"
+ action="#{resourceConfigurationUIBean.addMap()}"
+ styleClass="buttonmed"
+ id="okButton"/>
+ </h:panelGrid>
+
+ </h:form>
+
+ </ui:define>
+
+</ui:composition>
+
+THIS TEXT WILL BE REMOVED AS WELL.
+
+</html>
Added: branches/JBPAPP_5_1_jopr/jopr/secure/addSimple.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/secure/addSimple.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/secure/addSimple.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,83 @@
+<?xml version="1.0"?>
+
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:onc="http://jboss.org/on/component">
+
+THIS TEXT WILL BE REMOVED.
+
+<ui:composition template="/WEB-INF/facelets/layout.xhtml">
+
+ THIS TEXT WILL BE REMOVED AS WELL.
+
+ <ui:param name="pageTitle" value="#{resource.resource.name} - Add Property To Map '#{param.mapName}'"/>
+
+ <ui:define name="body">
+
+ <div class="instructionalText">
+ Enter a name and a value for the property to be added to the map '#{param.mapName}',
+ then click OK to return to the '#{resource.resource.name}' resource's main Edit Configuration page.
+ </div>
+
+ <div class="instructionalText">
+ Any values added here will not be persisted until you hit the Save button on the Resource's main Edit
+ Configuration page.
+ </div>
+
+ <h:form id="addNewOpenMapMemberPropertyForm">
+
+ <input type="hidden" name="mapName" value="#{param.mapName}"/>
+
+ <h:panelGrid columns="2" width="400">
+ <h:panelGroup>
+ Name: <h:inputText value="#{addNewOpenMap.propertyName}"/>
+ </h:panelGroup>
+ <h:panelGroup>
+ Value: <h:inputText value="#{addNewOpenMap.propertyValue}"/>
+ </h:panelGroup>
+ </h:panelGrid>
+
+ <h:panelGrid columns="2" styleClass="buttons-table" columnClasses="button-cell">
+ <h:commandButton value="#{messages['resource.configuration.map.button.ok']}"
+ action="#{addNewOpenMap.addProperty()}"
+ alt="Click to Add Property" styleClass="buttonmed"/>
+ <s:button value="#{messages['resource.configuration.map.button.cancel']}"
+ view="/secure/resourceInstanceConfig.xhtml"
+ styleClass="buttonmed"/>
+ </h:panelGrid>
+
+ </h:form>
+
+ </ui:define>
+
+</ui:composition>
+
+THIS TEXT WILL BE REMOVED AS WELL.
+
+</html>
Added: branches/JBPAPP_5_1_jopr/jopr/secure/categorySummary.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/secure/categorySummary.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/secure/categorySummary.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,144 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:rich="http://richfaces.ajax4jsf.org/rich"
+ >
+
+<body>
+<f:view>
+ <ui:composition template="/WEB-INF/facelets/layout.xhtml">
+
+ <ui:define name="pagetitle">#{subCategory.subCategory.name}</ui:define>
+ <ui:define name="tabmenu">
+ <ui:include src="/WEB-INF/facelets/tabMenu.xhtml">
+ <ui:param name="activeTab" value="summary"/>
+ </ui:include>
+ </ui:define>
+
+ <ui:define name="body">
+
+ <div class="tabmenubox">
+
+ <ui:include src="/WEB-INF/facelets/displayGlobalMessages.xhtml"/>
+
+ <div class="instructionalText">
+ #{subCategory.subCategory.description}
+ </div>
+ <div class="actionHeader">
+ <div class="floatright">
+ <!-- JBMANCON-437 temporarily disable
+ <h:form rendered="# { category.subCategory.creatable}" style="text-align: right;">
+ <s:button action="# { templateDropDownPopulator.getTemplateDropDownEntriesBySubCategory()}"
+ value="# { messages['summary.resourceType.addNew']}" styleClass="buttonmed">
+ <f:param name="selectedSubCategoryPath" value="# { category.path}"/>
+ </s:button>
+ </h:form>
+ <h:outputLabel rendered="# { !category.subCategory.creatable}"
+ value="# { messages['resourcetype.no.action']}"/>
+ -->
+ <h:outputLabel value="#{messages['resourcetype.no.action']}"/>
+ </div>
+ <h:form>
+ <h:outputLabel style="padding-right:6px;">View by Type:</h:outputLabel>
+ <h:selectOneMenu onchange="submit()" immediate="true"
+ valueChangeListener="#{summaryAction.resourceTypeSelected}">
+ <f:selectItems value="#{commonActionUtil.asSelectItemList()}"></f:selectItems>
+ </h:selectOneMenu>
+ </h:form>
+ </div>
+ <h:form id="categorySummaryForm">
+ <rich:dataTable
+ id="dataTable"
+ rows="#{tableManager.numRows}"
+ value="#{resources}"
+ var="resourceItem"
+ styleClass="controlTable"
+ rowClasses="oddRow,evenRow"
+ columnClasses="rich-table-cell, rich-table-cell, rich-table-cell, rich-table-cell-action">
+
+ <f:facet name="header">
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="Name"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="Type"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="Status"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="Actions"/>
+ </rich:column>
+ </rich:columnGroup>
+ </f:facet>
+
+ <rich:column>
+ <!-- TODO: style should be either link-avilable or link-unavailable -->
+ <s:link
+ value="#{resourceItem.name}"
+ view="/secure/summary.xhtml"
+ styleClass="link-available">
+ <f:param name="path"
+ value="#{navigationAction.getResourcePath(resourceItem.resource.id)}"/>
+ </s:link>
+ </rich:column>
+ <rich:column>
+ <s:link view="/secure/summary.xhtml">#{resourceItem.type}
+ <!-- get the child node corresponding to the type of this item, then get its path -->
+ <f:param name="path" value="#{summaryAction.getResourceTypePath(resourceItem.type)}"/>
+ </s:link>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{resourceItem.availability}"/>
+ </rich:column>
+ <rich:column>
+ <ui:param name="confirmDeleteMessage"
+ value="#{messages['summary.category.confirmDelete']}"/>
+ <s:button id="removeButton"
+ action="#{resourceCRUDAction.removeResourceAction()}" value="Delete"
+ onclick="if (!confirm('#{confirmDeleteMessage}')) return false;"
+ styleClass="buttonsmall"
+ rendered="#{resourceItem.resource.resourceType.deletable}">
+ <f:param name="resourceId" value="#{resourceItem.resource.id}"/>
+ </s:button>
+ </rich:column>
+ <f:facet name="footer"><h:graphicImage value="images/spacer.gif"/>
+ </f:facet>
+ </rich:dataTable>
+
+ <ui:param name="paginationDataModel" value="#{resources}"/>
+ <ui:param name="paginationDataTableName" value="dataTable"/>
+ <ui:include src="/WEB-INF/facelets/resourceDataScroller.xhtml"/>
+ </h:form>
+ </div>
+ </ui:define>
+ </ui:composition>
+</f:view>
+</body>
+</html>
Added: branches/JBPAPP_5_1_jopr/jopr/secure/editMap.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/secure/editMap.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/secure/editMap.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:onc="http://jboss.org/on/component">
+
+THIS TEXT WILL BE REMOVED.
+
+<ui:composition template="/WEB-INF/facelets/layout.xhtml">
+
+ THIS TEXT WILL BE REMOVED AS WELL.
+
+ <ui:param name="pageTitle" value="'#{resource.resource.name}' - Edit Map - #{param.listName}[#{param.listIndex}]"/>
+
+ <ui:define name="body">
+
+ <p>
+ Any values changed here will not be persisted until you hit the Save button on the Resource's main Edit
+ Configuration page.
+ </p>
+ <h:form id="resourceConfigurationForm" onsubmit="prepareInputsForSubmission(this)">
+
+ <onc:config configurationDefinition="#{resourceConfigurationUIBean.configurationDefinition}"
+ configuration="#{resourceConfigurationUIBean.configuration}"
+ listName="#{param.listName}"
+ listIndex="#{param.listIndex}"/>
+
+ <h:panelGrid columns="2" styleClass="buttons-table" columnClasses="button-cell">
+ <h:commandButton value="#{messages['resource.configuration.map.button.ok']}"
+ action="#{resourceConfigurationUIBean.editMap()}"
+ styleClass="buttonmed"/>
+ <s:button value="#{messages['resource.configuration.map.button.cancel']}"
+ view="/secure/resourceInstanceConfig.xhtml"
+ styleClass="buttonmed"/>
+ </h:panelGrid>
+ </h:form>
+
+ </ui:define>
+
+</ui:composition>
+
+THIS TEXT WILL BE REMOVED AS WELL.
+
+</html>
Added: branches/JBPAPP_5_1_jopr/jopr/secure/operationParameters.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/secure/operationParameters.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/secure/operationParameters.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,81 @@
+<?xml version="1.0"?>
+
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:onc="http://jboss.org/on/component">
+
+THIS TEXT WILL BE REMOVED.
+
+<ui:composition template="/WEB-INF/facelets/layout.xhtml">
+
+ THIS TEXT WILL BE REMOVED AS WELL.
+
+ <ui:define name="pagetitle">#{resource.resource.name}</ui:define>
+
+ <ui:define name="body">
+
+ <h2>Execute "#{selectedOperation.displayName}" Control Operation</h2>
+
+ <p>
+ This operation takes parameters. Please enter values for the parameters, then click OK
+ to execute the operation.
+ </p>
+
+ <h:form id="parametersForm" onsubmit="prepareInputsForSubmission(this)">
+
+ <input type="hidden" name="selectedOperationName" value="#{selectedOperation.name}"/>
+
+ <onc:config configurationDefinition="#{selectedOperation.parametersConfigurationDefinition}"
+ configuration="#{selectedOperationParameters}"
+ nullConfigurationDefinitionMessage="null config def!"
+ nullConfigurationMessage="null config!"
+ nullConfigurationStyle="InfoBlock"/>
+
+ <ui:remove><!--Don't use s:button, as it will not submit the form!--></ui:remove>
+
+ <h:panelGrid columns="2" styleClass="buttons-table" columnClasses="button-cell">
+ <h:commandButton id="okButton"
+ value="#{messages['button.ok']}"
+ action="#{operationAction.invokeOperation()}"
+ styleClass="buttonmed"/>
+
+ <s:button value="#{messages['resource.configuration.map.button.cancel']}"
+ view="/secure/resourceInstanceOperation.xhtml" propagation="end"
+ styleClass="buttonmed"/>
+ </h:panelGrid>
+
+ </h:form>
+
+ </ui:define>
+
+</ui:composition>
+
+THIS TEXT WILL BE REMOVED AS WELL.
+
+</html>
Added: branches/JBPAPP_5_1_jopr/jopr/secure/repeatNav.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/secure/repeatNav.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/secure/repeatNav.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:s="http://jboss.com/products/seam/taglib">
+
+<body>
+<f:view>
+ <ui:composition template="/WEB-INF/facelets/layout.xhtml">
+
+ <ui:define name="pagetitle">#{subCategory.subCategory.name}</ui:define>
+
+ <ui:define name="body">
+ <div class="noborderbox">
+ <ui:include src="/WEB-INF/facelets/displayGlobalMessages.xhtml"/>
+
+ <div style="width:100%;">
+ #{subCategory.subCategory.description}
+ <hr style="border: 0px; border-bottom: 1px solid #eff2f4; "/>
+ </div>
+
+ <h:form>
+ <div class="sectionalLinks">
+ <ol>
+ <!-- display all child categories/resource types -->
+ <ui:repeat value="#{subCategory.childNodesAsList}" var="childNode">
+ <li>
+ <s:link view="/secure/summary.xhtml">#{childNode.name}
+ <f:param name="path" value="#{childNode.path}"/>
+ </s:link>
+ <br/>
+ <h:outputText value="#{childNode.description}"/>
+ </li>
+ </ui:repeat>
+ </ol>
+ </div>
+ </h:form>
+ </div>
+ </ui:define>
+
+ </ui:composition>
+</f:view>
+</body>
+</html>
Added: branches/JBPAPP_5_1_jopr/jopr/secure/resourceContentCreate.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/secure/resourceContentCreate.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/secure/resourceContentCreate.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,73 @@
+<?xml version="1.0"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:rich="http://richfaces.ajax4jsf.org/rich"
+ xmlns:onc="http://jboss.org/on/component"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ >
+<f:view>
+ <ui:composition template="/WEB-INF/facelets/layout.xhtml">
+
+ <!-- page title -->
+ <ui:define name="pagetitle">#{messages['resource.add.pageTitlePrefix']} #{resourceType.name}</ui:define>
+ <!-- body -->
+ <ui:define name="body">
+ <div class="notabmenubox">
+ <ui:include src="/WEB-INF/facelets/displayGlobalMessages.xhtml"/>
+
+ <div class="instructionalText">
+ #{messages['content.resourceInstance.create']}
+ </div>
+ <hr/>
+ <h:form id="createContentForm" enctype="multipart/form-data">
+ <h:panelGrid styleClass="formstyle">
+ <s:fileUpload id="file"
+ data="#{createContentBackedResourceAction.file}"
+ fileName="#{createContentBackedResourceAction.fileName}"
+ accept="application/zip,application/war,application/ear,application/jar"
+ contentType="#{createContentBackedResourceAction.fileContentType}"
+ required="true"/>
+ <onc:config configurationDefinition="#{configurationDefinition}"
+ configuration="#{configuration}"
+ nullConfigurationDefinitionMessage="null ConfigurationDefinition!"
+ nullConfigurationMessage="null Configuration!"
+ rendered="#{configurationDefinition ne null}"/>
+ <h:panelGrid columns="2" cellspacing="9">
+ <h:commandButton value="#{messages['resource.add.button.continue']}"
+ id="addButton"
+ action="#{createContentBackedResourceAction.createContentBackedResource()}"
+ styleClass="buttonmed"/>
+ <s:button value="#{messages['resource.add.button.cancel']}"
+ id="cancelButton"
+ view="/secure/summary.xhtml"
+ propagation="end"
+ styleClass="buttonmed"/>
+ </h:panelGrid>
+ </h:panelGrid>
+ </h:form>
+ </div>
+ </ui:define>
+ </ui:composition>
+</f:view>
+</html>
\ No newline at end of file
Added: branches/JBPAPP_5_1_jopr/jopr/secure/resourceCreatePage1.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/secure/resourceCreatePage1.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/secure/resourceCreatePage1.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ >
+<f:view>
+ <ui:composition template="/WEB-INF/facelets/layout.xhtml">
+
+ <!-- page title -->
+ <ui:define name="pagetitle">#{messages['resource.add.pageTitlePrefix']} #{resourceType.name}</ui:define>
+
+ <!-- body -->
+ <ui:define name="body">
+ <div class="notabmenubox">
+ <ui:include src="/WEB-INF/facelets/displayGlobalMessages.xhtml"/>
+
+ <hr/>
+ <h:form id="resourceCreateForm">
+ <h:panelGrid styleClass="formstyle">
+
+ <ui:include src="/WEB-INF/facelets/formDropDownComponent.xhtml">
+ <ui:param name="identifier" value="selectedTemplate"/>
+ <ui:param name="label" value="#{messages['resource.template.select']}"/>
+ <ui:param name="beanValue" value="#{templateDropDownPopulator.selectedTemplate}"/>
+ <ui:param name="itemValues" value="#{templateMap}"/>
+ <ui:param name="desc" value="#{messages['resource.template.desc']}"/>
+ <ui:param name="rendered" value="true"/>
+ <ui:param name="required" value="true"/>
+ </ui:include>
+ </h:panelGrid>
+ <h:panelGrid columns="2" styleClass="buttons-table" columnClasses="button-cell">
+ <h:commandButton id="addButton"
+ value="#{messages['resource.add.button.continue']}"
+ action="#{templateDropDownPopulator.populateFromTemplate()}"
+ styleClass="buttonmed"/>
+ <s:button value="#{messages['resource.add.button.cancel']}"
+ view="/secure/summary.xhtml"
+ styleClass="buttonmed"
+ propagation="end"/>
+ </h:panelGrid>
+ </h:form>
+ </div>
+ </ui:define>
+ </ui:composition>
+</f:view>
+</html>
\ No newline at end of file
Added: branches/JBPAPP_5_1_jopr/jopr/secure/resourceInstanceConfig.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/secure/resourceInstanceConfig.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/secure/resourceInstanceConfig.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,94 @@
+<?xml version="1.0"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:onc="http://jboss.org/on/component">
+<f:view>
+ <ui:composition template="/WEB-INF/facelets/layout.xhtml">
+
+ <ui:define name="pagetitle">#{resource.resource.name}</ui:define>
+
+ <!-- This rendered might be an issue if actionType is neither UPDATE or CREATE, which shouldn't happen-->
+ <ui:define name="tabmenu">
+ <h:panelGroup rendered="#{resourceConfigurationUIBean.actionType eq 'UPDATE'}">
+ <ui:include src="/WEB-INF/facelets/tabMenu.xhtml">
+ <ui:param name="activeTab" value="configuration"/>
+ </ui:include>
+ </h:panelGroup>
+ </ui:define>
+
+ <ui:define name="body">
+ <div class="tabmenubox">
+ <h:panelGroup styleClass="messagingBox"
+ rendered="#{resourceAction.hasGlobalMessages || resourceAction.hasOnlyNonInfoNonGlobalMessages}">
+ <h:outputText styleClass="messagingFail"
+ value="#{messages['resource.status.update.validationErrors']}"
+ rendered="#{resourceAction.hasOnlyNonInfoNonGlobalMessages}"/>
+ <h:messages globalOnly="true"
+ errorClass="messagingFail"
+ infoClass="messagingSuccess"
+ warnClass="messagingFail"
+ fatalClass="messagingFail"/>
+ </h:panelGroup>
+ <h:panelGroup rendered="#{resourceConfigurationUIBean.actionType eq 'UPDATE'}">
+ <h1>#{messages['resource.edit.title']}</h1>
+ </h:panelGroup>
+ <h:panelGroup rendered="#{resourceConfigurationUIBean.actionType eq 'CREATE'}">
+ <h1>#{messages['resource.add.pageTitlePrefix']} #{resource.resource.resourceType.name}</h1>
+ </h:panelGroup>
+
+ <h:panelGroup rendered="#{resourceConfigurationUIBean.configuration eq null}">
+ #{messages['resource.configuration.null']}
+ </h:panelGroup>
+ <h:form id="resourceConfigurationForm" onsubmit="prepareInputsForSubmission(this)"
+ rendered="#{resourceConfigurationUIBean.configuration ne null}">
+
+ <onc:config configurationDefinition="#{resourceConfigurationUIBean.configurationDefinition}"
+ configuration="#{resourceConfigurationUIBean.configuration}"
+ fullyEditable="#{resourceConfigurationUIBean.actionType eq 'CREATE'}"
+ nullConfigurationDefinitionMessage="#{resourceConfigurationUIBean.nullConfigurationDefinitionMessage}"
+ nullConfigurationMessage="#{resourceConfigurationUIBean.nullConfigurationMessage}"
+ nullConfigurationStyle="infoBlock"/>
+
+ <h:panelGrid columns="2" styleClass="buttons-table" columnClasses="button-cell">
+ <h:commandButton id="saveButton"
+ type="submit"
+ action="#{resourceConfigurationUIBean.saveConfiguration()}"
+ value="Save"
+ alt="Click to Save Changes"
+ styleClass="buttonmed"/>
+ <s:button id="cancelButton"
+ value="#{messages['resource.add.button.cancel']}"
+ view="/secure/summary.xhtml"
+ styleClass="buttonmed"
+ propagation="end"/>
+ </h:panelGrid>
+
+ </h:form>
+
+ </div>
+ </ui:define>
+ </ui:composition>
+</f:view>
+</html>
\ No newline at end of file
Added: branches/JBPAPP_5_1_jopr/jopr/secure/resourceInstanceContent.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/secure/resourceInstanceContent.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/secure/resourceInstanceContent.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:rich="http://richfaces.ajax4jsf.org/rich">
+
+<body>
+<f:view>
+ <ui:composition template="/WEB-INF/facelets/layout.xhtml">
+
+ <ui:define name="pagetitle">#{resource.name}</ui:define>
+
+ <ui:define name="tabmenu">
+ <ui:include src="/WEB-INF/facelets/tabMenu.xhtml">
+ <ui:param name="activeTab" value="content"/>
+ </ui:include>
+ </ui:define>
+
+ <!-- body -->
+ <ui:define name="body">
+ <div class="notabmenubox">
+ <ui:include src="/WEB-INF/facelets/displayGlobalMessages.xhtml"/>
+ <h:panelGroup layout="block" rendered="#{not empty packageDetails.location}"
+ styleClass="instructionalText">
+ <b>File Path: </b> #{packageDetails.location}
+ </h:panelGroup>
+ <h:panelGroup layout="block" rendered="#{not empty packageDetails.fileSize}"
+ styleClass="instructionalText">
+ <b>File Size: </b>
+ <h:outputText value=" "/>
+ <h:outputText value="#{packageDetails.fileSize}"><f:convertNumber/></h:outputText> bytes
+ </h:panelGroup>
+ <hr/>
+ <div class="instructionalText">
+ To update the #{packageType.displayName}, specify a local file path then click Update. Note, the
+ specified file must be named #{packageDetails.fileName}.
+ </div>
+ <h:form enctype="multipart/form-data">
+ <h:panelGrid styleClass="formstyle">
+ <s:fileUpload id="file"
+ data="#{updateBackingContentAction.file}"
+ fileName="#{updateBackingContentAction.fileName}"
+ accept="application/zip,application/war,application/ear,application/jar"
+ contentType="#{updateBackingContentAction.fileContentType}"
+ required="true"/>
+ <h:commandButton value="#{messages['resource.content.button.update']}"
+ action="#{updateBackingContentAction.updateBackingContent()}"
+ styleClass="buttonmed"/>
+ </h:panelGrid>
+ </h:form>
+ </div>
+ </ui:define>
+
+ </ui:composition>
+</f:view>
+</body>
+</html>
\ No newline at end of file
Added: branches/JBPAPP_5_1_jopr/jopr/secure/resourceInstanceMetrics.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/secure/resourceInstanceMetrics.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/secure/resourceInstanceMetrics.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:rich="http://richfaces.ajax4jsf.org/rich">
+
+<body>
+<f:view>
+ <ui:composition template="/WEB-INF/facelets/layout.xhtml">
+
+ <ui:define name="pagetitle">#{resource.resource.name}</ui:define>
+
+ <ui:define name="tabmenu">
+ <ui:include src="/WEB-INF/facelets/tabMenu.xhtml">
+ <ui:param name="activeTab" value="metric"/>
+ </ui:include>
+ </ui:define>
+
+ <ui:define name="body">
+ <div class="tabmenubox">
+ <ui:include src="/WEB-INF/facelets/displayGlobalMessages.xhtml"/>
+
+ <div class="instructionalText">
+ #{messages['metrics.resourceInstance.pageDescription']}
+ </div>
+
+ <ui:debug/>
+
+ <h2>#{messages['metrics.resourceInstance.traitValues']}</h2>
+
+ <rich:dataTable value="#{traitDisplayList}"
+ rendered="#{not empty traitDisplayList}"
+ id="metricsTraitsTable"
+ var="trait"
+ columnClasses="standard-traitscolumn" width="100%">
+ <rich:column rendered="#{trait['a'] ne null}" width="50%">
+ <b>#{measurementDefinitionMap[trait['a'].measurementData.name].displayName}:</b>
+ #{trait['a'].measurementValueAndUnits}
+ </rich:column>
+ <rich:column rendered="#{trait['b'] ne null}" width="50%">
+ <b>#{measurementDefinitionMap[trait['b'].measurementData.name].displayName}:</b>
+ #{trait['b'].measurementValueAndUnits}
+ </rich:column>
+ </rich:dataTable>
+
+ <h:panelGroup layout="block" rendered="#{empty traitDisplayList}">
+ There are currently no traits available.
+ </h:panelGroup>
+
+ <h2>#{messages['metrics.resourceInstance.numericMetricValues']}</h2>
+
+ <rich:dataTable
+ id="dataTable"
+ value="#{measurementCategoryList}" var="category"
+ rendered="#{not empty measurementCategoryList}"
+ styleClass="controlTable"
+ rowClasses="categoryRow">
+ <f:facet name="header">
+ <rich:columnGroup>
+ <rich:column>#{messages['metrics.resourceInstance.name']}</rich:column>
+ <rich:column>#{messages['metrics.resourceInstance.value']}</rich:column>
+ <rich:column>#{messages['metrics.resourceInstance.description']}</rich:column>
+ </rich:columnGroup>
+ </f:facet>
+
+ <rich:column colspan="3">#{messages['metrics.resourceInstance.category']}: #{category}</rich:column>
+
+ <rich:subTable
+ value="#{measurementDisplayMap[category]}" var="md"
+ rowClasses="oddRow,evenRow"
+ columnClasses="rich-table-cell, rich-table-cell, rich-table-cell-action">
+ <rich:column>#{measurementDefinitionMap[md.measurementData.name].displayName}</rich:column>
+ <rich:column id="measurementValue">#{md.measurementValueAndUnits}</rich:column>
+ <rich:column>#{measurementDefinitionMap[md.measurementData.name].description}</rich:column>
+ </rich:subTable>
+ <f:facet name="footer"><h:graphicImage value="images/spacer.gif"/>
+ </f:facet>
+ </rich:dataTable>
+
+ <h:panelGroup layout="block" rendered="#{empty measurementCategoryList}">
+ #{messages['metrics.noNumericMetricsAvailable']}
+ </h:panelGroup>
+
+ <h:form rendered="#{(not empty traitDisplayList) or (not empty measurementCategoryList)}"
+ style="text-align: left;">
+ <s:button style="margin-top: 6px;" action="#{metricAction.view()}"
+ value="#{messages['metrics.resourceInstance.refresh']}" styleClass="buttonmed">
+ </s:button>
+ </h:form>
+ </div>
+ </ui:define>
+
+ </ui:composition>
+</f:view>
+</body>
+</html>
\ No newline at end of file
Added: branches/JBPAPP_5_1_jopr/jopr/secure/resourceInstanceOperation.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/secure/resourceInstanceOperation.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/secure/resourceInstanceOperation.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,256 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:onc="http://jboss.org/on/component">
+
+
+<body>
+<f:view>
+<ui:composition template="/WEB-INF/facelets/layout.xhtml">
+
+<ui:define name="pagetitle">#{currentResource.name}</ui:define>
+
+<ui:define name="tabmenu">
+ <ui:include src="/WEB-INF/facelets/tabMenu.xhtml">
+ <ui:param name="activeTab" value="operation"/>
+ </ui:include>
+</ui:define>
+
+<ui:define name="body">
+
+ <div class="tabmenubox">
+ <ui:include src="/WEB-INF/facelets/displayGlobalMessages.xhtml"/>
+
+ <h:outputText value="#{messages['control.resourceInstance.error.noOperations']}"
+ rendered="#{empty operations}"/>
+
+ <h:form id="operationsForm"
+ rendered="#{!empty operations}">
+ <div class="instructionalText">
+ #{messages['control.resourceInstance.select']}
+ </div>
+
+ <div class="controlTriggerPanel">
+ <rich:dataTable
+ styleClass="internalTable"
+ width="100%"
+ id="dataTable"
+ rowClasses=""
+ var="operation"
+ value="#{operations}">
+
+ <rich:columnGroup styleClass="#{operationAction.getOperationRowStyleClass(operation)}">
+ <rich:column styleClass="buttonColumn">
+
+ <f:facet name="footer"><h:outputText>footer1</h:outputText></f:facet>
+ <s:button value="#{operation.displayName}"
+ action="#{operationAction.invokeOperation()}"
+ styleClass="buttonmed" style="margin-right:40px;">
+ <f:param name="selectedOperationName" value="#{operation.name}"/>
+ </s:button>
+ </rich:column>
+ <rich:column styleClass="descripColumn">
+ <f:facet name="header"><h:outputText>header2</h:outputText></f:facet>
+ <f:facet name="footer"><h:outputText>footer2</h:outputText></f:facet>
+ <h:outputText value="#{operation.description}"/>
+ </rich:column>
+ </rich:columnGroup>
+ </rich:dataTable>
+ </div>
+ </h:form>
+
+ <rich:panel id="historiesPanel" rendered="#{!empty operationHistories}" style="margin-top: 12px;">
+
+ <f:facet name="header">
+ #{messages['control.resourceInstance.operationHistory']}
+ </f:facet>
+
+ <h:outputText value="#{messages['control.resourceInstance.error.noPrevious']}"
+ rendered="#{empty operationHistories}"/>
+
+ <h:form id="historiesForm" rendered="#{!empty operationHistories}">
+ <a4j:poll id="poller" reRender="poller, historiesForm, historyDetailsPanel" interval="10000"
+ limitToList="true"/>
+
+ <rich:dataTable
+ styleClass="properties-table"
+ id="dataTable"
+ rows="#{tableManager.numRows}"
+ rowClasses="DarkRow"
+ var="operationHistory"
+ value="#{operationHistories}">
+
+ <f:facet name="header">
+ <rich:columnGroup>
+ <rich:column styleClass="properties-table-header-cell">
+ <h:outputText
+ value="#{messages['control.resourceInstance.previous.executedAt']}"/>
+ </rich:column>
+ <rich:column styleClass="properties-table-header-cell">
+ <h:outputText
+ value="#{messages['control.resourceInstance.previous.operation']}"/>
+ </rich:column>
+ <rich:column styleClass="properties-table-header-cell">
+ <h:outputText value="#{messages['control.resourceInstance.previous.status']}"/>
+ </rich:column>
+ <rich:column styleClass="properties-table-header-cell">
+ <h:outputText value="Actions"/>
+ </rich:column>
+ </rich:columnGroup>
+ </f:facet>
+
+ <rich:columnGroup
+ styleClass="#{operationAction.getHistoriesTableRowStyleClass(operationHistory)}">
+
+ <rich:column styleClass="operationTimeColumn">
+ <h:outputText value="#{operationHistory.createdTime}">
+ <s:convertDateTime type="both" pattern="MMMMM d, yyyy '-' h:mm a"/>
+ </h:outputText>
+ </rich:column>
+
+ <rich:column styleClass="operationNameColumn">
+ <h:outputText value="#{operationHistory.operationDefinition.displayName}"/>
+ </rich:column>
+
+ <rich:column styleClass="operationStatusColumn">
+ <h:panelGroup>
+ <h:outputText value="#{messages['control.resourceInstance.previous.success']}"
+ rendered="#{operationHistory.status eq 'SUCCESS'}"
+ styleClass="operationSuccess"/>
+ <h:outputText
+ value="#{messages['control.resourceInstance.previous.inProgress']}"
+ rendered="#{operationHistory.status eq 'INPROGRESS'}"
+ styleClass="operationInProgress"/>
+ <h:outputText value="#{messages['control.resourceInstance.previous.failure']}"
+ rendered="#{operationHistory.status eq 'FAILURE'}"
+ styleClass="operationFailure"/>
+ <h:outputLabel value=" "/>
+ </h:panelGroup>
+ </rich:column>
+
+ <rich:column styleClass="actionsColumn">
+ <a4j:commandButton value="Show Details Below..."
+ action="#{operationAction.selectOperationHistory(operationHistory.id)}"
+ reRender="historiesPanel, historyDetailsPanel"
+ styleClass="buttonsmall"/>
+ </rich:column>
+
+ </rich:columnGroup>
+ </rich:dataTable>
+
+ <ui:include src="/WEB-INF/facelets/resourceDataScroller.xhtml">
+ <ui:param name="paginationDataModel" value="#{operationHistories}"/>
+ <ui:param name="paginationDataTableName" value="dataTable"/>
+ </ui:include>
+
+ </h:form>
+ </rich:panel>
+
+ <rich:panel id="historyDetailsPanel" rendered="#{!empty operationHistories}" style="margin-top: 12px;">
+
+ <f:facet name="header">
+ <h:outputText value="Selected Operation History Item"/>
+ </f:facet>
+
+ <h:panelGroup layout="block" rendered="#{empty selectedHistory}"
+ style="margin-top: 6px; margin-bottom: 6px">
+ No operation history is selected. Please select one above.
+ </h:panelGroup>
+
+ <!-- TODO: Enclose params and results in separate forms, so that drilling down on a list of maps is possible. -->
+
+ <h:panelGroup layout="block" rendered="#{!empty selectedHistory}"
+ style="margin-top: 6px; margin-bottom: 6px">
+ <!-- Parameters -->
+ <h3>#{messages['control.resourceInstance.previous.parameters']}</h3>
+ <h:panelGroup rendered="#{selectedHistory.parameters ne null}">
+ <onc:config
+ configurationDefinition="#{selectedHistory.operationDefinition.parametersConfigurationDefinition}"
+ configuration="#{selectedHistory.parameters}"
+ readOnly="true"
+ nullConfigurationDefinitionMessage="null config def!"
+ nullConfigurationMessage="null config!"
+ nullConfigurationStyle="InfoBlock"/>
+ </h:panelGroup>
+ <h:panelGroup id="noParameters"
+ rendered="#{selectedHistory.parameters eq null or empty selectedHistory.parameters.map}">
+ <i>This operation does not take any parameters.</i>
+ </h:panelGroup>
+
+ <!-- Results -->
+ <h:panelGroup layout="block"
+ rendered="#{selectedHistory.status eq 'INPROGRESS' or selectedHistory.status eq 'SUCCESS'}">
+ <h3>#{messages['control.resourceInstance.previous.results']}</h3>
+ <h:panelGroup layout="block"
+ rendered="#{selectedHistory.status eq 'INPROGRESS'}">
+ <i>The operation has not completed yet.</i>
+ </h:panelGroup>
+ <h:panelGroup id="operationResults" layout="block"
+ rendered="#{selectedHistory.status eq 'SUCCESS' and selectedHistory.results ne null and selectedHistory.operationDefinition.resultsConfigurationDefinition ne null}">
+ <h:form>
+ <onc:config
+ configurationDefinition="#{selectedHistory.operationDefinition.resultsConfigurationDefinition}"
+ configuration="#{selectedHistory.results}"
+ readOnly="true"
+ nullConfigurationDefinitionMessage="null config def!"
+ nullConfigurationMessage="null config!"
+ nullConfigurationStyle="InfoBlock"/>
+ </h:form>
+ </h:panelGroup>
+ <h:panelGroup id="noResults" layout="block"
+ rendered="#{selectedHistory.status eq 'SUCCESS' and (selectedHistory.results eq null or empty selectedHistory.results.map)}">
+ <i>The operation did not return any results.</i>
+ </h:panelGroup>
+ </h:panelGroup>
+
+ <!-- Error -->
+ <h:panelGroup id="errorMessage" layout="block"
+ rendered="#{selectedHistory.status eq 'FAILURE'}">
+ <h3>#{messages['control.resourceInstance.previous.error']}</h3>
+ <h:inputTextarea value="#{selectedHistory.errorMessage}" readonly="true"
+ rendered="#{selectedHistory.errorMessage ne null}"
+ style="width: 100%;" rows="7"/>
+ <h:panelGroup layout="block" rendered="#{selectedHistory.errorMessage eq null}">
+ <i>The operation failed for an unknown reason.</i>
+ </h:panelGroup>
+ </h:panelGroup>
+ </h:panelGroup>
+
+ </rich:panel>
+
+ <a4j:log rendered="false" popup="false" level="ALL" style="width: 800px; height: 400px;"/>
+
+ </div>
+</ui:define>
+
+</ui:composition>
+</f:view>
+</body>
+</html>
Added: branches/JBPAPP_5_1_jopr/jopr/secure/resourceInstanceSummary.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/secure/resourceInstanceSummary.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/secure/resourceInstanceSummary.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:rich="http://richfaces.ajax4jsf.org/rich">
+
+
+<body>
+<f:view>
+ <ui:composition template="/WEB-INF/facelets/layout.xhtml">
+
+ <ui:define name="pagetitle">#{resource.resource.name}</ui:define>
+
+ <ui:define name="tabmenu">
+ <ui:include src="/WEB-INF/facelets/tabMenu.xhtml">
+ <ui:param name="activeTab" value="summary"/>
+ </ui:include>
+ </ui:define>
+
+ <ui:define name="body">
+ <div class="tabmenubox">
+ <ui:include src="/WEB-INF/facelets/displayGlobalMessages.xhtml"/>
+
+ <h2>#{messages['summary.resourceInstance.configuration']}</h2>
+
+ <h:panelGrid border="0" columns="1" columnClasses="dr-table-cell rich-table-cell standard-traitscolumn">
+ <h:panelGroup layout="block">
+ <span style="padding-right:3px;">
+ <strong>#{messages['summary.resourceInstance.configuration.name']}</strong>
+ </span>
+ #{resource.resource.name}
+ </h:panelGroup>
+ <h:panelGroup layout="block">
+ <span style="padding-right:3px;">
+ <strong>#{messages['summary.resourceInstance.configuration.version']}</strong>
+ </span>
+ <h:outputText rendered="#{not empty resource.resource.version}">#{resource.resource.version}</h:outputText>
+ <h:outputText rendered="#{empty resource.resource.version}">--</h:outputText>
+ </h:panelGroup>
+ <h:panelGroup layout="block">
+ <span style="padding-right:3px;">
+ <strong>#{messages['summary.resourceInstance.configuration.description']}</strong>
+ </span>
+ <h:outputText rendered="#{not empty resource.resource.description}">#{resource.resource.description}</h:outputText>
+ <h:outputText rendered="#{empty resource.resource.description}">--</h:outputText>
+ </h:panelGroup>
+ </h:panelGrid>
+
+ <h:panelGroup rendered="#{not empty summaryTraitDisplayList}">
+ <h2>#{messages['summary.resourceInstance.traits']}</h2>
+
+ <rich:dataTable value="#{summaryTraitDisplayList}"
+ var="trait"
+ columnClasses="standard-traitscolumn">
+ <rich:column>
+ <strong>#{ summaryMeasurementDefinitionMap[trait.measurementData.name].displayName}:</strong>
+ #{trait.measurementValueAndUnits}
+ </rich:column>
+ </rich:dataTable>
+ </h:panelGroup>
+
+ <h:panelGroup rendered="#{not empty summaryMeasurementDisplayList}">
+ <h2>#{messages['summary.resourceInstance.metrics']}</h2>
+
+ <rich:dataTable id="dataTable"
+ value="#{summaryMeasurementDisplayList}"
+ rendered="#{not empty summaryMeasurementDisplayList}"
+ var="md"
+ rowClasses="oddRow,evenRow"
+ columnClasses="rich-table-cell, rich-table-cell, rich-table-cell-action">
+ <f:facet name="header">
+ <rich:columnGroup>
+ <rich:column>#{messages['metrics.resourceInstance.name']}</rich:column>
+ <rich:column>#{messages['metrics.resourceInstance.value']}</rich:column>
+ <rich:column>#{messages['metrics.resourceInstance.description']}</rich:column>
+ </rich:columnGroup>
+ </f:facet>
+ <rich:column>#{summaryMeasurementDefinitionMap[md.measurementData.name].displayName}</rich:column>
+ <rich:column id="measurementValue">#{md.measurementValueAndUnits}</rich:column>
+ <rich:column>#{summaryMeasurementDefinitionMap[md.measurementData.name].description}</rich:column>
+ </rich:dataTable>
+ </h:panelGroup>
+ </div>
+ </ui:define>
+
+ </ui:composition>
+</f:view>
+</body>
+</html>
Added: branches/JBPAPP_5_1_jopr/jopr/secure/resourceTypeSummary.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/secure/resourceTypeSummary.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/secure/resourceTypeSummary.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:rich="http://richfaces.ajax4jsf.org/rich"
+ >
+
+<body>
+<f:view>
+ <ui:composition template="/WEB-INF/facelets/layout.xhtml">
+
+ <ui:define name="pagetitle">#{resourceType.name}</ui:define>
+
+ <ui:define name="tabmenu">
+ <ui:include src="/WEB-INF/facelets/tabMenu.xhtml">
+ <ui:param name="activeTab" value="summary"/>
+ </ui:include>
+ </ui:define>
+
+ <ui:define name="body">
+
+ <div class="tabmenubox">
+
+ <ui:include src="/WEB-INF/facelets/displayGlobalMessages.xhtml"/>
+
+ <div class="instructionalText">
+ #{resourceType.description}
+ </div>
+ <div class="actionHeader">
+ <h:form id="actionHeaderForm" rendered="#{resourceType.creatable}" style="text-align: right;">
+ <s:button rendered="#{resourceType.creationDataType ne 'CONTENT'}"
+ id="addNewNotContent"
+ action="#{templateDropDownPopulator.getTemplateDropDownEntriesByResourceType()}"
+ value="#{messages['summary.resourceType.addNew']}" styleClass="buttonmed">
+ <f:param name="selectedResourceTypeName" value="#{resourceType.name}"/>
+ </s:button>
+
+ <s:button rendered="#{resourceType.creationDataType eq 'CONTENT'}"
+ id="addNewContent"
+ action="#{createContentBackedResourceAction.init()}"
+ value="#{messages['summary.resourceType.addNew']}" styleClass="buttonmed"/>
+ </h:form>
+ <h:outputLabel rendered="#{!resourceType.creatable}"
+ value="#{messages['resourcetype.no.action']}"/>
+ </div>
+ <h:form id="resourceSummaryForm">
+ <!-- TODO: need to add checkboxes and addNew / Delete actions -->
+ <rich:dataTable
+ id="dataTable"
+ rows="#{tableManager.numRows}"
+ value="#{resources}"
+ var="resourceItem"
+ styleClass="controlTable"
+ rowClasses="oddRow,evenRow"
+ columnClasses="rich-table-cell, rich-table-cell, rich-table-cell-action">
+ <f:facet name="header">
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="Name"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="Status"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="Actions"/>
+ </rich:column>
+ </rich:columnGroup>
+ </f:facet>
+ <rich:column>
+ <!-- TODO: style should be either link-avilable or link-unavailable -->
+ <s:link id="resourceName"
+ value="#{resourceItem.name}"
+ view="/secure/summary.xhtml"
+ styleClass="link-available">
+ <f:param name="path"
+ value="#{navigationAction.getResourcePath(resourceItem.resource.id)}"/>
+ </s:link>
+ </rich:column>
+ <!-- TODO: need to figure out what other columns to add that are specific to this resourceType -->
+ <rich:column>
+ <h:outputText id="availability" value="#{resourceItem.availability}"/>
+ </rich:column>
+ <rich:column>
+ <ui:param name="confirmDeleteMessage"
+ value="#{messages['summary.resourceType.confirmDelete']}"/>
+ <s:button id="removeButton"
+ action="#{resourceCRUDAction.removeResourceAction()}" value="Delete"
+ onclick="if (!confirm('#{confirmDeleteMessage}')) return false;"
+ rendered="#{resourceItem.resource.resourceType.deletable}"
+ styleClass="buttonsmall">
+ <f:param name="resourceId" value="#{resourceItem.resource.id}"/>
+ </s:button>
+ </rich:column>
+ <f:facet name="footer"><h:graphicImage value="images/spacer.gif"/>
+ </f:facet>
+ </rich:dataTable>
+
+ <ui:param name="paginationDataModel" value="#{resources}"/>
+ <ui:param name="paginationDataTableName" value="dataTable"/>
+ <ui:include src="/WEB-INF/facelets/resourceDataScroller.xhtml"/>
+ </h:form>
+
+ </div>
+ </ui:define>
+ </ui:composition>
+</f:view>
+</body>
+</html>
Added: branches/JBPAPP_5_1_jopr/jopr/secure/rootSummary.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/secure/rootSummary.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/secure/rootSummary.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+
+<body>
+<f:view>
+ <ui:composition template="/WEB-INF/facelets/layout.xhtml">
+
+ <ui:define name="tabmenu">
+ <ui:include src="/WEB-INF/facelets/tabMenu.xhtml">
+ <ui:param name="activeTab" value="summary"/>
+ </ui:include>
+ </ui:define>
+
+ <ui:define name="body">
+ <div class="tabmenubox">
+ <ui:include src="/WEB-INF/facelets/displayGlobalMessages.xhtml"/>
+
+ <h1>#{messages['summary.root.title']}</h1>
+
+ <table border="0">
+
+ <!--TODO: make this data live-->
+ <tr>
+ <td class="key">Version</td>
+ <td>#{resourceAction.singleResourceByType.resource.version}</td>
+ </tr>
+
+ <tr>
+ <td class="key">Running Profile</td>
+ <td>default (make this live)</td>
+ </tr>
+
+ <tr>
+ <td class="key">Installation Path</td>
+ <td>/opt/jboss/jboss-4.0.5.GA (make this live)</td>
+ </tr>
+
+ <tr>
+ <td class="key">Host Platform</td>
+ <td>jon04.qa.atl.jboss.com (make this live)</td>
+ </tr>
+
+
+ </table>
+
+ <h1>Server</h1>
+
+ <ul class="links">
+ <li><a href="#">Configure this server</a></li>
+ <li><a href="#">Monitor this server</a></li>
+ <li><a href="#">See how to shut down this server</a></li>
+ </ul>
+
+ <h1>Applications</h1>
+
+ <ul class="links">
+ <li><a href="#">Deploy an application</a></li>
+ <li><a href="#">View deployed applications</a></li>
+ </ul>
+
+ </div>
+ </ui:define>
+ </ui:composition>
+</f:view>
+</body>
+</html>
\ No newline at end of file
Added: branches/JBPAPP_5_1_jopr/jopr/secure/viewResultsMap.xhtml
===================================================================
--- branches/JBPAPP_5_1_jopr/jopr/secure/viewResultsMap.xhtml (rev 0)
+++ branches/JBPAPP_5_1_jopr/jopr/secure/viewResultsMap.xhtml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -0,0 +1,79 @@
+<?xml version="1.0"?>
+
+<!--
+ ~ Embedded Jopr Project
+ ~ Copyright (C) 2006-2009 Red Hat, Inc.
+ ~ All rights reserved.
+ ~
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ -->
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:onc="http://jboss.org/on/component">
+
+THIS TEXT WILL BE REMOVED.
+
+<ui:composition template="/WEB-INF/facelets/layout.xhtml">
+
+ THIS TEXT WILL BE REMOVED AS WELL.
+
+ <ui:define name="pagetitle">
+ '#{operationAction.getOperationHistory(param.configId).operationDefinition.displayName}' Operation -
+ Results Item: #{param.listName}[#{param.listIndex}]
+ </ui:define>
+
+ <ui:define name="body">
+
+ <div class="instructionalText">
+ Below is the #{param.listName}[#{param.listIndex}] item from the results of the
+ execution of the #{operationAction.getOperationHistory(param.configId).operationDefinition.displayName}
+ operation.
+ </div>
+
+ <h:form id="resourceConfigurationForm" onsubmit="prepareInputsForSubmission(this)">
+
+ <onc:config
+ configurationDefinition="#{operationAction.getOperationHistory(param.configId).operationDefinition.resultsConfigurationDefinition}"
+ configuration="#{operationAction.getOperationHistory(param.configId).results}"
+ listName="#{param.listName}"
+ listIndex="#{param.listIndex}"
+ readOnly="true"/>
+
+ <h:panelGrid columns="1" styleClass="buttons-table" columnClasses="button-cell">
+ <h:panelGroup layout="block">
+ <div title="#{messages['control.resourceInstance.previous.map.buttonLabel.ok']}"
+ onclick="history.back()" class="buttonmed">
+ #{messages['control.resourceInstance.previous.map.button.ok']}
+ </div>
+ </h:panelGroup>
+ </h:panelGrid>
+
+ </h:form>
+
+ </ui:define>
+
+</ui:composition>
+
+THIS TEXT WILL BE REMOVED AS WELL.
+
+</html>
+
\ No newline at end of file
Modified: branches/JBPAPP_5_1_jopr/thirdparty/pom.xml
===================================================================
--- branches/JBPAPP_5_1_jopr/thirdparty/pom.xml 2010-12-24 22:03:01 UTC (rev 110223)
+++ branches/JBPAPP_5_1_jopr/thirdparty/pom.xml 2010-12-24 22:38:29 UTC (rev 110224)
@@ -1046,6 +1046,14 @@
<componentId>sun-jaf</componentId>
</mapping>
</dependency>
+ <!-- Embedded Jopr dependecies -->
+ <dependency>
+ <groupId>commons-discovery</groupId>
+ <artifactId>commons-discovery</artifactId>
+ <mapping>
+ <componentId>apache-discovery</componentId>
+ </mapping>
+ </dependency>
<!-- End mapped dependecies -->
</mappedDependencies>
More information about the jboss-cvs-commits
mailing list