Questions tagged [seam2]

220 questions
0
votes
1 answer

Migrating JSF 1.2 to JSF 2.1 and RichFaces 3.3 to 4.3 and Seam 2.2 to 2.3 Servlet.service() Error

I'm trying to migrate seam 2.2 to 2.3, richfaces 3.3 to 4.3 and jsf 1.2 to 2.1. I've done migrating process but my richfaces a4j:commadlink is not working. Its not rendering. I did update necessary code in richfaces 3.3 to 4.3. JSF (part of page) …
0
votes
1 answer

MyFaces CoDI - Conversations/WindowContext

Is there any possibility to switch between conversations or their contexts in MyFaces CoDI. My concrete use case for this is that I want to implement a kind history of CustomerBeans including a CustomerEntity. If one of the entry is selected the…
0
votes
2 answers

Cannot create Seam component, PAGE scope is not active; selectBooleanCheckbox

Seam 2.2.2, JSF 1.2. It sounds so simple: a dataTable where each row has a checkbox that I want to observe when some button is called. I have a controller: @Name("MyController") @Scope(ScopeType.PAGE) public class MyController { private…
Sander Verhagen
  • 8,540
  • 4
  • 41
  • 63
0
votes
2 answers

SEAM / Java EE - Set Locale From Domain

I have a SEAM 2.2.2 App running on JBoss AS6 The App is setup with a number of languages In the JBoss deploy directory /jbossweb.sar/server.xml I have mapped a number of different domains using the following Host entries
DaveB
  • 2,953
  • 7
  • 38
  • 60
0
votes
1 answer

can not find entity using seam managed persistence context

I'm trying to change the authentication approach in my seam application. I currently use a login form to authenticate. In the future, I'd like to delegate the authentication to another layer that will rewrite every request with a specific HTTP…
ben_harps
  • 1
  • 1
0
votes
1 answer

Seam navigation rule to prevent access to any application url from particular page (after user log in)

Is there a way to prevent user accessing ANY page of application directly from particular page after log in using only JSF/Seam 2 navigation rules in pages.xml. The aim - is to force user change password if it is expired. I considered something like…
Serga
  • 253
  • 1
  • 4
  • 10
0
votes
2 answers

How to control duplicate login process in seam

my project is using JSF2.0, Seam 2.3 and Spring 3.0 login process is develop by Seam Security. my problem is want to control the duplicate user login as follow: Time1 : User A @PC1 >>>>>> login system with userID: 11111 >>>>>>>>>> (Status:OK) Time2…
AKZap
  • 1,181
  • 6
  • 17
  • 31
0
votes
1 answer

questions about Seam Conversation Context

Supposing that I'm using the @Begin annotation to start a long-term conversation, which of the following statement is correct: if method returned normally, Seam destroys the current temporal conversation and create a new conversation which is…
Neo
  • 2,196
  • 5
  • 32
  • 58
0
votes
0 answers

Duplicate Seam factory functionality with CDI

I am trying to find an analog to Seam 2 Factory paradigm in CDI. I have used factory annotated methods and factory definitions in components.xml extensively in the past projects. Generally I use them as a sort of Cache and when I know the cache is…
cyberoblivion
  • 669
  • 7
  • 23
0
votes
1 answer

how to set jpa transaction isolation to read_commited

I am trying to set jpa transaction isolation level to read_committed. I am using hibernate 4.1.6. there was a time we could do Connection connection = session.connection(); connection.setTransactionIsolation(Connection.READ_COMMITTED); But now…
Ikthiander
  • 3,917
  • 8
  • 37
  • 54
0
votes
1 answer

Issues while deploying a seam 2.3 application on jboss 7.1.1 and Weld

I have an application that I'm trying to migrate from seam 2.1 to 2.3, and deploy to Jboss 7.1.1. I have managed to resolve many issues that I faced while doing so. The issue that I'm here to ask about is pertaining to coexistence of seam 2.3 and…
Mustafa
  • 5,624
  • 3
  • 24
  • 40
0
votes
1 answer

How to notify Seam session beans about changed data

I'm wondering what is the best approach to notify EJB/Seam sessions beans about data changes in an application scoped bean. In my use case I have a central (application scoped) seam2 bean that communicates with different services to keep the…
Richard
  • 582
  • 5
  • 19
0
votes
1 answer

Dependency injection in a factory instantiated component

There are two classes, Foo and Bar, implementing some interface Baz in my Seam 2.2.2 powered application. I'm trying to establish a component of Baz type conditionally implemented with one of these two classes. For this purpose I've created a…
vect
  • 645
  • 8
  • 16
0
votes
1 answer

calling a javascript from a4j:jsFunction in richfaces 3.3.3

i have a javascript which i put in the extraHeaderContent: -->