ICEmobile
  1. ICEmobile
  2. MOBI-263

Seam 2.3 compatibility with ICEmobile

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1 Final
    • Fix Version/s: 1.4 Beta
    • Component/s: Faces
    • Labels:
      None
    • Environment:
      ICEmobile trunk, Seam 2.3.0beta2, JBoss AS 7.1.1

      Description


      Seam 2.3 compatibility with ICEmobile is desired.

        Activity

        Hide
        Ted Goddard added a comment -

        A simple ICEmobile page has been added to the Seam booking example, tested on JBoss AS 7.1.1

        http://localhost:8080/seam-booking
        http://localhost:8080/seam-booking/camera.seam

        ICEfaces was configured to not render on all pages:

        <context-param>
        <param-name>org.icefaces.render.auto</param-name>
        <param-value>false</param-value>
        </context-param>

        but render on camera.seam:

        <icecore:config render="true"/>

        Beans were managed by JSF, so a more interesting test would continue with application changes that used Seam dependency injection for the ICEmobile pages.

        Results were mixed:

        <mobi:deviceStylesheet> and <mobi:dateSpinner> worked as desired. However, the image uploaded by camera component was null. The most likely cause is a Seam filter interfering with the multipart upload extraction.

        Show
        Ted Goddard added a comment - A simple ICEmobile page has been added to the Seam booking example, tested on JBoss AS 7.1.1 http://localhost:8080/seam-booking http://localhost:8080/seam-booking/camera.seam ICEfaces was configured to not render on all pages: <context-param> <param-name>org.icefaces.render.auto</param-name> <param-value>false</param-value> </context-param> but render on camera.seam: <icecore:config render="true"/> Beans were managed by JSF, so a more interesting test would continue with application changes that used Seam dependency injection for the ICEmobile pages. Results were mixed: <mobi:deviceStylesheet> and <mobi:dateSpinner> worked as desired. However, the image uploaded by camera component was null. The most likely cause is a Seam filter interfering with the multipart upload extraction.
        Hide
        Ted Goddard added a comment -

        Under consideration for EE 1.1 based on customer demand.

        Show
        Ted Goddard added a comment - Under consideration for EE 1.1 based on customer demand.
        Hide
        Ted Goddard added a comment - - edited

        Seam 2.3 does not appear to be processing components.xml as expected:
        The documented form of disabling multipart-filter is not working:
        <!--
        <web:multipart-filter disabled="true"/>
        -->
        But the following is:
        <component class="org.jboss.seam.web.MultipartFilter">
        <property name="disabled">true</property>
        </component>

        Show
        Ted Goddard added a comment - - edited Seam 2.3 does not appear to be processing components.xml as expected: The documented form of disabling multipart-filter is not working: <!-- <web:multipart-filter disabled="true"/> --> But the following is: <component class="org.jboss.seam.web.MultipartFilter"> <property name="disabled">true</property> </component>
        Hide
        Ted Goddard added a comment - - edited

        source code tree to build under seam 2.3 examples

        Show
        Ted Goddard added a comment - - edited source code tree to build under seam 2.3 examples

          People

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

            Dates

            • Created:
              Updated: