[jboss-user] [JBoss Seam] - Re: Transaction Timeout

2007-07-16 Thread straubp
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

[jboss-user] [JBoss Seam] - Transaction Timeout

2007-07-16 Thread straubp
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

[jboss-user] [JBoss Seam] - Can't use generics for abtract methods

2007-06-17 Thread straubp
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 { |

[jboss-user] [JBoss Seam] - Re: Question on rendering a @Datamodel

2007-05-21 Thread straubp
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

[jboss-user] [JBoss Seam] - Getting ALL Components of a given name in ALL contexts

2007-05-21 Thread straubp
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

[jboss-user] [JBoss Seam] - Re: s:link/s:button in RichFaces or Trinidad

2007-05-01 Thread straubp
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:

[jboss-user] [JBoss Seam] - s:link/s:button in RichFaces or Trinidad

2007-05-01 Thread straubp
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

[jboss-user] [JBoss Seam] - Re: Disable event-based validation

2007-03-05 Thread straubp
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

[jboss-user] [JBoss Seam] - Disable event-based validation

2007-02-17 Thread straubp
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

[jboss-user] [JBoss Seam] - Re: refresh view

2007-02-12 Thread straubp
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

[jboss-user] [JBoss Seam] - refresh view

2007-02-12 Thread straubp
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

[jboss-user] [JBoss Seam] - Passing a requested scoped bean into a conversation scoped b

2007-01-28 Thread straubp
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