Unfortunately I can't switch to Seam 2 yet (But I'm really looking forward to).
The other approach doesn't have any effect. Here is what I do:
| @Stateless
| @TransactionManagement(TransactionManagementType.BEAN)
| @Name("fillDatabase")
| public class FillDatabaseAction implements FillDa
Hi all,
I have an action (a button on my page) that starts a long database transaction.
The action create entities. After an entity is created I always flush and clear
the EntityManager. Everything works great for a little more than 3 minutes.
Then everything gets really slow and then I get thi
Hi all!
| public abstract class AbstractClass {
|
| public List doSomething(E e) {
|
| return doInConcreteClass(e);
| }
|
| public abstract List doInConcreteClass(E e);
| }
|
| @Name("concreteClass")
| public class ConcreteClass extends AbstractClass {
|
Maybe like this:
|
| ...
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047140#4047140
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047140
___
jboss-user ma
Hi all,
how can I get all components with name x in all contexts?
Here my scenario:
On a page I am showing a list (dataTable) of persons, with options to add a new
person or delete an existing one. The table is backed by a PersonListController
(name=personListController), which caches the curre
Oh, and I had specially added columns to my tables (#{idx+1}) to check if
rowIndexVar worked, but didn't notice that every row was 1.
Thanks for helping a blind man ;-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042054#4042054
Reply to the post :
http:
Hi all,
I have a table with a button in each row to open the details.
|
| ...
|
|
|
|
|
|
|
|
|
|
When I click the button, I can get parameter listidx with:
| @RequestParameter("listidx")
| private String idx;
|
When
Now I know! For anyone who is interested:
You can overwrite the default use of
org.hibernate.secure.JACCPreInsertEventListener and
org.hibernate.valitator.event.ValidateEventListener for the pre-insert event
and org.hibernate.secure.JACCPreUpdateEventListener,
org.hibernate.valitator.event.Val
Hi,
I'd like to use Hibernate validation only at application level (i.e. in code
and with s:validateAll). Is there a way to disable the ValidateEventListener,
i.e. event-based validation? If so, how can I do this?
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=v
Hi petemuir,
thanks for your quick reply!
But I just figured it out:
I use the RedirectFilter but haven't defined a redirect in pages.xml for the
page when the outcome is null (I thought this wouldn't be necessary). Now I
have:
|
|
|
|
With this it's working now. By the way, is
Hi,
I'm having an entity like person with a sub entity like an address. On a page
I'm showing information about the person:
|
|
|
Now I'm pressing a next-button to show the infos about the next person:
| public void next() {
|
| person= (Person) database.merge(pe
Hi all,
I have a page showing a list (datatable) of objects, lets say different
countries. The table is backed by a CountryListManager. Every row has a link
to a details page. The details page has some data and a list of the country's
biggest cities. This list is backed by a CityListManager, t
12 matches
Mail list logo