[jboss-user] [JBoss jBPM] - Re: Calling a workflow directly from another webpage link.

falazar do-not-reply at jboss.com
Tue Nov 7 12:27:18 EST 2006


Here is the code again

  | <a href="#" onclick="clear_linkDummyForm();document.forms['linkDummyForm'].elements['linkDummyForm:_link_hidden_'].value='newExe1921';document.forms['linkDummyForm'].elements['processDefinitionId'].value='1921';if(document.forms['linkDummyForm'].onsubmit){if(document.forms['linkDummyForm'].onsubmit()) document.forms['linkDummyForm'].submit();}else{document.forms['linkDummyForm'].submit();}return false;" id="newExe1921">
  |             Start Process!</a>
  | 
  | <form id="linkDummyForm" name="linkDummyForm" style="display:inline" method="post" action="http://misdev:8181/jbpm-console/participant/startnew.jsf"><input type="hidden" name="linkDummyForm:_link_hidden_" /><input type="hidden" name="processDefinitionId" /><script type="text/javascript"><!--
  |   function clear_linkDummyForm() {
  |   var f = document.forms['linkDummyForm'];
  |   f.elements['linkDummyForm:_link_hidden_'].value='';
  |   f.elements['processDefinitionId'].value='';
  |   f.target='';
  | }
  | clear_linkDummyForm();
  | //--></script></form>
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983846#3983846

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983846



More information about the jboss-user mailing list