I have posted a bug report against this issue:
http://jira.jboss.org/jira/browse/JBSEAM-2614
since the aroundInvoke() method explicitly validates against returning null:
if ( result!=null || method.getReturnType().equals(void.class) )
| {
Thanks for the pointer,
Cyrill
View the orig
Hi,
I have two methods raising an event - one raises the event, the other not. If I
raise the event programmatically it works, but not while I am annotating the
raise of the event.
First the method which does not raise the event with annotations:
| @RaiseEvent(value=SeamConstants.EVENT_SPOR
mirko27,
Thanks, you saved my day (frustrations). I saw your post today but did not
realise the impact - thought is was about web.xml bindings. Now it works :-)
Regards,
Cyrill
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121640#4121640
Reply to the post
anonymous wrote : I thought it would be a too tight dependency between the
SFSB. For instance, if you inject SFSB A into SFSB B and SFSB C and change some
business logic in A maybe B or C are broken because they use some methods of A.
If you look at service oriented architectures (like SOA) - t
Hi,
I tried a small example today (with glassfish) and failed to create it. There
is a thread and a JIRA-Issue failed against this problem:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=123592
and
http://jira.jboss.org/jira/browse/JBSEAM-2430
What's happening here is, that the bea
Hi,
You reference the seam component in the seam context by name. If you are using
the EL-Notation, you expect that your component is named #{componentname}
including the curly braces. That is not what you want. Please have a look at
the following slide sets. The seam architecture in UML!
htt
Hi,
I have searched this forum but did not found answers to my questions regarding
architectural patterns (pro/cons). The examples are to simple for my taste.
Coming from the traditional J2EE pattern oriented software development with
Session Facades, DTO's, DAO's, ServiceLocator I dream a bit
Please have a look the the blog of Michael Yuan. You will find some
advices/changes you have to do in the comments.
http://www.michaelyuan.com/blog/category/seam/
I am developing on glassfish - but with hibernate instead of toplink. No
problems so far!
Regards,
Cyrill
View the original post
Cool,
Surefire Plugin version 2.4 is finally out. Supporting TestNG as a first
citizen. I will try it out over the weekend if the combination maven, seam
combo is working now as expected.
Regards,
Cyrill
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=41203
Hi,
Please keep in mind, that JSF will validate required="true" before hitting
@NotNull in your entity bean (Thanks to the pointer Pete). If you leave the
field empty, you will receive the error message from JSF and not from the
Hibernate Validator Framework! The seam team is aware of this issu
Hi,
I am thinking about the same question - should I or should I not. The main
problem is, that I have implemented certain queries (load the current user from
the database for example) the second time in my action beans and it is time for
a refactoring.
You have two options in my opinion:
Sin
Hi,
Yes, I changed the Scope to CONVERSATION, but omit the @Begin and @END tags.
The page get's loaded (calling the Create method) and then submit the page
again (persist). Then the conversation is ended.
Are there any recommendations about how to use the Scope. I am asking because
stick the b
Hi,
I discovered a behaviour while implementing a simple page to edit an entity
bean which I can not explain what happens is right or not.
I expect:
My stateful session bean has the following annotations:
@Stateful
| @Scope(ScopeType.EVENT)
and the following method to load the customer I lik
Hi,
Check out
http://www.michaelyuan.com/blog/2007/10/09/jboss-seam-project-setup-with-maven-?-part-2-ear-deployment/
Regards,
Cyrill
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116218#4116218
Reply to the post :
http://www.jboss.com/index.html?module
I just discovered, that the validation messages from hibernate validator are
displayed as in the hibernate validator message bundle except for instance the
@NotNull - this is coming from the JSF framework because I have to switch on
the attribute required="true". I have now modified
javax.face
My Facelets-Editor just did not showed me those two attributes - but they are
listed in the JSF-Javadoc:
- label --> The error output is still very noise, but not so cryptical as before
- requiredMessage --> I do a lot of work (translations) I not want to do again
Maybe I should dive a bit into t
Please can you explain solution 2 & 3 a litte bit further? I do not know what
you mean. The input component has no such attribute for instance.
Thank you very much!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116038#4116038
Reply to the post :
http://www
The outcome for a german browser is:
anonymous wrote : Vorname:
|
| register:firstNameDecorate:firstName: Validierungs-Fehler: Wert wird
benötigt.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116014#4116014
Reply to the post :
http
I am fighting with the same problem. I have the following setup:
|
| http://java.sun.com/xml/ns/javaee";
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
| xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-fa
Hi,
Have you executed the ant script (build.xml) in the booking example? If no,
please execute it. You will then get an exploaded EAR which you can discover.
Regards,
Cyrill
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110416#4110416
Reply to the post :
Hi,
I have now found a setup which should work. Now, the datasource is not found by
the default bootstrap configuration - that's ok. So far, I can provide you the
following information:
| 1) I had to change the version of testng to 4.7! All other version (5.5,
5.7) do not work with surefir
Following the debug output:
|
[DEBUG]org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.4-collab-20070602.024036-1:runtime
(selected for runtime)
| snapshot org.apache.maven.surefire:surefire-booter:2.4-collab-SNAPSHOT:
checking for updates from apache.snapshots
| [DEBUG]Skip
Hi,
I have seen some posts with the same issues, but did not found the solution or
the setup those users had for unit testing the seam components. Following my
setup:
|
|
| org.apache.maven.plugins
| maven-surefire-plugin
| 2.4-collab-SNAPSHOT
|
|
|
23 matches
Mail list logo