1 Reply Latest reply on Nov 18, 2005 2:26 AM by pjmvn

    Create Own WebApp

    pjmvn

      Hi all.
      I trying to create my WebApp (jbpm.war). But have some problem, please help me.
      I want to create my one can inherit all feature of the current WebApp (jbpm.war from jboss) and extend some new functions.
      Example, i want to add some command buttons, menus,.... to my project and it must display in WebApp when i view.
      But so hard to find where need to change the codes.
      Please help me for steps to do it.
      _______________
      Thank very much
      PJMVN

        • 1. Re: Create Own WebApp
          pjmvn

          Hi all.
          I am studing the jBPM Web App source:
          "task.jsp":

          .....
          <h:dataTable value="#{taskBean.taskFormParameters}" var="formParameter">
           <h:column>
           <h:outputText value="#{formParameter.label}" />
           </h:column>
           <h:column>
           <h:outputText value="#{formParameter.description}" />
           </h:column>
           <h:column>
           <h:inputText value="#{formParameter.value}" readonly="#{formParameter.readOnly}" />
           </h:column>
           </h:dataTable>
          .....
          

          This code will display our <variable...> as <h:inputText> only.
          I want it can display more than that,
          exam:
          <h:commandLink>, <h:selectOneListbox>, .....

          But it so hard. I don't know what "jBPM core file(in jbpm.war, jbpm-webapp-3.1-alpha1.jar and jbpm-3.1-alpha1.jar)" need to repair.
          If you know that, please give me an idea.
          ________
          Thanks
          PJMVN