1 2 Previous Next 19 Replies Latest reply on Mar 20, 2008 10:22 PM by simonsu Go to original post
      • 15. Re: console url changed to http://localhost:8080/jbpm-consol
        sunilkumar273

         

        "fuligj" wrote:
        I think, yes. When I use it with internet connection, works fine, but when without internet, there is an error.


        Check if jsf-facelets.jar is missing in your application or at an incorrect location. Or the dtd is missing inside the jar.
        Just provide the dtd locally and give its location.

        This works when internet connection is there because if it couldnt find the dtd in your application it goes to the web address provided.



        • 16. Re: console url changed to http://localhost:8080/jbpm-consol
          fuligj

          In jbpm suite 3.2.1 i have tested the following code:

          processdefinition.xml:

          <?xml version="1.0"?>
          
          <process-definition name="websale"
           xmlns="urn:jbpm.org:jpdl-3.2">
          
           <start-state name="start-state1">
           <task name="starttask"></task>
           <transition to="task-node1" name="t1"></transition>
           <transition to="task-node2" name="t2"></transition>
           </start-state>
          
          
           <task-node name="task-node1">
           <task name="task1"></task>
           <transition to="end-state1"></transition>
           </task-node>
          
           <task-node name="task-node2">
           <task name="task1"></task>
           <transition to="end-state1"></transition>
           </task-node>
          
          
           <end-state name="end" />
           <end-state name="end-state1"></end-state>
          
          </process-definition>


          starttask' page:
          ...
          <tf:transitionButton transition="t1" value="t1"/>
          <tf:transitionButton transition="t2" value="t2"/>
          ...
          


          But when i push the transition button named "t2" in the running application at start page, the workflow goes to task-node1 instead of task-node2.
          Why?

          Thank You!

          • 17. Re: console url changed to http://localhost:8080/jbpm-consol
            kukeltje
            • 18. Re: console url changed to http://localhost:8080/jbpm-consol
              simonsu

              Share the jbpm-console modify version.
              Change item:
              1. Using access.properties to configure 3 roles: admin,manager,user
              2. Configure roles into page
              3. Add my task page to show only this login user's task
              4. Add prefix filter of process into menu bar to allow using prefix to seperate process domain
              5. Add the process initial step to processes page to let user can enter to bpm form by one click

              download address:
              jbpm.war.rar

              Future work: to let jbpm console can using Seam

              If any advance information about jbpm console, please kindly tell me.

              • 19. Re: console url changed to http://localhost:8080/jbpm-consol
                simonsu

                JBPM4JSF Permission Control


                1.Control file: $JBPM_CONTEXT is the war file path


                $JBPM_CONTEXT/WEB-INF/access.properties
                2.Control syntex:
                [config_name]=[role_name1][,[role_name2],...] ex: role.topMenu.Tasks=admin,manager
                3.Role configure:
                <ga:checkRole roles="#{access.config_name">
                (the html want to permission control ...)
                </ga:checkRole> ex:
                <ga:checkRole roles="#{access.role.process.delete}">
                <f:setPropertyActionListener value="#{actionColspan + 1}"
                target="#{actionColspan}"/>
                </ga:checkRole>

                1 2 Previous Next