Oh i got 1 final question, i can get access to the rule i need to know, but i need to get the target viewId <redirect view-id="/welcome.xhtml"/>
How can i archieve this (i am stuck at this point) | <rule if-outcome="loginsuccess"> | <redirect view-id="/welcome.xhtml"/> | </rule> | java code | Page page = pages.getPage("/index.xhtml"); | Navigation nav = page.getDefaultNavigation(); | for(Rule tmpRule: nav.getRules()) { | log.info("tmp rule: "+tmpRule.getOutcomeValue()); | for(Output tmpOutput: tmpRule.getOutputs()) { | log.info(tmpOutput.getValue()); | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005118#4005118 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005118 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user