[wsas-java-dev] svn commit r4581 - in trunk/wsas/java/modules: distribution www/extensions/core/xslt

svn at wso2.org svn at wso2.org
Sun Jul 1 07:51:42 PDT 2007


Author: azeez
Date: Sun Jul  1 07:51:27 2007
New Revision: 4581

Modified:
   trunk/wsas/java/modules/distribution/bin-release-assembly.xml
   trunk/wsas/java/modules/www/extensions/core/xslt/add_new_pojo_service.xsl
   trunk/wsas/java/modules/www/extensions/core/xslt/list_services.xsl
Log:
1. UI Improvements
2. Add the legal directory



Modified: trunk/wsas/java/modules/distribution/bin-release-assembly.xml
==============================================================================
--- trunk/wsas/java/modules/distribution/bin-release-assembly.xml	(original)
+++ trunk/wsas/java/modules/distribution/bin-release-assembly.xml	Sun Jul  1 07:51:27 2007
@@ -34,6 +34,10 @@
                 <include>wso2wsas-core-${wso2wsas.version}-installer.zip</include>
             </includes>
         </fileSet>
+        <fileSet>
+            <directory>../../legal</directory>
+            <outputDirectory>temp/wso2wsas-${wso2wsas.version}/legal</outputDirectory>
+        </fileSet>
     </fileSets>
     <dependencySets>
         <dependencySet>

Modified: trunk/wsas/java/modules/www/extensions/core/xslt/add_new_pojo_service.xsl
==============================================================================
--- trunk/wsas/java/modules/www/extensions/core/xslt/add_new_pojo_service.xsl	(original)
+++ trunk/wsas/java/modules/www/extensions/core/xslt/add_new_pojo_service.xsl	Sun Jul  1 07:51:27 2007
@@ -2,25 +2,37 @@
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
     <xsl:template match="serviceUploadTemplate" xmlns="http://www.w3.org/1999/xhtml">
-        <h4><a href="#" onClick="javascript:showServiceInitializer(); return false;">Services</a>&#160;&gt;&#160;New POJO Service</h4>
-    	<div id="formset">
-	<form method="post"  name="serviceUpload" action="fileupload/service" enctype="multipart/form-data" target="globalIFrame">
-	<br/>
+        <h4>
+            <a href="#" onClick="javascript:showServiceInitializer(); return false;">Services</a>
+            &#160;&gt;&#160;New POJO Service
+        </h4>
+        <div id="formset">
+            <form method="post" name="serviceUpload" action="fileupload/service"
+                  enctype="multipart/form-data" target="globalIFrame">
+                <br/>
                 <fieldset>
                     <legend>Upload a New Service</legend>
                     <div>
-                        <label for="module_a">Service archive (.aar,.jar,.zip,.dbs):</label><input type="file" id="filename" name="filename" size="50"/>
+                        <label for="module_a">Service archive (.aar,.jar,.zip,.dbs):</label>
+                        <input type="file" id="filename" name="filename" size="50"/>
                     </div>
                     <div class="buttonrow">
                         <input name="upload" type="submit" value=" Upload ">
-                            <xsl:attribute name="onclick">javascript: if (document.serviceUpload.filename.value == '') { wso2.wsf.Util.alertWarning('Please select an archive file containing service to be deployed.'); return false;} else { stoppingRefreshingMethodsHook(); return true;}
-				 </xsl:attribute>
+                            <xsl:attribute name="onclick">
+                                javascript: if (document.serviceUpload.filename.value == '') {
+                                    wso2.wsf.Util.alertWarning('Please select an archive file containing service to be deployed.'); 
+                                    return false;
+                                } else {
+                                    stoppingRefreshingMethodsHook();
+                                    return true;
+                                }
+                            </xsl:attribute>
                         </input>
                     </div>
-		</fieldset>
+                </fieldset>
 
-	</form>
-	</div>
+            </form>
+        </div>
     </xsl:template>
 
 

Modified: trunk/wsas/java/modules/www/extensions/core/xslt/list_services.xsl
==============================================================================
--- trunk/wsas/java/modules/www/extensions/core/xslt/list_services.xsl	(original)
+++ trunk/wsas/java/modules/www/extensions/core/xslt/list_services.xsl	Sun Jul  1 07:51:27 2007
@@ -51,8 +51,8 @@
 			                    <tbody>
 		                            <tr>
 		                                <td>
-							<a alt="POJO Service" >
-				   				<xsl:attribute name="title">POJO Service</xsl:attribute>
+							<a alt="Upload Service Artifact (.aar,.jar,.zip,.dbs)" >
+				   				<xsl:attribute name="title">Upload Service Artifact (.aar,.jar,.zip,.dbs)</xsl:attribute>
 								<xsl:attribute name="style">white-space:nowrap;</xsl:attribute>
 				   				<xsl:attribute name="href">#</xsl:attribute>
 				   				<xsl:attribute name="id">add_link</xsl:attribute>
@@ -63,8 +63,8 @@
 					    </tr>
 		                            <tr>
 		                                <td>
-							<a alt="Spring Service (Spring Context | Spring Bean)" >
-				   				<xsl:attribute name="title">Spring Service (Spring Context | Spring Bean)</xsl:attribute>
+							<a alt="Upload Spring Service" >
+				   				<xsl:attribute name="title">Upload Spring Service</xsl:attribute>
 								<xsl:attribute name="style">white-space:nowrap;</xsl:attribute>
    								<xsl:attribute name="href">#</xsl:attribute>
 				   				<xsl:attribute name="id">add_link</xsl:attribute>
@@ -76,7 +76,7 @@
                         		    <tr>
 		                                <td>
 							<a alt="Data Service" >
-   								<xsl:attribute name="title">Data Service</xsl:attribute>
+   								<xsl:attribute name="title">Define Data Service</xsl:attribute>
 								<xsl:attribute name="style">white-space:nowrap;</xsl:attribute>
    								<xsl:attribute name="href">#</xsl:attribute>
 				   				<xsl:attribute name="id">add_link</xsl:attribute>
@@ -88,7 +88,7 @@
                 		            <tr>
 		                                <td>
 							<a alt="Service based on EJB" >
-				   				<xsl:attribute name="title">Service based on EJB</xsl:attribute>
+				   				<xsl:attribute name="title">Define EJB Service</xsl:attribute>
 								<xsl:attribute name="style">white-space:nowrap;</xsl:attribute>
 				   				<xsl:attribute name="href">#</xsl:attribute>
 				   				<xsl:attribute name="id">add_link</xsl:attribute>




More information about the Wsas-java-dev mailing list