I considered this, but using Action instead of a String would make using these annotations even more verbose than they currently are. However, let's see what other people think of this...
Yes, that's a request for your opinion, reader :) Eelco On 2/10/06, SourceForge.net <[EMAIL PROTECTED]> wrote: > Feature Requests item #1429375, was opened at 2006-02-10 15:03 > Message generated for change (Tracker Item Submitted) made by Item Submitter > You can respond by visiting: > https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1429375&group_id=119783 > > Please note that this message will contain a full copy of the comment thread, > including the initial issue submission, for this request, > not just the latest update. > Category: None > Group: 1.2 > Status: Open > Priority: 5 > Submitted By: Philip A. Chapman (theserge) > Assigned to: Nobody/Anonymous (nobody) > Summary: Uniformity for Annotation action values > > Initial Comment: > Currently, the @AuthorizedAction and @AuthorizedActions > take String values for the action parameter. Anyone > wanting to use the annotations have to know what > strings can be used. Currently, there are no set of > constants that indicates what values are > available/correct (AFAIK based on the examples project). > > It would be very nice if this would take a > wicket.authorization.Action instead of a String so that > one could use Component.ENABLE, Component.RENDER, etc. > to define what actions are available. What actions are > available would be much easier to know and easier to > express. > > ---------------------------------------------------------------------- > > You can respond by visiting: > https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1429375&group_id=119783 > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Wicket-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-develop > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
