Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for 
change notification.

The following page has been changed by Carl:
http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess

------------------------------------------------------------------------------
  
      /* Is the requested page private ? */
      Component page = componentSource.getPage(pageName);
-     Boolean privatePage = 
Boolean.valueOf(page.getComponentResources().getComponentModel().getMeta("private"));
+     boolean privatePage = page.getClass().getAnnotation( Private.class ) != 
null;
          
      if (privatePage)
      {

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to