click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Schellink (JIRA)" <>
Subject [jira] Resolved: (CLK-639) Click GAE does not support automapped pages in production modes
Date Thu, 15 Jul 2010 12:01:53 GMT


Bob Schellink resolved CLK-639.

    Resolution: Fixed

Added automapping support for GAE with the caveat that page templates must be placed under
the folders "page" or "pages"

> Click GAE does not support automapped pages in production modes
> ---------------------------------------------------------------
>                 Key: CLK-639
>                 URL:
>             Project: Click
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.1.0
>            Reporter: Bob Schellink
>            Assignee: Bob Schellink
>             Fix For: 2.3.0-M1
> 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="">
>       <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.

View raw message