[JBoss-user] [JBoss Seam] - Re: @Factory and @Create for one method

2006-06-29 Thread bluetrade
thanks, But I still don't understand how the Datamodel is basically "wiped", if it was initially populated. This doesn't happen if the factory method is also annotated with @Create. The factory method does the find() for the initial population, and when I call the save() method in the same clas

[JBoss-user] [JBoss Seam] - Cascading

2006-06-29 Thread bluetrade
Hi, I am experiencing some slight problem, when I persist an entity that consists of other entites, it does not cascade down. I also haven't discovered a @Cascade tag anywhere... What can I do to avoid having to manually persist each contained entity? Thanks! View the original post : http://

[JBoss-user] [JBoss Seam] - Re: Stateless Login Problems

2006-06-29 Thread bluetrade
Thanks for the input. The problem is that the amount of data to be loaded might be large, so I would have to keep that in memory the whole time. Could I not just leave the conversation open until the user logs out just like the SessionConversationPattern often used in Hibernate? That would allo

[JBoss-user] [JBoss Seam] - @Factory and @Create for one method

2006-06-29 Thread bluetrade
Hi, Are there any problems if a method has a @Factory AND a @Create annotation? I need to first populate the datamodel but if I remove the @Create it "resizes" the list of the Datamodel and only has the most recent element in it, once I add another element. Could someone explain me in detail

[JBoss-user] [JBoss Seam] - Re: Stateless Login Problems

2006-06-29 Thread bluetrade
Thanks Gavin, I changed the scope to @Scope(CONVERSATION) for now on the login and ensured that the Person has a @In & @Out tag. This got rid of LIE, is that a bad approach? If so, can you point me to the doc for eager fetching? Thanks!!! View the original post : http://www.jboss.com/index.

[JBoss-user] [JBoss Seam] - Re: Stateless Login Problems

2006-06-29 Thread bluetrade
mhm... it seems like there is still something wrong... getting the LIE again... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954535#3954535 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954535 Using Tomcat but need

[JBoss-user] [JBoss Seam] - JSTL tags ignored

2006-06-29 Thread bluetrade
Hi, when I have jstl-core tags like in my view, they are outputted without being processed, i.e. I actually find the tag in the rendered page, however the test-case is evaluated (i.e. it says false or true). I ensured that the jstl-tags are "registered" in the ui:composition. I know that t

[JBoss-user] [JBoss Seam] - Re: Stateless Login Problems

2006-06-29 Thread bluetrade
Mhm, I modified the LoginAction to be of Scope "CONVERSATION", that got rid of the LIE. Is there anything wrong with this approach? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954522#3954522 Reply to the post : http://www.jboss.com/index.html?mod

[JBoss-user] [JBoss Seam] - Re: Stateless Login Problems

2006-06-29 Thread bluetrade
To further explain what i want to do: I have the LoginAction (taken from the booking example) which is stateless, but I need to access at a later point in time, some collections (the Relationships) of the user that had logged in through the LoginAction, so I figured this would work if I use the

[JBoss-user] [JBoss Seam] - Re: Stateless Login Problems

2006-06-29 Thread bluetrade
I forgot the stack: | | org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: de.myties.core.nodes.Person.relationships, no session or session was closed | at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(

[JBoss-user] [JBoss Seam] - Re: Stateless Login Problems

2006-06-29 Thread bluetrade
Hi, thanks for the answer: The BackingBean @Stateful | @Scope(CONVERSATION) | @Name("relationshipManager") | @LoggedIn | public class RelationshipManagerAction implements RelationshipManager { | | @In(create=true) | private EntityManager em; | | @DataModel |

[JBoss-user] [JBoss Seam] - Re: Stateless Login Problems

2006-06-29 Thread bluetrade
Hi, thanks for the link. I configured it just as the tutorial proposes. However, I am still getting those LIE exceptions, even though I initialize all of my EntityManagers via @In(create=true) Any clues to that? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=vie

[JBoss-user] [JBoss Seam] - Stateless Login Problems

2006-06-29 Thread bluetrade
Hi, I have a question regarding the sample LoginAction I find in the examples. They are always Stateless, why is this the case? I have problems with lazy loading, because I need to access a collection from the User that logs in at a later point in time and thus I always get a lazy loading excep

[JBoss-user] [JBoss Seam] - Re: Datatable inside a Datatable

2006-06-28 Thread bluetrade
s/con\./msg/ thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954226#3954226 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954226 Using Tomcat but need to do more? Need to support web services, security? Get stu

[JBoss-user] [JBoss Seam] - Datatable inside a Datatable

2006-06-28 Thread bluetrade
Hi, I was wondering if nested Datatables ( one inside another, the inner one using the "var" tag of the outer one) work with seam. I have messages and each message has variable numbers of "information"-tags, and i want to display first the outer properties and then the "variable-length" inner

[JBoss-user] [JBoss Seam] - Re: Debugging information

2006-06-28 Thread bluetrade
Thanks, I forgot the @In tag for an attribute... Flo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954224#3954224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954224 Using Tomcat but need to do more? Need to suppo

[JBoss-user] [JBoss Seam] - Debugging information

2006-06-28 Thread bluetrade
Hi is there a way to output any sort of errors that might occur during the initialization of a seam component? I setup an application based on the booking-example, but when I hit "Register" nothing happens, which I cannot understand since I have a navigation rule for the register action and didn

[JBoss-user] [JBoss Seam] - Re: Problems generating the Seam Skeleton with Annotated Ent

2006-06-25 Thread bluetrade
I forgot to mention that I tried using the "JBossEntityResolver" however, it doesn't seem as if it recognized my beans... What am I doing wrong??? Thanks... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953306#3953306 Reply to the post : http://www.jboss.

[JBoss-user] [JBoss Seam] - Problems generating the Seam Skeleton with Annotated Entitie

2006-06-25 Thread bluetrade
Hi There, I looked around trying to find out more about the EntityResolver that I need when using Annotated Entites (so no hbm files) but couldn't find anything. What's the name of the entity resolver? Where can I find it? I activate the checkbox "Enable hibernate ejb/annotation..." but I cann

[JBoss-user] [JBoss Seam] - Abstract Base Classes

2006-06-25 Thread bluetrade
Hi, I have an abstract base class and would like to use some of its properties in for persistance, but I can only find the annotation MappedSuperclass - which doesn't seem to work for an abstract class - and if I don't specify the abstract class at all, all it's properties aren't known to Seam,

[JBoss-user] [JBoss Seam] - Re: Messages Application from Tutorial with MySQL

2006-06-23 Thread bluetrade
Ok ok... cleared. "read" is a reserved word in MySQL and it is used as a variable in the application. Just changed that, it did it. Thanks anyways. F View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953138#3953138 Reply to the post : http://www.jboss.com/ind

[JBoss-user] [JBoss Seam] - Messages Application from Tutorial with MySQL

2006-06-23 Thread bluetrade
Hi, I tried to deploy the Messages Application (from the seam-examples / tutorial) but failed to do so, since the schema cannot be exported. Now, I tried Booking and Registration, both work fine after changing the Persistance.xml. I also modified the Persistance.xml for the the Messages Applica

[JBoss-user] [JBoss Seam] - Re: MySQL Errors

2006-06-23 Thread bluetrade
Argh... somebody had the same errors. Sorry, I saw it too late. The answer is of course: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=84871 Adios, Flo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953133#3953133 Reply to the post : http://www

[JBoss-user] [JBoss Seam] - MySQL Errors

2006-06-23 Thread bluetrade
Hi, I am currently running JBoss 4.0.4 GA (installed with EJB 3.0 Profile), and JBoss Seam 1.0.1 GA, with MySQL 4.1.20 (tried also 5.1). I wanted to exchange the default HQSQL database for a MySQL, and removed the hqsqldb-jdbc2-service file, put the mysql-jdbc-service file in place (like the ar