dev@javaserverfaces.java.net

Bug? Change to navigation

From: Jim Driscoll <Jim.Driscoll_at_Sun.COM>
Date: Sat, 31 Jan 2009 16:04:59 -0800

Previously, if I had a command button which said:

<h:commandButton value="reload"/>

Then hitting the button would reload the page, regardless of the fact
that it didn't have a target, since the default action was to go to the
same page.

Now, with the new navigation code, this no longer happens.

Instead, I get the message:

Unable to find matching navigation case from view ID '/controller.xhtml'
for outcome ''

Is this intended, or a bug? If it's intended, then that may be a
problem, since I'm sure I'm not the only person who relied on this behavior.

Jim