5 Replies Latest reply on Oct 23, 2013 12:53 AM by Brian Wallis

    .form and .ftl

    Brian Wallis Master

      When I run the jbpm-installer project (6.0.0.CR2) and go into the kie workbench I can see both form files and ftl files (technical view).

       

      What are these and how are they related? Is ftl freemarker template language? What are the .form files. If I create a new form I get one (the .form) but not the other.

       

      Also, when I am running the jbpm-installer project I can see these form and ftl files and also the bpmn files, but where are they actually stored?

       

      thanks.

        • 1. Re: .form and .ftl
          Maciej Swiderski Master

          .form are the new forms build with form modeler, .ftl (freemarker) are backward compatibility forms to support those created in version 5. In v6 the default forms format is .form build with form modeler.

          When authoring all assets are stored in GIT repository in maven project structure of your project. Once build all assets will be available as part of the kjar deployed to runtime environment and thus available to the execution engine.

           

          HTH

          1 of 1 people found this helpful
          • 2. Re: .form and .ftl
            Brian Wallis Master

            Maciej Swiderski wrote:

             

            .form are the new forms build with form modeler, .ftl (freemarker) are backward compatibility forms to support those created in version 5. In v6 the default forms format is .form build with form modeler.

             

            Thanks. Is the form modeller a part of the drools/jbpm project or is it some other forms editing/rendering project used here. Can it be used independently (ie: standalone editor and renderer?)

            When authoring all assets are stored in GIT repository in maven project structure of your project. Once build all assets will be available as part of the kjar deployed to runtime environment and thus available to the execution engine.

            I'm not clear what you mean. I understand that they are stored in a GIT repository, but where is that repository and when I setup with the jbpm installer, where do all the initial contents come from.

             

            thanks

            • 3. Re: .form and .ftl
              Maciej Swiderski Master

              Brian Wallis wrote:

               

              Maciej Swiderski wrote:

               

              .form are the new forms build with form modeler, .ftl (freemarker) are backward compatibility forms to support those created in version 5. In v6 the default forms format is .form build with form modeler.

               

              Thanks. Is the form modeller a part of the drools/jbpm project or is it some other forms editing/rendering project used here. Can it be used independently (ie: standalone editor and renderer?)

              yes, it's part of jbpm and it's targeting to be standalone modeling tool and should provide rendering capabilities as well in such setup. Although I haven't verified that myself so might not cover it fully.

              Brian Wallis wrote:

              When authoring all assets are stored in GIT repository in maven project structure of your project. Once build all assets will be available as part of the kjar deployed to runtime environment and thus available to the execution engine.

              I'm not clear what you mean. I understand that they are stored in a GIT repository, but where is that repository and when I setup with the jbpm installer, where do all the initial contents come from.

               

              thanks

              GIT repository is stored by default in JBOSS_HOME/bin/.niogit where you'll find all repositories used by the system. The demo repositories come from github that contains some sample projects to quickly get started.

               

              HTH

              • 4. Re: .form and .ftl
                Brian Wallis Master

                Thanks for that. I actually found .niogit in the directory above JBOSS_HOME, ie: the jbpm-installer directory not in the bin directory but once I knew the directory name it was an easy find.

                • 5. Re: .form and .ftl
                  Brian Wallis Master

                  I noticed that when I build a form that both a .form and a .ftl file are created for each form.

                   

                  So can I assume that the form modeller will continue to create corresponding .ftl files and I can use those in my application for the time being? We already use freemarker in our application