[jboss-jira] [JBoss JIRA] Commented: (JBPM-602) create submit button component for task forms
Ronald van Kuijk (JIRA)
jira-events at jboss.com
Wed Jul 26 19:04:11 EDT 2006
[ http://jira.jboss.com/jira/browse/JBPM-602?page=comments#action_12340145 ]
Ronald van Kuijk commented on JBPM-602:
---------------------------------------
why should 'save' have a label and 'cancel' shouldn't???
save = keep in staffware terms, cancel = 'return to tasklist'
I would like both (all?) to have a tooltip to. save and cancel should be declared in a i18n properties file, but for the other buttons it should be possible to get the tooltips from the description element in the pd if it is put back in there or configured in the page (which overrides the one from the pd)
> 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: Ronald van Kuijk
>
> 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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list