Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3 Final
    • Component/s: Faces
    • Labels:
      None
    • Environment:
      ICEmobile, MyFaces

      Description

      ICEmobile should support MyFaces.

        Issue Links

          Activity

          Ted Goddard created issue -
          Hide
          Ted Goddard added a comment -

          ICEmobile requires update to trunk version of ICEfaces. This resolves Exception on startup java.lang.NoSuchMethodError: org.icefaces.util.EnvUtils.getWarnBeforeExpiryInterval(Ljavax/faces/context/FacesContext;)J

          Show
          Ted Goddard added a comment - ICEmobile requires update to trunk version of ICEfaces. This resolves Exception on startup java.lang.NoSuchMethodError: org.icefaces.util.EnvUtils.getWarnBeforeExpiryInterval(Ljavax/faces/context/FacesContext;)J
          Hide
          Ted Goddard added a comment -

          MyFaces is sensitive to duplicate IDs, such as in WEB-INF/includes/view/small.xhtml and WEB-INF/includes/content/content-stack.xhtml ("menu"). These must be fixed in the demo.

          Some resource paths containing "/" are not functional under MyFaces.

          The augmented reality demo then was functional with no JavaScript conflict. It is possible that MyFaces maintains the same internal context object as mojarra. The multipart file upload from the chrome browser was also functional.

          Show
          Ted Goddard added a comment - MyFaces is sensitive to duplicate IDs, such as in WEB-INF/includes/view/small.xhtml and WEB-INF/includes/content/content-stack.xhtml ("menu"). These must be fixed in the demo. Some resource paths containing "/" are not functional under MyFaces. The augmented reality demo then was functional with no JavaScript conflict. It is possible that MyFaces maintains the same internal context object as mojarra. The multipart file upload from the chrome browser was also functional.
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #34660 Thu May 02 09:25:50 MDT 2013 ted.goddard adding mojarra subdirectory (MOBI-715)
          Files Changed
          Commit graph ADD /icemobile/trunk/icemobile/lib/mojarra
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #34661 Thu May 02 09:26:11 MDT 2013 ted.goddard adding myfaces subdirectory (MOBI-715)
          Files Changed
          Commit graph ADD /icemobile/trunk/icemobile/lib/myfaces
          Hide
          Philip Breau added a comment -

          MyFaces also seems to have an issue with auto-generated ids:

          java.lang.IllegalStateException: component with duplicate id "j_id_31" found
          at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIds(CheckDuplicateIdFaceletUtils.java:100)
          at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIds(CheckDuplicateIdFaceletUtils.java:116)
          at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIds(CheckDuplicateIdFaceletUtils.java:116)
          at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIds(CheckDuplicateIdFaceletUtils.java:82)
          at org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.saveView(DefaultFaceletsStateManagementStrategy.java:536)
          at org.apache.myfaces.application.StateManagerImpl.saveView(StateManagerImpl.java:188)
          at javax.faces.application.StateManager.getViewState(StateManager.java:253)
          at org.icefaces.impl.context.DOMPartialViewContext.renderState(DOMPartialViewContext.java:619)
          at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:247)
          at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:408)
          at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:532)
          at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:1981)
          at org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
          at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116)
          at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:241)
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:199)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
          at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
          at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
          at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
          at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1812)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
          at java.lang.Thread.run(Thread.java:662)
          2-May-2013 1:46:10 PM org.icefaces.impl.application.ExtendedExceptionHandler handle

          Show
          Philip Breau added a comment - MyFaces also seems to have an issue with auto-generated ids: java.lang.IllegalStateException: component with duplicate id "j_id_31" found at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIds(CheckDuplicateIdFaceletUtils.java:100) at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIds(CheckDuplicateIdFaceletUtils.java:116) at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIds(CheckDuplicateIdFaceletUtils.java:116) at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIds(CheckDuplicateIdFaceletUtils.java:82) at org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.saveView(DefaultFaceletsStateManagementStrategy.java:536) at org.apache.myfaces.application.StateManagerImpl.saveView(StateManagerImpl.java:188) at javax.faces.application.StateManager.getViewState(StateManager.java:253) at org.icefaces.impl.context.DOMPartialViewContext.renderState(DOMPartialViewContext.java:619) at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:247) at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:408) at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:532) at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:1981) at org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285) at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:241) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:199) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1812) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) 2-May-2013 1:46:10 PM org.icefaces.impl.application.ExtendedExceptionHandler handle
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #34669 Thu May 02 10:51:36 MDT 2013 philip.breau MOBI-715 MyFaces Support
          - add web.xml and remove dup menu id
          - also clean up mobileshowcase entry points
          Files Changed
          Commit graph DEL /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/WEB-INF/includes/view/small-navbar.xhtml
          Commit graph MODIFY /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/WEB-INF/web.xml
          Commit graph DEL /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/WEB-INF/includes/view/small.xhtml
          Commit graph DEL /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/WEB-INF/includes/view/small-pagepanel.xhtml
          Commit graph DEL /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/showcase-pagepanel.xhtml
          Commit graph DEL /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/showcase-navbar.xhtml
          Commit graph DEL /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/showcase-android.xhtml
          Commit graph MODIFY /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/WEB-INF/includes/content/content-stack.xhtml
          Commit graph MODIFY /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/showcase-small.xhtml
          Commit graph DEL /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/showcase-iscroll.xhtml
          Commit graph MODIFY /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/showcase.xhtml
          Commit graph DEL /icemobile/trunk/icemobile/samples/mobileshowcase/src/main/webapp/showcase-notransitions.xhtml
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #34675 Thu May 02 12:49:35 MDT 2013 ted.goddard option to build icemobile with MyFaces (MOBI-715)
          Files Changed
          Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/tests/build-common.xml
          Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/tests/mobitest/src/main/java/org/icefaces/mobile/CameraBean.java
          Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/build.xml
          Commit graph MODIFY /icemobile/trunk/icemobile/samples/build/common-jsf.xml
          Commit graph MODIFY /icemobile/trunk/icemobile/core/build.xml
          Commit graph MODIFY /icemobile/trunk/icemobile/build.xml
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #34682 Thu May 02 14:39:47 MDT 2013 ted.goddard option to build icemobile with MyFaces (MOBI-715)
          Files Changed
          Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/build.xml
          Commit graph MODIFY /icemobile/trunk/icemobile/build.xml
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #34688 Thu May 02 15:09:48 MDT 2013 ted.goddard option to build icemobile with MyFaces (MOBI-715)
          Files Changed
          Commit graph MODIFY /icemobile/trunk/icemobile/samples/build/common-jsf.xml
          Hide
          Ted Goddard added a comment -

          There appear to be differences in how managed bean injection functions under MyFaces. The following change allows a photo upload in Mediacast to succeed:

          @ManagedBean(name = MediaController.BEAN_NAME)
          -@ViewScoped
          +@SessionScoped
          public class MediaController implements Serializable {

          After that, a duplicate ID occurrs:

          java.lang.IllegalStateException: component with duplicate id "frm:j_id_2l_1" found
          at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIds(CheckDuplicateIdFaceletUtils.java:100)
          at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIds(CheckDuplicateIdFaceletUtils.java:116)

          Show
          Ted Goddard added a comment - There appear to be differences in how managed bean injection functions under MyFaces. The following change allows a photo upload in Mediacast to succeed: @ManagedBean(name = MediaController.BEAN_NAME) -@ViewScoped +@SessionScoped public class MediaController implements Serializable { After that, a duplicate ID occurrs: java.lang.IllegalStateException: component with duplicate id "frm:j_id_2l_1" found at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIds(CheckDuplicateIdFaceletUtils.java:100) at org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIds(CheckDuplicateIdFaceletUtils.java:116)
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #34689 Thu May 02 15:48:27 MDT 2013 ted.goddard ui:repeat appears more compatible with MyFaces (MOBI-715)
          Files Changed
          Commit graph MODIFY /icemobile/trunk/icemobile/samples/mediacast/src/main/webapp/WEB-INF/includes/views/large.xhtml
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #34690 Thu May 02 16:09:57 MDT 2013 ted.goddard option to build icemobile with MyFaces (MOBI-715)
          Files Changed
          Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/tests/build-common.xml
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #34691 Thu May 02 16:12:03 MDT 2013 ted.goddard removing javax.faces.jar to allow for myfaces/mojarra (MOBI-715)
          Files Changed
          Commit graph DEL /icemobile/trunk/icemobile/lib/javax.faces.jar
          Hide
          Ted Goddard added a comment -

          Duplicate IDs occur with the navigation controls in mobileshowcase (perhaps due to MyFaces interaction with ContentStack) so further testing has been done with pages split out. They were created as follows:

          #!/bin/zsh
          #working directory icemobile/samples/mobileshowcase/src/main/webapp
          for fyle in WEB-INF/includes/examples//-example.xhtml
          do
          prefix=$

          {fyle%%-example.xhtml}

          ; name=$

          {prefix##*/}

          echo $fyle $

          {name}.xhtml
          cat pre.txt >${name}

          .xhtml
          echo '<ui:include src="'$

          {fyle}

          '">' >>$

          {name}.xhtml
          cat post.txt >>${name}

          .xhtml
          done

          pre.txt:

          <!DOCTYPE html >
          <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:util="http://java.sun.com/jsf/composite/components"
          xmlns:mobi="http://www.icesoft.com/icefaces/mobile/component"
          xmlns:icecore="http://www.icefaces.org/icefaces/core"
          xmlns:c="http://java.sun.com/jsp/jstl/core">
          <h:head>
          <title>ICEfaces Mobile Showcase</title>
          <mobi:deviceResource theme="#

          {themeBean.currentTheme}

          "/>
          <h:outputStylesheet library="css" name="showcase.css" media="screen"/>
          </h:head>
          <h:body>
          <style type="text/css" id="themebuilder"></style>

          post.txt:

          <ui:param name="viewSize" value="large" />
          </ui:include>

          </h:body>
          </html>

          WEB-INF/includes/examples/device/camcorder-example.xhtml camcorder.xhtml
          WEB-INF/includes/examples/device/camera-example.xhtml camera.xhtml
          WEB-INF/includes/examples/device/contactlist-example.xhtml contactlist.xhtml
          WEB-INF/includes/examples/device/microphone-example.xhtml microphone.xhtml
          WEB-INF/includes/examples/device/notification-example.xhtml notification.xhtml
          WEB-INF/includes/examples/device/qrcode-example.xhtml qrcode.xhtml
          WEB-INF/includes/examples/device/reality-example.xhtml reality.xhtml
          WEB-INF/includes/examples/input/button-example.xhtml button.xhtml
          WEB-INF/includes/examples/input/date-example.xhtml date.xhtml
          WEB-INF/includes/examples/input/flip-switch-example.xhtml flip-switch.xhtml
          WEB-INF/includes/examples/input/geolocation-example.xhtml geolocation.xhtml
          WEB-INF/includes/examples/input/gmap-example.xhtml gmap.xhtml
          WEB-INF/includes/examples/input/input-example.xhtml input.xhtml
          WEB-INF/includes/examples/input/menubutton-example.xhtml menubutton.xhtml
          WEB-INF/includes/examples/input/submitnotification-example.xhtml submitnotification.xhtml
          WEB-INF/includes/examples/layout/accordion-example.xhtml accordion.xhtml
          WEB-INF/includes/examples/layout/carousel-example.xhtml carousel.xhtml
          WEB-INF/includes/examples/layout/contentstack-example.xhtml contentstack.xhtml
          WEB-INF/includes/examples/layout/dataview-example.xhtml dataview.xhtml
          WEB-INF/includes/examples/layout/fieldset-example.xhtml fieldset.xhtml
          WEB-INF/includes/examples/layout/list-example.xhtml list.xhtml
          WEB-INF/includes/examples/layout/panelconfirmation-example.xhtml panelconfirmation.xhtml
          WEB-INF/includes/examples/layout/panelpopup-example.xhtml panelpopup.xhtml
          WEB-INF/includes/examples/layout/tabset-example.xhtml tabset.xhtml
          WEB-INF/includes/examples/layout/theme-example.xhtml theme.xhtml
          WEB-INF/includes/examples/media/audio-example.xhtml audio.xhtml
          WEB-INF/includes/examples/media/image-example.xhtml image.xhtml
          WEB-INF/includes/examples/media/video-example.xhtml video.xhtml

          Show
          Ted Goddard added a comment - Duplicate IDs occur with the navigation controls in mobileshowcase (perhaps due to MyFaces interaction with ContentStack) so further testing has been done with pages split out. They were created as follows: #!/bin/zsh #working directory icemobile/samples/mobileshowcase/src/main/webapp for fyle in WEB-INF/includes/examples/ / -example.xhtml do prefix=$ {fyle%%-example.xhtml} ; name=$ {prefix##*/} echo $fyle $ {name}.xhtml cat pre.txt >${name} .xhtml echo '<ui:include src="'$ {fyle} '">' >>$ {name}.xhtml cat post.txt >>${name} .xhtml done pre.txt: <!DOCTYPE html > <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:util="http://java.sun.com/jsf/composite/components" xmlns:mobi="http://www.icesoft.com/icefaces/mobile/component" xmlns:icecore="http://www.icefaces.org/icefaces/core" xmlns:c="http://java.sun.com/jsp/jstl/core"> <h:head> <title>ICEfaces Mobile Showcase</title> <mobi:deviceResource theme="# {themeBean.currentTheme} "/> <h:outputStylesheet library="css" name="showcase.css" media="screen"/> </h:head> <h:body> <style type="text/css" id="themebuilder"></style> post.txt: <ui:param name="viewSize" value="large" /> </ui:include> </h:body> </html> WEB-INF/includes/examples/device/camcorder-example.xhtml camcorder.xhtml WEB-INF/includes/examples/device/camera-example.xhtml camera.xhtml WEB-INF/includes/examples/device/contactlist-example.xhtml contactlist.xhtml WEB-INF/includes/examples/device/microphone-example.xhtml microphone.xhtml WEB-INF/includes/examples/device/notification-example.xhtml notification.xhtml WEB-INF/includes/examples/device/qrcode-example.xhtml qrcode.xhtml WEB-INF/includes/examples/device/reality-example.xhtml reality.xhtml WEB-INF/includes/examples/input/button-example.xhtml button.xhtml WEB-INF/includes/examples/input/date-example.xhtml date.xhtml WEB-INF/includes/examples/input/flip-switch-example.xhtml flip-switch.xhtml WEB-INF/includes/examples/input/geolocation-example.xhtml geolocation.xhtml WEB-INF/includes/examples/input/gmap-example.xhtml gmap.xhtml WEB-INF/includes/examples/input/input-example.xhtml input.xhtml WEB-INF/includes/examples/input/menubutton-example.xhtml menubutton.xhtml WEB-INF/includes/examples/input/submitnotification-example.xhtml submitnotification.xhtml WEB-INF/includes/examples/layout/accordion-example.xhtml accordion.xhtml WEB-INF/includes/examples/layout/carousel-example.xhtml carousel.xhtml WEB-INF/includes/examples/layout/contentstack-example.xhtml contentstack.xhtml WEB-INF/includes/examples/layout/dataview-example.xhtml dataview.xhtml WEB-INF/includes/examples/layout/fieldset-example.xhtml fieldset.xhtml WEB-INF/includes/examples/layout/list-example.xhtml list.xhtml WEB-INF/includes/examples/layout/panelconfirmation-example.xhtml panelconfirmation.xhtml WEB-INF/includes/examples/layout/panelpopup-example.xhtml panelpopup.xhtml WEB-INF/includes/examples/layout/tabset-example.xhtml tabset.xhtml WEB-INF/includes/examples/layout/theme-example.xhtml theme.xhtml WEB-INF/includes/examples/media/audio-example.xhtml audio.xhtml WEB-INF/includes/examples/media/image-example.xhtml image.xhtml WEB-INF/includes/examples/media/video-example.xhtml video.xhtml
          Hide
          Ted Goddard added a comment -

          camcorder.xhtml

          • works

          camera.xhtml

          • works

          contactlist.xhtml

          • works

          microphone.xhtml

          • works

          notification.xhtml

          • works (cloud push not tested)

          qrcode.xhtml

          • works

          reality.xhtml

          • works, however images with images/auction in library name were not loaded

          button.xhtml

          • works

          date.xhtml

          • works

          flip-switch.xhtml

          • works, but renders extra copies of flipswitch at page bottom

          geolocation.xhtml

          • works

          gmap.xhtml

          • map not displayed; however test page lacked reference to google javascript

          input.xhtml

          • works

          menubutton.xhtml

          • works

          submitnotification.xhtml

          • blocking dialog did not disappear

          accordion.xhtml

          • works

          carousel.xhtml

          • works (page updated blinked)

          contentstack.xhtml

          • neither the buttons nor the selectone updates the page correctly
          • reloading the page shows the expected state
          • this is likely the root cause of the main demo issues

          dataview.xhtml

          • works (row selection does not remain visible)

          fieldset.xhtml

          • works

          list.xhtml

          • works

          panelconfirmation.xhtml

          • works

          panelpopup.xhtml

          • works

          tabset.xhtml

          • works

          audio.xhtml

          • works

          image.xhtml

          • works

          video.xhtml

          • works
          Show
          Ted Goddard added a comment - camcorder.xhtml works camera.xhtml works contactlist.xhtml works microphone.xhtml works notification.xhtml works (cloud push not tested) qrcode.xhtml works reality.xhtml works, however images with images/auction in library name were not loaded button.xhtml works date.xhtml works flip-switch.xhtml works, but renders extra copies of flipswitch at page bottom geolocation.xhtml works gmap.xhtml map not displayed; however test page lacked reference to google javascript input.xhtml works menubutton.xhtml works submitnotification.xhtml blocking dialog did not disappear accordion.xhtml works carousel.xhtml works (page updated blinked) contentstack.xhtml neither the buttons nor the selectone updates the page correctly reloading the page shows the expected state this is likely the root cause of the main demo issues dataview.xhtml works (row selection does not remain visible) fieldset.xhtml works list.xhtml works panelconfirmation.xhtml works panelpopup.xhtml works tabset.xhtml works audio.xhtml works image.xhtml works video.xhtml works
          Ted Goddard made changes -
          Field Original Value New Value
          Link This issue is duplicated by MOBI-696 [ MOBI-696 ]
          Hide
          Ted Goddard added a comment -

          Removing facelet="true" from contentStack appears to resolve the component duplication issue.

          Show
          Ted Goddard added a comment - Removing facelet="true" from contentStack appears to resolve the component duplication issue.
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #34751 Mon May 06 15:33:52 MDT 2013 ted.goddard ui:repeat and SessionScope for MyFaces (MOBI-715)
          Files Changed
          Commit graph MODIFY /icemobile/trunk/icemobile/samples/mediacast/src/main/java/org/icemobile/samples/mediacast/MediaController.java
          Commit graph MODIFY /icemobile/trunk/icemobile/samples/mediacast/src/main/webapp/WEB-INF/includes/content/media-viewer.xhtml
          Hide
          Ted Goddard added a comment -

          The following was mistakenly checked in under MOBI-718:

          
           if (window.addEventListener) {
               window.addEventListener("load",
                       function () {
          -                jsf.getViewState = html5getViewState;
                           if ((undefined !== window.FormData) &&
                                   (undefined === window.ice.mobile) &&
                                   ((undefined === window.clientInformation) ||
          

          Both mojarra and MyFaces now contain serialization code that supports generic input elements. This means that we no longer need to alter jsf.getViewState with html5getViewState.

          Show
          Ted Goddard added a comment - The following was mistakenly checked in under MOBI-718: if (window.addEventListener) { window.addEventListener( "load" , function () { - jsf.getViewState = html5getViewState; if ((undefined !== window.FormData) && (undefined === window.ice.mobile) && ((undefined === window.clientInformation) || Both mojarra and MyFaces now contain serialization code that supports generic input elements. This means that we no longer need to alter jsf.getViewState with html5getViewState.
          Ted Goddard made changes -
          Fix Version/s 1.3 Final [ 10873 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #34898 Wed May 08 13:28:52 MDT 2013 ted.goddard including source attribute in ajax context for myfaces (MOBI-715)
          Files Changed
          Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #34902 Wed May 08 14:40:38 MDT 2013 ted.goddard including source attribute in ajax context for myfaces (MOBI-715)
          Files Changed
          Commit graph MODIFY /icemobile/trunk/icemobile/client/blackberry/container/src/org/icemobile/client/blackberry/blackberry-interface.js
          Commit graph MODIFY /icemobile/trunk/icemobile/client/android/container/assets/icefaces/native-interface.js
          Commit graph MODIFY /icemobile/trunk/icemobile/client/ios/icemobile/Container/native-interface.js
          Hide
          Ted Goddard added a comment -

          The following parameters may resolve the facelet issues with contentStack.

             <context-param>
                 <param-name>org.apache.myfaces.REFRESH_TRANSIENT_BUILD_ON_PSS</param-name>
                 <param-value>true</param-value>
             </context-param>

             <context-param>
                 <param-name>org.apache.myfaces.REFRESH_TRANSIENT_BUILD_ON_PSS_PRESERVE_STATE</param-name>
                 <param-value>true</param-value>
             </context-param>
             
             <context-param>
                 <param-name>org.apache.myfaces.SERIALIZE_STATE_IN_SESSION</param-name>
                 <param-value>false</param-value>
             </context-param>

          Show
          Ted Goddard added a comment - The following parameters may resolve the facelet issues with contentStack.    <context-param>        <param-name>org.apache.myfaces.REFRESH_TRANSIENT_BUILD_ON_PSS</param-name>        <param-value>true</param-value>    </context-param>    <context-param>        <param-name>org.apache.myfaces.REFRESH_TRANSIENT_BUILD_ON_PSS_PRESERVE_STATE</param-name>        <param-value>true</param-value>    </context-param>        <context-param>        <param-name>org.apache.myfaces.SERIALIZE_STATE_IN_SESSION</param-name>        <param-value>false</param-value>    </context-param>
          Ted Goddard made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Ted Goddard added a comment -

          Direct links to individual component demos.

          Show
          Ted Goddard added a comment - Direct links to individual component demos.
          Ted Goddard made changes -
          Attachment debugxhtml.zip [ 16484 ]

            People

            • Assignee:
              Steve Maryka
              Reporter:
              Ted Goddard
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: