Click
  1. Click
  2. CLK-639

Click GAE does not support automapped pages in production modes

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.3.0-M1
    • Component/s: core
    • Labels:
      None

      Description

      Google App Engine does not seem to support looking up directories from the servlet context path. This in turn means Click cannot find the templates to build up a cached map of templates to Page classes.

      This problem only affects production and profile modes, not development modes, since development modes access the templates files directly (which GAE supports) if it fails to find it in the cached map.

      The workaround for now is to manually map Pages to templates in the click.xml file:

      <pages package="net.sf.clickclick.examples.jquery.page">
      <page path="home.htm" classname="HomePage" ></page>
      <page path="/ajax/form-demo.htm" classname="ajax.FormDemo"></page>
      ...
      </pages>

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Bob Schellink
            Reporter:
            Bob Schellink
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development