i had already overriden hashCode en equals. that was/is not the issue as far as
I can conclude.
[ an object is equal if it has the same object ID, if no ID is present, values
are compared, hashCode accordingly, using apache EqualsBuilder and apache
HashCodeBuilder ]
the only wat to fix it was
adding to it : it probably is NOT a real seam issue but a conflict of
hibernate lazy loading (using proxy) and the JSF implementation
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4130029#4130029
Reply to the post :
i ran into the same issue. feels like a SERIOUS bug to me. at worst it should
get in the seam documentation, but a fix is preferred.
curious on your experiences or alternative solutions !
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4129624#4129624
Reply to
any tip on configuring SSL (i want to use this with gmail)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4129007#4129007
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129007
___
any tip on configuring SSL (i want to use this with gmail)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4129008#4129008
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129008
___
hello
i have RTFM and configured the context filter for my servlets.
however, if a user calls the server outside of a context he get's a dirty
exception trace. how can i capture the exception? it's now a pretty general
java.lang.IllegalStateException.
the main issue is that the exception
i'm using a similar approach for openId integration.
the seam authenticate method looks up a status from the session that is only
set by the servlet that confirms openId authentication
an improvement of the seam security framework to handle single sign on like
openId or others seams very
i have a seam app and want to integrate openId based integration.
the openid4java lib comes with an example servlet that handles authantication
and redirection.
any proposal on how to integrate openid based authentication with the seam
security framework???
in the servlet i have a point where
has anybody made an openId implementation on top of seam?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4119583#4119583
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4119583
___
i've posted a proposal in JIRA
in short i propose to match * in a page view expression to a variable, for
example named page and than alow EL expression in other elements.
page
view-id=/up/admin/*.xhtml
conversation=%{page}Conversation
..
an alternative which is maybe cleaner is to
i'm developping an app part of which is plain editing of instances in a
database.
i have recently discovered natural conversation scope, that cleary should get
into the documentation soon !!!
i now find myselve repeating the below part for every entity (i have a list
page and an edit page for
the action linked to your search button just needs to set a messages (user @In
FacesMessages facesMessages).
when you come to the page the first time there will be no message.
if the search result is empty, you set the response message from within your
search action method.
take a look at the
the action linked to your search button just needs to set a messages (user @In
FacesMessages facesMessages).
when you come to the page the first time there will be no message.
if the search result is empty, you set the response message from within your
search action method.
take a look at the
i'm using it in seam 2.0.0.ga and it seams to do the job.
however the id attribute is deprecated and i'm referred to ' use pages.xml '
instead ... i don't find any example that explains how to set an explicit id
from pages.xml
anybody a tip
thanx
koen
View the original post :
i am having a similar issue
when i'm putting a EntityQuery object in conversation scope, the moment i do an
update on one of the entities the query resultList returns a list of EMPTY
instances (properties are empty) afterwards
i'm already capturing an event and calling REFRESH on the
hello
i'm having an issue with entityQuery resultList responses when using the
component within a conversation.
when one of the entities get's updated (or a new one is added) the resultList
returns a list of NULL objects of the correct size (the number of items is
correct but the contents is
i am having related issues but your prob can prob be fixed by a seam event
configuration
look up afterTransactionSuccess in the seam doc to find some explenation
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109785#4109785
Reply to the post :
sorry
the snippet i wanted to include is
event type=org.jboss.seam.afterTransactionSuccess.Address
| action execute=#{managedAddresses.refresh} /
| /event
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109786#4109786
Reply to the post :
test case : an entityQuery object. when I put a log statement in the
constructor, i see that two instances get initiated, one pure and one
'stitched' version.
anybody an idea of what's happening ?
09:47:35,382 INFO [STDOUT] CONSTRUCTOR class up.account.ManagedAccountsQuery
| 09:47:35,408
i want to share with you this generic do-even-more version of EntityQuery
with the below class it's even easier to write EntityQuery objects.
the EJBQL is generated automatically (example FROM Account account).
there is a getExample() method that returns an example instance (for search
Component.getInstance will work also for components defined by factories
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4107030#4107030
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4107030
this new version below adds methods that generate the default search
constraints given a list of fields.
just override getFields and get the constraints for free using
getSearchFieldRestrictions
kind regards
koen
package up.seam;
|
| import java.lang.annotation.Annotation;
| import
as far as i can debug, if you include a page with the ajax4jsf include, the
corresponding (included) xxx.page.xml does not get processed.
this basically blocks me from putting for exampe seam-gen generated pages in
for example a rich tab control as these pages require the handling of params
concrete example
somewhere
rich:tabPanel
| rich:tab label=accounts
| a:include viewId=/up/admin/accountList.xhtml /
| /rich:tab
| ...
the accountList.page.xml content:
| ?xml version=1.0 encoding=UTF-8?
| page
| xmlns=http://jboss.com/products/seam/pages;
at nov 14 2007 :
from http://dvdstore.demo.jboss.com/browse.seam
An Error Occurred:
| javax.persistence.PersistenceException:
org.hibernate.exception.GenericJDBCException: Cannot open connection
| +- Stack Trace
|
| javax.ejb.EJBTransactionRolledbackException:
i develop on windows and the response complain to MS is all to simple, i
don't have any file locking issues with other apps
don't want to point to jboss or jboss seam, could also be a jvm related bug ...
View the original post :
i can delete everything but the jars in
\lib
.war\WEB-INF\lib
== seems to be the classloader that 'locks' the jars ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4104724#4104724
Reply to the post :
is there a way to allow editing of a composite PK parts with the seam CRUD
framework?
i have a class with a composite key path and name as elements. i have written a
faces converter that converts the PK class to and from a string representation.
i can list and open the instances for edting,
the 'details' view opens fine, make a change to the one part of key value (name
for example).
press the standard 'update' button (triggering the update method on the home
component. update success is presented (as a faces message),
pushing the 'done' button brings you back to the list view,
the 'details' view opens fine, make a change to the one part of key value (name
for example).
press the standard 'update' button (triggering the update method on the home
component. update success is presented (as a faces message),
pushing the 'done' button brings you back to the list view,
the 'details' view opens fine, make a change to the one part of key value (name
for example).
press the standard 'update' button (triggering the update method on the home
component. update success is presented (as a faces message),
pushing the 'done' button brings you back to the list view,
i totally redid the job with a clean entity bean and clean home and query
components.
i have put log statements in the setters for the composite key fields and can
CONFIRM that they are called
it should be noted that the 'not updating issue only apears for changing field
values. i can
hello
i'd like to extend the seam identity with a domain ( user @ domain / password )
how can i get seam to use my extended idenity object iso the default ?
thanx
koen
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4093930#4093930
Reply to the post :
the only thing i found so far is a class parameter in components.xml cfr below
security:identity
authenticate-method=#{authenticator.authenticate}
class=up.seam.UpIdentity
auto-create=true /
this however dos NOT make seam use my extended identity class
View the original post :
warning !!!
just lost a lot of time with the following. When you want to do bean managed
transactions, do NOT use a seam managed persistent context (injected with @In)
but use a EJB3 container managed persistent context (injected with
@PersistenceContext).
BMT how to summary
mark bean as BMT
warning !!!
just lost a lot of time with the following. When you want to do bean managed
transactions, do NOT use a seam managed persistent context (injected with @In)
but use a EJB3 container managed persistent context (injected with
@PersistenceContext).
BMT how to summary
mark bean as BMT
christian
thanx for the clarification. i will try your proposal of explicitely calling
joinTransaction, but i expect it to work :)
still it is kind of confusing to me as it is working perfectly for the
@PersistenceContext inject entityManager. i conclude that this one is joining
the
The good news is that indeed, a joinTransaction() call does the job with @In
injected entityManager.
anonymous wrote : Of course the @Injected EM will not join the transaction
automatically because the transaction is started AFTER injection, when the
method is called
i think i understand
i need to have user managed transactins ( i want to start and commit
transacstions inside a method myself )
how can i do this inside seam ?
i'm using an inject session and get the A JTA EntityManager cannot use
getTransaction() error
[ i'm processing a file inside the method with a bunch of
thanx for your very clear answer.
i have worked with OSGi in the past. i still feel that it could be a great
enhancement to application servers to provide dynamic loading and a controlled
and fine grained 'exposure' mechanism.
but it's def. not something you introduce in an infrastructure like
is there a way to set the MIME type and other HTTP attributes for XHTML pages
with SEAM?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4081181#4081181
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4081181
i'm having the same issues on my vista machine with jdk1.5. the same effect
with jrocket 5.
i'm very interested in a solution to speed up my development cycle
koen
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4081192#4081192
Reply to the post :
found a solution:
JSF provides a means through the F:VIEW tag
?xml version=1.0 encoding=UTF-8?
f:view contentType=text/xml xmlns=http://unifiedpost.com/rest;
xmlns:f=http://java.sun.com/jsf/core;
/f:view
View the original post :
hello
it's a jboss classloader problem
it has been discussed in this forum, try searching for webclassloader
the current not perfect solution if i remember well is to instruct jboss/tomcat
to share the classlaoder
kind regards
View the original post :
what is the best approach to communicate between 2 or more seam applications ?
as an example, the first application provides a set of basic services to be
used by other applications.
i'm currently playing with a JNDI lookup approach. i'm having classloading
issues however. to solve it i
looked it up for you
In JBoss there is a server-wide setting that will take care of it. Look in
deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml
set UseJBossWebLoader=true
from
http://www.jboss.com/index.html?module=bbop=viewtopict=94822postdays=0postorder=ascstart=20
View the
i have the classloading issues fixed, but had to do this in a jboss specific
way.
i was wondering if there is an elegent and standardized approach.
for other readers info : i have the different ears configured with the same
jboss-app.xml loader-repository configuration (which makes jboss
the fundamental question is in fact a question of granularity
my application (as many do prob) exists out of a collection of 'modules'
(jars), a group of classes that together offer a more or less independent
service.
i could put alle the modules (jars) inside one big ear and avoid inter ear
in my experience it's not related to an amount of restarts.
i have already increased the perm gen space.
still it happens.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4071032#4071032
Reply to the post :
just want to share that on my machine there seams to be an issue with running
the tests with jdk1.6. it's probably a jboss embedded issue much more than seam.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4061118#4061118
Reply to the post :
the error starts like this, the key messag being that it doesn't find the
native String class: Class not found: [Ljava.lang.String;
test:
|[testng] [Parser] Running:
|[testng] C:\workspace\upbox\test-build\ExampleActionTest.xml
|[testng]
|[testng] WARN 04-07
thanx for the advice but i think it's fair to call this a JSF bug ...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4061507#4061507
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4061507
i created a new project using seam-gen. next i created an action using seam
new-action. the test fails as follows:
any comments?
| test:
|[testng] [Parser] Running:
|[testng] C:\workspace\upbox\test-build\ExampleActionTest.xml
|[testng]
|[testng] WARN 04-07
seems like you are missing a component for authentication. seam gen usualy
creates a bean like this
package upr;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Logger;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.log.Log;
import
indeed that was my ' backup ' solution. i have a problem though with some pages
where navigation ?has? to be controlled from the pages.xml
the following example to illustrate
page view-id=/login.xhtml
| navigation from-action=#{identity.login}
| rule if=#{identity.loggedIn}
|
i have a related question : i want users to be able to configure there 'home'
page ( the main page they use ). i tried to use an EL statement in a redirect
statement inside pages.xml but it doesn't get resolved ???
any suggestions on how to have a the home page stored inside the session and
if would like to write something like
#{documentManager.search('label:#{label}')}
as an action target where the parameter of the action is a locally bound
parameter : ie here #{label}
what's the best approach ?
View the original post :
do you know if there is solution in the mean time?
[ i hope to combine richfaces tree and drag and drop with seam mail ]
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056490#4056490
Reply to the post :
do you know if there is solution in the mean time?
[ i hope to combine richfaces tree and drag and drop with seam mail ]
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056492#4056492
Reply to the post :
i'm having the same issue [ not using inner classes ]
you changed it into what specifically ? something longer than a
session/conversation timeout ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056498#4056498
Reply to the post :
i'm having an issue with passivation of a seam statefull session bean:
anonymous wrote :
| 15:49:23,387 ERROR [SimpleStatefulCache] problem passivation thread
| javax.ejb.EJBException: Could not passivate; failed to save state
| at
i have an element inside an ajax4jsf outputPanel.
i discovered that the rendered=/testcode/ test is not re-evaluated on a
re-Render trigger from an ajax button. it feels to me like a bug.
Code:
a:outputPanel id=document_list_panel ajaxRendered=true
h:outputText value=No documents to display
anybody has a tip on how to redirect to an external URL from a seam action? as
it ' seams ' :) like a very common requirement I guess there should be some
elegent way foreseen but I didn't find any (yet)
the path i'm thinking about is to make a redirect page that takes in a
parameter with the
gavin's tip is trivial when you see it but for starters it's not something that
you immediately come up with.
i would advise to integrate this tip into the reference manual
koen
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4055577#4055577
Reply to the post
thank you very much !
it works !
i keep on finding that i'm missing some basic JSF background (I started with
seam without having worked in deapth with JSF as i didn't like it a lot without
seam :) )
thanx again
View the original post :
CONCLUDING NOTE
it would be nice however if seam would treat action return Strings starting
with http://; differently and do the redirect automatically. that would feel
natural to mee.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4055623#4055623
Reply to
can anybody give me a hint on how to best expose my application scope component
(ejb) through JMX.
is there any provisioning from SEAM side?
ideally there would be something like @RegisterMBean(name) ?
thanx
koen handekyn
View the original post :
i don't know if this is going to help you but i sovled a related issue for
single sign on as described below to log in to my seam application from a URL.
usage : https://host:port/appdomain/SingleSignOn.seam?login=aaapassword=bbb
for your problem, i guess a similar approach could be taken,
as i had to look for a while to find what gavin was referring to, i think it is
the below thing : 'service beans'
http://docs.jboss.org/ejb3/app-server/tutorial/service/service.html
???any comment on service beans versus application scope session beans for
holding configuration type of data???
feature request to gavin :)
to inject a ' service ' bean you have to resort to the standard jboss
provisioning wich looks like
private GlobalConfigurationMBean globalConfiguration;
@Depends (upr:service=globalConfiguration)
| public void setGlobalConfiguration(final
let me add the full stack trace
it is scary to see this happen ' sometimes ' without any real logic
as far as i can trace it's a seam internal nullpointer exception
- - - - -
16:16:21,508 ERROR [ExceptionFilter] uncaught exception
javax.servlet.ServletException: /layout/menu.xhtml @17,58
i'm having some serious reliability issues with SEAM 1.2.1 GA on JBOSS 4.0.5.
- i have turned off already ' devepment / debug ' configurations.
sometimes the following error is thrown.
SEVERE: Error Rendering View[/tasks.xhtml]
javax.faces.el.EvaluationException: /layout/menu.xhtml @21,120
i'm having the same error today (2007). did you find a solution?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4052768#4052768
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4052768
i have just spend a long time debuging an issue with respect to updates on an
object with business process scope that is injected with @In.
the behaviour was that the updates where first made, but soon after
dissapeared.
i discovered that adding an explicit @Out(scope =
there is also a warning :
There should always be a submitted value for an input if it is rendered, its
form is submitted, and it is not disabled or read-only.
20:36:00,412 WARN [HtmlRendererUtils] There should always be a submitted value
for an input if it is rendered, its form is submitted,
just download jboss 4.0.5. with ejb 3 profile as mentioned in seam doc. the
examples run fine in jboss.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4052265#4052265
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4052265
i'm trying to use the EL to generate unique element id's for elements within a
datatable. however, for some reason it doesn't seem to work.
what is the appropriate way to generate unique id's for elements within a
datatable iteration?
by the way : the goal of the below snipet is to open a
christian
please excuse me for the duplication.
i had searched quit intensively inside and outside this forum.
kind regards,
koen
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4051890#4051890
Reply to the post :
sorry, it seems that that solves my question at the generation side.
but what is the best way to regenerate that ID within the loop to be able to
point to it from within javascript as below?
a href=javascript:Richfaces.showModalPanel('modelPanelID:',{width:450,
top:200})
i checked and
in the first code snippet below the input variable (marked in bold) is not
assigned or posted when comming from within a (rich:)modelPanel. [ snippet 1 ]
when posted directly from within the column the input variable is assigned
well. [ snippet 2 ]
thanx for helping me understand.
snippet 1 :
out of the box the current seam dvd example seems broken wrt JBPM.
after creating on order the task assignment list appears empty when logging
in as a manager. the headers of the table are rendered but there is no content :
Task Assignment
Order IdTaskOrder AmountCustomer
i have replaced the admin.xhtml with a more recent version. it now works fine.
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
i sometimes get a nullpointer exception with the following root:
rendered=#{identity.loggedIn}: Cannot get value for expression
'#{org.jboss.seam.security.identity}'
the main issue is that it happens sometimes and that triggering a page refresh
within the same session just continues as if
I'm adding messages to FacesMessages from within a factory method (@Factory)
The issue is that the messages appear only at the next browser request.
i tried both to bind facesmessages with injection and using
FacesMessages.instance().
View the original post :
i'm having the same issue !
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4040033#4040033
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040033
___
jboss-user mailing list
85 matches
Mail list logo