Uploaded image for project: 'Click'
  1. Click
  2. CLK-52

Exclude Pages from mapping.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Hi,

      I found a critical problem with Click automapping:
      The missing of the possiblity to "exclude" some of the paths from mapping.

      I was trying to integrate TinyMCE in advanced mode but this is totally unsuable:

      • many of the TinyMCE pages/resources have the *.htm extension and of course, Click
        is trying to solve them and it's giving the "The page you requested was not found." message
        (e.g. for all the popup windows that TinyMCE is using, this problem can be seen).
        This situation (using *.htm files) is true for many other DHTML libraries that might be the
        target of integration or just use with Click framework.

      Please include such an "exclusion" functionality.
      The simplest and most intutitive way that I can think of is to do it like
      it's done with SiteMesh but in case of Click this would be in click.xml, so
      no extra file would be required.
      e.g.
      <pages package="examples.page" automapping="true">
      <page path="exception.htm" classname="ExceptionDemo"/>
      <excludes>
      <pattern>/exclude_me.htm"</pattern>
      <pattern>/admin/changelog.htm"</pattern>
      <pattern>/tiny_mce/*"</pattern>
      <pattern>/other_dhtml_lib/something/*"</pattern>
      </excludes>
      </pages>
      or a similar solution.

      Thanks in advance,

      Ahmed.

      Attachments

        Activity

          People

            medgar Malcolm Edgar
            amohombe Ahmed Mohombe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: