click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Schellink (JIRA)" <j...@apache.org>
Subject [jira] Created: (CLK-639) Click GAE does not support automapped pages in production modes
Date Sat, 06 Mar 2010 05:39:27 GMT
Click GAE does not support automapped pages in production modes
---------------------------------------------------------------

                 Key: CLK-639
                 URL: https://issues.apache.org/jira/browse/CLK-639
             Project: Click
          Issue Type: Bug
          Components: core
    Affects Versions: 2.1.0
            Reporter: Bob Schellink


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>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message