[jboss-user] [JBoss Seam] - Re: @Startup (possible to have this occur post session creat

2007-04-30 Thread courtneycouch
"petemuir" wrote : Reading through Sergey's answers it sounds like we need to work on getting a4j:mediaOutput and Seam to work properly together. That would be fantastic. in the meantime the Lifecycle.beginRequest() and Lifecycle.endRequest() looks like exactly what I needed. Thanks. View the

[jboss-user] [JBoss Seam] - Re: @Startup (possible to have this occur post session creat

2007-04-30 Thread courtneycouch
Oops i missed part of that quote from the thread. >From the ajax4jsf thread: "SergeySmirnov" wrote : There is a dilemma there. You can use the whole JSF lifecycle with restoring the session for each request to resources like this OR serialize only the required data and pass it directly to the m

[jboss-user] [JBoss Seam] - Re: @Startup (possible to have this occur post session creat

2007-04-30 Thread courtneycouch
"petemuir" wrote : "courtneycouch" wrote : The reason for this is that ajax4jsf mediaOutput components cant be seam component. They need to be simply managed-beans. When I'm using managed-beans in a seam application the regular lifecycle stuff for managed-beans doe

[jboss-user] [JBoss Seam] - Re: @Startup (possible to have this occur post session creat

2007-04-30 Thread courtneycouch
"petemuir" wrote : Seam's session context is driven by the web application. Seam is notified when the session has been created and processes the creation of @Startup @Scope(SESSION) components. We are calling the hooks as late as possible afaics. | | What are you trying to do - which method

[jboss-user] [JBoss Seam] - Re: @Startup (possible to have this occur post session creat

2007-04-30 Thread courtneycouch
"[EMAIL PROTECTED]" wrote : @Startup is not related to the session context, so I don't understand what you want. However, we had some other requests for more fine-grained interception of the Seam startup procedure and there might be open JIRA issues you can attach your request to. Search first,

[jboss-user] [JBoss Seam] - Re: @Startup (possible to have this occur post session creat

2007-04-30 Thread courtneycouch
None quite fit the point I need the method called.. In essense I would need something like: org.jboss.seam.postCreateContext. ? called after the context is created but there doesnt appear to be that kind of granularity. The @Startup annotation isnt a pre or post session creation.. it occurs du

[jboss-user] [JBoss Seam] - @Startup (possible to have this occur post session creation?

2007-04-30 Thread courtneycouch
I have a bean that I would like to be instantiated imediately AFTER the session is done being created. Is there some way to do this? I'm running some methods on the facesContext that require the session to be created. Currently I have to just instantiate the ejb in the template.xhtml file

[jboss-user] [JBoss Seam] - Seam managed a4j:mediaOutput

2007-04-24 Thread courtneycouch
I'm not sure if this isnt possible or if I'm simply doing something wrong but I'm trying to use seam injected components with the mediaOutput tag. i.e. where paintBean is a seam managed components. I am thinking that I cannot use seam components (as it would render the value parameter unneces