[jboss-user] [JBoss Seam] - Re: Named conversation and new instance redirected to Home?

2008-02-18 Thread eirirlar
enda wrote : | There were some issues why it got deprecated and note from Gavin King was to use pages.xml for it. So if it is undeprecated then it is ok. | Actually it's not undeprecated yet but I couldn't find a way to do the same thing in pages.xml. enda wrote : | here you would

[jboss-user] [JBoss Seam] - Re: Named conversation and new instance redirected to Home?

2008-02-13 Thread eirirlar
I'm struggling with similar issues regarding natural conversations, can't get them to join existing ones in a decent way. +1 for better example in the docs. Regards, Eirik View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129082#4129082 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Named conversation and new instance redirected to Home?

2008-02-13 Thread eirirlar
In my application I keep getting Conversation id is already in use when I try to use the same link twice to start the natural conversation. I thought I should have a look at the seam-bay example to figure out what I did wrong, but it turns out the same problem exists there. Please try for

[jboss-user] [JBoss Seam] - Re: Named conversation and new instance redirected to Home?

2008-02-13 Thread eirirlar
Hi Tomas, I was thinking about manually handling it, but since I only needed one type of conversation and wanted that one named, I ended up with this: components.xml: core:manager conversation-id-parameter=forsendelseId / view.xhtml: h:dataTable id=forsendelser value=#{forsendelser}

[jboss-user] [JBoss Seam] - Re: Pass JavaScript method outcome to server?

2007-06-16 Thread eirirlar
anonymous wrote : Another thought was as onclick that calls a Seam @Remote-method with the correct JavaScript parameters. This is what I ended up doing in the end. I had a look at ajax4jsf's jsFunction solution as well, but seam's remoting seems cleaner and simpler. View the original post :

[jboss-user] [JBoss Seam] - Re: ELContext exception

2007-06-15 Thread eirirlar
I've removed the modules for el-api, el-ri and jboss-seam from the ear's application.xml, and instead listed the jar-dependencies in the ejb's and web's META-INF/MANIFEST.MF like this: Class-Path: lib/jboss-seam-1.2.1.jar lib/el-api-1.2.1.jar lib/el-ri-1.2.1.jar It works! Thanks. However,

[jboss-user] [JBoss Seam] - Re: ELContext exception

2007-05-30 Thread eirirlar
It's very possible that this is something I would and should know if I read up on ear-packaging, but if anyone has the courtesy to answer I'd be happy :) Why is it necessary to reference the jboss-seam.jar, el-api.jar and el-ri.jar in the application.xml of your seam ear application? (For

[jboss-user] [JBoss Seam] - Pass JavaScript method outcome to server?

2007-05-11 Thread eirirlar
Hi, I'm working with the richfaces gmap component. I need to send some data to the server that is the outcome of some JavaScript method call, along with calling an action method. I would like this to be as easy as the following: h:commandButton action=#{bean.method(par1,par2,par3)}/ where parX

[jboss-user] [JBoss Seam] - Re: Changeing Validation Messages

2007-05-01 Thread eirirlar
Have the exact same problem. @NotNull(message=blah) doesn't work. Does anyone know if referring to the messages.properties-file in the message attribute of @NotNull should work? Like this: @NotNull(message=#{messages.notnullerror}) View the original post :

[jboss-user] [JBoss Seam] - Using the JPA delegate

2007-02-27 Thread eirirlar
Hi, I wonder if I'm the only one who's encountered this when trying to use the JPA delegate when Hibernate is the underlying persitence provider. Look at chapter 8.4 in the doc. It says: | @In EntityManager entityManager; | | @Create | public void init() { | ( (Session)

[jboss-user] [JBoss Seam] - Re: Using the JPA delegate

2007-02-27 Thread eirirlar
It seems that the entityManager.getDelegate() returns either a SessionImpl or a EntityManagerImpl, depending on wether or not you have the following set up in your components.xml: core:managed-persistence-context name=bookingDatabase |auto-create=true |

[jboss-user] [JBoss Seam] - Re: Problem with sortable headers on tomahawk dataTable

2007-02-07 Thread eirirlar
Looking at the booking example, I don't think I'm supposed to in- and outject variables the way I'm trying to. Hope this helped somebody :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012603#4012603 Reply to the post :

[jboss-user] [JBoss Seam] - Problem with sortable headers on tomahawk dataTable

2007-02-06 Thread eirirlar
I've followed the instructions on http://wiki.jboss.org/wiki/Wiki.jsp?page=DataModelWithTomahawkDataTable to create a database backed table of objects that is sortable on each of the column headers. This worked great after a bit of plundering. However, I wanted to try out some of the seam

[jboss-user] [EJB 3.0] - Re: Illegal @PersistenceUnit: There is no default persistenc

2007-01-28 Thread eirirlar
Hi, I had a similar problem when using jdk5.0. It solved itself when I went over to jdk6.0 for some reason. Didn't have to touch the classloader in jboss-app.xml Regards, Eirik View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4007464#4007464 Reply to the post :

[jboss-user] [Installation, Configuration Deployment] - Naming myeclipse projects for exploded deploy

2007-01-28 Thread eirirlar
Hi all, I'm using myeclipse to develop jboss seam applications that are being deployed to a jboss application server. I've discovered a tutorial (http://www.karwell.com/apropos/equipe/JMP/seam_me_getting_started/) which describes how to do the example applications that comes with seam in