[jboss-user] [JBoss jBPM] - problem persisting jBPM process instance

2008-05-19 Thread alex_enache
Hi guys, I have a problem persisting a process instance using hibernate. Here is the scenario: - I had a project based on jBPM, created on seam 4.0; when persisting a process instance there were no problems - in the meantime I changed the project structure to work on seam 4.2; and now I get

[jboss-user] [JBoss Seam] - SEAM 2.0 remoting/gwt example problem

2008-01-27 Thread alex_enache
Hi everyone, I had an application created on SEAM 1.2 which was fine, but then I needed to use GWT, so I changed to SEAM 2.0. After some hours of fight with the application to make it work on 2.0 and also integrate a simple GWT test class, I find myself having a problem which I just can't

[jboss-user] [JBoss Seam] - error while reading /WEB-INF/components.xml ??

2008-01-27 Thread alex_enache
I get a very strange error complaining about an error in components.xml when I deploy my application. Here is the strack trace (not complete, only the first part): 21:47:53,327 INFO [Initialization] reading /WEB-INF/components.xml | 21:47:53,343 ERROR [[/projectmanager]] Exception sending

[jboss-user] [JBoss Seam] - Re: SEAM 2.0 remoting/gwt example problem

2008-01-27 Thread alex_enache
I solved the problem by zipping the project in an ear. In SEAM 1.2 it was in an war and it worked just fine. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123885#4123885 Reply to the post :

[jboss-user] [JBoss Seam] - Re: error while reading /WEB-INF/components.xml ??

2008-01-27 Thread alex_enache
Sorry but I've forgot to post the contents of components.xml. Here it is: ?xml version=1.0 encoding=UTF-8? | | components xmlns=http://jboss.com/products/seam/components; | xmlns:core=http://jboss.com/products/seam/core; |

[jboss-user] [JBoss Seam] - Re: error while reading /WEB-INF/components.xml ??

2008-01-27 Thread alex_enache
Thanks for your reply. It seems I've solved the problem. I was converting a project from SEAM 1.2 to 2.0 and there where a few jars in my app that were giving these conflicts with the jars from SEAM 2.0. Noob mistake :). View the original post :

[jboss-user] [JBoss jBPM] - Re: Problems with persistence factory in Hibernate

2008-01-20 Thread alex_enache
Hi there Ronald, Hope you can give me a hint on this. I have the same problem as daniel. My stacktrace is lot bigger, but it contains also the part you are talking about (with the org.hibernate.TransientObjectException). What am I doing is trying to create at runtime a ProcessDefinition and

[jboss-user] [JBoss jBPM] - Re: Problems with persistence factory in Hibernate

2008-01-20 Thread alex_enache
Many many thanks Ronald, It appears that the stack trace was not only for the persistence of the ProcessDefinition. I've set Hibernate to output the queries and it was persisting the jbpm classes correctly. The problem was that after that step I was using the hibernate session to do some other

[jboss-user] [JBoss Seam] - Re: adding page workflows at runtime

2007-10-11 Thread alex_enache
Sorry for not being very specific. But I found what I needed in the dvdstore example. Thanks very much! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4093867#4093867 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093867

[jboss-user] [JBoss Seam] - SEAM remoting problem

2007-10-11 Thread alex_enache
Hi! I have two classes. One is the POJO that maps on a table in my db. This is a simple class with getters and setters(the name of the class is Project). I have a ProjectManager class which I want to remotely access in javascript. I will post only the code for the ProjectManager class.

[jboss-user] [JBoss Seam] - Re: SEAM remoting problem

2007-10-11 Thread alex_enache
[EMAIL PROTECTED] wrote : It will be an array of Project instances (well, the javascript equivalent). Access it the same way you would in Java. This is great! Just great guys. It's very easy to use SEAM remoting(if you add some javascript array parsing knowledge:P). Thank you very much for your

[jboss-user] [JBoss Seam] - Re: Eclipse Enterprise Application Project

2007-10-10 Thread alex_enache
Hi Julio, honestly I haven't used Enterprise Application Projects in Eclipse. What I have used was a basic Java Project which I packaged and deployed on Tomcat using Ant. If you don't know Ant don't worry that is pretty easy to learn. What you need to study a bit more is the way your

[jboss-user] [JBoss Seam] - adding page workflows at runtime

2007-10-10 Thread alex_enache
Good morning everyone! I'm working on a project that needs to allow the user to create page workflows. Let's suppose I've done that already. When the user creates a workflow it will be saved on disk. The workflows need to be declared in pages.xml in order to be executed(if I'm wrong correct

[jboss-user] [JBoss Seam] - Re: How to drag and drop compnents in a form?

2007-10-10 Thread alex_enache
Hi, you can search for Ajax libraries that can allow you to use drag-and-drop. Two examples I can name are Scriptaculous and Mootools. (if you haven't looked at the drag-and-drop example from richfaces, look here: http://livedemo.exadel.com/richfaces-demo/richfaces/dragSupport.jsf; you can

[jboss-user] [JBoss Seam] - Re: How to drag and drop compnents in a form?

2007-10-10 Thread alex_enache
My suggestion would be to create a sort of demo example in which you try out just a type of component(for example a button). After that works you can add more components. If you create something small first and it works you can be sure that when you add something new to it the problem is with

[jboss-user] [JBoss Seam] - global pageflow case??

2007-09-19 Thread alex_enache
Hello. I'm using the pageflow system on a project and I can't seem to make a sort of global flow case. I have a header.jsp which consists of the menu of my application. This menu is included in all my pages. I also have several pageflows in my app. How can I tell the pageflow system to make a

[jboss-user] [JBoss Seam] - problem with s:link

2007-09-19 Thread alex_enache
I'm having some troubles with using s:link inside html code. f:verbatim | div | ul class=nav | listrongProjects/strong | ul | lis:link action=createProject value=Create Project/li | /ul | /li

[jboss-user] [JBoss Seam] - Re: problem with s:link

2007-09-19 Thread alex_enache
wise_guybg wrote : I think f:verbatim is superfluous If I don't use f:verbatim none of the HTML lines of code gets rendered. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4086008#4086008 Reply to the post :

[jboss-user] [JBoss Seam] - Re: problem with s:link

2007-09-19 Thread alex_enache
Thanks for the input. But if I use Facelets, I'd have to change all my pages to use them ... and I have a few ... so any other thoughts ? :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4086047#4086047 Reply to the post :

[jboss-user] [JBoss Seam] - Re: problem with s:link

2007-09-19 Thread alex_enache
Wow! That really works. I've thought of it ... but I haven't tried it because I was thinking that it would complain to the fact that the document is not well-formed. Thanks for your help! If you drop by in Romania give me a pm and well have a beer. Cheers! View the original post :

[jboss-user] [JBoss Seam] - JSF commandButton not rendering whole page

2007-09-12 Thread alex_enache
Hi! I'm having troubles with the JSF commandButton. When I create an input form, at the end of the form I put a JSF commandButton which should persist my data entered into the form. The problem is that all the controls that are in the form(including the JSF button) are not rendered. And even

[jboss-user] [JBoss Seam] - Re: JSF commandButton not rendering whole page

2007-09-12 Thread alex_enache
?xml version=1.0? | jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; | xmlns:ui=http://java.sun.com/jsf/facelets; | xmlns:h=http://java.sun.com/jsf/html; | xmlns:f=http://java.sun.com/jsf/core; | xmlns:s=http://jboss.com/products/seam/taglib; |

[jboss-user] [JBoss Seam] - Re: JSF commandButton not rendering whole page

2007-09-12 Thread alex_enache
Hey Stephen. Thank you very much for asking for the code! After I posted the code, I started thinking that maybe it's not the code of the form that has bugs. So I looked through the rest of the code. And I've done two things: 1. I've modified the version attribute of the jsp:root tag to 1.2 2.

[jboss-user] [JBoss Seam] - PermGen out of memory !!??

2007-08-31 Thread alex_enache
Cheers everyone, I have a small problem. After I deploy several times my project on the server, I get an error that sais something about the fact that PermGen is out of memory. Can anyone explain very shortly why does this happen and what can I do to not get this kind of behavior(because I

[jboss-user] [JBoss Seam] - Re: PermGen out of memory !!??

2007-08-31 Thread alex_enache
Great. I already see the difference. Thanks for your replies and sorry for not digging deeper into this before posting. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079971#4079971 Reply to the post :

[jboss-user] [JBoss Seam] - datasource testing

2007-08-29 Thread alex_enache
Hi, I have a small question. I've configured SEAM to use MySQL. And I want to do some small testing with it. myapp-ds.xml datasources | local-tx-datasource | jndi-namemyTestDataSource/jndi-name | connection-urljdbc:mysql://localhost:3306/test/connection-url

[jboss-user] [JBoss Seam] - Re: datasource testing

2007-08-29 Thread alex_enache
Sorry I submited it, instead of previewing it :D. I'll continue my question here. And I have the following bean: @Entity | @Name(user) | @Scope(SESSION) | @Table(name=test) | public class User implements Serializable { | private static final long serialVersionUID =

[jboss-user] [JBoss Seam] - Re: datasource testing

2007-08-29 Thread alex_enache
the db also has a varsta field, of type int ... I've missed that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079017#4079017 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079017

[jboss-user] [JBoss Seam] - SEAM internationalization problem :(

2007-08-28 Thread alex_enache
Hi guys, I'm having a problem with internationalization in SEAM for 2 days now. And I can't seem to make it right. So, I have the following files: pmResources_ro.properties pmResources_en.properties pmResources_fr.properties pmResources.properties They are stored in:

[jboss-user] [JBoss Seam] - Re: SEAM internationalization problem :(

2007-08-28 Thread alex_enache
Hi there Pete, and thanks for your reply. I've tried that just now. It still loads the en bundle before the ro one. But I tried the following thing: I've removed the en locale from faces-config.xml. And now, if I set fr or ro as the default locale, it seems to load it as it should. Maybe this

[jboss-user] [JBoss Seam] - Re: SEAM internationalization problem :(

2007-08-28 Thread alex_enache
grig77cristi wrote : Try to change browser language order. Use ro first. Thanks. It works fine now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4078837#4078837 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4078837

[jboss-user] [JBoss Seam] - SEAM + JSF custom components

2007-08-27 Thread alex_enache
Hi everyone, I am developing an application that uses SEAM and JSF. I've created some custom JSF components which I will use. The JSF components where tested on JBoss AS and they work as intended. But when I tried to build the application for SEAM, it seems not to work. Maybe it is related to

[jboss-user] [JBoss Seam] - Re: SEAM + JSF custom components

2007-08-27 Thread alex_enache
For convenience, I will provide additional info: JBoss AS 4.0.5 SEAM 1.2 JSF 1.1 I dont have any beans yet, so the beans jar is only present by name, it doesn't have anything to load. pageflow.jpdl.xml pageflow-definition | xmlns=http://jboss.com/products/seam/pageflow; |

[jboss-user] [JBoss Seam] - SEAM + jBPM question

2007-08-03 Thread alex_enache
Hi guys! I have to create a application using SEAM and jBPM. In short, the application needs to create workflows and run them using jBPM. Supposing I have the xml that describes the workflow, I need to deploy it somewhere and somehow, and of course start it. You can find a demo here:

[jboss-user] [JBoss Seam] - Re: problem with booking example in jboss-seam-1.2.1.GA.zip

2007-07-30 Thread alex_enache
plchen65 wrote : JBoss came up fine. Here you are refering to JBoss AS, or JBoss Seam? You should read this link http://labs.jboss.com/jbossseam/gettingstarted. I did what is writen there and it was ok. View the original post :

[jboss-user] [JBoss Seam] - begginer's question

2007-07-29 Thread alex_enache
Hi all. I know this might be a stupid question but I could not find the answer so I hope you can help me a bit. I started using Seam this week, but I can't seem to make the helloworld example to work. I mean that when I hit the button say hello, I enter a name, and when I click ok, a debug

[jboss-user] [JBoss Seam] - Re: examples didn't work

2007-07-29 Thread alex_enache
guiltyxsin wrote : Really?? | | Hmm...ok here is what happens when I type 'ant deploy' within the booking example directory | | [img]http://farm2.static.flickr.com/1311/806595456_82608f8623.jpg?v=0[/img] | | Is there any problem there? because it says Build successful so I thought

[jboss-user] [JBoss Seam] - Re: begginer's question

2007-07-29 Thread alex_enache
Thanks for your reply szaccaria. It was more than I could hope for. I did a google search on jboss hsqldb and found this link: http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpMysqlAsDefaultDS which brought light into my life :D. Thanks again for your fast reply. Cheers View the original post :