[jboss-user] [JBoss jBPM] - How to use defined variables

2007-07-02 Thread Riket44
Hi,

I define some variable in a task node like that :

  |start-state name=Envoyer la demande
  |   task name=Envoyer form
  |  controller
  | variable name=Produit access=read,write,required 
/variable
  | variable name=Quantite access=read,write,required 
/variable
  | variable name=Raison access=read,write /variable
  |  /controller  
  |   /task
  |   transition name=Envoye to=Recevoir la demande/transition
  |/start-state
  | 

Later in my process, I've got a decision node with a Decision Handler, in my 
Handler, I want to use the variable named Produit. How is it possible ?

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4059543#4059543

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4059543
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How to use defined variables

2007-07-02 Thread Riket44
Hmm in reading my post, I think it's not very clear :)

I want to use the variable :
variable name=Produit access=read,write,required /variable
  | 

In a decisionHandler to do a mySQL request like this :
String request = SELECT * FROM table WHERE id=+ the variable +;;

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4059545#4059545

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4059545
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How to use defined variables

2007-07-02 Thread Riket44
Yes, but I don't understand when the variables are not defined... The examples 
are all different. I'll try with executionContect.getVariable(varName) ;)

Thank you Kukeltje

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4059602#4059602

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4059602
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 value=#{genList.value}
  | f:selectItems value=#{genList.items} /
  |   /h:selectOneMenu 
  |   
  | /jbpm:datacell
  | 


Here is my genList.java :

  | public class genList {
  | 
  | private String value=;
  | private Connection conn;
  | 
  | public genList() {}
  | 
  | public String getValue() {
  | return value;
  | }
  | public void setValue(String value) {
  | this.value = value;
  | }
  | 
  | public Collection getItems() {
  | 
  | Collection items = new ArrayList();
  | SelectItem si = null;
  | 
  | try{
  | //-- Connexion
  | Class.forName(com.mysql.jdbc.Driver);
  | conn = DriverManager.getConnection 
(jdbc:mysql://localhost:3306/databaseName, root,  );
  |
  | //-- Creation du statement et de la requete
  | Statement stmt = conn.createStatement();
  | String requete = null;
  | requete = SELECT ID_,NOM_ FROM materiel;
  | 
  | //-- Execution de la requete
  | ResultSet rs = stmt.executeQuery(requete);
  | 
  | //-- Lecture des donnees
  | while (rs.next())
  | {
  | si = new SelectItem (String.valueOf(rs.getInt(1)), 
rs.getString(2));
  | items.add(si);
  | }
  | 
  | //-- Deconnexion
  | conn.close();
  | } catch(Exception e){
  | System.out.println(\n\n\nCONNEXION ECHOUEE: +e+\n\n\n);
  | System.exit(-1);  
  | }
  | 
  | return items;
  | }
  | }
  | 

And finally here is my Face Config :

  |   managed-bean
  | managed-bean-namegenList/managed-bean-name
  | managed-bean-classcom.demande.action.genList/managed-bean-class
  |  managed-bean-scoperequest/managed-bean-scope
  |   /managed-bean
  | 


When I want to start my process I always have this error :

Argument Error: An option for component j_id48 was not an instance of 
javax.faces.model.SelectItem. Type found: java.util.ArrayList.
(j_id48 is the name given automatically to the combo box)

I tried a lot of things to repair that error, but nothing works... I can't see 
where is the problem, if you could help me, I will be very happy !

Thanks,

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4054804#4054804

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054804
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4053826#4053826

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053826
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Unable to locate jboss-service.xml

2007-06-12 Thread Riket44
That's the same thing in the User guide for 3.2...

I'm always unable to find the jbpm.sar directory and the jboss-service.xml...
If somebody knows , I would be happy !

Thanks;

R.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4053357#4053357

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053357
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Unable to locate jboss-service.xml

2007-06-12 Thread Riket44
Thank you :)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4053366#4053366

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053366
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Syntax error when lauching jBPM = MySQL

2007-06-12 Thread Riket44
Hello,

I've followed the installation guide for MySQL on jBPM 3.2 GA and when I try to 
launch the server... There is an error I don't understand, here it is :


  | 10:01:29,187 DEBUG [JobExecutorThread] acquiring jobs for execution...
  | 10:01:29,187 DEBUG [JbpmContextInfo] creating jbpm context with service 
factorie
  | s '[tx, message, scheduler, logging, persistence, authentication]'
  | 10:01:29,187 DEBUG [JbpmContext] creating [EMAIL PROTECTED]
  | 10:01:29,187 DEBUG [DbPersistenceServiceFactory] creating persistence 
service
  | 10:01:29,187 DEBUG [DbPersistenceService] creating hibernate session
  | 10:01:29,187 DEBUG [DbPersistenceService] beginning hibernate transaction
  | 10:01:29,187 DEBUG [JobExecutorThread] querying for acquirable job...
  | 10:01:29,187 WARN  [JDBCExceptionReporter] SQL Error: 1064, SQLState: 42000
  | 10:01:29,187 ERROR [JDBCExceptionReporter] You have an error in your SQL 
syntax;
  |  check the manual that corresponds to your MySQL server version for the 
right sy
  | ntax to use near '1 job0_.ID_ as ID1_26_, job0_.VERSION_ as VERSION3_26_, 
job0_.
  | DUEDATE_ as DUEDAT' at line 1
  | 10:01:29,187 ERROR [JobSession] 
org.hibernate.exception.SQLGrammarException: cou
  | ld not execute query
  | 10:01:29,187 DEBUG [JbpmContext] closing JbpmContext
  | 10:01:29,203 DEBUG [Services] closing service 'persistence': 
org.jbpm.persistenc
  | [EMAIL PROTECTED]
  | 10:01:29,203 DEBUG [DbPersistenceService] committing hibernate transaction
  | 10:01:29,203 DEBUG [DbPersistenceService] closing hibernate session
  | 10:01:29,203 DEBUG [Services] closing service 'tx': [EMAIL PROTECTED]
  | 
  | 10:01:29,203 ERROR [JobExecutorThread] exception in job executor thread. 
waiting
  |  32 milliseconds
  | org.jbpm.JbpmException: couldn't get acquirable jobs
  | at org.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:44)
  | at 
org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread
  | .java:111)
  | at 
org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56
  | )
  | Caused by: org.hibernate.exception.SQLGrammarException: could not execute 
query
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j
  | ava:67)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
  | er.java:43)
  | at org.hibernate.loader.Loader.doList(Loader.java:2148)
  | at 
org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
  | at org.hibernate.loader.Loader.list(Loader.java:2024)
  | at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:392)
  | at 
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.ja
  | va:333)
  | at 
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java
  | :172)
  | at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114)
  | at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
  | at 
org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.j
  | ava:756)
  | at org.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:40)
  | ... 2 more
  | Caused by: java.sql.SQLException: You have an error in your SQL syntax; 
check th
  | e manual that corresponds to your MySQL server version for the right syntax 
to u
  | se near '1 job0_.ID_ as ID1_26_, job0_.VERSION_ as VERSION3_26_, 
job0_.DUEDATE_
  | as DUEDAT' at line 1
  | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2975)
  | at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1600)
  | at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1695)
  | at com.mysql.jdbc.Connection.execSQL(Connection.java:3026)
  | at 
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
  | va:1137)
  | at 
com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:
  | 1231)
  | at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery
  | (WrappedPreparedStatement.java:236)
  | at 
org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:
  | 186)
  | at org.hibernate.loader.Loader.getResultSet(Loader.java:1669)
  | at org.hibernate.loader.Loader.doQuery(Loader.java:662)
  | at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Lo
  | ader.java:224)
  | at org.hibernate.loader.Loader.doList(Loader.java:2145)
  | ... 11 more

I hope you could help me.

Regards, 
Richard.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4053375#4053375

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053375
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Syntax error when lauching jBPM = MySQL

2007-06-12 Thread Riket44
There is no clue for my problem on thoses links :(

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4053389#4053389

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053389
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Syntax error when lauching jBPM = MySQL

2007-06-12 Thread Riket44
I found how to correct it. In fact, the config file hibernate.cfg.xml have been 
modified in the conf directory but not in the jar file. The dialect used was 
always HSQL. 

So I modified the hibernate.cfg.xml which is in the jbpm-jpdl.jar !

Thanks for your help mputz and kukeltje :)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4053424#4053424

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053424
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-06-12 Thread Riket44
Hi,

I've got a question, here is a part of my form :

  | f:facet name=header
  |  h:outputText value=Produit desire: /
  |  /f:facet
  |  h:inputText value=#{var['Produit']} /
  | 

In my database i've got a table named PRODUCT with the ID and the NAME for each 
product. I wanted to replace the inputText by a combo box in which there will 
be the NAME of all the products.

Is it possible ? If yes, I would like to know how do that... Thanks.

Regards,

R.

PS: I'm using Jbpm 3.2 GA with MySQL 5.0.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4053537#4053537

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053537
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053567
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Problem creating jBPM DB with MySQL

2007-06-11 Thread Riket44
Hello,

I use jBoss jBPM 3.2 GA. I follow the user guide for install the jbpm database 
with mySQL but i've got a problem, i don't find the creation script...

I see in all user guides i can find it there :
${JBPM_SSTARTERSKIT_HOME}/jbpm-db/build/${DATABASE_TYPE}/scripts

But i havn't those directories/files... So I decided to search manually the 
script, but I don't find the creation script. 

Thanks for your help :)

R.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4053019#4053019

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053019
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problem creating jBPM DB with MySQL

2007-06-11 Thread Riket44
I succeeded in creating the data base, but, in the user guide it says we must 
load the database create script with this command :
source mysql.drop.create.sql 
and when I enter that command, I have the following error: 
Failed to open file 'mysql.drop.create.sql', error: 2

I don't understand...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4053062#4053062

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053062
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problem creating jBPM DB with MySQL

2007-06-11 Thread Riket44
kukeltje wrote : I think you mixed up some docs. They are in /jpdl/db/target

Yes, in fact a problem happened while unzipping the starter kit and I hadn't 
the directory db ;)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4053064#4053064

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053064
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Wrong creation script for MySQL in 3.2 GA ?

2007-06-11 Thread Riket44
Hello,

I'm currently trying to install MySQL on jBPM by following the user guide. In 
that guide, in the Last Steps Section, I must insert the users in the 
JBPM_ID_USER table.

But in the creation script jbpm_jpdl_mysql.sql, there is no creation for 
JBPM_ID_USER table, so I havn't this table.

I can create it but I wanted to know if there were other tables to recreate or 
if there is a new script especially for 3.2 GA version which include those 
tables.

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4053089#4053089

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053089
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Unable to locate jboss-service.xml

2007-06-11 Thread Riket44
Hi,

I've got a problem. In the user guide which help to install MySQL, I must 
locate the jboss-service.xml which is in 
${JBPM_SDK_HOME}/jbpm-server/server/jbpm/deploy/jbpm.sar/META-INF

I must exchange the token DefaultDS by the name of my DataSource. But i havn't 
a dir named jbpm.sar and I searched in all others directories and I don't find.

Thanks for your help.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4053153#4053153

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053153
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Unable to locate jboss-service.xml

2007-06-11 Thread Riket44
EDIT

I'm using jBPM jpdl 3.2 GA

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4053154#4053154

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4053154
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Can't start process instance (XML Malformed)

2007-05-30 Thread Riket44
I tried the solution with -Dhttp.proxyhost=... and -Dhttp.proxyport=... and it 
doesn't work...

I wanted to try the solution of webjavier but i don't understand it, if 
somebody could help me...

Thank your for your help.


Richard T.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4049607#4049607

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4049607
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Can't start process instance (XML Malformed)

2007-05-30 Thread Riket44
It works with the solution of jcv, i added the doctype declaration in my form 
generator file and I suppress it in each forms.

So thanks to jcv and webjavier for bring me their help !

Bye !

Richard T.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4049622#4049622

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4049622
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Questions about eMails in jBPM

2007-05-30 Thread Riket44
Hello,

I've got two questions :

1. Is it possible to associate an email address to an user. If yes, can you 
give me an example ? (Ex: I want to give an address to ernie).

2. (if the 1st question is resolved) For example, I have a form which is filled 
by cookie monster and then, the task goes to the manager ernie. In the new 
task of ernie, i've got an ActionHandler which send emails. Is it possible to 
recover the mail address of cookie monster without he don't have to write it 
and to use it in the action handler  ?

It's not very comprehensible, my english is bad, I hope that you'll understand 
nevertheless.

Thanks,

Richard T.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4049631#4049631

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4049631
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Questions about eMails in jBPM

2007-05-30 Thread Riket44
I found and modified emails of those users.

Now, i wanted to recover the email of the first user (the person who fill the 
form in the start state) in the second task node.


  |start-state name=Envoyer la demande
  |   task name=Envoyer form
  |  controller
  | variable name=Produit access=read,write,required 
/variable
  | variable name=Quantite access=read,write,required 
/variable
  |  /controller  
  |   /task
  |   transition name=Envoi to=Recevoir la demande/transition
  |/start-state
  |  
  |task-node name=Recevoir la demande
  |   task name=Recevoir form swimlane=Manager
  |  controller
  | variable name=Produit access=read /variable
  | variable name=Quantite access=read /variable
  |  /controller   
  |   /task
  |   transition name=Accepter to=Maj Comptes
  |  action name=action 
class=com.demande.action.DemandeMaterielHandler
  | indicoui/indic
  |  /action
  |   /transition
  |   transition name=Rejeter to=Fin
  |  action name=action 
class=com.demande.action.DemandeMaterielHandler
  | indicnon/indic
  |  /action
  |   /transition
  |/task-node
  | 

I wanted to know if it was possible to get the email of the user of the start 
state, in the ActionHandler as I do with oui to do a thing like :  ??? .

I don't know if you understand what I mean, but thank you for your help.

Regards,

Richard T.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4049680#4049680

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4049680
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Questions about eMails in jBPM

2007-05-30 Thread Riket44
EDIT :

anonymous wrote : 
  | I wanted to know if it was possible to get the email of the user of the 
start state, in the ActionHandler as I do with oui to do a thing like :  ??? . 
  | 


I wanted to know if it was possible to get the email of the user of the start 
state form in the ActionHandler as I do with indicoui/indic by writing a 
line like this mailReceiver ??? /mailReceiver.

Richard T.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4049682#4049682

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4049682
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Error at the end of tasks

2007-05-29 Thread Riket44
Hello :)

First of all, excuse me for my bad english ! I'll try to explain you my problem 
:

When I finish a task (after filled a form for example), i always have the same 
error  :


  | An Error Occurred:
  | javax.el.PropertyNotFoundException: /main/task/new_tasks.xhtml @41,57 
value=#{entry.taskInstance.id}: 
  | Property 'taskInstance' is not found on type: java.lang.String
  | 
  | +- Stack Trace
  | javax.faces.FacesException: javax.el.PropertyNotFoundException: 
/main/task/new_tasks.xhtml @41,57 value=#{entry.taskInstance.id}: Property 
'taskInstance' is not found on type: java.lang.String
  | at javax.faces.component.UIOutput.getValue(UIOutput.java:176)
  | at 
com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:189)
  | at 
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:320)
  | at 
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:200)
  | at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:829)
  | at 
org.jbpm.webapp.tag.jbpm.renderer.RendererBase.doEncode(RendererBase.java:36)
  | at 
org.jbpm.webapp.tag.jbpm.renderer.RendererBase.doEncode(RendererBase.java:46)
  | at 
org.jbpm.webapp.tag.jbpm.renderer.RendererBase.doEncode(RendererBase.java:34)
  | at 
org.jbpm.webapp.tag.jbpm.renderer.RendererBase$ElementImpl.doEncode(RendererBase.java:266)
  | at 
org.jbpm.webapp.tag.jbpm.renderer.DataTableRenderer.renderCells(DataTableRenderer.java:138)
  | at 
org.jbpm.webapp.tag.jbpm.renderer.DataTableRenderer.encodeChildren(DataTableRenderer.java:94)
  | at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:810)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:884)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:578)
  | at 
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:222)
  | at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 

[jboss-user] [JBoss jBPM] - Re: Error at the end of tasks

2007-05-29 Thread Riket44
EDIT : 

I'm using jBPM jpdl suite 3.2 beta 1 !

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4049295#4049295

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4049295
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Error at the end of tasks

2007-05-29 Thread Riket44
Maybe i'm stupid but i don't find the 3.2 GA version... Can you give me the 
link please ?

Richard T.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4049323#4049323

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4049323
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Error at the end of tasks

2007-05-29 Thread Riket44
EDIT:

I found, thx

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4049337#4049337

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4049337
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Error at the end of tasks

2007-05-29 Thread Riket44
Sorry for all those messages from me !
I've just installed jBPM 3.2 GA, when i try to start a process instance, i got 
this error :

Erreur d'analyse XML : mal formé
  | Emplacement : http://localhost:8080/jbpm-console/main/task/view.jsf?tiid=1
  | 
  | 
  | line 80, column 3 :!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 
Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; 
  | --^

thx :)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4049363#4049363

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4049363

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Can't start process instance (XML Malformed)

2007-05-29 Thread Riket44
Hi,

I've just installed jBPM jpdl Suite 3.2 GA.
When i login, i deploy a new process (it works), then i want to start it, 
and... Error, here is this error :


  | Erreur d'analyse XML : mal formé
  | Emplacement : http://localhost:8080/jbpm-console/main/task/view.jsf?tiid=1
  | 
  | 
  | line 80, column 3 :!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 
Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; 
  | --^ 


When i take a look on the source code, i see the line in the middle of the 
HTML, i don't know why... Thanks for help.

Richard T.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4049379#4049379

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4049379

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Parsing error in forms

2007-05-15 Thread Riket44
Ok, thank you.

I succeded in doing what i wanted like that  :


  |   h:inputText
  |   value=#{var['tracking number']} readonly=true
  |   /h:inputText
  | 

It show the value of tracking number and it's only readable.

Thanks and bye :)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4045676#4045676

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4045676
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Parsing error in forms

2007-05-14 Thread Riket44
Hi,

I made à first form in which there is : 


  |   f:facet name=header
  | h:outputText value=Tracking Number: /
  |   /f:facet
  |   h:inputText
  |   value=#{var['tracking number']}
  |   converter=javax.faces.Integer
  |   converterMessage=The quantity must be numeric. 
  |   /h:inputText
  | 

In the following forms, i want to have a field in which the another user can 
see the value of tracking number, so i did : 


  |   f:facet name=header
  | h:outputText value=Tracking Number: /
  |   /f:facet
  |   h:inputText value=#{tracking number} /
  | 

But when i try it on the jbpm console, i have an error on the second form which 
say : 


/14/form.receive.xhtml @23,81 value=#{tracking number} Error Parsing: 
#{tracking number}


I don't find which parsing error i've done... Thanks a lot for your help and 
sorry for my very bad english!!

R.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4045368#4045368

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4045368

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Parsing error in forms

2007-05-14 Thread Riket44
In the WebSale example, 

the first user define the variable like that : 

  | value=#{var['varName']}
  | 

and get the value of this in another form like that: 


  | value=#{varName}
  | 

I don't understand...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4045393#4045393

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4045393
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Deployment problem

2007-05-11 Thread Riket44
Hello,

I encounter a problem :
I use jBoss IDE 1.0.6 GA and jBPM 3.2b

When i try to deploy my process, eclipse try on :
localhost:8080/jbpm/upload 

i want to have : localhost:8080/jbpm-console/upload

On the jBoss IDE 1.6.0 GA, i don't find the Server Deployer field...

Thanks.

PS : Sorry for my bad english, i'm not english ;)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4044978#4044978

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4044978
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user