[jboss-user] [JBoss Seam] - Re: How to pass param from inputText to s:link

2007-09-28 Thread knuwu
Hi jagr Try using the rich faces ajax tags included in seam 1.2.1 in Class SomeBean | | | | | | | | Every time the user is typing a character in the inputfield a ajax request is sended back to the server, the bean value is updated an the link element will be upd

[jboss-user] [JBoss Seam] - Re: Change Database Connection at Runtime

2007-09-28 Thread knuwu
Hi breaveFencer In your resources/WEB-INF/components.xml configuration file you find the following line: | | Where "yourDBname" is normaly the name of your db reference in /META-INF/persistence.xml | | org.hibernate.ejb.HibernatePersistence | java:/you

[jboss-user] [JBoss Seam] - Re: Stored procedure call causes connection close

2007-09-28 Thread knuwu
Ups! The mentioned chapter is in Hibernate reference documentation version 3.2.0 GA which is used in seam 1.2.1. There is even a better way if you are working with annotations. See chapter 22.4. Annotations for context demarcation (Seam ref doc 1.2.1 - really ;-)) Just annotate the methode you

[jboss-user] [JBoss Seam] - Re: Stored procedure call causes connection close

2007-09-28 Thread knuwu
Hi nickarls Read chapter "11.3.2. Extended session and automatic versioning" of Seam Reference Manual Version 1.2.1 GA. You can chance the flushMode of a session by calling: | Session s = (SessionImpl) entityManager.getDelegate(); | s.setFlushMode(FlushMode.NEVER); | This prevents seam

[jboss-user] [JBoss Seam] - isNull not working for one-to-one relation

2007-09-28 Thread knuwu
When I try to create a criteria like the following: | Criteria c = ((SessionImpl) entityManager.getDelegate()) | .createCriteria(Person.class); | | pCriteria.add(Restrictions.isNull("location")); | where location is the attribute of an one-to-one relation, i don't get any hit in t

[jboss-user] [JBoss Seam] - Re: testng unit tests not working with testng eclipse plugin

2007-08-21 Thread knuwu
anonymous wrote : You should add this to the SeamProblemsFAQ on the wiki. I've added an entry to SeamProblemsFAQ. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076132#4076132 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=repl

[jboss-user] [JBoss Seam] - suggestionbox focus problem - urgent

2007-08-17 Thread knuwu
This is a repost of http://www.jboss.com/index.html?module=bb&op=viewtopic&t=116256 It's really a show stopper and urgent! Any help would be highly appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075112#4075112 Reply to the post : http://www.jbo

[jboss-user] [JBoss Seam] - Re: suggestionbox-can't focus fields with mouse after popup

2007-08-16 Thread knuwu
Sorry, this is a copy of the post in RichFaces User forum. I'm talking about the RichFaces component suggestion box. The point to adress this forum is: Seam is preconfigured to use RichFaces and it is a real nightmare to use something different!!! View the original post : http://www.jboss.com

[jboss-user] [JBoss Seam] - suggestionbox-can't focus fields with mouse after popup disa

2007-08-16 Thread knuwu
Hi The suggestionbox ist working fine, but I have the strange problem that input fields which had been coverd by the suggestion popup, can't be focused with the mouse after the popup disapeared. The tab key is working under most conditions. This behaviour is IE specific. If you try the same pag

[jboss-user] [JBoss Seam] - Re: How to create hibernate criteria

2007-06-28 Thread knuwu
Great Fabricio It worked! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058595#4058595 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058595 ___ jboss-user mailing list jbos

[jboss-user] [JBoss Seam] - Re: How to create hibernate criteria

2007-06-28 Thread knuwu
Thank you Fabricio I will try your advice and let you know if it worked. Yes jboss-ejb3-all.jar is packaged. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058572#4058572 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=

[jboss-user] [JBoss Seam] - Re: How to create hibernate criteria

2007-06-26 Thread knuwu
The JBoss Version is JBoss 4.0.5 GA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057969#4057969 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057969 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - How to create hibernate criteria

2007-06-26 Thread knuwu
Hi I like to create a hibernate criteria instead a normal query. | @PersistenceContext(type=PersistenceContextType.EXTENDED) | private EntityManager em; | | public void search() | { | log.info("Get all users"); | | Criteria c = ((Session)em.getDelegate()).crea

[jboss-user] [JBoss Seam] - Re: testng unit tests not working with testng eclipse plugin

2007-04-19 Thread knuwu
It' always a good idea to look for the initializations of your own components. This gave me the major clue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038751#4038751 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=40

[jboss-user] [JBoss Seam] - Re: testng unit tests not working with testng eclipse plugin

2007-04-19 Thread knuwu
I found the reason for the failure by my self. It is needed to ad the test-build directory to the build-path of the eclipse project. Otherwise the embedded EJB-Container will not parse the EJB-classes for components. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopi

[jboss-user] [JBoss Seam] - Re: Load Resource Bundle

2007-04-04 Thread knuwu
I typically load Resources like this in my bean class: | ResourceBundle.instance().getString(this.label); | Attention: ResourceBundle is of type org.jboss.seam.core.ResourceBundle! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034608#4034608 Reply to t

[jboss-user] [JBoss Seam] - Re: Load Resource Bundle

2007-04-04 Thread knuwu
Hi jbossja Do you have a file messages_fr.properties in the directory /resources? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034586#4034586 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034586

[jboss-user] [JBoss Seam] - Re: rule based security - hard wired names in ant project

2007-04-04 Thread knuwu
Yes... of course...no problem But with each single change to the original ant project, you are getting more and more problems to keep track changes packed in future seam releases. And there had been quite a lot of changes in the last months. View the original post : http://www.jboss.com/in

[jboss-user] [JBoss Seam] - testng unit tests not working with testng eclipse plugin sin

2007-04-04 Thread knuwu
I had well working testng test in version 1.2.0 sp1, i could execute from ant or inside eclipse with the testng pugling. Since 1.2.1 GA i get the following error message when i execute my login tests: | "[RuleBasedIdentity] no security rule base available - please install a RuleBase with the

[jboss-user] [JBoss Seam] - rule based security - hard wired names in ant project

2007-04-04 Thread knuwu
I'm a little bit unhappy with some hard wired dependencies, in case you are using the seam-gen generated ant eclipse project for deploying the application. If you are looking to the components.xml Konfiguration you might get the feeling, that you are free to name and position your xxx.drl rule f

[jboss-user] [JBoss Seam] - Re: Selectable linklist without

2007-03-26 Thread knuwu
I changed the list to DataModel using DataModel Annotation: @Stateful | @Name("configSelector") | @Scope(ScopeType.SESSION) | public class ConfigurationSelectorImpl implements ConfigurationSelector { | | @Logger private Log log; | | @DataModel | private ArrayList module

[jboss-user] [JBoss Seam] - Selectable linklist without

2007-03-23 Thread knuwu
I have a List of items stored in a session bean and i've created a link list on the page. When I click on the link, I want to transfer the underlying item to the action methode. I used enhanced EL for that purpose, but the parameter of methode selectModule() is always 'null'. | | |

[jboss-user] [JBoss Seam] - log.fatal() logged with debug level

2007-03-21 Thread knuwu
I already wrote a short notice about a logging error in the newest release, but did't not get any confirmation. See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=104121 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030363#4030363 Reply to the po

[jboss-user] [JBoss Seam] - Re: How to get Container properties

2007-03-15 Thread knuwu
Ok, perhaps I have to be more precise. The configuration properties I'm talking about do not belong to the seam configuration of components. I'm talking about application specific parameters controlling for examples the behaviour of business logic. Example: A booking application stores all canc

[jboss-user] [JBoss Seam] - How to get Container properties

2007-03-15 Thread knuwu
I have the following problem: I like to store some of my application configuration parameters outside the ear-package. The reason for that is, that some configuration values will have different values for development, test and production enviroment. Best would be to store these values in a conf

[jboss-user] [JBoss Seam] - log.fatal(Object object, Throwable t, Object... params) is l

2007-03-15 Thread knuwu
Hi I might missing something, but when I call log.fatal(Object object, Throwable t, Object... params) methode, I can't find a message in the logfile or console. Setting the log level to DEBUG suddenly brings the message to the log. And yes, it is logged with debug level. Analysing the seam sou

[jboss-user] [JBoss Seam] - Re: Testing Authentication with TestNG

2007-03-13 Thread knuwu
Great! Upgrading to Release 1.2 fixed the problem! Thank's Answering my own question: Using seam-gen update-project does only copy the new libraries to lib directory. To integrate possible changes in configuration files you have to compare configuration files from a new generated project with t

[jboss-user] [JBoss Seam] - Re: Testing Authentication with TestNG

2007-03-12 Thread knuwu
By the way...what is the best way to update a 1.1.6 release to 1.2? To upgrade from 1.1.5 to 1.1.6 I generated an empty example project with seam -gen, transfered all jar-Files, and compared configuration files for differences. Is there an easier way? Thank's for help! View the original post :

[jboss-user] [JBoss Seam] - Re: Testing Authentication with TestNG

2007-03-12 Thread knuwu
This is version 1.1.6 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027227#4027227 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027227 ___ jboss-user mailing list jboss-use

[jboss-user] [JBoss Seam] - Testing Authentication with TestNG

2007-03-12 Thread knuwu
I'm trying to test the authentication with TestNG inside Eclipse with the TestNG -Plugin. The test class looks like that: | package test.seam.services.security.test; | | import org.jboss.seam.mock.SeamTest; | import org.testng.annotations.Test; | | public class UserSearchTest exte