ok, and this is the sequence if can help you

createtask.xhtml --- TaskWorkflow.java
taskA.xhtml ---- taskABean.java

------CreateTask.xhtml------

  | <!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:ui="http://java.sun.com/jsf/facelets";
  |       xmlns:h="http://java.sun.com/jsf/html";
  |       xmlns:f="http://java.sun.com/jsf/core";
  |       xmlns:s="http://jboss.com/products/seam/taglib";>
  | <head>
  | <title>Login</title>
  | </head>
  | <body>
  | <h1>Login</h1>
  | 
  |     <h:form>
  |     
  |             <h:outputText value="#{taskWorkflow.vec}"></h:outputText>
  |         <h:commandButton value="Start Workflow" 
action="#{taskWorkflow.startProcess}"/>
  |       
  |     </h:form>
  | 
  | 
  | </body>
  | </html>
  | 
  | 


-----taskA.xhtml---

  | <!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:ui="http://java.sun.com/jsf/facelets";
  |       xmlns:h="http://java.sun.com/jsf/html";
  |       xmlns:f="http://java.sun.com/jsf/core";
  |       xmlns:s="http://jboss.com/products/seam/taglib";>
  | <head>
  | <title>Login</title>
  | </head>
  | <body>
  | <h1>Login</h1>
  | 
  |     <h:form>
  |     
  |             <h:outputText value="#{taskWorkflow.vec}"></h:outputText>
  |         <h:commandButton value="Start Workflow" 
action="#{taskWorkflow.startProcess}"/>
  |       
  |     </h:form>
  | 
  | 
  | </body>
  | </html>
  | 
  | 
  | 


thanks you for the fast answer



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989848#3989848

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989848
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to