[jboss-user] [JBoss Seam] - Pb Initializing database on app startup with postInitializat

2007-09-06 Thread zdaler
I launch a method on application startup using the org.jboss.seam.postInitialization event. It work fine except if I access the database (and I need to) : using seam managed entity manager : @In | private EntityManager em; | | @Observer(org.jboss.seam.postInitialization) | private

[jboss-user] [JBoss Seam] - Re: Login Redirection not propagating GET parameters

2007-08-10 Thread zdaler
maybe we will have to post an issue in JIRA ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4072924#4072924 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4072924 ___ jboss-user

[jboss-user] [JBoss Seam] - Login Redirection not propagating GET parameters

2007-08-09 Thread zdaler
Using current CSV : after configuration the login redirection event listeners, I get the login-required feature all right but GET parameters to the original page are not propagated to the page after authentification. anonymous wrote : [...] attempts to access a restricted view while not logged

[jboss-user] [JBoss Seam] - Re: Startup exception: Ajax4jsfFilter

2007-08-08 Thread zdaler
After updating seam jars to current CVS, I'm hitting the same pb ... Anybody solved that one ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4072008#4072008 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4072008

[jboss-user] [JBoss Seam] - hibernate validation decorators pb in 2.0.0.B1

2007-07-19 Thread zdaler
Hi, I'd like to draw you attention on an issue that seems to occur since release 2.0.0.B1 with hibernate decorators on seam components : see : http://jira.jboss.org/jira/browse/JBSEAM-1626 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065702#4065702 Reply to

[jboss-user] [JBoss Seam] - Re: hibernate validation decorators pb in 2.0.0.B1

2007-07-19 Thread zdaler
thanks for the reply ... I'll try to be more precise in the future. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065899#4065899 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065899

[jboss-user] [JBoss Seam] - remoting error in 2.0.0.B1 (No application context active)

2007-07-03 Thread zdaler
After upgrading to 2.0.0.B1 I get an error (see below) in a remoting call. For some reason, I only get the error when a parameter of the call is the js conterpart of an entity object created on the js side. Any help ? anonymous wrote : java.lang.IllegalStateException: No application context

[jboss-user] [JBoss Seam] - Re: remoting error in 2.0.0.B1 (No application context activ

2007-07-03 Thread zdaler
The problem seems to occur only when an argument of a remote procedure call is an instance of an entity created on the client side by : var customer = Seam.Component.newInstance(customer); eg : the entity object : anonymous wrote : @Entity | @Name(testObject) | @Scope(CONVERSATION) |

[jboss-user] [JBoss Seam] - Re: remoting error in 2.0.0.B1 (No application context activ

2007-07-03 Thread zdaler
I forgot the @WebRemote in @WebRemote public void testOnly(TestObject test) { I reported this issue in JIRA : http://jira.jboss.org/jira/browse/JBSEAM-1599 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4059959#4059959 Reply to the post :

[jboss-user] [JBoss Seam] - problem instrumenting hibernate classes with seam 2.0.0B1 (p

2007-07-03 Thread zdaler
I was using the code below in my build.xml to instrument my entity classes to get the full advantage of hibernate's lazy property loading feature : target name=instrument | taskdef name=instrument classpathref=build.classpath

[jboss-user] [JBoss Seam] - 2 problems after upgrading to 2.0.0.BETA1

2007-07-02 Thread zdaler
After upgrading all libs and config files to seam 2.0.0.BETA1, I'm facing two problems : - I'm unable to access seam components from non jsf servlets (despite the web:context-filter url-pattern=/servlet/*/ configuration ... I get a java.lang.IllegalStateException: No application context active

[jboss-user] [JBoss Seam] - Re: 2 problems after upgrading to 2.0.0.BETA1

2007-07-02 Thread zdaler
any help / hint ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4059580#4059580 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4059580 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - No application context active error in remoting request wi

2007-07-02 Thread zdaler
I'm still stuck with my problem : being unable to access seam components from within a remoting request. All worked fine using seam 1.3* but since the 2.0.0B1 upgrade I get the error : anonymous wrote : 17:31:19,595 ERROR [ExecutionHandler] Error unmarshalling calls from request |

[jboss-user] [JBoss Seam] - Re: seam 1.2.1 - 1.3 (CVS.20070531) causes wrong content en

2007-06-07 Thread zdaler
any suggestion on this one ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4052006#4052006 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4052006 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: seam 1.2.1 - 1.3 (CVS.20070531) causes wrong content en

2007-06-07 Thread zdaler
Thanks of lot for the tip. It seems to work ; I say seems because I still have to test my application to make sure it has not broken anything somewhere else. Still, this use to work (serving UTF-8 encoded js static file trough Seam Filter) in seam 1.2.1 ... it might a bug that it does not work

[jboss-user] [JBoss Seam] - Re: bug with s:fileUpload on IE6 (fine with FF or IE7)

2007-06-04 Thread zdaler
thanks for the info Gavin. I finally managed to port my application to seam CVS jboss 4.2.0. The s:fileUpload component works on IE6 with those versions. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050937#4050937 Reply to the post :

[jboss-user] [JBoss Seam] - seam 1.2.1 - 1.3 (CVS.20070531) causes wrong content encodi

2007-06-04 Thread zdaler
Since the port to 4.2 and seam 1.3 (CVS.20070531), I've a problem serving my UTF-8 encoded static js files that were ok with 4.0.5 and seams 1.2.1. The problem is also not there if I use a simple war file serving those static files in jboss 4.2. That's why I think the problem might come from

[jboss-user] [JBoss Seam] - Re: bug with s:fileUpload on IE6 (fine with FF or IE7)

2007-06-01 Thread zdaler
I made some progess (I guess) upgrading to jboss-seam-CVS.20070531 using seam-gen to generate a project and comparing all the files in WEB-INF and META-INF to ajust them ... but I still get another error on application startup ... any help very much appreciated ... anonymous wrote :

[jboss-user] [JBoss Seam] - Re: bug with s:fileUpload on IE6 (fine with FF or IE7)

2007-06-01 Thread zdaler
Apparently there is a problem (?) with the dispatcher component because commenting out : core:dispatcher / in components.xml solved my problem ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4050469#4050469 Reply to the post :

[jboss-user] [JBoss Seam] - Re: bug with s:fileUpload on IE6 (fine with FF or IE7)

2007-05-31 Thread zdaler
thanks a lot for your reply. I'll try it with the nightly builds ... but can I still use jboss 4.0.5 with the nightly builds ? should I also update the faces jar (from myfaces to sun's jar) ? (it could be great to test the register2 page in the seamspace example ... I get the bug with this

[jboss-user] [JBoss Seam] - problem using seam exception handling mecanism

2007-05-31 Thread zdaler
I'm having trouble using the seam handling mecanism (using seam 1.2.1) : I've added this in pages.xml exception | end-conversation/ | redirect view-id=/error.xhtml / | /exception I did set core:init debug=false jndi-pattern=@jndiPattern@ / in components.xml and

[jboss-user] [JBoss Seam] - Re: bug with s:fileUpload on IE6 (fine with FF or IE7)

2007-05-31 Thread zdaler
I deployed my application on 4.2.0 all right. Then I upgraded to jboss-seam-CVS.20070531 following the steps in : http://www.michaelyuan.com/blog/2007/05/29/seam-book-examples-updated-to-jboss-as-420-ga/ but then when I deploy my application I get : anonymous wrote : 19:15:55,938 INFO

[jboss-user] [JBoss Seam] - Re: bug with s:fileUpload on IE6 (fine with FF or IE7)

2007-05-23 Thread zdaler
I found a page in the seamspace example called register2 that uses the s:fileUpload and I get the same behaviour than with my example ... meaning the upload does not happen in IE6 (ok with FF or IE7) anyone on this problem ? View the original post :

[jboss-user] [JBoss Seam] - bug with s:fileUpload on IE6 (fine with FF or IE7)

2007-05-21 Thread zdaler
I have a problem with the s:fileUpload component on IE 6. (using JBoss 4.0.5 / seam 1.2.1.GA). Everything is fine on Firefox or on IE 7 but when using it with IE 6 : when hitting submit, the form (consisting of only one input file created with s:fileUpload) gets cleared and no submission

[jboss-user] [JBoss Seam] - Re: question : avoid conversation id parameter for RESTful a

2007-04-25 Thread zdaler
Thanks for your reply ... You're right, the RESTful nature of my application is not the only reason why I want to get rid of the cid when a redirect (from pages.xml) occurs ... I also want to make sure of the uniqueness of the urls (for many reasons, including the indexation of the site by

[jboss-user] [JBoss Seam] - question : avoid conversation id parameter for RESTful appli

2007-04-24 Thread zdaler
I'm trying to create a RESTful application (starting from the blog example) but I'm having problem trying to get rid of the cid parameter : Using this in pages.xml page view-id=/login.xhtml | navigation | rule if=#{identity.loggedIn} | redirect

[jboss-user] [JBoss Seam] - Re: Question : seam and fine grain url control (regular expr

2007-04-23 Thread zdaler
petemuir wrote : Use the urlrewrite filter (see the wiki in cvs for an example) or a page action. I think a page action is not sufficient for what I'm trying to do ... I'm sorry but I dont know what that wiki in cvs is (?) ... but maybe you're talking about http://tuckey.org/urlrewrite/ ? View

[jboss-user] [JBoss Seam] - Question : seam and fine grain url control (regular expressi

2007-04-18 Thread zdaler
Hi, Is there a way to control urls way beyond the standard file name - url current mapping ? For instance if I have a page named users.xhtml along with a backing bean and I want that page to be served as /users/myusername/ to access my userspace instead of /users?username=myusername ? Is

[jboss-user] [JBoss Seam] - ejq-ql subquery in seam

2007-04-17 Thread zdaler
this might be a little off topic since it's an ejb-ql question but I'm using it inside seam and I think maybe my error will be obvious to some of you. I'm simply trying to execute a simple (test) subquery like this : select t from MyObject t order by ( select 1 ) but I get the error :

[jboss-user] [JBoss Seam] - access the seam managed PersistenceContext in a @Startup obj

2007-04-17 Thread zdaler
I'm trying to access the seam managed persistence context inside a seam POJO declared as @Startup. When the object is created the inject seam managed persistence context is null @In | private EntityManager em; | Is there a way to do that (basically I need to schedule some

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

2007-04-17 Thread zdaler
it seems that there is already such thing (simple mathematical questions) inside JCaptcha ... see : com.octo.captcha.text.math.MathCaptcha Maybe a simple change of the current integration would be enough ... (I cannot read those captchas either ...) View the original post :

[jboss-user] [JBoss Seam] - Re: Back...

2007-04-13 Thread zdaler
Stack must not be null error when using ajax4jsf with seam another reported having the same problem ... maybe worth a look http://www.jboss.com/index.html?module=bbop=viewtopict=105872 I've changed a little bit of the page that was triggering the problem ... basically removing usage of

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

2007-04-13 Thread zdaler
I had the problem with FF. But : i've changed a little bit of the page that was triggering the problem ... basically removing usage of richfaces ... and the problem seems gone ... I confess I'm a little bit confused about it ... View the original post :

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

2007-04-09 Thread zdaler
anyone having the same problem ? any idea ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035682#4035682 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035682 ___ jboss-user

[jboss-user] [JBoss Seam] - Stack must not be null error when using ajax4jsf with seam

2007-04-05 Thread zdaler
I'm using ajax4jsf inside seam 1.2.1 and I get an error : javax.servlet.ServletException: Stack must not be null when I click on a a4j checkbox button anonymous wrote : h:selectBooleanCheckbox id=displayCheck value=#{myManager.updateDisplay} |

[jboss-user] [JBoss Seam] - error loading http://jboss.com/products/seam/pages-1.1.dtd

2007-03-28 Thread zdaler
Hi, This morning (for us in Europe) the jboss website was down during a few hours ... as a result, a seam project would not start because of the error : anonymous wrote : java.lang.RuntimeException: org.dom4j.DocumentException: Error on line 1 of document

[jboss-user] [JBoss Seam] - Re: error loading http://jboss.com/products/seam/pages-1.1.d

2007-03-28 Thread zdaler
the last one : jboss-seam-1.2.1.GA (btw, this version 1.2.1 still writes Welcome to Seam 1.2.0.PATCH1 on load ;-) ) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4032327#4032327 Reply to the post :

[jboss-user] [JBoss Seam] - Re: error loading http://jboss.com/products/seam/pages-1.1.d

2007-03-28 Thread zdaler
same problem if I start my jboss server with my seam application without having my laptop connected to the internet : anonymous wrote : Caused by: org.dom4j.DocumentException: jboss.com Nested exception: jboss.com | at org.dom4j.io.SAXReader.read(SAXReader.java:484) | at

[jboss-user] [JBoss Seam] - Re: error loading http://jboss.com/products/seam/pages-1.1.d

2007-03-28 Thread zdaler
Thanks a lot ... it did the trick ... and I understood the problem ... I'll be more careful during the next seam version change ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4032345#4032345 Reply to the post :

[jboss-user] [JBoss Seam] - lazy property loading ?

2007-03-28 Thread zdaler
Is there a way to lazily load entity properties in seam ? I'd like to load a large collection of objects without loading a (potentially large) content inside every one of them ... I've tried : @Lob | @Basic(fetch = FetchType.LAZY) | public String getContent() { |

[jboss-user] [JBoss Seam] - Persistence Context vs. Seam-managed persistence context JPA

2007-03-23 Thread zdaler
I'm kind of new to Java JPA and Hibernate and after having read the Seam documentation, all the persistence options in Seam are kind of complex for a first start ... If I understand it right (also looking at the examples in Seam), there is 3 way to achieve Java persistence in Seam : - direct

[jboss-user] [JBoss Seam] - Re: Persistence Context vs. Seam-managed persistence context

2007-03-23 Thread zdaler
Thanks for your reply ! Do you advice Seam managed EntityManager because it's simpler ? more powerful ? both ? Is it an advice for a newcomer (then for me ;-)) ? Or an advanced user (then for me in a few times ;-)) ? View the original post :

[jboss-user] [Installation, Configuration Deployment] - using apache as jboss frontend and fine tuning url contexts

2007-03-13 Thread zdaler
Hi, I'm using apache as a frontend for JBoss and I use mod_jk as the connector. However, I'm not really happy with having my two applications accessed by : http://mysite.com/application1 and http://mysite.com/application2 What I want (and have been unable to setup properly so far) is to

[jboss-user] [Installation, Configuration Deployment] - Re: using apache as jboss frontend and fine tuning url conte

2007-03-13 Thread zdaler
actually, using mod_rewrite I've been able to almost achieve what I'm trying to do : | RewriteCond %{REQUEST_URI} !^/application2 [NC] | RewriteRule ^/(.*) /application1/$1 [L,P] | | JkMount /* ajp13 | The only problem is that all the links in application1 point to

[jboss-user] [JBoss Seam] - feature request on @webremote decorator arguments in remotin

2007-03-12 Thread zdaler
A while ago, I posted a feature request into JIRA about the way @Webremote functions are decorated to prevent unwanted fields to be accessible in javascript on the client side ... Basically the idea is to filter the fields you want instead of the fields you dont want ...(more details,

[jboss-user] [JBoss Seam] - Re: concurrent access to SFSB using SEAM Remoting

2007-02-26 Thread zdaler
Thanks for you answer. Looking at the code inside the Conversation Manager we saw that if there is a concurrent call to a locked conversation context : a new temporary one is created : log.debug(No stored conversation, or concurrent call to the stored conversation); |

[jboss-user] [JBoss Seam] - concurrent access to SFSB using SEAM Remoting

2007-02-23 Thread zdaler
We encountered a problem accessing a simple SFSB from a javascript call using seam remoting. Concurrent js calls to a single conversational SFSB produces multiple instances of SFSB each being added to a newly created conversation context which is not what one would expect. We reproduced it