Questions tagged [seam-conversation]

33 questions
1
vote
2 answers

Starting a CDI conversation and injecting @ConversationScoped bean into stateless session bean

Similar questions have been asked, but don't quite address what I'm trying to do. We have an older Seam 2.x-based application with a batch job framework that we are converting to CDI. The job framework uses the Seam Contexts object to initiate a…
1
vote
1 answer

Temporary conversation ending doubt

I've been working with Seam recently and temporary conversations still confuse me. In our project we're using ExternalContext.redirect() to redirect the user to the response page. From what I've read, a Seam conversation ends when the render…
Alfonso Vasquez
  • 598
  • 3
  • 10
1
vote
1 answer

Using jstl tags in seam 2.3 without long running conversation is not working

I'm doing migration from seam 2.2 (jsf 1.2, jboss6) to seam 2.3 (jsf 2, jboss 7) and found strange behavior. I was able to reproduce it with contact-list example: edit viewContact.xhtml page and replace this fragment:

Piotr Chowaniec
  • 1,160
  • 12
  • 25

1
vote
1 answer

SEAM JSF Lazy Init Exception on bean property

I am experiencing an issue with Lazy initialization exception in my SEAM (2.2.2) Application, I am using a SEAM managed persistance context (with JPA), described in the documentation here SEAM Docs Ref. 9.3.1 SEAM Managed Persistance Context with…
DaveB
  • 2,953
  • 7
  • 38
  • 60
1
vote
1 answer

SEAM session or conversational scoped bean?

I am a little confused about which scope to use on my stateful backing bean, I currently have a bean that delivers users results into an xhtml page via JSF, the bean uses the default (conversation scope), with the @Create method marked as…
DaveB
  • 2,953
  • 7
  • 38
  • 60
0
votes
1 answer

Seam JBoss Servlet injection

I am a beginner creating a SEAM (2.2) application with JBoss AS6 I am integrating the Paypal express checkout code which acts as an http servlet, this seems to work ok with the payments processing correctly by paypal, the problem is I cannot seem to…
DaveB
  • 2,953
  • 7
  • 38
  • 60
0
votes
1 answer

Seam 2 with conversation and Internet Explorer doesn't work

I have a strange problem in my application with Seam (2.1) and Internet explorer. With Firefox, all work fine. I have a bean in conversation scope which is used in my page. When I go on my page, this bean is created, and when I made an action on my…
Kiva
  • 9,193
  • 17
  • 62
  • 94
0
votes
2 answers

JSF ConversationScoped bean not elevating scope between POSTs

I have a bean with an action method called view() and a field of type MyObject: @ManagedBean @ConversationScoped public class MyBean implements Serializable{ private @Inject Conversation conversation; //has getter and setter private MyObject…
Adam
  • 4,590
  • 10
  • 51
  • 84
0
votes
1 answer

Why Seam conversation id (cid) does not go sequencial order

I have a problem at seam conversation. I know that conversation id works in sequencial order when i see at url bar (http://myprojectname/login.xhtml?cid=1). But in my program , I first begin conversation and cid is 1…
Eidoshack
  • 1
  • 1
0
votes
1 answer

Jboss Seam: Unable to recover session after transaction rollback

I need some help. I am using Jboss 5.1 with Seam 2.2, Hibernate. In one of the UI page, during update action there is a database constraint violation and transaction is rolled back. After this rollback, if I try to use the entity, I get the below…
0
votes
1 answer

Use Of Restriction in EJBQL for Seam

I am very new to Seam, I need some clarification in this below code , I need to know how it works, what is use of RESTRICTIONS in this code ....... package org.domain.pixel.action; import org.domain.pixel.entity.*; import…
0
votes
1 answer

Getting server logout when running long batch jobs in Seam

One of the requirements I have is to generate flat files in a specific format. The user selects the year from the UI and clicks the generate button. The flat files process usually takes 3 to 4 hours to generate all the files. When the process is…
0
votes
1 answer

Seam conversation ending suddenly when using Redirect

Because I get some errors on conversations ending abruptly, I created in my project some test pages that reproduce the issue. The navigation takes place between pageA.xhtml and pageB.xhtml. Please tell me if I am using something in the wrong way. My…
Markos Fragkakis
  • 7,499
  • 18
  • 65
  • 103
0
votes
1 answer

Maintain Conversation After Exception (Handled in Pages.xml)

I'm working in a project that I didn't originally start, so there are a lot of artifacts and conventions that I cannot change without considerable effort. Anyway, here's the problem. I need to do multiple file uploads (that are "children" to the…
0
votes
1 answer

Temporary conversation not ending after ExternalContext.redirect()

I'm working in a project using Seam and JSF. For some reason (don't ask me, I don't know) the people before me decided to redirect the user to the response page through a FacesContext.getExternalContext().redirect(). The problem I'm seeing is that…