[JBoss-user] [JBoss Seam] - How to use Annotation attributes that are variables

2006-07-10 Thread jboss-Nth-Fan
Hi there, When using Seam annotations I need to use annotation attributes that are not string constants. In this code fragment: @CreateProcess(definition=myProcessDefinition) | @Begin(nested=true, pageflow=myPageFlowDefinition) | public void startProcess() { | ... | } | Is it

[JBoss-user] [JBoss Seam] - Got it!

2006-07-10 Thread jboss-Nth-Fan
Thanks for pointing to this component: jboss-seam\src\main\org\jboss\seam\core\BusinessProcess.java I was halfway writing a component like this built-in one... Seam could easily have a nickname: The jboss Glue Thanks again! Yeyo View the original post :

[JBoss-user] [JBoss Seam] - Re: How to use Annotation attributes that are variables

2006-07-10 Thread jboss-Nth-Fan
Thanks Gaving, Indeed has businessProcess component has it: jboss-seam\src\main\org\jboss\seam\core\BusinessProcess.java I was halfway writing a wrapper like this...seam could have a nickname: The JBoss Glue Thanks again, Yeyo View the original post :

[JBoss-user] [JBoss Seam] - Continuously server restarting

2006-07-10 Thread jboss-Nth-Fan
I've been using seam for a while. It's great. However, one of the things that seems to slow down the development process is that any minor change in the code (even resource files) would require Tomcat to restart. - at least in my config - I've noticed also after one of the RCs that the EJB

[JBoss-user] [JBoss Seam] - Re: Seam component as converter with EntityManager/Persisten

2006-07-03 Thread jboss-Nth-Fan
Works great ! Thanks for the reference to the example ! supernovasoftware.com wrote : Have a look at my post on a different matter. | | http://www.jboss.com/index.html?module=bbop=viewtopict=85986 | | I was using an inner class like in the DVD Store example and passing the

[JBoss-user] [JBoss Seam] - How to retrieve current view ?

2006-07-03 Thread jboss-Nth-Fan
After navigating with a Link or by using a PageFlow, how can I retrieve the value of the current view in both the newly rendered page itself and inside an action ? s:link view=/myView.xhtml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3955090#3955090

[JBoss-user] [JBoss Seam] - Re: How to retrieve current view ?

2006-07-03 Thread jboss-Nth-Fan
Thanks for your almost quick response Gavin, great support ! I'm thinking if the JSF viewId would be the correct way to access it or does Seam store that reference or handler somewhere else? If so how should I access it: standard JSF or via a Seam method ? Yeyo. View the original post :

[JBoss-user] [JBoss Seam] - Re: How to retrieve current view ?

2006-07-03 Thread jboss-Nth-Fan
Thanks Gavin. Maybe a bit off topic , but in the DVD sample in the login.xhtml page I've modified in my own prototype to use s:link instead of the anonymous wrote : h:commandLink action=#{editCustomer.startEdit}Create Account/h:commandLink but did not work. I had the idea that both commandLink

[JBoss-user] [JBoss Seam] - Compilation Error: The annotation @Startup is disallowed for

2006-07-03 Thread jboss-Nth-Fan
I got this on an application scoped seam managed bean. It's in the first method: @Startup | public void initStuff() { | } | Does the annotated method require a special signature ? or located somewhere else? Thanks View the original post :

[JBoss-user] [JBoss Seam] - Re: Compilation Error: The annotation @Startup is disallowed

2006-07-03 Thread jboss-Nth-Fan
The actual compilation error message is: The annotation @Startup is disallowed for this location View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3955157#3955157 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955157 Using

[JBoss-user] [JBoss Seam] - Re: Compilation Error: The annotation @Startup is disallowed

2006-07-03 Thread jboss-Nth-Fan
Indeed ! Thanks. Apologize for my confusion. In a side note, I've been fascinated by the smoothness of Seam, great work! Yeyo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3955160#3955160 Reply to the post :

[JBoss-user] [JBoss Seam] - 10 min video broken link?

2006-07-03 Thread jboss-Nth-Fan
I've stumbled on this broken link in the wiki: http://docs.jboss.com/TrailBlazer/seam-booking/Seam.htm View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3955170#3955170 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3955170

[JBoss-user] [JBoss Seam] - Re: Seam component as converter with EntityManager/Persisten

2006-07-02 Thread jboss-Nth-Fan
Hello, Got same problem, tried same approach, but I still get a null instance of EntityManager after adding getInstance to the getAsObject method in the custom converter: Component.getInstance(em, true); Questions: 1. Is it that I need to declare the Seam Managed bean em somewhere else for