Hello Thomas,
so i have to use embeddable ejb?
At the moment i use seam managed sessions as introduced with the example
'hibernate' (the derivate from the hotel booking example)
If i use embeddablke EJB as suggested, how to inject the transaction manager
into a datasource provided by Tomcat?
f
Hello,
yes you are right, i have used the wrong wording. here is the correction
By now, for every targetsystem i do this:
1. edit jboss-bean.xml
2. package the app (run Ant build script)
3. copy the resulting war to the right system
But what i need is:
1. package the app (run Ant build script
Hello, i do have a question about microcontainer and seam managed sessions.
Please have a look at:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=85491
Can anybody help me out?
Ciao,
Carsten
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953371#3953
Hello,
before using Seam managed session in my application and jboss microcontainer i
was used to specify my datasource in file context.xml in the META-INF Directory
in my app. This way, after deployment one can edit this file in the desired
tomcatfolder (Tomcat/conf/Catalina/localhost/.xml) to
anonymous wrote : BTW: Could you please be more specific where to look a the
hotel booking
| example.
I meant the booking example for hibernate and tomcat. There exists in class
HotelBookingAction this method:
@End
|public String clear()
|{
| hotels = null;
| hot
Hello,
Your problem looks very common for me.
anonymous wrote : I checked it, and the find() method is not called when I
revisit the page.
That is correct. The find() method is only called when vertraege is null.
That is the meaning of a factory method.
anonymous wrote : How can I enforce that th
This topic is not related to seam. multipleRowSelector works with seam.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944105#3944105
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944105
-
Hello,
i would like to use multipleRowSelector from jenia http://www.jenia.org.
But this component doesn't work.
My selectionList is always null. It gets not initialized.
If tried a small testapp without seam. There it works.
When i add seam support to this app and make my backing bean managed by s
Gavin was so kind to implement a method called endAndRedirect
Thanks for that.
This can be used like this:
| public String saveProtocol() {
| // the meat of the method not copied.
| return Conversation.instance().endAndRedirect();
| }
|
This ends the current c
As far as i know your attempt works right.
@Out outjects to the context from which the value was injected, or in case of
no injection to the surrounding context.
When you click the register button, you are in a temporary conversation.
When you outject a value it will go to this temporary convers
Feature request done
simple Use Case for this feature:
The user is fills out a form (in the outer conversation). He detets that i must
retrieve some information. So he does this (in the nested converstaion). After
that he can continue editing his form. All this without switching windows.
The ret
Hello,
i'd like to resume a parent conversation after executing a method annotated
with @End
I have read the forum and have found some threads about similar topics.
And i have found in the CVS version of seam that there is the method
redirectToParent implemented.
This function resumes the paren
421 ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/baz].[Faces
Servlet]: Servlet.service() for servlet Faces Servlet threw exception
| 15:06:47,437 DEBUG org.jboss.util.NestedThrowable:
org.jboss.util.NestedThrowable.parentTraceEnabled=true
| 15:06:47,453 DEBUG org.jboss.util.Nested
Hello Gavin,
after rereading the documentation i think this holds true:
* you can have multiple workspaces
* each workspace can contain one root conversation
So i have to create multiple workspaces. I do use this code :
New workspace | New window
|
| Whereas the url pattern for Faces
Hello,
i'm not quite sure but i thing that my requirement are hierachical
conversations(which are not supported by seam at the moment)
Nevertheless, i ask my question:
How to achieve parallel root conversations?
The posting
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=79376
implies for
Hello,
now i have found out that the binding attribute does not work even on an Input
component.
I was used to use this code:
|
|
|
| --
| private UIInput protocolNameInput;
|
|
getFacesContext().addMessage(protocolNameInput.getClientId(getFacesC
org.jboss.seam.contexts.Lifecycle: <<< End web request
| 10:21:26,234 ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/baz].[Faces
Servlet]: Servlet.service() for servlet Faces Servlet threw exception
| java.lang.IllegalStateException: No conversation conte
Hello,
i stripped down my Bean "analysisBacking" (changing also the html pages
acordingly) and are now in the task to recode it. After stripping the bean down
to the absolutley basic, the app works again, but with a lose of buisinesslogic.
I really need a hint, why seam destroyed the conversatio
Hello,
i am currently adding Seam support to an Webapp composed with myfaces and
facelets. Seam is very useful in this case. The app is easier to understand and
uses lesser code.:-)
But i have one problem for which i cannot determine the cause:
the conversation scope is destroyed without calling
I have had the same problem, but not with the original examples. They run well.
But try to look at:
Please look at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=81772
Ciao,
Carsten
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939847#3939847
Reply
Hello,
finally i solved the problem for me.
It seems that jstl.jar (in my application) was not compatibel with the new Seam
release.
After copying this library from the seam release to my app, all is well.
Ciao,
Carsten
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewto
:45,578 INFO org.jboss.seam.init.Initialization: done initializing
Seam
| 13:15:45,578 DEBUG
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/baz]: Starting
filters
| 13:15:45,578 DEBUG
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/baz]: Starting
filter
Hello,
thanks for the fast answers.
anonymous wrote :
| |someHibernate.cfg.xml
| |
This is exactly what i am searching for.
when looking at
http://docs.jboss.com/seam/api/org/jboss/seam/microcontainer/HibernateFactory.html
i had no idea that
'cfgResourceName' could be the name of t
eans.xml file from the hibernate example of Jboss Seam 1.0
Beta2 and changed the prefix booking consistently with baz.
This results in a running configuration for one database.
I duplicated the configuration for beans called
bazDatasourceFactory,bazDatasource,bazDatabase and bazDatabaseFac
24 matches
Mail list logo