[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-1157) page action not called when login-required="true"
Shane Bryzak (JIRA)
jira-events at lists.jboss.org
Wed Jul 4 01:41:04 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-1157?page=all ]
Shane Bryzak closed JBSEAM-1157.
--------------------------------
Resolution: Cannot Reproduce Bug
I've got exactly this in the seambay example, and it works fine for me. Here's the entry in pages.xml:
<page view-id="/sell.xhtml"
login-required="true"
action="#{auctionAction.createAuction}">
If I try to browse to /sell.seam directly when I'm not logged in, I get redirected to the login screen, and after authenticating here I get correctly redirected to /sell.seam and the action is fired correctly. I suggest you look at the seambay example in CVS, and if you still have problems then I'll need a small, buildable project that reproduces the issue.
> page action not called when login-required="true"
> -------------------------------------------------
>
> Key: JBSEAM-1157
> URL: http://jira.jboss.com/jira/browse/JBSEAM-1157
> Project: JBoss Seam
> Issue Type: Bug
> Affects Versions: 1.2.1.GA
> Reporter: Richard Leherpeur
> Assigned To: Shane Bryzak
>
> Pages.xml is defined as followed:
> <pages login-view-id="/public/login.xhtml">
> <page view-id="/restricted/*" login-required="true"/>
> <page view-id="/account.xhtml" action="#{accountAction.outcome}" login-required="true" />
> ...
> </pages>
> When accessing account.xhtml, the login accurs but then the action is never called (when login-required="true"). When removing the attribute login-required, the action is properly called.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list