Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-3400

Create a MoveablePage interface

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.4
    • None
    • None
    • None

      Actually Page interface extends MovableAmetysObject so virtual pages are marked as moveables but are not.
      To disable drag&drop of virtual pages, we need a MoveablePage interface

      public interface MoveablePage extends MovableAmetysObject 
      {
      }
      

      A moveable attribute could be sax in PageGenerator to disable drag&drop in sitemap tool

      if (page instanceof MoveablePage)
      {
           attrs.addCDATAAttribute("isMoveable", String.valueOf(true));
      }
      

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: