[jboss-user] [JBoss jBPM] - customize jbpm-starters-kit-3.1.2 interface

fhpepe do-not-reply at jboss.com
Wed May 23 02:46:25 EDT 2007


Thanks for your prompt reply, 

But it doesnt work because  it's probably linked to the file: "TaskBean.java".  When i do the changes in both  "Task.jsp" and  "TaskBean.java" and redeploy the "app.war" ive got an "error message".

Following lines are taken from the "Taskbean.java":


public String saveAndClose() {
    // save
    save();

    // close the task instance
    String transitionButton = JsfHelper.getParameter("taskform:transitionButton");
    log.debug("Submitted button:" + transitionButton);
    TaskInstance taskInstance = taskMgmtSession.loadTaskInstance(taskInstanceId);
    if ("Save and Close Task".equals(transitionButton)) {
	//if ("Hello".equals(transitionButton)) {
      taskInstance.end();
    } else {
      taskInstance.end(transitionButton);
    }

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047796



More information about the jboss-user mailing list