Myfaces does not handle correctly the from-view-id's with wildcards
-------------------------------------------------------------------
Key: MYFACES-525
URL: http://issues.apache.org/jira/browse/MYFACES-525
Project: MyFaces
Type: Bug
Components: JSR-127
Versions: 1.0.9m9
Reporter: Bruno Aranda
>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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira