ICEmobile
  1. ICEmobile
  2. MOBI-260

Identify Improvements in component implementation strategies for multple platforms.

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1 Beta, Spring 1.0 Alpha
    • Fix Version/s: 1.2 Beta
    • Component/s: Faces, Spring
    • Labels:
      None
    • Environment:
      ICEmobile development for JSF and Spring-MVC

      Description

      Porting the existing JSF components to a Spring-MVC based was harder than it ought to have been.

       Reverse engineering the markup is not great because it's not clear which fields are missing, given the current configuration. Reverse engineering the rendering code is not ideal because the Tag structure isn't mapped one-to-one to the same functional blocks as a JSF renderer. Comparing the actual output with the intended output repeatedly as a development process is very slow.

      Here is the output from the JSF accordion Renderer. This is easier than the Tabset, but still complicated:

      <div id="ACCID" class="mobi-accordion" data-opened="tab1">
                      
        <section id="tab1" class="open">
          <div class="handle" onclick="ice.mobi.accordionController.toggleClient('ACCID', this, false);">
            <div class="pointer">&#9658;</div>First drop down item
          </div>
          <input name='submitB' class='mobi-button mobi-button-important' type='submit' value='Button 1'/>
        </section>
        <section id="tab2" class="closed">
          <div class="handle" onclick="ice.mobi.accordionController.toggleClient('ACCID', this, false);">
            <div class="pointer">&#9658;</div>Second drop down item
          </div>
          <input name='submitC' class='mobi-button mobi-button-important' type='submit' value='Button 2'/>
        </section>
        <section id="tab3" class="closed">
          <div class="handle" onclick="ice.mobi.accordionController.toggleClient('ACCID', this, false);">
            <div class="pointer">&#9658;</div>Third drop down item
          </div>
          <input name='submitA' class='mobi-button mobi-button-important' type='submit' value='Button 3'/>
        </section>
                      
      </div>
      <span id="ACCID_script">
        <script type="text/javascript"> ice.mobi.accordionController.initClient('ACCID',{ autoheight: true, maxheight: '0'});</script></span>

        Issue Links

          Activity

          Greg Dick created issue -
          Greg Dick made changes -
          Field Original Value New Value
          Assignee Steve Maryka [ steve.maryka ] Greg Dick [ greg.dick ]
          Ted Goddard made changes -
          Fix Version/s 1.2 Beta [ 10344 ]
          Philip Breau made changes -
          Link This issue depends on MOBI-307 [ MOBI-307 ]
          Philip Breau made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Greg Dick
              Reporter:
              Greg Dick
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: