You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2010/08/01 21:23:16 UTC

[jira] Resolved: (WICKET-1140) Adding WebPage.html after viewing it once requires restart of servlet container for updates in developer mode.

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

Juergen Donnerstag resolved WICKET-1140.
----------------------------------------

    Resolution: Fixed

Note that this problem ONLY exists for component's extending a base component (markup inheritance). And it only happens if a new markup file is added. Changing an existing one, will enforce a reload.

In 1.5 you can disable Markup caching completely by subclassing MarkupFactory and replacing getMarkupCache() to return null. To avoid any surprise once the markup is more stable, you should enable caching later on.

> Adding WebPage.html after viewing it once requires restart of servlet container for updates in developer mode.
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-1140
>                 URL: https://issues.apache.org/jira/browse/WICKET-1140
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta4
>            Reporter: Sebastiaan van Erk
>            Assignee: Juergen Donnerstag
>            Priority: Minor
>             Fix For: 1.5-M1
>
>
> If you create a WebPage.java (which extends some base page) and view it in the browser, and afterwards add WebPage.html and update the browser (in development mode), the page will not be updated. The only way to get Wicket to see the new WebPage.html file seems to be to restart the servlet container. It would be nice if Wicket saw the newly added html file and updated the page accordingly.

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