[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
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: view.xhtml: | | | | #{fors.id} | | | action method annotation: @Begin(join = true, id = "#{faces

[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 your

[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=bb&op=viewtopic&p=4129082#4129082 Reply to the post : ht

[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, I've

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

2007-05-29 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 compa

[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: where parX is a JavaScript method outcome. EL doesn't work this w

[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 : http://www.jboss.com/index.html?m

[jboss-user] [JBoss Seam] - Re: Seam Tools, Project Structures, and IDEs

2007-03-21 Thread eirirlar
Tony: I've actually done the exact same thing as you and it took a lot of time. I think the community would benefit if MyEclipses Enterprise Application Project layout with seam was on the seam wiki. Question: have you found a way for MyEclipse to deploy your custom datasources to jboss appserv

[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: and persistence.xml: That is - if this is set up, SessionImpl is returned. Otherwise EntitiyManagerImpl is ret

[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) entityMan

[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=bb&op=viewtopic&p=4012603#4012603 Reply to the post : http://www.jboss.com/index.html?modu

[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 func

[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 myecli

[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=bb&op=viewtopic&p=4007464#4007464 Reply to the post