cancel
Showing results for 
Search instead for 
Did you mean: 

how can i add an commandButton in workflow

xietengfei
Champ in-the-making
Champ in-the-making
how can  i add  an commandButton in workflow
just like  save,cancel commandButtons
2 REPLIES 2

davidc
Star Contributor
Star Contributor
I assume you mean within a task dialog.

Well, some of those buttons are driven by the available transitions in the workflow e.g. approve, reject.  So, you can add extra buttons by adding extra transitions - obviously dependent on the requirements of the your workflow process.

Or, if you want to add custom behaviour to the task dialog, you'll need to follow the web client customisation guide at:

http://wiki.alfresco.com/wiki/Dialog_Framework

You'll need some knowledge of JSF.

xietengfei
Champ in-the-making
Champ in-the-making
thanks davidc..how  can i get  the  value
like 
<rSmiley TongueropertySheetGrid id="task-props" value="#{DialogManager.bean.taskNode}"
var="taskProps" columns="2" externalConfig="true" />
i  just get  the older values


<fSmiley Tonguearam name="doc_doctile" value="#{taskProps.properties['hxoa:draft_Title']}"  />
<fSmiley Tonguearam name="doc_contopic" value="#{taskProps.properties['hxoa:draft_Topic']}"  />


can  you help me