-
1. Re: Seam Exam (beta) @ JavaBlackBelt
dhinojosa Sep 13, 2008 10:48 PM (in response to wrzep)Sweet... You may need to check the spelling/format of the sample code though, I answered incorrectly on this because I thought the question was intentional :
page.xhtml <h:commandLink action="#{navigation.showInfo('Hello World')}" value="Show Hotel Details"/> pages.xml <navigation from-action="#{navigation.showInfo("Hello World)}" <---mismatch of quotes <redirect view-id="/info.xhtml"/> </navigation>
found another, although I got the question right, I did so for the wrong reason, because the XML tags didn't match.
<page view-id="/numberGuess.jsp"> <navigation> <------navigation <rule if="guess"> <redirect view-id="/numberGuess.jsp"/> </rule> <rule if="win"> <redirect view-id="/win.jsp"/> </rule> <rule if="lose"> <redirect view-id="/lose.jsp"/> </rule> </navigation-case> <------navigation case? </navigation-rule>
Also, Which of the following statements about the seam-gen ear- and war-deployment are correct?
- EAR projects support EJB 3.0 and require Java EE 5
- WAR projects do not support EJB 3.0
- WAR projects may be deployed to a J2EE environment.
According to the online documentation, the first would be true, according to documentation...but....
JBoss 4.2.2 is not Java EE 5 official and yet you can use it. That is the exception to the rule, unfortunately exceptions to rules make pretty weak rules.
I think that question is more fuzzy than definite for your tests.
Finally,
An authentication method is defined in the application.xml by the following line<security:identity authenticate-method="#{authenticator.authenticate}"/>
I believe that is the components.xml and not the application.xml
-
2. Re: Seam Exam (beta) @ JavaBlackBelt
wrzep Sep 13, 2008 11:19 PM (in response to wrzep)Thanks for feedback, Dan!
Actually, on javablackbelt everyone can edit and comment questions (and add them as well!), so if you spoil a mistake please report it by editing/commenting the question. This makes maintenance easier, automatically notifies the question author and also lets others take part in the discussion :)
Cheers,
-Pawel -
3. Re: Seam Exam (beta) @ JavaBlackBelt
dhinojosa Sep 14, 2008 12:21 AM (in response to wrzep)WOW! I had no idea that you can do that! I am gonna make good use of this. :)
Thanks