ICEfaces
  1. ICEfaces
  2. ICE-6158

Project stage 'Development' interactions result in loss of CSS styling on page or DOM update to body

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta2
    • Fix Version/s: 2.0-Beta2, 2.0.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 2, ACE component environment, PROJECT_STAGE='Development'.
    • Workaround Exists:
      Yes
    • Workaround Description:
      Workaround is to specify 'Production' project_stage.

      Description

      ACE: Validation failures when in project stage 'Development' result in loss of CSS styling on page.

      The style problem is not specific to tabSet, I have verified it by putting dataEntry on the same page. The CSS issue is due to the reason that in showcase web.xml we have project_stage set to development.

      <context-param>
      <param-name>javax.faces.PROJECT_STAGE</param-name>
      <param-value>Development</param-value>
      </context-param>

      It causes to add some fields in the body, which is resulting a body level update, that messing up css.

      Removing above param from web.xml fixes the app, but not a solution.

      So problem is when there is a body level update.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22844 Mon Oct 25 13:31:06 MDT 2010 ted.goddard always render container element for MessagesRenderer (ICE-6158)
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/renderkit/html_basic/MessagesRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22828 Mon Oct 25 08:38:43 MDT 2010 ken.fyten ICE-6158: Set PROJECT_STAGE to 'Production' to avoid CSS styling loss on validation failure.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/ace/samples/showcase/src/main/webapp/WEB-INF/web.xml

          People

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

            Dates

            • Created:
              Updated:
              Resolved: