Description
From the spec (section 7.4.2, p5-10/11), when talking about the NavigationHandler:
<< Rule instances are
considered in the following order:
- An exact match of the view identifier against a <from-view-id> pattern that
does not end with an asterisk ("*") character. - For <from-view-id> patterns that end with an asterisk, an exact match on
characters preceding the asterisk against the prefix of the view id. If the
patterns for multiple navigation rules match, pick the longest matching prefix
first. - If there is a <navigation-rule> with a <from-view-id> pattern of only an
asterisk, it matches any view identifier.>>
In myfaces something happens with the from-view-id's with asterisk. Lets illustrate a case:
1. <from-view-id>test3</from-view-id>
2. <from-view-id>test*</from-view-id>
3. <from-view-id>*</from-view-id>
I think that hibernate does not understand correctly the <from-view-id>'s with asterisk. For instance, if I am in the a view with id 'tes' (sic), the from-view-id used is the #2 when it should be the number #3.