I'm using a parametrized named native query to initialize a collection property.
Everything seems to work fine except for the fact that hibernate passes just
one parameter to the query which is the bean's id.
Looking at the hibernate's NamedQueryCollectionInitializer sources i found that
:
Hi,
what happens to an active sticky http session when the webapp is hot deplyed on
the /farm of any cluster node?
Does it ends forcing the user to login again?
thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4120391#4120391
Reply to the post :
Is there any way to hot deploy an entity bean with seam/jboss?
If not yet supported, any plan to allow it?
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4117557#4117557
Reply to the post :
when i create a new seam project i don't find the JPA Facet among
the project's facets list.
I use jboss 4.2.2.GA and the last version of jboss tools got by eclipse update.
Any idea?
Thanks, Ale.
[/img]
View the original post :
i've tried to follow the Getting Started with Red Hat Developer Studio
tutorial, expecting to get all the wizard screens described, but the jpa facet
selection form was missing. I refer to figure 3.4 :
Is there a way to generate an entity bean at runtime and to have
the underlying persistence manager (hibernate) to manage all the
related stuff such as schema generation and mapping?
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4103976#4103976
Reply
I have a page with several date fields and pickers.
The pages loads slowly and blocks a little on every picker. Removing all the
s:selectDate everything comes out immediately.
Looking at the generated html i've noticed that for every picker stuff like
this is repeated :
//![CDATA[
| var
Does this Identity overwrite the seam's RuleBasedIdentity?
Any way to get them cohexisting?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4028696#4028696
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4028696
how can i assign permissions to an an identity?
Is there a way other than using drools rules to implement permission checks?
Should i extend the Identity class? how can i have the Identity.instance()
method to return my class? Is there a way to have more the one identity
component? I'd like to
i don't know why the decode method of my custom componed is never called by
myfaces environment. All the rest works fine, encode gets called and the custom
component renders, but values are obviously not applied.
Any idea? Thanks.
View the original post :
thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026001#4026001
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026001
___
jboss-user mailing list
jboss-user@lists.jboss.org
is there a way to do something like :
h:dataTable value=#{aComponent.getItems('param1','param2')}
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4024691#4024691
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024691
I have a problem querying an entity with a lob property, thats my entity's
definition :
| @Entity
| public class File{
| @Id @GeneratedValue(strategy=GenerationType.AUTO)
| longcode;
| @ManyToOne
| Person person = null;
| Datetimestamp
i modified the code as you suggested but nothing new happened.
The problem is that i cannot have hibernate to skip the blob column in the
generated sql.
mmm. it seems a so easy issue to solve...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4017737#4017737
thank you very much, it helped me a lot for the moment.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4017950#4017950
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017950
___
i tryied to make a synchronous calls to ejb methods following the doc
guidelines and after i reverted my code, removing dispatcher and all the stuff
i continue to get events every 10 seconds, that's the debug log:
16:19:34,656 DEBUG [SessionBeanInterceptor] post construct phase for component
I'm using a selectOneMenu with a custom converter, feeded by a f:selectItems
which returns selectItems containing my custom objects.
It seems that the jsf lifecycle stops at the processValidation phase, without
upating my model, event if my page does not define any validator :
| 16:43:57,593
i configured redirect on exception with exceptions.xml but my app is always
redirected to the seam's debug page, it seems everything is working fine :
| 23:07:44,312 ERROR [AbstractSeamPhaseListener] Swallowing exception thrown
by page action
but the right page never appears.
That's the
After the exception has redirected the response, how can i have access the the
exception at page level? I just need to print the exception's message...
thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4011662#4011662
Reply to the post :
How can i end a session, represented by a user logged in, and have all
statefull beans clean up?
Should i use a converstation instead?
thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4008249#4008249
Reply to the post :
allowing seam to control the persistence context means having a pc for each
converstaion, correct? Then calling the flush within one of the objects tied
to that conversation causes the synchronization with db modifications occurred
only inside that conv, correct?
thanks.
View the original
How can i setup the EM config to have it start with manual flush mode?
thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4007750#4007750
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4007750
what i mean is to set some option via persistence.xml or components.xml to
enable manual flushmode everywhere.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4007784#4007784
Reply to the post :
I just need a full control over flushes, but i think i'm not completely
understanding what such a setting could involve :)
Why is a so bad idea?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4007797#4007797
Reply to the post :
?xml version=1.0?
| html
| xmlns:h=http://java.sun.com/jsf/html;
| xmlns:f=http://java.sun.com/jsf/core;
| xmlns:s=http://jboss.com/products/seam/taglib;
| xmlns:t=http://myfaces.apache.org/tomahawk;
| xmlns=http://www.w3.org/1999/xhtml; version=2.0
| head
Thanks, it clarifies a lot.
So the only way to implement what i need is to explicitly create a new
onversation within the method body, is it correct?
does the following link code begin a conversation before the select method of
searchResults component is called?
s:link
i'd need help understanding the behaviour of my application cause it seems that
when i use a s:button component the backing components are not updated. If i
use h:commandButton everything goes fine. I'm sure everything runs within the
scope of a conversation. That's the code :
h:commandButton
accessing seam's pages from explorer i get the xml markup instead of the
rendered html, while mozilla correctly renders the pages.
What's wrong?
?xml version=1.0 ?
| - jsp:root xmlns:jsp=http://java.sun.com/JSP/Page;
xmlns:t=http://myfaces.apache.org/tomahawk;
is it possible to include another external fiile containing component
definitions inside the components.xml file?
thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3995284#3995284
Reply to the post :
i'm trying to set the id of a framework's entityhome object direcly from a link
action, but i'm actually getting a wrong EL error.
That's my code:
h1List of people/h1
| h:dataTable value=#{people.resultList} var=p
| h:column
| s:link action=#{personHome.setId(p.id)}
this is my faces-config :
faces-config
|
| application
|
view-handlerorg.jboss.seam.ui.facelet.SeamFaceletViewHandler/view-handler
| /application
|
| application
| message-bundlemessages/message-bundle
|
Is there a way to wire together a Datamodel and a datamodelselection
programmatically, without using any annotation
I've collections persisted through hibernate i'd like to use in h:datatable in
conjunction with row selection listeners.
Guidelines and patterns widely accepted.
Thanks.
View the
the fileupload solution proposed by the seam wiki gives me the following error,
what's wrong?
/upload.jspx @11,67 value=#{uploadBean.file}: Exception setting property file
of base with class test.seam.UploadBackingBean$$EnhancerByCGLIB$$957e2ee1,
Bean:
i've an old hibernate+jsf app and i want to move to seam.
I'm planning to setup one or more session beans accessing hibernate and
implementing crud for my persistent objects.
Should be better to convert all my data object to ejb3? what could be the best
advantage of having ejb3 instead of
34 matches
Mail list logo