CodeSmith Community
Your Code. Your Way. Faster!

Pre-validation

Latest post 04-29-2008 5:59 AM by KVH. 0 replies.
  • 04-29-2008 5:59 AM

    • KVH
    • Not Ranked
    • Joined on 01-04-2008
    • Posts 5
    • Points 145

    Pre-validation

    I need pre validation for enabling or disabling buttons, menu items, toolbars and others.

    One of them is of course security that is already foreseen but sometimes we need data, data access validation.

     

    I was wondering if the service layer could be the right place to implement something like ‘CanDoDelete’, ‘CanDoSave’, ….

     

    We could move the security issue to the CanDo methods and call them from out the real CRUD –methods.

     

    The second part of the CanDo could implement a validation engine that can access the data.

     

    I have search the forum but could not find anything related to this.

      

    All info, advice is welcome.

     

    • Post Points: 5
Page 1 of 1 (1 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems