[jboss-user] [JBoss jBPM] - Re: Signal a task on a html form submit

2007-06-05 Thread cahimoped
Hi, I just come to add precisions on my previous solution (it can eventualy help). Finally there is a big problem with the previous solution : you can't control the result of the servlet and the task is always validated. It didn't matter for me so far... but now I need it. So I came back to

[jboss-user] [JBoss jBPM] - Re: Signal a task on a html form submit

2007-05-30 Thread cahimoped
I just solved my problem. I was trying to get my taskInstance to be signaled with code when I thought about another solution : I don't put a dataform inside my form but the form inside my dataform. This way the default transition button can still work and I just have to put some javascript on

[jboss-user] [JBoss jBPM] - Re: Signal a task on a html form submit

2007-05-29 Thread cahimoped
Ok I post you some code and informations... It will not say more that I already said... but ok let's go. Here is my task : task-node name=Creer bilan | task name=bilanCP | assignment actor-id=#{CP} / | /task |

[jboss-user] [JBoss jBPM] - Re: Signal a task on a html form submit

2007-05-29 Thread cahimoped
I forget to say it again : I know I may I misunderstood the documentation. I d'ont say it's a bug... but in case I read well it can be... I just don't know and I'm curious about it. What I want now is another solution to get my process instance, token or whatever so I can signal my task in my

[jboss-user] [JBoss jBPM] - Re: Signal a task on a html form submit

2007-05-29 Thread kukeltje
anonymous wrote : Ok I post you some code and informations... It will not say more that I already said... but ok let's go. Well, tokenId=item.getString(); differs from tokenId=tokenIdItem.getString(); and the accompanying form tells more about the 'correct'

[jboss-user] [JBoss jBPM] - Re: Signal a task on a html form submit

2007-05-29 Thread cahimoped
I doesn't work better with id at the end or/and with task in the begining. My field remains empty (and empty in the browser too if not hidden). I tried idParameter instead of id only too (I see that in a jbpm:bind... just in case...) and it doesn't work better. Right now I'm trying to add the

[jboss-user] [JBoss jBPM] - Re: Signal a task on a html form submit

2007-05-29 Thread estaub
Ronald, I see a lot of instances on the forum of folks who have problems with EL and don't (apparently) have any way to dig into what they've done wrong beyond inspection of their code. It's much more common with transition condition expressions. Do you know if there's any way to turn on EL

[jboss-user] [JBoss jBPM] - Re: Signal a task on a html form submit

2007-05-29 Thread kukeltje
Ed, This is generic EL stuff ig you have e.g. a class Token with getter/setter like getId/setId, in EL you have to use token.id to have access to it. If it is the jboss imp, it uses log4j, so turning on debug at the rootlevel (and reducing it to the correct classes/packages if you see

[jboss-user] [JBoss jBPM] - Re: Signal a task on a html form submit

2007-05-29 Thread estaub
Ronald, anonymous wrote : This is generic EL stuff ig you have e.g. a class Token with getter/setter like getId/setId, in EL you have to use token.id to have access to it. | Yeah, I know... it's just that we all do bonehead things like this once in a while and need a hint about where we

[jboss-user] [JBoss jBPM] - Re: Signal a task on a html form submit

2007-05-29 Thread kukeltje
Oh... regarding these logoutputs, I have some experience in combination with seam and there is explicit logging on getters/setters not found on debug level. Sometimes even at error (not sure when exactely) There was a configfile at the debug level, but afaik, there has been a change in policy

[jboss-user] [JBoss jBPM] - Re: Signal a task on a html form submit

2007-05-28 Thread cahimoped
Just some precisions : - I spent lot of time trying everything (taskInstance, processIntance and not only token) in my expressions and I never get any answer. I don't know why since it works well with any simple variable (with #{var['myvar']}). - This input code is in a modified form file

[jboss-user] [JBoss jBPM] - Re: Signal a task on a html form submit

2007-05-28 Thread kukeltje
- you describe you deployed 'a servlet' how can we know what goes wrong if you do not show the code - you do not describe what versions of the gpd, core etc, - how do we know what is the original form (you made 'a' form in 'the' xhtml form file) - why do you come to the conclusion that after