posts - 0,  comments - 0,  trackbacks - 0

You can use wildcards in the from-view-id element of a navigation rule, for example:

  <navigation-rule>
     
<from-view-id>/secure/*</from-view-id>
     
<navigation-case>
        
     
</navigation-case>
  
</navigation-rule>

This rule applies to all pages that start with the prefix /secure/. Only a single * is allowed, and it must be at the end of the ID string.

                  上文出自:《core JavaServer™ Faces, Second Edition》                                                                              
posted on 2007-12-11 18:40 *一凡* 阅读(133) 评论(0)  编辑  收藏 所属分类: JSF