[jbpm-commits] JBoss JBPM SVN: r5922 - in projects/jsf-console/branches/jsf-console-3.2-soa: console and 6 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Dec 7 22:30:52 EST 2009


Author: alex.guizar at jboss.com
Date: 2009-12-07 22:30:51 -0500 (Mon, 07 Dec 2009)
New Revision: 5922

Added:
   projects/jsf-console/branches/jsf-console-3.2-soa/gpd-deployer/src/main/webapp/index.html
   projects/jsf-console/branches/jsf-console-3.2-soa/gpd-deployer/src/main/webapp/jbpm.css
Modified:
   projects/jsf-console/branches/jsf-console-3.2-soa/console/.classpath
   projects/jsf-console/branches/jsf-console-3.2-soa/console/pom.xml
   projects/jsf-console/branches/jsf-console-3.2-soa/gpd-deployer/pom.xml
   projects/jsf-console/branches/jsf-console-3.2-soa/gpd-deployer/src/main/java/org/jbpm/web/ProcessUploadServlet.java
   projects/jsf-console/branches/jsf-console-3.2-soa/gpd-deployer/src/main/webapp/WEB-INF/jboss-web.xml
   projects/jsf-console/branches/jsf-console-3.2-soa/jbpm4jsf/pom.xml
   projects/jsf-console/branches/jsf-console-3.2-soa/pom.xml
   projects/jsf-console/branches/jsf-console-3.2-soa/soa/pom.xml
Log:
JBPM-2678: fix gpd-deployer context path
provide separate deployment page
validate basic auth works fine

Modified: projects/jsf-console/branches/jsf-console-3.2-soa/console/.classpath
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2-soa/console/.classpath	2009-12-07 21:10:03 UTC (rev 5921)
+++ projects/jsf-console/branches/jsf-console-3.2-soa/console/.classpath	2009-12-08 03:30:51 UTC (rev 5922)
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
-	<classpathentry kind="src" output="target/classes" path="src/main/java"/>
 	<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/>
 	<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>

Modified: projects/jsf-console/branches/jsf-console-3.2-soa/console/pom.xml
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2-soa/console/pom.xml	2009-12-07 21:10:03 UTC (rev 5921)
+++ projects/jsf-console/branches/jsf-console-3.2-soa/console/pom.xml	2009-12-08 03:30:51 UTC (rev 5922)
@@ -21,7 +21,7 @@
   <parent>
     <groupId>org.jbpm.jbpm3</groupId>
     <artifactId>jsf-console-parent</artifactId>
-    <version>3.2.9</version>
+    <version>3.2.8</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
 

Modified: projects/jsf-console/branches/jsf-console-3.2-soa/gpd-deployer/pom.xml
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2-soa/gpd-deployer/pom.xml	2009-12-07 21:10:03 UTC (rev 5921)
+++ projects/jsf-console/branches/jsf-console-3.2-soa/gpd-deployer/pom.xml	2009-12-08 03:30:51 UTC (rev 5922)
@@ -21,7 +21,7 @@
   <parent>
     <groupId>org.jbpm.jbpm3</groupId>
     <artifactId>jsf-console-parent</artifactId>
-    <version>3.2.9</version>
+    <version>3.2.8</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
 

Modified: projects/jsf-console/branches/jsf-console-3.2-soa/gpd-deployer/src/main/java/org/jbpm/web/ProcessUploadServlet.java
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2-soa/gpd-deployer/src/main/java/org/jbpm/web/ProcessUploadServlet.java	2009-12-07 21:10:03 UTC (rev 5921)
+++ projects/jsf-console/branches/jsf-console-3.2-soa/gpd-deployer/src/main/java/org/jbpm/web/ProcessUploadServlet.java	2009-12-08 03:30:51 UTC (rev 5922)
@@ -22,162 +22,147 @@
 package org.jbpm.web;
 
 import java.io.IOException;
+import java.io.InputStream;
 import java.io.PrintWriter;
 import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.List;
 import java.util.zip.ZipInputStream;
-import org.apache.commons.fileupload.FileItem;
-import org.apache.commons.fileupload.FileItemFactory;
-import org.apache.commons.fileupload.FileUploadException;
-import org.apache.commons.fileupload.disk.DiskFileItemFactory;
-import org.apache.commons.fileupload.servlet.ServletFileUpload;
 
-import org.jbpm.JbpmConfiguration;
-import org.jbpm.JbpmContext;
-import org.jbpm.graph.def.ProcessDefinition;
-
 import javax.servlet.ServletException;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 
+import org.apache.commons.fileupload.FileItemIterator;
+import org.apache.commons.fileupload.FileItemStream;
+import org.apache.commons.fileupload.FileUploadException;
+import org.apache.commons.fileupload.servlet.ServletFileUpload;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
+import org.jbpm.JbpmConfiguration;
+import org.jbpm.JbpmContext;
+import org.jbpm.graph.def.ProcessDefinition;
+
 public class ProcessUploadServlet extends javax.servlet.http.HttpServlet {
 
-	private static final long serialVersionUID = 1L;
+  private static final long serialVersionUID = 1L;
 
-	private JbpmConfiguration jbpmConfiguration;
+  private JbpmConfiguration jbpmConfiguration;
 
-	public void init() throws ServletException {
-		String jbpmCfgResource = getServletContext().getInitParameter("jbpm.configuration.resource");
-		jbpmConfiguration = JbpmConfiguration.getInstance(jbpmCfgResource);
-	}
+  public void init() throws ServletException {
+    String jbpmCfgResource = getServletContext().getInitParameter("jbpm.configuration.resource");
+    jbpmConfiguration = JbpmConfiguration.getInstance(jbpmCfgResource);
+  }
 
-	protected void doGet(HttpServletRequest request, HttpServletResponse response)
-			throws ServletException, IOException {
-		if (log.isTraceEnabled()) log.trace("handling status request");
+  protected void doGet(HttpServletRequest request, HttpServletResponse response)
+      throws ServletException, IOException {
+    if (log.isTraceEnabled()) log.trace("handling status request");
 
-		PrintWriter out = response.getWriter();
-		writeHeader(out);
-		out.println("<h3>Deploy a process</h3>");
-		out.println("<form name='deploy-form' method='post' enctype='multipart/form-data'>");
-		out.println("  <p>Process Archive: <input name='process-archive' type='file'/>");
-		out.println("  <p><input name='deploy-button' type='submit' value='Deploy'/>");
-		out.println("</form>");
-		writeTrailer(out);
-	}
+    PrintWriter out = response.getWriter();
+    writeHeader(out);
+    out.println("<p>GPD deployer is operational</p>");
+    writeTrailer(out);
+  }
 
-	protected void doPost(HttpServletRequest request, HttpServletResponse response)
-			throws ServletException, IOException {
-		if (log.isTraceEnabled()) log.trace("handling upload request");
+  protected void doPost(HttpServletRequest request, HttpServletResponse response)
+      throws ServletException, IOException {
+    if (log.isTraceEnabled()) log.trace("handling upload request");
 
-		FileItem processItem = parseRequest(request, response);
-		if (processItem == null) return; // error has been sent
+    try {
+      InputStream processStream = parseRequest(request, response);
+      JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
+      try {
+        ProcessDefinition processDefinition = parseProcessArchive(processStream);
+        deployProcessDefinition(processDefinition, response);
+      }
+      finally {
+        jbpmContext.close();
+      }
+    }
+    catch (FileUploadException e) {
+      response.sendError(HttpServletResponse.SC_BAD_REQUEST, e.getMessage());
+    }
+  }
 
-		JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
-		try {
-			ProcessDefinition processDefinition = parseProcessArchive(processItem);
-			deployProcessDefinition(processDefinition, response);
-		}
-		finally {
-			jbpmContext.close();
-		}
-	}
+  private void writeHeader(PrintWriter out) throws MalformedURLException {
+    out.println("<html>");
+    out.println("<head>");
+    out.println("<title>Process Deployment</title>");
+    out.print("<link rel='stylesheet' type='text/css' href='");
+    out.print(getServletContext().getContextPath());
+    out.println("/jbpm.css'/>");
+    out.println("</head>");
+    out.println("<body>");
+  }
 
-	private void writeHeader(PrintWriter out) throws MalformedURLException {
-		out.println("<html>");
-		out.println("<head>");
-		out.println("<title>Process Deployment</title>");
-		URL css = getServletContext().getResource("/ua/jbpm.css");
-		if (css != null) {
-			out.print("<link rel='stylesheet' type='text/css' href='");
-			out.print(css.toString());
-			out.println("'/>");
-		}
-		out.println("</head>");
-		out.println("<body>");
-	}
+  private void writeTrailer(PrintWriter out) {
+    out.println("</body>");
+    out.println("</html>");
+  }
 
-	private void writeTrailer(PrintWriter out) {
-		out.println("</body>");
-		out.println("</html>");
-	}
+  private InputStream parseRequest(HttpServletRequest request,
+      HttpServletResponse response) throws IOException, FileUploadException {
+    // check if request is multipart content
+    if (!ServletFileUpload.isMultipartContent(request))
+      throw new FileUploadException("request does not carry multipart content");
 
-	private FileItem parseRequest(HttpServletRequest request, HttpServletResponse response)
-			throws IOException {
-		// check if request is multipart content
-		if (!ServletFileUpload.isMultipartContent(request)) {
-			response.sendError(HttpServletResponse.SC_BAD_REQUEST, "Not a multipart request");
-			return null;
-		}
+    // Create a new file upload handler
+    ServletFileUpload upload = new ServletFileUpload();
+    // Parse the request
+    for (FileItemIterator i = upload.getItemIterator(request); i.hasNext();) {
+      FileItemStream part = i.next();
+      if (!part.isFormField()) {
+        if (log.isTraceEnabled())
+          log.trace("retrieved file " + part.getName());
+        return part.openStream();
+      }
+    }
 
-		// Create a factory for disk-based file items
-		FileItemFactory factory = new DiskFileItemFactory();
-		// Create a new file upload handler
-		ServletFileUpload upload = new ServletFileUpload(factory);
-		try {
-			// Parse the request
-			List items = upload.parseRequest(request);
-			if (items.isEmpty()) {
-				response.sendError(HttpServletResponse.SC_BAD_REQUEST, "Request is empty");
-				return null;
-			}
-			FileItem item = (FileItem) items.get(0);
-			if (item.isFormField()) {
-				response.sendError(HttpServletResponse.SC_BAD_REQUEST, "Field '" + item.getFieldName()
-						+ "' is not an input file");
-				return null;
-			}
-			return item;
-		}
-		catch (FileUploadException e) {
-			log.error("failed to parse request", e);
-			response.sendError(HttpServletResponse.SC_BAD_REQUEST, "Failed to parse request");
-			return null;
-		}
-	}
+    // no file found, bang
+    throw new FileUploadException("request contains no file");
+  }
 
-	private ProcessDefinition parseProcessArchive(FileItem fileItem) throws IOException {
-		if (log.isTraceEnabled()) log.trace("parsing process archive " + fileItem.getName());
+  private ProcessDefinition parseProcessArchive(InputStream processStream)
+      throws IOException {
+    ZipInputStream processArchiveStream = new ZipInputStream(processStream);
+    try {
+      ProcessDefinition processDefinition = ProcessDefinition.parseParZipInputStream(processArchiveStream);
+      if (log.isTraceEnabled())
+        log.trace("parsed process definition " + processDefinition.getName());
+      return processDefinition;
+    }
+    finally {
+      processArchiveStream.close();
+    }
+  }
 
-		ZipInputStream processStream = new ZipInputStream(fileItem.getInputStream());
-		try {
-			ProcessDefinition processDefinition = ProcessDefinition.parseParZipInputStream(processStream);
-			if (log.isTraceEnabled())
-				log.trace("parsed process definition " + processDefinition.getName());
-			return processDefinition;
-		}
-		finally {
-			processStream.close();
-		}
-	}
+  private void deployProcessDefinition(ProcessDefinition processDefinition,
+      HttpServletResponse response) throws IOException {
+    String processName = processDefinition.getName();
+    JbpmContext jbpmContext = jbpmConfiguration.getCurrentJbpmContext();
+    try {
+      jbpmContext.deployProcessDefinition(processDefinition);
 
-	private void deployProcessDefinition(ProcessDefinition processDefinition,
-			HttpServletResponse response) throws IOException {
-		String processName = processDefinition.getName();
-		JbpmContext jbpmContext = jbpmConfiguration.getCurrentJbpmContext();
-		try {
-			jbpmContext.deployProcessDefinition(processDefinition);
+      if (log.isTraceEnabled())
+        log.trace("deployed process definition " + processName);
 
-			if (log.isTraceEnabled()) log.trace("deployed process definition " + processName);
-			PrintWriter out = response.getWriter();
-			writeHeader(out);
-			out.println("<h3>Deployment report</h3>");
-			out.print("<p>Deployed process ");
-			out.print(processName);
-			out.println(" successfully</p>");
-			writeTrailer(out);
-		}
-		catch (RuntimeException e) {
-			jbpmContext.setRollbackOnly();
+      PrintWriter out = response.getWriter();
+      writeHeader(out);
+      out.println("<h3>Deployment report</h3>");
+      out.print("<p>Process <em>");
+      out.print(processName);
+      out.println("</em> was deployed successfully</p>");
+      out.print("<p><a href='");
+      out.print(getServletContext().getContextPath());
+      out.println("/index.html'>Deploy another process</a></p>");
+      writeTrailer(out);
+    }
+    catch (RuntimeException e) {
+      jbpmContext.setRollbackOnly();
 
-			log.error("failed to deploy process definition " + processName, e);
-			response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR,
-					"Failed to deploy process");
-		}
-	}
+      log.error("failed to deploy process definition " + processName, e);
+      response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, "Failed to deploy process");
+    }
+  }
 
-	private static final Log log = LogFactory.getLog(ProcessUploadServlet.class);
+  private static final Log log = LogFactory.getLog(ProcessUploadServlet.class);
 }
\ No newline at end of file

Modified: projects/jsf-console/branches/jsf-console-3.2-soa/gpd-deployer/src/main/webapp/WEB-INF/jboss-web.xml
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2-soa/gpd-deployer/src/main/webapp/WEB-INF/jboss-web.xml	2009-12-07 21:10:03 UTC (rev 5921)
+++ projects/jsf-console/branches/jsf-console-3.2-soa/gpd-deployer/src/main/webapp/WEB-INF/jboss-web.xml	2009-12-08 03:30:51 UTC (rev 5922)
@@ -9,7 +9,6 @@
     <name> is one of the names configured in your login-config.xml.
   -->
   <security-domain>java:/jaas/jbpm-console</security-domain>
-  <context-root>jbpm-console</context-root>
 
   <resource-ref>
     <res-ref-name>jdbc/JbpmDataSource</res-ref-name>

Added: projects/jsf-console/branches/jsf-console-3.2-soa/gpd-deployer/src/main/webapp/index.html
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2-soa/gpd-deployer/src/main/webapp/index.html	                        (rev 0)
+++ projects/jsf-console/branches/jsf-console-3.2-soa/gpd-deployer/src/main/webapp/index.html	2009-12-08 03:30:51 UTC (rev 5922)
@@ -0,0 +1,13 @@
+<html>
+<head>
+<title>Process Deployment</title>
+<link rel="stylesheet" type="text/css" href="jbpm.css" />
+</head>
+<body>
+<h3>Deploy a Process</h3>
+<form action="upload" method="post" enctype="multipart/form-data">
+<p>Process archive: <input type="file" name="process-archive" /></p>
+<p><input type="submit" name="deploy-button" value="Deploy" /></p>
+</form>
+</body>
+</html>
\ No newline at end of file

Added: projects/jsf-console/branches/jsf-console-3.2-soa/gpd-deployer/src/main/webapp/jbpm.css
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2-soa/gpd-deployer/src/main/webapp/jbpm.css	                        (rev 0)
+++ projects/jsf-console/branches/jsf-console-3.2-soa/gpd-deployer/src/main/webapp/jbpm.css	2009-12-08 03:30:51 UTC (rev 5922)
@@ -0,0 +1,567 @@
+/**********************************************************
+  General styles
+***********************************************************/
+body {
+    font-weight:normal;
+    font-family:verdana,sans-serif;
+    font-size:10pt;
+    background-repeat:no-repeat;
+    margin:0;
+    border-width:0;
+    padding:0;
+}
+
+html {
+    background-attachment:scroll;
+    background-repeat:no-repeat;
+    margin:0;
+    padding:0;
+    border-width:0;
+}
+
+button, input, select, option, textarea {
+    font-family:arial,helvetica,sans-serif;
+    font-weight:normal;
+    font-size:10pt;
+    line-height:normal;
+}
+
+select {
+    vertical-align:top;
+}
+
+form {
+    display:inline;
+}
+
+h1, h2, h3, h4, h5, h6 {
+    display:inline;
+}
+
+h1 {
+    font-size:16pt;
+}
+
+h2 {
+    font-size:14pt;
+}
+
+h3 {
+    font-size:12pt;
+}
+
+h4 {
+    font-size:10pt;
+}
+
+h5 {
+    font-size:8pt;
+}
+
+h6 {
+    font-size:6pt;
+}
+
+a {
+    cursor: pointer;
+    color: rgb(110, 110, 170);
+    text-decoration: underline;
+}
+
+a:hover {
+    color: rgb(160, 160, 255);
+}
+
+div.hr {
+    border-style:none;
+    border-width:0;
+    background:#c0c0c0;
+    margin-left:3px;
+    margin-right:3px;
+    height:2px;
+    font-size:0;
+    margin-top:6px;
+    margin-bottom:10px;
+}
+
+b {
+    font-weight:bold;
+}
+
+table.layout {
+    margin:0;
+    padding:0;
+    border-collapse:collapse;
+}
+
+table.layout td {
+    margin:0;
+    padding:0;
+}
+
+table.layout td.layoutmenu {
+    vertical-align:top;
+    margin:0;
+    padding:0;
+    width:240px;
+    background:#dddddd;
+    border-right-width:1px;
+    border-right-style:solid;
+    border-right-color:#000000;
+    border-top-width:1px;
+    border-top-style:solid;
+    border-top-color:#000000;
+    border-bottom-width:1px;
+    border-bottom-style:solid;
+    border-bottom-color:#000000;
+    border-collapse:collapse;
+}
+
+table.layout td.layoutbody {
+    vertical-align:top;
+    padding:10px;
+    background:#ffffff;
+    width:100%;
+    border-top-width:1px;
+    border-top-style:solid;
+    border-top-color:#000000;
+    border-bottom-width:1px;
+    border-bottom-style:solid;
+    border-bottom-color:#000000;
+    border-collapse:collapse;
+}
+
+table.layout td.layoutheader {
+    background:#dddddd;
+    border-top-width:1px;
+    border-top-style:solid;
+    border-top-color:#000000;
+    border-bottom-width:1px;
+    border-bottom-style:solid;
+    border-bottom-color:#000000;
+    border-collapse:collapse;
+}
+
+table.layout td.layoutfooter {
+    text-align:center;
+    font-size:10px;
+    background:#dddddd;
+    border-top-width:1px;
+    border-top-style:solid;
+    border-top-color:#000000;
+    border-bottom-width:1px;
+    border-bottom-style:solid;
+    border-bottom-color:#000000;
+    border-collapse:collapse;
+}
+
+table.leftmenu {
+    border-width:0;
+    border-bottom-width:1px;
+    border-collapse:collapse;
+    border-color:#000000;
+    width:200px;
+}
+
+tr.leftmenuheader th.nf {
+    border-top-width:1px;
+    border-top-style:solid;
+    border-top-color:#000000;
+}
+
+tr.leftmenuheader th {
+    padding-left:3px;
+    padding-right:3px;
+    background-color:#990000;
+    color:#ffff99;
+    font-size:12px;
+    border-bottom-width:1px;
+    border-bottom-style:solid;
+    border-bottom-color:#000000;
+}
+
+tr.leftmenu th {
+    vertical-align:top;
+    padding:3px;
+    text-align:left;
+    text-decoration:none;
+    font-size:11px;
+    white-space:nowrap;
+    background:#444444;
+    color:#ffffff;
+}
+
+tr.leftmenu td {
+    vertical-align:top;
+    padding:3px;
+    text-align:left;
+    text-decoration:none;
+    font-size:12px;
+    white-space:nowrap;
+    background:#dddddd;
+}
+
+tr.leftmenu td ul {
+    /*list-style-position:inside;*/
+    margin:0;
+    padding:0;
+    padding-left:16px;
+    vertical-align:bottom;
+    list-style-image:url( "../images/bullet.gif" );
+}
+
+.statusSuspended {
+    color:#aa6600;
+    font-weight:bold;
+}
+
+.statusRunning {
+    color:#00cc00;
+    font-weight:bold;
+}
+
+.statusEnded {
+    color:#cc0000;
+    font-weight:bold;
+}
+
+.statusNotstarted {
+    color:#0066aa;
+    font-weight:bold;
+}
+
+a.headermenu {
+    padding-left:8px;
+    padding-right:8px;
+    text-decoration:none;
+    color:#cc0000;
+    border-left-width:1px;
+    border-left-style:solid;
+    border-left-color:#888888;
+}
+
+a.headermenufirst {
+    padding-left:8px;
+    padding-right:8px;
+    text-decoration:none;
+    color:#cc0000;
+}
+
+a.headermenu:hover, a.headermenufirst:hover {
+    background:#ffffff;
+    color:#cc0000;
+}
+
+table.results {
+    border-width:1px;
+    border-style:solid;
+    border-color:#000000;
+    border-collapse:collapse;
+    margin-left:auto;
+    margin-right:auto;
+}
+
+table.results td, table.results th {
+    padding:3px;
+    font-size:11px;
+}
+
+table.results thead tr {
+    cursor:default;
+}
+
+table.results thead tr th {
+    text-align:left;
+    background-color:#990000;
+    color:#ffff99;
+    font-size:12px;
+    border-bottom-style:solid;
+    border-bottom-width:1px;
+    border-bottom-color:#000000;
+}
+
+table.results thead tr th b {
+    font-weight:normal;
+}
+
+table.results thead tr td {
+    text-align:left;
+    background-color:#dddddd;
+    color:#990000;
+    font-weight:bold;
+    border-bottom-style:solid;
+    border-bottom-width:1px;
+    border-bottom-color:#000000;
+}
+
+table.results tbody.results tr {
+    background-color:#dddddd;
+}
+
+table.results tbody.results tr.even {
+    background-color:#ddddbb;
+}
+
+table.results tbody.results tr.odd {
+    background-color:#ffffdd;
+}
+
+table.results tbody.filter td {
+    text-align:left;
+    font-size:10px;
+    padding-bottom:1px;
+    padding-top:1px;
+    font-weight:normal;
+    background-color:#cccccc;
+    border-bottom-style:solid;
+    border-bottom-width:1px;
+    border-bottom-color:#000000;
+}
+
+table.results td {
+    border-right-width:1px;
+    border-right-style:solid;
+    border-right-color:#000000;
+}
+
+table.results tbody.results th {
+    padding:3px;
+    text-align:left;
+    text-decoration:none;
+    font-size:11px;
+    white-space:nowrap;
+    background:#444444;
+    color:#ffffff;
+}
+
+table.results tbody.action tr {
+    background-color:#dddddd;
+}
+
+table.results tbody.action tr td {
+    border-top-color:#000000;
+    border-top-style:solid;
+    border-top-width:1px;
+}
+
+table.msgs {
+    margin-left:auto;
+    margin-right:auto;
+    margin-bottom:15px;
+    border-width:1px;
+    border-style:solid;
+    border-collapse:collapse;
+    border-color:#000000;
+    font-size:10px;
+    width:400px;
+}
+
+table.msgs td {
+    padding-left:8px;
+    padding-right:8px;
+    border-bottom-width:1px;
+    border-bottom-color:#000000;
+    border-bottom-style:dotted;
+}
+
+table.msgs thead th {
+    font-size:11px;
+}
+
+table.error thead th {
+    background-color:#cc0000;
+    color:#ffffff;
+}
+
+table.fatal thead th {
+    background-color:#cc0000;
+    color:#ffffff;
+}
+
+table.warn thead th {
+    background-color:#cccc00;
+    color:#ffffff;
+}
+
+table.info thead th {
+    background-color:#0000cc;
+    color:#ffffff;
+}
+
+.hidden {
+    display:none;
+}
+
+div.pbox, div.pbox_s, div.pbox_e {
+    position:absolute;
+    border-width:1px;
+    border-style:solid;
+}
+
+div.pbox {
+    border-color:#0000ff;
+}
+
+div.pbox_s {
+    border-color:#aa6600;
+}
+
+div.pbox_e {
+    border-color:#cc0000;
+}
+
+div.pboxs, div.pboxs_s, div.pboxs_e {
+    position:absolute;
+    border-right-width:1px;
+    border-right-style:solid;
+    border-bottom-width:1px;
+    border-bottom-style:solid;
+}
+
+div.pboxs {
+    border-right-color:#9999ff;
+    border-bottom-color:#9999ff;
+}
+
+div.pboxs_s {
+    border-right-color:#ffaa99;
+    border-bottom-color:#ffaa99;
+}
+
+div.pboxs_e {
+    border-right-color:#660000;
+    border-bottom-color:#660000;
+}
+
+div.pboxce {
+    position:absolute;
+    overflow:hidden;
+}
+
+div.pboxc, div.pboxc_s, div.pboxc_e {
+    cursor:default;
+    font-size:10px;
+    white-space:nowrap;
+    color:#ffffff;
+    padding-left:3px;
+    padding-right:3px;
+    border-width:1px;
+    border-style:solid;
+}
+
+div.pboxc {
+    border-color:#0000ff;
+    background-color:#0000ff;
+}
+
+div.pboxc_s {
+    border-color:#aa6600;
+    background-color:#aa6600;
+}
+
+div.pboxc_e {
+    border-color:#cc0000;
+    background-color:#cc0000;
+}
+
+div.pboxc a, div.pboxc_s a, div.pboxc_e a {
+    color:#ffffff;
+    text-decoration:none;
+}
+
+div.pboxc a:hover, div.pboxc_s a:hover, div.pboxc_e a:hover {
+    text-decoration:underline;
+}
+
+span.comment {
+    display:block;
+    padding-top:3px;
+    padding-bottom:3px;
+    padding-left:4px;
+    padding-right:4px;
+    border-width:1px;
+    border-color:#990000;
+    border-style:solid;
+    border-collapse:collapse;
+    margin-left:5px;
+    margin-right:5px;
+    background-color:#ffffff;
+    font-family:arial,helvetica,sans-serif;
+    margin-top:4px;
+    margin-bottom:4px;
+    overflow:auto;
+}
+
+textarea.comment {
+    width:480px;
+    height:80px;
+}
+
+/* task forms */
+
+table.dataform {
+    border-style:solid;
+    border-width:1px;
+    border-collapse:collapse;
+    border-color:#000000;
+    margin-left:auto;
+    margin-right:auto;
+}
+
+table.dataform td, table.dataform th {
+    padding-top:3px;
+    padding-bottom:3px;
+    padding-left:5px;
+    padding-right:5px;
+}
+
+table.dataform thead tr th {
+    text-align:left;
+    background-color:#990000;
+    color:#ffff99;
+    font-weight:bold;
+    border-bottom-style:solid;
+    border-bottom-width:1px;
+    border-bottom-color:#000000;
+}
+
+table.dataform tbody th {
+    text-align:left;
+    text-decoration:none;
+    font-size:11px;
+    white-space:nowrap;
+    background:#444444;
+    color:#ffffff;
+    border-bottom-style:solid;
+    border-bottom-width:1px;
+    border-bottom-color:#000000;
+    border-collapse:collapse;
+    width:130px;
+}
+
+table.dataform tbody td {
+    text-align:left;
+    text-decoration:none;
+    font-size:11px;
+    white-space:nowrap;
+    background:#dddddd;
+    color:#000000;
+    border-bottom-style:solid;
+    border-bottom-width:1px;
+    border-bottom-color:#000000;
+    border-collapse:collapse;
+    width:260px;
+}
+
+a.pager {
+    color:#aaaaff;
+}
+
+a.pager:hover {
+    color:#ffffff;
+}
+
+span.pager {
+    font-weight:normal;
+    color:#999999;
+}
\ No newline at end of file

Modified: projects/jsf-console/branches/jsf-console-3.2-soa/jbpm4jsf/pom.xml
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2-soa/jbpm4jsf/pom.xml	2009-12-07 21:10:03 UTC (rev 5921)
+++ projects/jsf-console/branches/jsf-console-3.2-soa/jbpm4jsf/pom.xml	2009-12-08 03:30:51 UTC (rev 5922)
@@ -21,7 +21,7 @@
   <parent>
     <groupId>org.jbpm.jbpm3</groupId>
     <artifactId>jsf-console-parent</artifactId>
-    <version>3.2.9</version>
+    <version>3.2.8</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
 

Modified: projects/jsf-console/branches/jsf-console-3.2-soa/pom.xml
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2-soa/pom.xml	2009-12-07 21:10:03 UTC (rev 5921)
+++ projects/jsf-console/branches/jsf-console-3.2-soa/pom.xml	2009-12-08 03:30:51 UTC (rev 5922)
@@ -16,7 +16,7 @@
   <groupId>org.jbpm.jbpm3</groupId>
   <artifactId>jsf-console-parent</artifactId>
   <packaging>pom</packaging>
-  <version>3.2.9</version>
+  <version>3.2.8</version>
 
   <!-- Parent -->
   <parent>

Modified: projects/jsf-console/branches/jsf-console-3.2-soa/soa/pom.xml
===================================================================
--- projects/jsf-console/branches/jsf-console-3.2-soa/soa/pom.xml	2009-12-07 21:10:03 UTC (rev 5921)
+++ projects/jsf-console/branches/jsf-console-3.2-soa/soa/pom.xml	2009-12-08 03:30:51 UTC (rev 5922)
@@ -21,7 +21,7 @@
   <parent>
     <groupId>org.jbpm.jbpm3</groupId>
     <artifactId>jsf-console-parent</artifactId>
-    <version>3.2.9</version>
+    <version>3.2.8</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
 </project>



More information about the jbpm-commits mailing list