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] Resolved: (CLK-639) Click GAE does not support automapped pages in production modes
Date Thu, 15 Jul 2010 12:01:53 GMT

     [ https://issues.apache.org/jira/browse/CLK-639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

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: https://issues.apache.org/jira/browse/CLK-639
>             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="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