Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha3
    • Fix Version/s: 2.0.1
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces
    • Affects:
      Sample App./Tutorial

      Description

      Port WebMC to ICEfaces 2.0.

        Issue Links

          Activity

          Hide
          Ted Goddard added a comment -

          This application has been ported with no known issues other than ICE-5090. It may be useful even for Alpha3 testing. I will run the application against the current ICEfaces 2.0 trunk.

          Show
          Ted Goddard added a comment - This application has been ported with no known issues other than ICE-5090 . It may be useful even for Alpha3 testing. I will run the application against the current ICEfaces 2.0 trunk.
          Hide
          Ted Goddard added a comment -

          New build structure does not support application-specific lib directory. Copy webmc/lib/* icefaces/lib.

          Show
          Ted Goddard added a comment - New build structure does not support application-specific lib directory. Copy webmc/lib/* icefaces/lib.
          Hide
          Ted Goddard added a comment -

          *.properties files are not being copied by the build

          Show
          Ted Goddard added a comment - *.properties files are not being copied by the build
          Hide
          Ted Goddard added a comment -

          Many .xhtml files required the addition of

          <div xmlns="http://www.w3.org/1999/xhtml"

          or the message "Warning: This page calls for XML namespace declared with prefix div but no taglibrary exists for that namespace" would be displayed on initial page load.

          Show
          Ted Goddard added a comment - Many .xhtml files required the addition of <div xmlns="http://www.w3.org/1999/xhtml" or the message "Warning: This page calls for XML namespace declared with prefix div but no taglibrary exists for that namespace" would be displayed on initial page load.
          Hide
          Ken Fyten added a comment -

          Art, have a go at completing the porting the WebMC project to ICEfaces 2. See the SVN Commits tab for the svn location being used.

          Also, the new ace:fileEntry component will need to be adopted into the app instead of the old ice:inputFile.

          Show
          Ken Fyten added a comment - Art, have a go at completing the porting the WebMC project to ICEfaces 2. See the SVN Commits tab for the svn location being used. Also, the new ace:fileEntry component will need to be adopted into the app instead of the old ice:inputFile.
          Hide
          Ted Goddard added a comment -

          Workaround for fileEntry on JSF 2.0.3 only:

          Index: src/main/java/com/icesoft/faces/presenter/participant/Participant.java
          ===================================================================
          — src/main/java/com/icesoft/faces/presenter/participant/Participant.java (revision 23805)
          +++ src/main/java/com/icesoft/faces/presenter/participant/Participant.java (working copy)
          @@ -86,7 +86,7 @@
          private HtmlInputText chatMessageField = null;
          private boolean moderatorDialog = false;
          private boolean confirmDialog = false;

          • private boolean uploadDialog = true;
            + private boolean uploadDialog = false;
            private boolean slideTypePres = true;
            private boolean mobile = false;
            private boolean mobileSniffed = false;
            @@ -463,7 +463,7 @@
            if (isModerator()) { presentation = presentationManager .createPresentation(this, loginBean.getPresentationName()); - uploadDialog = true; + uploadDialog = false; }

            else {
            presentation = presentationManager
            .getPresentation(loginBean.getPresentationName());
            Index: src/main/webapp/WEB-INF/inc/main.xhtml
            ===================================================================

              • src/main/webapp/WEB-INF/inc/main.xhtml (revision 23805)
                +++ src/main/webapp/WEB-INF/inc/main.xhtml (working copy)
                @@ -65,7 +65,6 @@
                </div>
                </ice:form>
          • <ui:include src="upload.xhtml" />

          <ice:panelGroup rendered="#

          {!participant.mobile}

          "
          styleClass="footerBar">
          Index: src/main/webapp/webmc.xhtml
          ===================================================================
          — src/main/webapp/webmc.xhtml (revision 23805)
          +++ src/main/webapp/webmc.xhtml (working copy)
          @@ -64,5 +64,6 @@
          <ui:include src="#

          {participant.loggedIn?'WEB-INF/inc/main.xhtml':'WEB-INF/inc/login.xhtml'}

          "/>

          </div>
          + <ui:include src="WEB-INF/inc/upload.xhtml" />
          </h:body>
          </html>
          Index: build.xml
          ===================================================================
          — build.xml (revision 23805)
          +++ build.xml (working copy)
          @@ -26,7 +26,7 @@
          <property name="compat" value="" />
          <property name="lib" location="./lib"/>

          • <property name="icefaces.base.dir" location="../../../icefaces2/trunk/icefaces"/>
            + <property name="icefaces.base.dir" location="../../../"/>
            <property name="lib.dir" location="$ {icefaces.base.dir}

            /lib"/>
            <!--
            <property name="lib.myfaces.dir" location="$

            {lib.dir}

            /myfaces"/>

          Show
          Ted Goddard added a comment - Workaround for fileEntry on JSF 2.0.3 only: Index: src/main/java/com/icesoft/faces/presenter/participant/Participant.java =================================================================== — src/main/java/com/icesoft/faces/presenter/participant/Participant.java (revision 23805) +++ src/main/java/com/icesoft/faces/presenter/participant/Participant.java (working copy) @@ -86,7 +86,7 @@ private HtmlInputText chatMessageField = null; private boolean moderatorDialog = false; private boolean confirmDialog = false; private boolean uploadDialog = true; + private boolean uploadDialog = false; private boolean slideTypePres = true; private boolean mobile = false; private boolean mobileSniffed = false; @@ -463,7 +463,7 @@ if (isModerator()) { presentation = presentationManager .createPresentation(this, loginBean.getPresentationName()); - uploadDialog = true; + uploadDialog = false; } else { presentation = presentationManager .getPresentation(loginBean.getPresentationName()); Index: src/main/webapp/WEB-INF/inc/main.xhtml =================================================================== src/main/webapp/WEB-INF/inc/main.xhtml (revision 23805) +++ src/main/webapp/WEB-INF/inc/main.xhtml (working copy) @@ -65,7 +65,6 @@ </div> </ice:form> <ui:include src="upload.xhtml" /> <ice:panelGroup rendered="# {!participant.mobile} " styleClass="footerBar"> Index: src/main/webapp/webmc.xhtml =================================================================== — src/main/webapp/webmc.xhtml (revision 23805) +++ src/main/webapp/webmc.xhtml (working copy) @@ -64,5 +64,6 @@ <ui:include src="# {participant.loggedIn?'WEB-INF/inc/main.xhtml':'WEB-INF/inc/login.xhtml'} "/> </div> + <ui:include src="WEB-INF/inc/upload.xhtml" /> </h:body> </html> Index: build.xml =================================================================== — build.xml (revision 23805) +++ build.xml (working copy) @@ -26,7 +26,7 @@ <property name="compat" value="" /> <property name="lib" location="./lib"/> <property name="icefaces.base.dir" location="../../../icefaces2/trunk/icefaces"/> + <property name="icefaces.base.dir" location="../../../"/> <property name="lib.dir" location="$ {icefaces.base.dir} /lib"/> <!-- <property name="lib.myfaces.dir" location="$ {lib.dir} /myfaces"/>

            People

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

              Dates

              • Created:
                Updated:
                Resolved: