[jboss-user] [JBoss Seam] - theme selection

2008-02-15 Thread vwiencek
Hi, i've a seam application which stores themes in the database. I'm facing the following problem : When a user try to access a page for the first time, the theme is loaded from database, then I perform a | ThemeSelector.instance().selectTheme(themeA); | But my theme specifications

[jboss-user] [JBoss Seam] - NotLoggedInException

2008-02-12 Thread vwiencek
Hello, I've a xhtml page using a session bean to acces my entities. When I trying to access some entities, sometimes, for some entities, I need to be identified ... When I throw a NotLoggedInException, I get an error on the page. Why is'nt that exception caught by seam, to force a redirection

[jboss-user] [JBoss Seam] - Re: NotLoggedInException

2008-02-12 Thread vwiencek
oh yeah baby !!! I'm not used to the event model !! Thx, works fine for me now :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4128792#4128792 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128792

[jboss-user] [JBoss Seam] - view sub folder

2008-02-11 Thread vwiencek
Hi, I'm facing a problem with view folders. Indeed, I'm trying to sort xhtml files into subfolders, and giving special accesses via pages.xml files. But I'm not able to access files within subfolders ... getting a 404 error. Is there something special to do to use subfolders in the view

[jboss-user] [JBoss Seam] - identiy.login called twice

2007-10-24 Thread vwiencek
Hi, I've implemented the suggested authentication method. I've an authenticator seam component handling business logic for authentification. But when I use facesMessages inside authenticate() method (called by identity.login I guess), my message is rendered twice. Is that normal ? Thanks

[jboss-user] [JBoss Seam] - Hibernate can not execute query

2007-10-24 Thread vwiencek
Hi, is there a way to prevent an ajax request to call a method too much times ? Indeed, I have an inputText with a search string and an ajax support calling a query() method on blur event. The problem occurs when the database contains too much data, and the query method is called too many

[jboss-user] [JBoss Seam] - Re: Problems using Authenticator.authenticate()

2007-10-24 Thread vwiencek
Hi, I'm also facing the same problem, when trying to count how many times the user tries to log-in. Thanks Vincent View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4098285#4098285 Reply to the post :

[jboss-user] [JBoss Seam] - Re: SuggestionBox + h:inputText + entityConverter

2007-10-23 Thread vwiencek
Hi, has someone found a solution to that problem ? Thanks Vincent View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4097873#4097873 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097873

[jboss-user] [JBoss Seam] - JBoss seam Test

2007-10-22 Thread vwiencek
Hi, I'm trying to set up my testing environment, and I've a problem. I have a test using the some data from my database, but the database doesn't seem to be created when I launch ant test. Is there something special to do to setup an environment with data from my import-test.sql file ?

[jboss-user] [JBoss Seam] - Re: JBoss Seam and Mac OSX

2007-10-19 Thread vwiencek
Ok, there is what I do : * clean CVS HEAD checkout from repository * just type 'ant' in my terminal My configuration is : * MAC OS X 10.4.10 (8R2232) * Java : Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164) Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode,

[jboss-user] [JBoss Seam] - JBoss Seam and Mac OSX

2007-10-18 Thread vwiencek
Hi, i'm trying to compile Seam on a Mac OSX Tiger system, but I get the folowing exception : /Users/vwi/Documents/workspace/jboss-seam/build.xml:167: taskdef class org.apache.tools.ant.taskdefs.optional.ANTLR cannot be found I guess it's not a classpath problem, because a similar checkout

[jboss-user] [JBoss Seam] - FacesMessages rendering and RichFaces

2007-10-18 Thread vwiencek
Hi, I'm facing the following problem : I've build a seam application, and I use FacesMessages a lot. What I understand is that FacesMessages are displayed when a page (not necessarily the same page) is rendered. But what if we use richFaces capability to render only some parts of the page ?

[jboss-user] [JBoss Seam] - Re: JBoss Seam and Mac OSX

2007-10-18 Thread vwiencek
The problem still persists with the last cvs checkout ! Vincent View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4096580#4096580 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4096580

[jboss-user] [JBoss Seam] - Re: FacesMessages rendering and RichFaces

2007-10-18 Thread vwiencek
Yes, but I've the same code for my jsf page, and I get a FacesMessage(s) have been enqueued, but may not have been displayed. The validation message appears next to my input field, but I get this I also get this message when I add messages to the FacesMessages, from a java bean (with

[jboss-user] [JBoss Seam] - Re: FacesMessages rendering and RichFaces

2007-10-18 Thread vwiencek
Great !! Thanks ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4096597#4096597 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4096597 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - a:commandLink rendering a parent component

2007-09-18 Thread vwiencek
Hi, I'm facing a little problem : is it possible for a a:commandLink component to render a parent compent, containing itself ? a:outputPanel id=panel1 a:commandLink rerender=panel1 action=bean.Action ... Thanks View the original post :

[jboss-user] [JBoss Seam] - Re: a:commandLink rendering a parent component

2007-09-18 Thread vwiencek
Ok, I just found the solution ; I need to encapsulate my components into a h:form tag. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4085549#4085549 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4085549

[jboss-user] [JBoss Seam] - Seam 2.0 BETA : convertEntity / SelectOneMenu problem

2007-08-20 Thread vwiencek
Hi, I have some difficulties to use a selectOneMenu with Seam. I have a RegisterBean which containes the following ... | @Stateful | @Scope(ScopeType.SESSION) | @Name(register) | public class RegisterBean implements Register { | ... | @PersistenceContext | private

[jboss-user] [JBoss Seam] - Re: Seam 2.0 BETA : convertEntity / SelectOneMenu problem

2007-08-20 Thread vwiencek
I've already tried to do that. But if I want to use register.selectedCity, I need to write accessors for the value, and expose them in the interface and it doesn't solve my problem View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4075710#4075710

[jboss-user] [JBoss Seam] - Re: Seam 2.0 BETA : convertEntity / SelectOneMenu problem

2007-08-20 Thread vwiencek
Maybe I can add some details : * Outjection works : when I set the value into the bean, the correct city is selected into the combobox * Injection doesn't work : when I change the value of the City, change is persisted when I reload the page, but not injected into the selectedCity of my bean

[jboss-user] [JBoss Seam] - Re: Seam 2.0 BETA : convertEntity / SelectOneMenu problem

2007-08-20 Thread vwiencek
OK, now I have in my managed bean : | @In(required = false) | private City selectedCity; | public City getSelectedCity() {return selectedCity;} | public void setSelectedCity(City c) {this.selectedCity = c;} | with interfaces declared . h:selectOneMenu |

[jboss-user] [JBoss Seam] - Accessing objects into objects

2007-08-16 Thread vwiencek
Hi, I'm quite new to Seam, and I want to realize a simple thing. I have a web form referencing a User. My User object has many properties, but also a reference to an Address Object. My Object User has a @Name annotation. How can I access the Address field into my User object ? I've tried

[jboss-user] [JBoss Seam] - NetBeans Web Visual Pack

2006-12-13 Thread vwiencek
Hi, is there a way to use Seam and Netbeans Web Visual Pack toghther ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3993317#3993317 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3993317

[jboss-user] [JBoss Seam] - ICEFaces + resources files

2006-12-12 Thread vwiencek
Hi, I've been using seam for two months and I've just added ICEFaces support to my project ... but now, resources files don't work anymore. Before ICEFaces integration, I had two languages files (english and french), but now there is just the default one working. I'm using

[jboss-user] [JBoss Seam] - h:DataTable problem

2006-11-13 Thread vwiencek
Hi, I'm new to Jboss and web Applications, but I've practiced Java for a long time. I'm now using seam, and I discover each day more fantastic functionnalities. But I'm faced to a minor (I'm sure) problem : I'm using a DataTable in a xhtml view, and the column header is repeated at every rows.

[jboss-user] [JBoss Seam] - Re: h:DataTable problem

2006-11-13 Thread vwiencek
Sorry for this post, i just found the solution : it was a dirty xmlns definition, due to ui inclusions and templates. Thx View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3985343#3985343 Reply to the post :