[jboss-user] [JBoss jBPM] - PageFlows on JBPM

2008-07-06 Thread roccolocko
Hello, Is it posible to use PageFlows with jbpm? I mean, I have an application that uses jBpm, and I want to use PageFlows but this is not a Seam application, is it posible? If the answer is yes, how can I do it? What I want is a task node to have a pageflow instead of only a page. Thank

[jboss-user] [JBoss jBPM] - Re: LazyInitializationException

2007-06-25 Thread roccolocko
You don't need to do any hibernate stuff if you are woking directly with the class TaskInstance, its all done inside the JBPM API. Your are probably not correctly starting the JBPM context. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057526#4057526 Reply

[jboss-user] [JBoss jBPM] - Re: JBPM JSF Integrartion

2007-06-14 Thread roccolocko
One way to go its what you did, modify the jbpm.war and include your JSF files in there but then you will only be changing things all the time to fit your needs. I thing the best way to do an integration is to generate your own war file (yourAplication.war) and communicate that application

[jboss-user] [JBoss jBPM] - Re: Process Instance end method

2007-06-14 Thread roccolocko
First of all, you need then to have a transition to the END node, which I guess you do have, anyways, like I said before your process is probably working but simply you are never going to see it on the END node. Once a task goes to the END node it simply ENDS, and the process is finish, meaning

[jboss-user] [JBoss jBPM] - Re: Help with concurrent subprocess instances!

2007-06-14 Thread roccolocko
No, theres no way to show this on the diagram, but like you said, it is done using a fork and a join, but... no the normal fork that comes with jbpm, you need to create your own implementation with a node. I have in an application this, but I did not code it so I can't hand it to you, but let

[jboss-user] [JBoss jBPM] - Re: LazyInitializationException when setting variable

2007-06-14 Thread roccolocko
solved View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4054581#4054581 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054581 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss jBPM] - Re: Canceling an task instance

2007-06-13 Thread roccolocko
Once you get a task, you don't have to do anything to start using it. And only when you're done you have to make an END or a CANCEL if you wish, but if you DO NOTHING like kukeltje said, your task should be exactly in the same place where you left it. Perhaps if you post a little code of what

[jboss-user] [JBoss jBPM] - Re: Combo Box in Form

2007-06-13 Thread roccolocko
Well, this have nothing to do with JBPM but still here is the change you have to do to create a combo in your JSF page: | | h:selectOneMenu id=yourComboId | value=#{yourBean.yourProperty} |

[jboss-user] [JBoss jBPM] - Re: Process Instance end method

2007-06-13 Thread roccolocko
You'll never see a process state in the END node. Do you have another tasks on your process or just START - END? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4054075#4054075 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: JBPM JSF Integrartion

2007-06-13 Thread roccolocko
I donĀ“t know with which version of JBPM are you working, but in the 3.1.4 there's a war file named jbpm.war That application was made with JSF using the myfaces 1.1.5 api. Take a look at that and you will find everything you need to get started. Plus, in the folder jbpm of the staters-kit under

[jboss-user] [JBoss jBPM] - LazyInitializationException when setting variable

2007-06-12 Thread roccolocko
I get the following error when trying to set a variable for a taskInstance. | [LazyInitializationException] could not initialize proxy - the owning Session was closed | org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed | at

[jboss-user] [JBoss jBPM] - Re: Validating user input

2007-06-12 Thread roccolocko
As you may now know, you can store many kinds of variables on the jbpm, since in the desing you're only giving names to them, and not setting types. Although you do can make some validation of this variables with bean shell, I would recomend that you make the validations before you put them on

[jboss-user] [JBoss jBPM] - Simple user list on datatable

2007-03-13 Thread roccolocko
Hello, Im simply trying to display a list of the jbpm users and their passwords, something very similar to what the login.jsp does on the jbpm webapp but I simply can't get it to work, this is what I'm doing: | private static List getUsers() | { | //Session session =

[jboss-user] [JBoss jBPM] - Re: Simple user list on datatable

2007-03-13 Thread roccolocko
I forgot to post this important part this goes in the same segment as the first code segment | public List getUsersData() | { | if(usersData.size()==0) | usersData = createUsersList(); | return usersData; | } | View the

[jboss-user] [JBoss jBPM] - How to use xhtml generated form

2007-03-06 Thread roccolocko
Hi, I'm using the 2.0 beta version of the Jboss IDE, which gives me and option to generate a form for a task, this option automatically generates an xhtml form. The question here is, how can I make the task to point to that xhtml form instead of pointing to the default created form. Is it

[jboss-user] [JBoss jBPM] - Getting context variable

2007-03-05 Thread roccolocko
How can I get the value of a variable in the execute method from a class that implements ActionHandler. I want to get some of the task variables to store them on my database but I dont know how to get them from java code. Thanx in advanced View the original post :

[jboss-user] [JBoss jBPM] - Re: server deployer option in 2.0beta version

2007-03-05 Thread roccolocko
oks, the solutions was not to point to the jbpm folder or the deploy but point to the upload folder /jbpm/upload View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4025251#4025251 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: Getting context variable

2007-03-05 Thread roccolocko
I don't know if anybody can see my posts, but here is the answer to my previous post in case somebody was wondering hehe public class AmountUpdate implements ActionHandler { | public void execute(ExecutionContext ctx) throws Exception { | // business logic | Float erpAmount =

[jboss-user] [JBoss jBPM] - Create a form in JBPM

2007-03-02 Thread roccolocko
I just downloaded jBPM and I'm trying to create a form. I already have a simple process that ask me to fill 4 field, the thing is that I want one of those field to be a combo box and I don't know how to do that. Thank you. View the original post :

[jboss-user] [JBoss jBPM] - Re: Create a form in JBPM

2007-03-02 Thread roccolocko
When I said jBPM I meant the designer. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024711#4024711 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024711 ___ jboss-user mailing

[jboss-user] [JBoss jBPM] - Re: Create a form in JBPM

2007-03-02 Thread roccolocko
kukeltje wrote : learn JSF Thanks for the advice, but thats not quite my problem, the thing is that I don't know where is the JSF code to modify, so I can modify the form manually. I don't know if you can help me with that please. View the original post :