create submit button component for task forms
---------------------------------------------
Key: JBPM-602
URL:
http://jira.jboss.com/jira/browse/JBPM-602
Project: JBoss jBPM
Issue Type: Task
Components: Web Interface
Reporter: Tom Baeyens
Assigned To: David Lloyd
Fix For: jBPM jPDL 3.2 alpha 2
3 ui components should be created for the 3 type of buttons in a taskform: save,
saveAndClose and cancel
The saveAndClose component should be created as a shortcut for
<input type="submit" jsfc="h:commandButton"
id="transitionButton" action="#{taskBean.saveAndClose}"
value="OK"
onclick="document.forms['taskform'].elements['taskform:transitionName'].value='OK'"/>
This component should work in combination with the form component
transitionName and label should be the parameters of the button component.
The 'save' component should only have the label parameter.
The cancel component should not have any parameters at all.
For examples on ui components, see package org.jbpm.webapp.ui and WEB-INF/jbpm.taglib.xml
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: