14 Replies Latest reply on Feb 24, 2006 4:51 AM by boerse

    TextBox - AreaBox

    pjmvn

      I have used the

      <variable name="exam"/>
      in my
      <controller>
      and i see the jBPM web page display it as a TextBox(1 row).
      I want a Large Box as a AreaBox, what must i do ???

      Thanks.

        • 1. Re: TextBox - AreaBox
          kukeltje

          wait a few days and download the most recent version from CVS then. Some functionality to support this will be available then.

          • 2. Re: TextBox - AreaBox
            gwittwer

            Hey Ronald

            What all will be new in the webapp in a few days?

            Regards
            Gerhard

            • 3. Re: TextBox - AreaBox
              kukeltje

              - support for creating your own jsp so you can easily position/customize each variable the way you want (e.g. define selection lists in your jsp and have the selected result put in the process)
              - auto detection of variable types (once they are created !!! so not design time.... yet)
              - custom task pages based on task names (if none is provided the default task page is used)
              - custom 'transition pages' based on transition names and the task it is comming from (if none is provided, it returns to the tasklist)
              - some internationalization (en and nl)
              - even with only one transition, the transition name is displayed (not configurable yet)

              This is all based on JSF stuff..

              Besides all this, there are some bug fixes like with session timeouts etc...

              One thing I will try to get in is not requiring all 'required variables' to be filled in when just saving the page

              • 4. Re: TextBox - AreaBox
                pjmvn

                Oh. Thanks kukeltje
                it's very well.
                but how is it long ??

                • 5. Re: TextBox - AreaBox
                  davidsan1001

                  Eagerly waiting here.

                  I've been keeping myself busy figuring out file upload/download, regular logins with passwords, JavaMail in an action class etc. I need to integrate those with process variables so they can be used further down the 'workflow'. I want to use the process_id as part of the name so as not to risk duplicates.

                  Ronald, let me know if you want any info on the above to add to the main code line.

                  Dave

                  • 6. Re: TextBox - AreaBox
                    gwittwer

                     

                    "davidsan1001" wrote:
                    Eagerly waiting here.

                    I've been keeping myself busy figuring out file upload/download, regular logins with passwords, JavaMail in an action class etc. I need to integrate those with process variables so they can be used further down the 'workflow'. I want to use the process_id as part of the name so as not to risk duplicates.

                    Ronald, let me know if you want any info on the above to add to the main code line.

                    Dave


                    Hi Dave
                    Did you programm the file upload/download with the
                    <t:inputFileUpload
                    Tomahawk tag/component. I have to do this for my webapp.
                    Do you have some important informations for me about problems, which you had? Or do you have code-samples how do to the file up-/download in the filesystem of the server?

                    I think I will do the following: Use the JSF inputFileUpload controll, upload the file, save it on disk (preconfigured path), create a table in the db where the processreference, the (next?) taskreference, an unique id (seq) and the filename is stored.
                    In the presentation layer I will create a listview. So every file which was created in the process will be shown in this listview for the next tasksteps (task-nodes).

                    Did you the same or something very different / better?

                    Regards
                    Gerhard

                    • 7. Re: TextBox - AreaBox
                      davidsan1001

                      Sorry to not get back for so long. I got file upload to work but not really integrated with jPBM yet. I hacked the task.jsp to include a fileupload.jsp which had the upload tags. I verified that the file is indeed residing on the server and I can dowload it back.

                      I'm waiting for Ronalds new webapp which will allow custom task.jsp versions before doing more work.

                      Dave

                      • 8. Re: TextBox - AreaBox
                        gwittwer

                        Hi Dave

                        I'm working currently on the fileupload.

                        Following I did:
                        - Deploy PAR with fileupload on the webapp (my own webapp, not the jbpm webapp of ronald, will be soon on my webserver to test it).
                        - Load identities xml over webapp (not standard identity module from jbpm, extended and altered for my webapp).

                        Now I'm going to upload "operation-files" of the involved users of the business processes.

                        I don't know how to enable/publish a download for a file. What functionality is necessary in the backerBean? File.openOutputStream or something equal witch is sending back to the webapp?? Perhaps you have some hints for me?

                        Regards
                        Gerhard

                        • 9. Re: TextBox - AreaBox
                          davidsan1001

                          I have a whole thread regarding implementing fileupload. I would track down the link but my Suse Linux 10.0 won't let me open two browsers at once.

                          • 10. Re: TextBox - AreaBox
                            boerse

                            Hi! are this features available in version 3.1? I need to insert a textarea in my processdefinition and don't know how.

                            Thanks!

                            • 11. Re: TextBox - AreaBox
                              mennen

                              Eagerly waiting also for these functionalities..

                              • 12. Re: TextBox - AreaBox
                                boerse

                                we're always in the same wars....

                                • 13. Re: TextBox - AreaBox
                                  mennen

                                  :)

                                  • 14. Re: TextBox - AreaBox
                                    boerse

                                    I hope someone from JBoss can tell us if it's possible, i'd need at least to know if is something possible or not... just a clue!