3 Replies Latest reply on May 12, 2009 6:19 PM by kukeltje.ronald.jbpm.org

    wildcard for view-id in pages.xml?

      hi,
      I would like a permission restriction to be applied to all pages that start with Foo and end with View, so for instance FooAView.xhtml, FooBahView.xhtml would be restricted
      In security.drl file this works handy


      c: PermissionCheck(name == "/Foo*View.xhtml")
      



      But in pages.xml I need to define this:



          <page view-id="/FooBahView.xhtml">
              <restrict/>
          </page>
          
          <page view-id="/FooAView.xhtml">
              <restrict/>
          </page>
      



      I have tried this:


          <page view-id="/Foo*View.xhtml">
              <restrict/>
          </page>
      



      but it does NOT work. is there a wildcard or expression for that?
      thanks in advance!