精华帖 (0) :: 良好帖 (2) :: 新手帖 (0) :: 隐藏帖 (1)
|
|
---|---|
作者 | 正文 |
发表时间:2009-07-31
最后修改:2010-04-20
由于有400多k,所以大家在看到下面效果前,先给大家几张截图哈 下面是生成的xml代码 <workflow> <registers> <register type="class" variable_name="注册器"> <arg name="name">ljp</arg> </register> <register type="class" variable_name="注册器"> <arg name="name">ljp</arg> </register> </registers> <initial-actions/> <common-actions> <action id="1" name="Start Workflow" auto="false" finish="true"> <restrict-to> <conditions type="AND"> <condition type="class" id="23" name=""> <arg name="status">Underway</arg> <arg name="class.name">com.opensymphony.workflow.util.StatusCondition</arg> <arg name="stepId">31</arg> </condition> <condition type="class" id="27" name=""> <arg name="status">Underway</arg> <arg name="class.name">com.opensymphony.workflow.util.StatusCondition</arg> <arg name="stepId">31</arg> </condition> </conditions> </restrict-to> <unconditional-result old_status="Finished" status="null" id="7" step="3" due_date="Fri Jul 31 23:01:24 GMT+0800 2009" owner="李嘉鹏" display_name="nijiaben"/> <result old_status="Finished" status="Underway" id="8" step="5" due_date="Fri Jul 31 23:01:28 GMT+0800 2009" owner="你假笨" display_name="nijiaben"/> </action> <action id="2" name="Working...." auto="false" finish="true"/> </common-actions> <steps> <step id="3" name="流程步骤"> <actions> <action id="4" name="Sign Up For Editing" auto="false" finish="false"> <result old_status="Finished" status="Underway" id="10" join="9" due_date="Fri Jul 31 23:01:33 GMT+0800 2009" owner="你假笨" display_name="nijiaben"/> </action> </actions> </step> <step id="5" name="流程步骤"> <actions> <action id="6" name="Sign Up For Editing" auto="false" finish="false"> <result old_status="Finished" status="Underway" id="11" join="9" due_date="Fri Jul 31 23:01:35 GMT+0800 2009" owner="你假笨" display_name="nijiaben"/> </action> </actions> <post-functions> <function type="beanshell" id="48"> <arg name="script">System.out.println('nijiaben');</arg> <arg name="参数名">参数值</arg> </function> </post-functions> </step> <step id="14" name="流程步骤"> <actions> <action id="15" name="Sign Up For Editing" auto="false" finish="false"> <result old_status="Finished" status="Underway" id="29" step="-1" due_date="Fri Jul 31 23:02:36 GMT+0800 2009" owner="你假笨" display_name="nijiaben"/> </action> </actions> </step> <step id="16" name="流程步骤"> <actions> <action id="17" name="Sign Up For Editing" auto="false" finish="false"> <result old_status="Finished" status="Underway" id="30" step="-1" due_date="Fri Jul 31 23:02:38 GMT+0800 2009" owner="你假笨" display_name="nijiaben"/> </action> </actions> </step> <step id="18" name="流程步骤"> <actions> <action id="19" name="Sign Up For Editing" auto="false" finish="false"> <result old_status="Finished" status="Underway" id="28" step="-1" due_date="Fri Jul 31 23:02:33 GMT+0800 2009" owner="你假笨" display_name="nijiaben"/> </action> </actions> </step> <step id="20" name="流程步骤"> <external-permissions> <permission> <restrict-to> <conditions type="AND"> <condition type="class" id="39" name=""> <arg name="status">Underway</arg> <arg name="class.name">com.opensymphony.workflow.util.StatusCondition</arg> <arg name="stepId">31</arg> </condition> <condition type="class" id="43" name=""> <arg name="status">Underway</arg> <arg name="class.name">com.opensymphony.workflow.util.StatusCondition</arg> <arg name="stepId">31</arg> </condition> </conditions> </restrict-to> </permission> </external-permissions> <actions> <action id="21" name="Sign Up For Editing" auto="false" finish="false"> <result old_status="Finished" status="Underway" id="27" step="-1" due_date="Fri Jul 31 23:02:30 GMT+0800 2009" owner="你假笨" display_name="nijiaben"/> </action> </actions> </step> </steps> <splits> <split id="12"> <unconditional-result old_status="Finished" status="null" id="22" step="16" due_date="Fri Jul 31 23:01:53 GMT+0800 2009" owner="李嘉鹏" display_name="nijiaben"/> <unconditional-result old_status="Finished" status="null" id="23" step="14" due_date="Fri Jul 31 23:01:55 GMT+0800 2009" owner="李嘉鹏" display_name="nijiaben"/> <unconditional-result old_status="Finished" status="null" id="24" step="18" due_date="Fri Jul 31 23:01:57 GMT+0800 2009" owner="李嘉鹏" display_name="nijiaben"/> <unconditional-result old_status="Finished" status="null" id="25" step="20" due_date="Fri Jul 31 23:02:08 GMT+0800 2009" owner="李嘉鹏" display_name="nijiaben"/> </split> </splits> <joins> <join id="9"> <conditions type="AND" id="4" name="限制条件"> <condition> <arg name="status">Underway</arg> <arg name="class.name">com.opensymphony.workflow.util.StatusCondition</arg> <arg name="stepId">31</arg> </condition> <condition> <arg name="status">Underway</arg> <arg name="class.name">com.opensymphony.workflow.util.StatusCondition</arg> <arg name="stepId">31</arg> </condition> <condition> <arg name="status">Underway</arg> <arg name="class.name">com.opensymphony.workflow.util.StatusCondition</arg> <arg name="stepId">31</arg> </condition> <condition> <arg name="status">Underway</arg> <arg name="class.name">com.opensymphony.workflow.util.StatusCondition</arg> <arg name="stepId">31</arg> </condition> </conditions> <unconditional-result old_status="Finished" status="Underway" id="13" split="12" due_date="Fri Jul 31 23:01:41 GMT+0800 2009" owner="你假笨" display_name="nijiaben"/> </join> </joins> </workflow> 具体效果体验: 可以通过访问http://www.lovestblog.cn/articlePicture/84/84.1.swf亲自体验下, 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2009-08-01
不错。。。
|
|
返回顶楼 | |
发表时间:2009-08-01
提点意见
1.步骤动作连线太粗了,连线应该在底层,还有动作的注释。 2.第一张图不知道你步骤下面显示的框框是什么东西? 3.能生成lyt坐标嘛?OS自带的例子用JS读lyt画的历史路径图还是不错的 |
|
返回顶楼 | |
发表时间:2009-08-04
真的很让我吃惊
去年时就有冲动写一个这个的,但就是懒... 没想到LZ比我更有冲劲..HOHO |
|
返回顶楼 | |
发表时间:2009-08-15
怎么没有flash效果,光几张图片看个啥,忽悠人
|
|
返回顶楼 | |
发表时间:2009-08-19
hepeng421 写道 怎么没有flash效果,光几张图片看个啥,忽悠人
是您网速慢吧,我已经附上了flash文件了 |
|
返回顶楼 | |
发表时间:2009-08-19
不是网速问题.我这里也打不开.LZ.测试测试吧.
|
|
返回顶楼 | |
发表时间:2009-09-11
OSWorkflow的吧?
|
|
返回顶楼 | |
发表时间:2009-09-11
eliukehua 写道 OSWorkflow的吧?
是的,呵呵 |
|
返回顶楼 | |
发表时间:2009-10-13
楼主,确实是看不到flash文件的体验版哦。。。。
请问楼主有个这方面的参看资料么?! 用flex做画图工具的资料?! |
|
返回顶楼 | |