Bug Report using JSF Faces-config adding nav case

View: New views
1 Messages — Rating Filter:   Alert me  

Bug Report using JSF Faces-config adding nav case

by jvasher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,



I'm learning to use JSF and netbeans development IDE. I have came across a little bug that I wanted to pass on. Please feel free to let me know if this is the wrong place for this.



I'm working through an example to create a login in page. And it required me to set up navigation for the login it, which uses #{Login.loginAction} so i went into the faces config (xml view) and right clicked selected



   JavaServer Faces add navigation case



from page is main.jsp



In the "From Action" i typed in #{Login.loginAction} and from outcome added success



Then i created another navigation case same as above except



from outcome failure



in the from action i agian added the #{Login.loginAction}



and at the bottom it printed a message duplicate action  error.



So to work around this i just typed an extra char and added then found it in the faces-config and removed xtra char. It works fine.



I think this is a bug if I understand nav rules correctly u can have checks for multiple outcomes from same action????



I would appreciate any info if i'm incorrect. if not just consider this a bug report.



Thanks in advance.

jvasher