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

Click GAE does not support automapped pages in production modes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.3.0-M1
    • core
    • 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>

      Attachments

        Activity

          People

            sabob Bob Schellink
            sabob Bob Schellink
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: