ICEfaces
  1. ICEfaces
  2. ICE-846

pages not reloaded until application is reloaded

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.5
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Operating System: Mac OS X 10.0
      Platform: Macintosh

      Description

      If an ICEfaces page of a running application is modified on the filesystem, it is not reloaded. The only way
      to cause a page to be reloaded is to reload the entire application. This makes it cumbersome to make
      small changes to ICEfaces pages during development.

        Activity

        Hide
        Ted Goddard added a comment -

        A new context parameter has been added for placement into web.xml. Specify -1 to cause pages never
        to be reloaded (current behaviour, and probably best performance for a deployed application) or specify
        the reload interval in seconds. Modifications to a page will be checked no more often than the reload
        interval.

        <context-param>
        <param-name>com.icesoft.faces.reloadInterval</param-name>
        <param-value>-1</param-value>
        </context-param>

        This feature has been checked in.

        svn commit src/com/icesoft/faces/application/D2DViewHandler.java -m "reload modified pages (bug
        862)"
        Sending src/com/icesoft/faces/application/D2DViewHandler.java
        Committed revision 10484.

        Show
        Ted Goddard added a comment - A new context parameter has been added for placement into web.xml. Specify -1 to cause pages never to be reloaded (current behaviour, and probably best performance for a deployed application) or specify the reload interval in seconds. Modifications to a page will be checked no more often than the reload interval. <context-param> <param-name>com.icesoft.faces.reloadInterval</param-name> <param-value>-1</param-value> </context-param> This feature has been checked in. svn commit src/com/icesoft/faces/application/D2DViewHandler.java -m "reload modified pages (bug 862)" Sending src/com/icesoft/faces/application/D2DViewHandler.java Committed revision 10484.
        Hide
        Patrick Corless added a comment -

        It appears that the new reload mechanism does not apply to a pages included
        subviews. For example if a component include page is edited it is not reloaded
        when the parent page is.

        This would be really nice feature to have as most of our applications use
        jsf:includes to break up the content.

        Show
        Patrick Corless added a comment - It appears that the new reload mechanism does not apply to a pages included subviews. For example if a component include page is edited it is not reloaded when the parent page is. This would be really nice feature to have as most of our applications use jsf:includes to break up the content.
        Hide
        Ted Goddard added a comment -

        This would require a lot of bookkeeping ... how about "touch main.jsp" or we wait until container-
        managed parsing with JSF 1.2?

        Show
        Ted Goddard added a comment - This would require a lot of bookkeeping ... how about "touch main.jsp" or we wait until container- managed parsing with JSF 1.2?

          People

          • Assignee:
            Unassigned
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: