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
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
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
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
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
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
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
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)
|
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 :
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
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
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
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
|
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
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
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 :
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
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 :
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 :
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
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
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
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 :
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
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
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
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
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
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 :
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
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 :
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
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 :
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
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}
|
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
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 :
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
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 :
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() {
|
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
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 :
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
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
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,
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);
|
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
47 matches
Mail list logo