[JBoss-user] [JBoss Seam] - @Out(jected) list Scope problem

2006-07-05 Thread superfis
Hello, I've got a code as shown below. Seam action (using in long running conversation): @Stateful | @Name(action) | class ActionImpl implements Action { | ... | @Out( required = false, scope = ScopeType.EVENT ) | private ListSomeBean someList | | @Factory(someList) |

[JBoss-user] [JBoss Seam] - Re: Something other than conversationId on URL

2006-06-29 Thread superfis
Hi, I tried to change conversationId with some other name, but the only result was no ability to get into long-running conversation and in url there further existed ?conversationId= I did it with todays CVS version of Seam. Slawek View the original post :

[JBoss-user] [JBoss Seam] - Re: Something other than conversationId on URL

2006-06-29 Thread superfis
My mistake. Sorry! Slawek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954345#3954345 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954345 Using Tomcat but need to do more? Need to support web services, security? Get

[JBoss-user] [JBoss Seam] - Default interceptor (explicitly) in seam action bean

2006-06-05 Thread superfis
Hi, For a long time I was trying to solve problem of not working bijection (http://www.jboss.com/index.html?module=bbop=viewtopict=83804) and now I know how to work around it. Despite existance of META-INF/ejb-jar.xml file with content: ejb-jar |assembly-descriptor |

[JBoss-user] [JBoss Seam] - Re: Injection doesn't work during TestNG test

2006-06-02 Thread superfis
Hi. Doscouraged @In(jection) problem I prepared simple app dedicated to be focused on this problem only. After I started my test app within Jboss AS, results terrified me ;) ... I can't understand why it doesn't work. Seam action bean: @Stateful | @Name( showAction ) | // @Intercept(

[JBoss-user] [JBoss Seam] - Seam can't see @Remove @Destroy method

2006-05-27 Thread superfis
Hi, What might be the reason of: [testng] java.lang.IllegalArgumentException: Stateful session bean component should have a method marked @Remove @Destroy: wizardStartAction |[testng] at org.jboss.seam.Component.checkDestroyMethod(Component.java:230) |[testng] at

[JBoss-user] [JBoss Seam] - Re: Seam can't see @Remove @Destroy method

2006-05-27 Thread superfis
[EMAIL PROTECTED] wrote : Add the method to the local interface. It seems to be added correctly. Method exists in local interface all the time and recently it was working. [EMAIL PROTECTED] wrote : Btw, SFSBs don't need to implement Serializable, that is implicit. Thank you for information.

[JBoss-user] [JBoss Seam] - Injection doesn't work during TestNG test

2006-05-26 Thread superfis
Hi, When I put my seam action bean into testng test, I can see that my bean isn't being injected. Snippet of my seam action bean: | @Stateful | @Name( wizardCityAction ) | @Conversational( ifNotBegunOutcome = wizardStart ) | public class WizardCityActionBean implements

[JBoss-user] [JBoss Seam] - Re: 'Error during remote request' since 1.52 Seam revision

2006-04-13 Thread superfis
It seems as if it solved my problem also. Thanks a lot. Slawek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3937104#3937104 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3937104

[JBoss-user] [JBoss Seam] - 'Error during remote request' since 1.52 Seam revision

2006-04-11 Thread superfis
Hello, Until latest (1.52) Seam revision appeard, my project using Seam Remoting was working correctly. Now there is an error: 2006-04-11 10:35:51,718 DEBUG [org.jboss.seam.core.Manager] Storing conversation state: 3 2006-04-11 10:35:51,718 ERROR [org.jboss.seam.remoting.ExecutionHandler]

[JBoss-user] [JBoss Seam] - Seam remoting + long-running conversation. Is it possible?

2006-04-06 Thread superfis
Hi, I tried to entangle @WebRemote method (SFSB) in long-running conversation by @Conversational annotation, but it didn't work. I'd been notised that there is no long-running conversation for @Conversational bean, and started new conversation. Is it possible to keep remotely invoked

[JBoss-user] [JBoss Seam] - Re: Seam remoting + long-running conversation. Is it possibl

2006-04-06 Thread superfis
mirko27 wrote : You have to start llong-ronning conversation by @Begin annotation. | This means that no method of this bean cannot be used unless you have started long-running conversation for this bean. Sorry for not complete explanation. I've got fiew SFSBs with actions in long-running

[JBoss-user] [JBoss Seam] - Re: Seam remoting + long-running conversation. Is it possibl

2006-04-06 Thread superfis
I've put wrong version, correct code is without @Begin( join = true ) line: | @Stateful | @Name( selectSeat ) | @Conversational( ifNotBegunOutcome = ERR ) | @Interceptors( SeamInterceptor.class ) | public class SelectSeatAction implements Serializable, SelectSeat { | |private

[JBoss-user] [JBoss Seam] - Re: Seam remoting + long-running conversation. Is it possibl

2006-04-06 Thread superfis
After my short investigation (based on chatroom) I know there is necessity to set up conversationId, like: ... | SeamRemote.getContext().setConversationId(context.getConversationId()); | ... This conversationId comes with response and I can read it from context in callback javascript

[JBoss-user] [JBoss Seam] - Re: Seam remoting + long-running conversation. Is it possibl

2006-04-06 Thread superfis
Thank you Gavin very much. It has solved my problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3935452#3935452 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3935452

[JBoss-user] [JBoss Seam] - Re: Set iteration error: org.hibernate.collection.Persistent

2006-04-03 Thread superfis
[EMAIL PROTECTED] wrote : You should use a h:dataTable or some custom JSF control, or, if you are using facelets, try using ui:repeat. I've used ui:repeat with code: table | ui:repeat value=#{allSeats} var=row | tr | ui:repeat value=#{row} var=seat |

[JBoss-user] [JBoss Seam] - Re: Set iteration error: org.hibernate.collection.Persistent

2006-03-31 Thread superfis
[EMAIL PROTECTED] wrote : It is usually dodgy to try and use JSTL tags like c:forEach in JSF. They just don't work very well. What is suggested to be used insted of JSTL tags? How to solve problem like mine, which looks like this: In my SFSB there is representation of chairs in cinema and each

[JBoss-user] [JBoss Seam] - Long Running Conversation with Seam Remoting?

2006-03-30 Thread superfis
Hi, I'm trying to use remoting in my Seam project and I based on remoting/helloworld example delivered with Seam. The question is it is possible to keep @WebRemote function calls as a part of long running conversation and it is possible to use injected (outjected) objects during remote

[JBoss-user] [JBoss Seam] - Testing with @Test(groups=...) annotation

2006-03-18 Thread superfis
Hello, I tried to test Seam action class using testng annotation @Test(groups=all). Snip of my code: public class ShowVersionTest extends SeamTest { @Test(groups = all) public void testVersion( ) throws Exception { new Script( ) { @Override

[JBoss-user] [JBoss Seam] - Simple Seam app and TestNG problem

2006-03-15 Thread superfis
Hello everyone, It's my first post on this forum and I'm comming with question about how to configure TestNG to perform tests correctly. I've created almost the same folders, resources and libs arrangement as in Seam's examples and created one simple Seam statless bean and test for it. Every