Hello,
good tip, the one of observing the create event, it really helped.
Thanks for the replies!
I'll do the implementation with @RequestParameters, a quick test shows that
works well.
Regards, Bo
View the original post :
Hello,
when I start a nested conversation, I set a few page parameters in the page.xml
file. These parameters set values in a Home class. What I wanted is that this
Home class only exists in the child conversation, but it seems that it's
inserted in the parent conversation.
I guess it can be
Thanks guys.
hstang: I guess I forgot to mention I use Seam 1.2.1...
Jacob: the parent of my Home, EntityHome, apparently already defines the
@Create annotation, I get a duplicate error when I use that for my own method.
The Page scope doesn't work either: the page parameter I use to initiate
Thanks PdP, looks like it's got to do with it.
Jacob,
a strange thing is happening:
the Home component is already being created when I load the page before
(Vivienda.xhtml), where I put the link to the next page, which is supposed to
start the nested conversation. I use the following
Ok, great tip about the event observer.
I think I'll just go for the @RequestParameter route, and set the Id when
initInstance() is called; in a quick test it works.
Thanks for the replies.
Cheers, Bo
View the original post :
Hello,
I get the same errors, and it also works for me without the filter (I didn't
even get the simples example working). Could anybody explain what this filter
is for, and what I'm missing now I don't use it?
Regards, Bo
View the original post :
Hello,
What I try to do is to use the standard way the EntityQuery class in Seam
provides to filter data in the query.
Any suggestions in that direction? Or simply not possible/recommendable?
Regards, Bo
View the original post :
Hello,
I'm trying to use an entityquery with restrictions on a many to many
relationship. Is there some recommended way to do?
Example: Class Person and favourite colors, Person having a many to many
relationship to class Color. On the search screen for persons I'd have a list
of favourite
Hello,
could it be you're deploying on tomcat and not on JBoss?
I was having the same problem, and I solved it with the following:
|@In(create=true) EntityManager em;
|
|public EntityManager getEntityManager () {return em; }
|
|
regards, Bo
View the original post
Hello,
I have a working seam application in eclipse, and I'm now trying to set a test.
No ejb is used. The application runs on tomcat from within eclipse.
When I run the test, Seam seems to start up ok, but I get the following error:
| 12:16:06,621 INFO [Environment] Hibernate 3.2.1
|
I'm using version 1.2.1 GA
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4085469#4085469
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4085469
___
jboss-user mailing list
Hi,
actually I think persistence.xml IS being read, and that it can't find
jboss-beans.xml (I have JPA configured, copied from the booking example)
BTW, my project structure is the following:
| project
| src
| META-INF
|persistence.xml
|jboss-beans.xml
|
Hello,
Yes I'm having the same problem, I was just looking for an answer on the
forum...
Regards, Bo
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4078445#4078445
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4078445
I just found the answer in another post:
http://www.jboss.com/index.html?module=bbop=viewtopict=114790
by desropolis
regards
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4078450#4078450
Reply to the post :
Hello,
I installed the registration example on tomcat as indicated in the
documentation. As soon as I go to the next screen, I get an error:
javax.naming.NamingException: Local server is not initialized
|
Hello,
I installed the registration example on tomcat as indicated in the
documentation. As soon as I go to the next screen, I get an error:
javax.naming.NamingException: Local server is not initialized
|
Hello,
did you get this issue resolved? I'm having the same problem (Caused by:
javax.naming.NamingException: Local server is not initialized while deploying
the registation example on tomcat), more people seem to have this problem.
Regards, Bo
View the original post :
17 matches
Mail list logo