[JBoss Seam] - Seam Navigation
by paulaunderwood
I'm working on code to allow a password to expire. On the next login after the password expires I need to forward the user to a change password page. Right now, when a user logs in, if they are authenticated, they go to a user list page, and if they are not they are sent back to the login page.. I need to be able to send them to another page to change their password. Even though their password has expired, identity.loggedIn will still be true.. I've tried nesting another rule statement under the indentity.loggedIn and it forwards me back to my login page everytime instead of the page I specified..
Any help would be appreciated. Thanks in advance.
from my pages.xml file
| <page view-id="/login.xhtml">
| <navigation>
| <rule if="#{identity.loggedIn}">
| <redirect view-id="/userlist.xhtml"/>
| </rule>
| </navigation>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092701#4092701
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092701
18Â years, 7Â months
[JBoss Tools (users)] - Re: Imported Eclipse projects won't build
by GeoffHart
Good call! If I disable auto-build, then I can manually build the projects.
Looking at it more carefully now though, I see that I was just mis-interpretting the problem. It is building the project (in that it generates all the .class files), but it doesn't run the packaging at the end. Since it wasn't producing the final .war/.jar files, I assumed it wasn't building; but it turns out it's just not packaging.
When I clean all and build, the first, and most suspicious error it comes up with is this:
Skipping builder 'org.jboss.ide.eclipse.packaging.core.PackagingBuilder' for project 'Web Common'. Either the builder is missing from the install, or it belongs to a project nature that is missing or disabled.
... and it's right, that package doesn't exist; but I'm not sure what it expects me to do about that? I tried deleting and re-creating the workspace, and then cleaning and rebuilding all the projects - which changed nothing.
Is packaging supposed to be configured differently in this version?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092697#4092697
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092697
18Â years, 7Â months