[JBoss Seam] - Re: why Factory method is calling more than once?
by mnrz
Hi Christian,
but if I alter the STATELESS to SESSION my problem will changed, because I have a combo box at the page and when the user change it the forms will be submitted and the information of the selected user should be displayed.
if I use the SESSION scope for the factory method, at first the user is instansiating as "new User()" and because the session is still alive, this factory method won't be called until the session is destroyed or the user is null so this won't resolve the problem
and if you meant changing my Session bean to a stateful context, I did it but problem still exists, it seems that being SFSB or SLSB has nothing to do with this factory method and the method will be called whenever the Seam needs it.
you know, if I remove the relaod=false; from the code everything is fine but the problem is when user is going to update the information the submitted values won't apply to tempUser because after submitting new values, Seam is calling this factory method and everything is turning to its first step!!!!
thank you in advance for your reply, any comment would be of a great help
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095150#4095150
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095150
18Â years, 9Â months
[Installation, Configuration & DEPLOYMENT] - Jboss IDE installation issues
by ramsateesht
Hi All,
I am trying to install jboss IDE and when I select the plug-ins under jboss site I am getting following errors. I have installed WST and WPT and all the dependent plug-ins but I still get these errors.
Can someone help me out here.. plz
Error List :
The current configuration contains errors and this operation can have unpredictable results.
Apache Muse (2.0.0.v200610050100--9FhPQFYRgJPYPP) requires plug-in "org.apache.commons_logging".
Eclipse Modeling Framework (EMF) Extender SDK (2.3.1.v200709260024) requires feature "org.eclipse.platform (3.3.0.v20061208-Fj22sCYGm0XDWm3)", or compatible.
JST Web Core (2.1.0.v200709192200-7Q7AE8kEHhHegvoxz-OtKv6) requires plug-in "org.eclipse.jdt.core (3.3.0)", or compatible.
WST Server Adapters (2.1.0.v200709152030-4-CE_kE77Y7gAY) requires plug-in "org.mortbay.jetty (5.1.11)", or compatible.
Eclipse Modeling Framework (EMF) Runtime + End-User Tools (2.3.1.v200709260024) requires feature "org.eclipse.platform (3.3.0.v20061208-Fj22sCYGm0XDWm3)", or compatible.
TPTP Monitoring Project (4.1.0) requires feature "org.eclipse.tptp.platform.analysis.engine (4.0.0)", or compatible.
Data Tools Platform JDT Enablement (1.5.1.200709261) requires feature "org.eclipse.jdt (3.2.2)", or later version.
Managed Agent WSDM (4.3.0.v200610260100--3YIAAYECERAEAA) requires plug-in "org.eclipse.tptp.monitoring.managedagent (4.2.0)", or compatible.
JST Server UI (2.1.0.v200709192200-771Dz9yKR3i2j1aMRdVWEiFMDA36) requires plug-in "org.eclipse.jdt.debug.ui (3.2.100)", or compatible.
Thanks
Ram
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095144#4095144
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095144
18Â years, 9Â months
[JBoss jBPM] - actorId string
by Olivier_Debels
We are customizing jbpm and are using our custom identity package (user and role).
This works fine but I wonder why the decision was made to have a string for the actorId (in taskInstance and PooledActor).
I mean if I want to plug in my custom user and role I prefer to make a foreign key relation in the database, so that when assigning I have a pooled actor which has a foreign key (actorId) to my User and Role.
Wouldn't it be better to have an extra database table using a foreign key relation with actorId? This database table can have a discriminator and the default implementation could have a string column (just like it is now).
My identity component can easily be plugged in by creating another subclass for this table (with links to my user and roles).
Any thoughts?
Olivier.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095140#4095140
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095140
18Â years, 9Â months