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

2007-11-10 Thread kukeltje
Thanks for reporting back. Can you just add which version of JBoss AS it is? It might be in other posts in this topic, but it never hurts to have it close together. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103440#4103440 Reply to the post :

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

2007-10-04 Thread kukeltje
I cannot imagine it is a problem with gravel or jbpm4jsf (and no I'm not going to try now ;-)) More likely 2 versions (might even be the same ones, but with classeds without) of jsf, which is (could be) only the case if you run it in the console. Look if the jbpm.war/ear contains jsf and if the

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

2007-10-03 Thread karstendausb
Sorry, I overlooked your posting. kukeltje wrote : persistencecontext: the default for the unit tests. Not sure what it is. Probably hsql in-memory? anonymous wrote : Add my test above to the VariableInstanceDbTest.java. Yes. That works - which makes things even more unclear. Tried it with

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

2007-09-14 Thread karstendausb
Hi Ronald, thanks for working on that. I tried on JBoss 4.0.4, which comes with myfaces (1.1) in tomcat5.5.sar. I removed the jars, but that didn't work either. The only chance that this is regular class loading problem is that there are some faces-jars somewhere else in jboss (find didn't

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

2007-09-14 Thread kukeltje
persistencecontext: the default for the unit tests. Not sure what it is. Add my test above to the VariableInstanceDbTest.java. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4084687#4084687 Reply to the post :

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

2007-09-13 Thread kukeltje
I'm pretty sure now it is a multiple different classes /classloader issue as mentioned above. I extended the VariableInstanceDbTest with the following test: | public void testJSFSelectItem() { | Collection selectItems=new ArrayList(); | selectItems.add(new

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

2007-09-08 Thread kukeltje
@Karsten The reason I think it could still be a classloader issue is that you mentioned you (also?) had jsf libs on in tomcat. If these classes do not implement the serialversionid thingy, they are not identified as identical (I think) and therefor the instanceof not working. Maybe you could

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

2007-09-07 Thread kukeltje
thanks for trying this out. It could (one way or another) still be a classloading issue, so I'll try with another type of class Thanks anyway View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082178#4082178 Reply to the post :

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

2007-09-07 Thread karstendausb
Hi Ronald, I just found some time to try it out. kukeltje wrote : | I'm curious though what would happen if you changed | | System.out.println(first.node-enter: directly after setting variable: instanceof selectitem:+(test.get(0) instanceof javax.faces.model.SelectItem)); | | to

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

2007-09-05 Thread kukeltje
anonymous wrote : pretty far from the truth hmmm... I read your post and do not see where jBPM is involved in a way that it is causing this problem. Everything you describe is JSF, the only thing is that you put selectItems in a variable, but that is just like you would do in in a bean. So

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

2007-09-05 Thread karstendausb
Hi Ronald, kukeltje wrote : | hmmm... I read your post and do not see where jBPM is involved in a way that it is causing this problem. Everything you describe is JSF, the only thing is that you put selectItems in a variable, but that is just like you would do in in a bean. | I am

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

2007-09-05 Thread kukeltje
anonymous wrote : anonymous wrote : Yet, I do not disagree that a nicer solution would be 'handy' and seam provides parts of that for you. what you encounter now is in the grey area of the webconsole. What is it intended for? Production systems? well, the management part should be. Is it

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

2007-06-19 Thread kukeltje
please what is so difficult about my previous post this is JSF stuff, not jBPM. So please ask in the correct forum and learn JSF Btw Google (or Yahoo, Altavista, search.nl or whatever really IS your friend) JSF, selectitems, example great keywords to search on, but I bet you

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

2007-06-18 Thread jorges38
I am having the same problem: Argument Error: An option for component mycomboid was not an instance of javax.faces.model.SelectItem. Type found: java.util.ArrayList. mycomboid = id for the selectOneMenu Riket44, did you find a solution? View the original post :

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

2007-06-15 Thread Riket44
Hello, Well, I will put all my code, because I have an error I can't found (since 2 days !!! ) First, here is my form : | jbpm:datacell | | f:facet name=header | h:outputText value=Produit desire: / | /f:facet | | h:selectOneMenu

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

2007-06-15 Thread kukeltje
this is generic jsf stuff. please ask in the jsf forums... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4054819#4054819 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054819 ___

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

2007-06-13 Thread Riket44
Do we really need to create an hbm file ??! Usually I have my forms.xml and each forms near : form.product.xhtml, form.example.xhtml ... And for answer to jorges38, no I'm not able to do that for the moment... :( Always looking for an example, I hope some people have one ! View the original

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

2007-06-13 Thread kukeltje
whether you need a hbm file is dependant on whether you want the object that provides the list to be persistent or not (in jbpm or outside in your domainmodel). For JSF it is not needed. If you want the outcome to be stored in a single jbpm variable (e.g. a string) there is already

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

2007-06-13 Thread jorges38
I am sendig the coding that I have: faces-config.xml !-- Catalog-- managed-bean managed-bean-nameproduct/managed-bean-name managed-bean-classorg.jbpm.webapp.bean.Product/managed-bean-class managed-bean-scoperequest/managed-bean-scope managed-property

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

2007-06-13 Thread kukeltje
here you use your object as a variable type in jbpm. Then you need a hbm file in jbpm.. correct. I normally do not do it this way. We have our domain model outside of the engine. But still.. what is the issue with this? What do you expect from me? I need errors, explicit questions etc

[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: Combo Box in Form

2007-06-13 Thread kukeltje
Thanks Rocco, I hoped they themselves would have come up with even a simple thing like this. If you change #{yourBean.yourProperty} with e.g. #{proccesVar1} the yourBean does not even have to be a processVariable or whatever. It can be any bean outside jbpm. View the original post :

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

2007-06-12 Thread Riket44
If somebody could have an example, it would be ok ;) I understand JSF but I don't really understand how to do in jBPM... (aaah my bad english, I can't say what I want :) ) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4053567#4053567 Reply to the post :

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

2007-06-12 Thread kukeltje
Do it the same as you normally would. The itemset comes from your database the selected item is just referenced the same way as with an input element. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4053733#4053733 Reply to the post :

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

2007-06-12 Thread jorges38
Riket44, Were you able to create de combo box with the item list from de PRODUCT database (external table) ?I am looking for some samples too. I have created de (product.hbm.xml) hibernate file and the Product Class with (getters and setters) and modified the hibernate.cfg.xmlbut i am

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

2007-06-12 Thread kukeltje
I am helping... but you guys have to come up with trials and errors which I can comment on. I'm not going to build a full example (unless one of you guys pays my upcoming holiday) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4053743#4053743 Reply to the post