Questions tagged [seam3]

Seam 3 is a collection of modules and developer tooling tailored for Java EE 6 application development, with CDI as the central piece.

Seam 3 is a collection of modules and developer tooling tailored for Java EE 6 application development, with CDI as the central piece. http://seamframework.org/Seam3

118 questions
1
vote
0 answers

Facelet tag component block fire primefaces commandButton action and actionListener

I create facelet tag component, glue:input and glue:group input.xhtml
jlgranda
  • 679
  • 5
  • 6
1
vote
1 answer

FlushMode type Commit used with REQUIRES_NEW Transaction Attribute

I'm developing with JBoss 7.1.1 Final, Weld, Hibernate 4, Seam 3 and I don't understand following behavior. I use Seam Managed Persistence Context for Entity managers and Persistence Interceptor from Seam 3. I have following CDI Bean: @ViewScoped …
lukas
  • 545
  • 2
  • 7
  • 18
1
vote
2 answers

How to retrieve all existing long-running conversations in Weld?

I'm writing application in JBoss 7.1.1.Final, Weld, Seam 3. I have following bean: @ConversationScoped public class ConversationBean implements Serializable { @Inject Conversation conversation; private Article article; ... } Now, the…
lukas
  • 545
  • 2
  • 7
  • 18
1
vote
2 answers

How to get Messages into static method in Seam 3

In Seam 2 we have a Component.getInstance(someClass), that can be used into static methods to instanciate a bean. How do I do this aproach in Seam 3? Ex: public static someMethod() { SomeClass sc = (SomeClass.class)…
Leo
  • 15
  • 4
1
vote
1 answer

Seam security and prettyfaces redirect to a wrong url after login

When I log in to my page with seam security, it redirects me to /WEB-INF/pages/index.xhtml instead of simply /. This is a snippet of my @ViewConfig: public interface PagesConfig { public static final String PAGES_PREFIX = "/WEB-INF/pages/"; …
VaclavDedik
  • 1,960
  • 4
  • 20
  • 27
1
vote
1 answer

Client conversation with server and JPA transactions

I'm developing an information system and there is something I don't know how to deal with. Let's say my website allows admin to edit users. When two administrators want to edit the same user at the same time, the administrator who clicked edit later…
VaclavDedik
  • 1,960
  • 4
  • 20
  • 27
1
vote
2 answers

EntityManager returning NULL in Seam3 using Hibernate 4

i need your help for correct configuration of my web app using Seam3 on jboss 7 with Hibernate 4. When i try to inject EntityManager and use it, the entitymanager result NULL, but if try to get EntityManager by…
1
vote
2 answers

Primefaces p:calendar with p:ajax value not updated (one step delay)

I want to call a bean after a date is selected in a p:calendar. In my setup I have a @Named @ViewScoped Bean, the class ObWithDate is a @Entity with a date field validFrom.
Thor
  • 6,607
  • 13
  • 62
  • 96
0
votes
1 answer

Does anyone know of a good SEAM 3 example in production?

I'm interested in seeing SEAM 3's capabilities in a production environment, but have yet to come across any SEAM 3 sites in production. Even the official seam site's seam in production section only features SEAM 1 & 2 sites. Does anyone know of any…
josh-cain
  • 4,997
  • 7
  • 35
  • 55
0
votes
1 answer

Seam 3 Scheduling

All I need is some really really basic scheduling in my current seam app. Can anyone point me in the direction of a basic tutorial on scheduling or even better an example for seam?
Landister
  • 2,194
  • 7
  • 38
  • 56
0
votes
1 answer

Properties strategy in a webapp aplication

I have a webapp written in JSF, CDI and Seam 3 and I have a properties file with all strings that are rendered in all the views, however, I wonder if it's better to have a properties file for each one of the views or have only one with a lots of…
Alex M
  • 471
  • 4
  • 22
0
votes
0 answers

How can I test custom validation in jsf test processValidation phase?

I have a custom validator class implements javax.faces.validator. My question is how can i test it in jsf lifecycle process validation phase.When I tried to test it, it didn't into this phase or failed.
0
votes
2 answers

create seam 3 project

i'm new in seam3 and i've googled to find that how it possible to create a seam3 project in netbeans/eclipse, but i have not found a good tutorial yet. so please help me to solve this issue. also in your opinion which IDE is better with…
alex
  • 497
  • 1
  • 4
  • 4
0
votes
2 answers

Cannot inject entityManager in Weld & Seam 3

I'm getting started to Seam 3 and Weld. Now I'm struggling with the perstistence - the entityManager is not being injected. Fist, I have set up a maven project from scratch (not generated). This project has two sub-modules: model: just contains the…
thobens
  • 1,729
  • 1
  • 15
  • 34
0
votes
2 answers

How to intercept methods of EntityManager with Seam 3?

I'm trying to intercept the method persist and update of javax.persistence.EntityManager in a Seam 3 project. In a previous version (Seam 2) of the micro-framework I'm trying to make, I did this using an implementation of org.hibernate.Interceptor…
Anthony O.
  • 22,041
  • 18
  • 107
  • 163