Tuesday, 15 February 2011

user interface - How to get advanced UI in jBPM? -



user interface - How to get advanced UI in jBPM? -

i'm trying attractive-looking ui of jbpm 6.0 form modeler -- real life processes require that. question how out-of-the-box or @ to the lowest degree pluggable means of jbpm? here i'm using primefaces components examples of i'd achieve.

1. controls

controls, provided out-of-the-box, rather basic (text, number, date)... possible plug in or @ to the lowest degree develop advanced components? like:

www.primefaces.org/showcase/ui/input/onemenu.xhtml www.primefaces.org/showcase/ui/input/oneradio.xhtml www.primefaces.org/showcase/ui/data/datatable/basic.xhtml www.primefaces.org/showcase/ui/data/treetable/basic.xhtml

2. layout

again, ootb layout ok trivial cases. advanced must-haves:

www.primefaces.org/showcase/ui/panel/tabview.xhtml www.primefaces.org/showcase/ui/panel/accordionpanel.xhtml

3. conditional rendering

very need show/hide field (or entire section of fields) based on process context or on current user input.

e.g. there field on form 'marital status', , in case 'married' selected, section 'spouse details' should show itself.

4. validation

real life process validation includes cases "this date must not in past" or "this date must not before date". there mechanism custom validation?

5. modal dialogs

sometimes need show/ask user something, using modal dialog:

www.primefaces.org/showcase/ui/overlay/dialog/basic.xhtml

so, want write own forms using primefaces , plug kie workbech / jbpm console? or own primefaces application? sounds utilize case, don't provide back upwards primefaces integration yet (inside kie workbench), can create happen. if can expose forms can embedded iframe can create simple mechanism embed them tasks.

hth

user-interface layout control jbpm

No comments:

Post a Comment