[jboss-user] [JBoss Seam] - Re: access faces-config.xml in a java bean

Holger Prause do-not-reply at jboss.com
Mon Jan 22 19:50:44 EST 2007


Hello i a curently trying to migrate the naivagation rule but somehow i making a mistake but cant see it(rule has no effect).


rule from faces-config.xml (working)

<navigation-rule>
		
		<navigation-case>
			
			<from-outcome>loginsuccess</from-outcome>
			<to-view-id>/welcome.xhtml</to-view-id>
			
		</navigation-case>
</navigation-rule>

rule in pages.xml (not working)


	
		<!--  login -->
		<rule if-outcome="loginsuccess">
			<redirect view-id="/welcome.xhtml" />
		
	



when i deploy the application i get the log "reading pages.xml" so i am prettysure i should take effect, but i dont.

Any clue what i am doing wrong?



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005063#4005063

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005063



More information about the jboss-user mailing list