[JBoss jBPM] - Designer in jbpm-jpdl-3.2.GA does not support Decision condi
by myarrow
Hello jBPM community
Which version of jBPM (download) supports a working
Decision node conditional-configuration "Properties" dialog ?
I tried (a while back) the jbpm-starters-kit-3.1.4 and recently
the jbpm-jpdl-3.2.GA complete kits, and neither of them
had a fully working designer Decision node. By this I mean
that the Properties dialog for the Decision node only allows
the node name to be set, but there was no apparent
Properties cabability to configure the decision conditional
test.
For the jbpm-starters-kit-3.1.4 I had to edit the processdefinition.xml
and add something like the following: (which works fine)
| <decision name="threshold"
| expression="#{decisionString > 25000000}">
| <transition to="GreaterThan" name="true" />
| <transition to="LessThan" name="false" />
| </decision>
|
But, according to a colleague, who attended the EclipseCon,
Koen had informed her that there was now a fully working
and configurable Decision node supported in one of the recent
releases.
So, the question is:
Which version is this ?
(I tried the jbpm-jpdl-3.2.GA and that did not seem to
have the conditional-configure capability in the designer
Decision node in the Properties dialog.)
Maurice Yarrow
SplashNote Systems
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038648#4038648
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038648
19 years
[JBoss Seam] - Re: <s:fileUpload> problem
by jquery@interia.pl
Hi,
thanks for the recommendation but suppose that we have the following classes:
|
| public class Document implements Serializable{
|
| InputStream file;
|
| public InputStream getFile() {
| return file;
| }
|
| public void setFile(InputStream file) {
| this.file = file;
| }
| }
|
| @Name("documentHome")
| public class DocumentHome extends EntityHome<Document>{
|
| @Override
| protected Document createInstance(){
| Document document = new Document();
| return document;
| }
|
| }
|
| @Entity
| @Table(name = "PROFILE_APPENDIX", schema = "DB2USER")
| public class ProfileAppendix implements java.io.Serializable {
|
| private long id;
| private Profile profile;
| private String name;
| private String description;
| private Blob appendix;
| (...)
| }
|
| @Name("profileAppendixHome")
| public class ProfileAppendixHome1 extends EntityHome<ProfileAppendix1> {
|
| @In(create = true)
| ProfileHome profileHome;
|
| @In(create=true)
| EntityManager entityManager;
|
| @In(create=true)
| DocumentHome documentHome;
|
| public void saveProfileAppendix(){}
|
| }
|
When the form is submitted "file" variable from Document class is populated but I don't know how
to populate Blob appendix variable in saveProfileAppendix() function using
documentHome.instance.getFile(). How to cast InputStream to Blob?
Any help appreciated.
Best regards,
jquery
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038645#4038645
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038645
19 years