Hi
Gavin,
how do you think about controlling the number of the active conversations per
user(session)?
That means that the old conversations will be destroyed when the number of the
user's active conversations is beyond the maximum number of the conversations
per user(session).
View the origi
Hi,
I thought that the seam-managed transaction propagated a transaction
automatically like the container-managed transaction.
That was my misunderstanding.
Sorry for my stupid questions :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065229#4065229
Repl
This book seems to be published soon.
http://www.apress.com/book/bookDisplay.html?bID=10299
But I can't find the index of this book.
And I don't know which seam version it is based on and how practical it is.
I hope that Gavin will write a seam book("Seam in Action"?) for us in the near
future.
Hi,
Now I struggle with the transaction and persistence context propagation :(
I found that the joinTransaction() methods were called in the following codes:
(1)EntityHome.joinTransaction() are called in persist(), update() and remove()
of the EntityHome(with @Transactional).
(2)seam-managed-Ent
Hi, lisaanm.
Thanks for your help.
I was also able to solve the problem by using @Version and EntityManager.lock()
:)
Thanks a lot.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064085#4064085
Reply to the post :
http://www.jboss.com/index.html?module=bb
Hi, pete.
Thanks for your comment.
I'll try to write my dirty checking code.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063754#4063754
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063754
__
Hi,
I initialized the EntityHome states in the following code.
| public class PersonManager extends EntityHome {
|
| ... ...
|
| @Begin(join=true)
| public void startCreate() {
| debug("startCreate() called: id[#0]", getId());
| setId(null);
Hi,
anonymous wrote :
| azalea, does a context variable named "EntityHomeName.instance" gets set in
your case, too?
|
Yes, it does.
anonymous wrote :
| I think it happens in ManagedEntityIdentityInterceptor,
|
Thanks.
Hmmm...
It seems to be very difficult for me to under
Hi,
I think so, too.
maybe Hibernate's automatic dirty checking ...
Because I'm newbie in not oly Seam but also Hibernate,
I can't still find the solutions :(
I will search hibernate forum or/and buy Gavin's book :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewto
Hi, Seam framework master :)
Thanks again.
anonymous wrote :
| For your question2, you can override the *Messages() methods.
|
I see!
I do not yet understand the answer of the question 1.
I will see seam source code now.
Thanks.
View the original post :
http://www.jboss.com/index.html?m
Hi, hstang.
Thanks for your reply.
anonymous wrote :
| What does "edit" button do? does it call entityHome.update ?
|
Yes, it does.
anonymous wrote :
| Maybe somewhere the dirty flag is not being set and you may to forcefully
set that dirty flag to force update.
|
I tried setDirty(
Hi,
Now I struggle with EntityHome :)
my environments:
JBoss AS 4.2.0.GA
Seam 2.0.0.BETA1(CVS)
Seam gen-generated project(ear)
I have a simple CRUD app using EntityHome.
The app needs the optimistic transaction.
Scenario:
1. In browser tab#1, display the person list.
2. In tab#1, select a
Hi,
I'm writing a CRUD app using a extended EntityHome class.
*** Q1 ***
I want to reuse one EntityHome instance for more than one CRUD operations in a
long-running conversation.
But EntityHome instance is caching the entity and other states.
How can I reset the state of EntityHome instance befo
Do you define getters in IndexPage interface?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062183#4062183
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062183
___
jboss-use
Hi,
I added hibernate-search.jar in my ear.
Now my seam app works well :)
Thanks a lot.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061733#4061733
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061733
Hi,
I tested with new Seam CVS.
The previous code worked well in integrating testing environment(ant test),
but the diffrent ClassCastException was thrown in JBoss AS 4.2.0.
| Caused by java.lang.ClassCastException with message:
"org.hibernate.search.impl.FullTextSessionImpl"
|
|
org.jbo
Thanks for your reply.
This is my first report :)
http://jira.jboss.com/jira/browse/JBSEAM-1621
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061689#4061689
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061689
_
Hi,
my enviroments:
JBoss AS 4.2.0.GA
Seam 2.0.0.BETA1(CVS)
Seam gen-generated project
When DetachedCriteria#getExecutableCriteria in the following code is invoked,
"java.lang.ClassCastException:
org.jboss.seam.persistence.FullTextHibernateSessionProxy" is thrown.
This code worked with Seam1.3.0
Now session beans can be backing beans in Seam application,
and usually backing beans have getters/setters.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061638#4061638
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=40
Do you define a getter method for "name" property?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060878#4060878
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060878
___
jbos
Hi,
I understood that there was no way to configure the default timeout value now.
DEFAULT timeout value is fixed with Synchronized.DEFAULT_TIMEOUT(1000msec).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060219#4060219
Reply to the post :
http://www.jboss
Hi,
If you see section
in http://docs.jboss.com/seam/2.0.0.B1/reference/en/html/controls.html,
the problem will be solved.
Define Seam-managed persistence context named "entityManager" in components.xml.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060217
I noticed one thing.
|
|
?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060213#4060213
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060213
___
jboss-user mailing
Hi,
The following is descriped in Seam 2.0.0.BETA1 reference guide, 3.2.2 Stateful
session beans.
anonymous wrote :
| Concurrent requests to session-scoped stateful session beans are always
serialized by Seam.
|
I can change maximum wait time for a thread attempting to gain a lock on Seam
Can anyone help?
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060005#4060005
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060005
___
jboss-user mailing list
jboss-
Hi,
I have two questions.
1. JBoss Seam 2.0.0.BETA1 Reference Guide - 3.1.10. Concurrency model:
anonymous wrote :
| Seam enforces a single thread per conversation per process model for the
conversation context by serializing concurrent requests in the same
long-running conversation context.
Hi,
Seam "RememberMe" cookie, which name is "org.jboss.seam.security.username",
seems to be effective for one year.
How can I control the live duration of this cookie?
Thanks for your help.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056859#4056859
Reply
Hi,
Yeah, that doesn't outject the rfqRequest.
But the state of the rfqRequest instance is changed via rfqRequest#setName
method.
For example, the following facesMessages is not outjected.
But we will see the error message in redirected view page when the error occurs.
| ..
| @In
| pr
Hi,
Maybe due to "RememberMe" ?
If so, delete the cookie which name is "org.jboss.seam.security.username" in
your browser.
If you don't need "RememberMe", remove the checkbox in login page.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056839#4056839
Repl
my mistake for EL expression :)
| rendered="#{cartList.rowCount == 0}"
| rendered="#{cartList.rowCount > 0}"
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056822#4056822
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode
Hi,
#{cartList} is not List but DataModel.
Try the following:
| rendered="{cartList.rowCount == 0}"
| rendered="{cartList.rowCount > 0}"
|
If you see dvd store example in JBoss Seam package more carefully, you may be
more happy :)
View the original post :
http://www.jboss.com/index.ht
Hi,
Yeah, that didn't work.
But the following seems to work.
|
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056814#4056814
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056814
___
Hi,
|
|
|
If "/offer*.html" matches just pages which need the conversation and you access
that any page without conversation, I think Seam will redirect to
"/somepage.xhtml".
Please try and tell me that result :)
View the original post :
http://www.jboss.com/index.html?module=bb&op
Hi,
seems to add page parameters into URL automatically.
Is this right?
|
|
For example, this tag created the following URL:
http://localhost:8080/myseam/DepartmentList.xhtml?order=name+desc
"order" is a page parameter.
How can I stop adding page parameters into URL automatically?
--
Thank you very much, Gavin.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056565#4056565
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056565
___
jboss-user mailing list
jbo
Hi,
The invokeApplication() method in the following code seems not to be invoked.
| public class FooTest extends SeamTest {
| @Test
| public void testFoo() throws Exception {
|
| new NonFacesRequest() {
|
| @Override
|
Hi
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056557#4056557
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056557
___
jboss-user mailing list
jboss-user@lists
Hi,
I'm integration testing using seam(CVS) gen-generated project.
Hibernate in Seam CVS:
-Hibernate 3.2 cr2
-Hibernate EntityManager 3.2.0 cr1
-Hibernate Annotations 3.2.0 cr1
These are not same as the versions of Hibernate included in JBoss AS 4.2.0.GA
which is target of Seam CVS(1.3.0).
And
Hi
In Seam Gen-generated project, I want to Unit Testing a stateful Seam component.
I want to create EntityManager in Unit Testing Code for injecting it in the
Seam component with SeamTest#setField().
Running "ant test", java.lang.NoClassDefFoundError is thrown at this code.
| public class Fo
Sorry for typo of .
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050719#4050719
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050719
___
jboss-user mailing list
jboss-use
Hi,
With Hibernate Validator, I want to check input fields.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Hi, hstang.
Try this code on JBoss AS 4.2.
| @Length(min = 2, message = "{city.message}")
| String city;
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049936#4049936
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=re
Hi.
Thanks for your replies.
I tried again on JBoss AS 4.2 & Seam CVS.
Now EntityQuery#isNextExists (and getResultList also) worked correctly.
Arigato :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049932#4049932
Reply to the post :
http://www.jboss.com/
Hi,
I'm new in JBoss Seam and reading Yuan's Seam Book.
I want to display multipage query results with EntityQuery(Seam CRUD App
Framework).
I want to display 3 data records(EntityQuery#getMaxResults) per page, and now
there are 6 data records in database table.
Then there are "Next Page" and "La
44 matches
Mail list logo