[JBoss-user] [JBoss Seam] - Re: DataSource configuration at runtime

2006-06-26 Thread baz
Hello Thomas, so i have to use embeddable ejb? At the moment i use seam managed sessions as introduced with the example 'hibernate' (the derivate from the hotel booking example) If i use embeddablke EJB as suggested, how to inject the transaction manager into a datasource provided by Tomcat? f

[JBoss-user] [JBoss Seam] - Re: DataSource configuration at runtime

2006-06-26 Thread baz
Hello, yes you are right, i have used the wrong wording. here is the correction By now, for every targetsystem i do this: 1. edit jboss-bean.xml 2. package the app (run Ant build script) 3. copy the resulting war to the right system But what i need is: 1. package the app (run Ant build script

[JBoss-user] [JBoss Seam] - DataSource configuration at runtime

2006-06-26 Thread baz
Hello, i do have a question about microcontainer and seam managed sessions. Please have a look at: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=85491 Can anybody help me out? Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953371#3953

[JBoss-user] [Microcontainer] - MC, SEAM, Tomcat DataSource configuration at runtime?

2006-06-23 Thread baz
Hello, before using Seam managed session in my application and jboss microcontainer i was used to specify my datasource in file context.xml in the META-INF Directory in my app. This way, after deployment one can edit this file in the desired tomcatfolder (Tomcat/conf/Catalina/localhost/.xml) to

[JBoss-user] [JBoss Seam] - Re: SFSB are evil? (The eternal Update problem)

2006-06-23 Thread baz
anonymous wrote : BTW: Could you please be more specific where to look a the hotel booking | example. I meant the booking example for hibernate and tomcat. There exists in class HotelBookingAction this method: @End |public String clear() |{ | hotels = null; | hot

[JBoss-user] [JBoss Seam] - Re: SFSB are evil? (The eternal Update problem)

2006-06-22 Thread baz
Hello, Your problem looks very common for me. anonymous wrote : I checked it, and the find() method is not called when I revisit the page. That is correct. The find() method is only called when vertraege is null. That is the meaning of a factory method. anonymous wrote : How can I enforce that th

[JBoss-user] [JBoss Seam] - Re: Does Jenia multipleRowSelector work with seam?

2006-05-16 Thread baz
This topic is not related to seam. multipleRowSelector works with seam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944105#3944105 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944105 -

[JBoss-user] [JBoss Seam] - Does Jenia multipleRowSelector work with seam?

2006-05-16 Thread baz
Hello, i would like to use multipleRowSelector from jenia http://www.jenia.org. But this component doesn't work. My selectionList is always null. It gets not initialized. If tried a small testapp without seam. There it works. When i add seam support to this app and make my backing bean managed by s

[JBoss-user] [JBoss Seam] - Re: resume parent conversation in @End method

2006-05-11 Thread baz
Gavin was so kind to implement a method called endAndRedirect Thanks for that. This can be used like this: | public String saveProtocol() { | // the meat of the method not copied. | return Conversation.instance().endAndRedirect(); | } | This ends the current c

[JBoss-user] [JBoss Seam] - Re: An excruciatingly simple SEAM question

2006-05-09 Thread baz
As far as i know your attempt works right. @Out outjects to the context from which the value was injected, or in case of no injection to the surrounding context. When you click the register button, you are in a temporary conversation. When you outject a value it will go to this temporary convers

[JBoss-user] [JBoss Seam] - Re: resume parent conversation in @End method

2006-05-08 Thread baz
Feature request done simple Use Case for this feature: The user is fills out a form (in the outer conversation). He detets that i must retrieve some information. So he does this (in the nested converstaion). After that he can continue editing his form. All this without switching windows. The ret

[JBoss-user] [JBoss Seam] - resume parent conversation in @End method

2006-05-08 Thread baz
Hello, i'd like to resume a parent conversation after executing a method annotated with @End I have read the forum and have found some threads about similar topics. And i have found in the CVS version of seam that there is the method redirectToParent implemented. This function resumes the paren

[JBoss-user] [JBoss Seam] - SeamExtendedManagedPersistence: when does a commit occur?

2006-05-04 Thread baz
421 ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/baz].[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception | 15:06:47,437 DEBUG org.jboss.util.NestedThrowable: org.jboss.util.NestedThrowable.parentTraceEnabled=true | 15:06:47,453 DEBUG org.jboss.util.Nested

[JBoss-user] [JBoss Seam] - Re: parallel root conversations?

2006-05-03 Thread baz
Hello Gavin, after rereading the documentation i think this holds true: * you can have multiple workspaces * each workspace can contain one root conversation So i have to create multiple workspaces. I do use this code : New workspace | New window | | Whereas the url pattern for Faces

[JBoss-user] [JBoss Seam] - parallel root conversations?

2006-05-02 Thread baz
Hello, i'm not quite sure but i thing that my requirement are hierachical conversations(which are not supported by seam at the moment) Nevertheless, i ask my question: How to achieve parallel root conversations? The posting http://www.jboss.com/index.html?module=bb&op=viewtopic&t=79376 implies for

[JBoss-user] [JBoss Seam] - Re: Converstaion context destroyed, why?

2006-04-28 Thread baz
Hello, now i have found out that the binding attribute does not work even on an Input component. I was used to use this code: | | | | -- | private UIInput protocolNameInput; | | getFacesContext().addMessage(protocolNameInput.getClientId(getFacesC

[JBoss-user] [JBoss Seam] - Re: Converstaion context destroyed, why?

2006-04-28 Thread baz
org.jboss.seam.contexts.Lifecycle: <<< End web request | 10:21:26,234 ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/baz].[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception | java.lang.IllegalStateException: No conversation conte

[JBoss-user] [JBoss Seam] - Re: Conversation context destroyed, why?

2006-04-27 Thread baz
Hello, i stripped down my Bean "analysisBacking" (changing also the html pages acordingly) and are now in the task to recode it. After stripping the bean down to the absolutley basic, the app works again, but with a lose of buisinesslogic. I really need a hint, why seam destroyed the conversatio

[JBoss-user] [JBoss Seam] - Converstaion context destroyed, why?

2006-04-27 Thread baz
Hello, i am currently adding Seam support to an Webapp composed with myfaces and facelets. Seam is very useful in this case. The app is easier to understand and uses lesser code.:-) But i have one problem for which i cannot determine the cause: the conversation scope is destroyed without calling

[JBoss-user] [JBoss Seam] - Re: Upgrade problem

2006-04-27 Thread baz
I have had the same problem, but not with the original examples. They run well. But try to look at: Please look at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=81772 Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939847#3939847 Reply

[JBoss-user] [JBoss Seam] - Re: jboss-seam-1.0.0.CR2 infinite loop instantiating localeS

2006-04-26 Thread baz
Hello, finally i solved the problem for me. It seems that jstl.jar (in my application) was not compatibel with the new Seam release. After copying this library from the seam release to my app, all is well. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewto

[JBoss-user] [JBoss Seam] - jboss-seam-1.0.0.CR2 infinite loop instantiating localeSelec

2006-04-26 Thread baz
:45,578 INFO org.jboss.seam.init.Initialization: done initializing Seam | 13:15:45,578 DEBUG org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/baz]: Starting filters | 13:15:45,578 DEBUG org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/baz]: Starting filter

[JBoss-user] [JBoss Seam] - Re: Database configuration with Seam+Hibernate on Tomcat/Mic

2006-04-25 Thread baz
Hello, thanks for the fast answers. anonymous wrote : | |someHibernate.cfg.xml | | This is exactly what i am searching for. when looking at http://docs.jboss.com/seam/api/org/jboss/seam/microcontainer/HibernateFactory.html i had no idea that 'cfgResourceName' could be the name of t

[JBoss-user] [JBoss Seam] - Database configuration with Seam+Hibernate on Tomcat/Microco

2006-04-25 Thread baz
eans.xml file from the hibernate example of Jboss Seam 1.0 Beta2 and changed the prefix booking consistently with baz. This results in a running configuration for one database. I duplicated the configuration for beans called bazDatasourceFactory,bazDatasource,bazDatabase and bazDatabaseFac