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 Serializ
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 org.jboss.seam.Co
"[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
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( I
Hi,
For a long time I was trying to solve problem of not working bijection
(http://www.jboss.com/index.html?module=bb&op=viewtopic&t=83804) and now I know
how to work around it.
Despite existance of META-INF/ejb-jar.xml file with content:
|
|
| *
| org.jboss.seam.e
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 func
"[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 eac
"[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:
|
|
|
| #{seat.number}
|
|
|
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 methods
"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 co
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 {
|
|priva
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 functi
Thank you Gavin very much. It has solved my problem.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935452#3935452
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935452
---
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] Err
It seems as if it solved my problem also. Thanks a lot.
Slawek
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937104#3937104
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937104
-
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 :
http://www.jboss.com/index.h
My mistake. Sorry!
Slawek
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954345#3954345
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954345
Using Tomcat but need to do more? Need to support web services, security?
G
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 List someList
|
| @Factory("someList")
| public vo
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
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
prote
20 matches
Mail list logo