In my pages file i have this:

  |     <page view-id="/userRegistration.xhtml">
  |             <restrict>#{!identity.loggedIn}</restrict>
  |     </page>
  | 
  |     <page view-id="/userFind.xhtml">
  |             <restrict>#{identity.loggedIn}</restrict>
  |     </page>
  |     <page view-id="/userCRUD.xhtml">
  |             <restrict>#{identity.loggedIn}</restrict>
  |     </page>
  |     <page view-id="/userConfirm.xhtml">
  |             <restrict>#{identity.loggedIn}</restrict>
  |     </page>
  | 
  |     <page view-id="/organisationFind.xhtml">
  |             <restrict>#{identity.loggedIn}</restrict>
  |     </page>
  |     <page view-id="/organisationCRUD.xhtml">
  |             <restrict>#{identity.loggedIn}</restrict>
  |     </page>
  |     <page view-id="/organisationConfirm.xhtml">
  |             <restrict>#{identity.loggedIn}</restrict>
  |     </page>
  | 
  |     <page view-id="/upload.xhtml">
  |             <restrict>#{identity.loggedIn}</restrict>
  |     </page>
  | 

Now I have facelets template page parts and want to stop people accessing this 
page, ever! as its sucked into other pages.

e.g. 
userFieldsNonEditable.xhtml

is there a way to do this?


  | <page view-id="/userFieldsNonEditable.xhtml">
  |   <restrict/>
  | </page>
  | 

seems the obvious choice, but that is already used for something else (that I 
haven't figured out from the doco yet; but hopefully will when I look at drools 
I guess)
anonymous wrote : 
  | By default, if a value is not provided for the restrict element, an implied 
permission of {viewId}:render will be checked for whenever accessing that page.
  | 


Anyhow, is there a way?


  | <page view-id="/userFieldsNonEditable.xhtml">
  |   <restrict>always</restrict>
  | </page>
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016659#4016659

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016659
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to