ICEmobile
  1. ICEmobile
  2. MOBI-672

Client side api for contentStack using core rendering for JSP as well as JSF implementation

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3 Beta
    • Fix Version/s: 1.4 Beta
    • Component/s: Faces, Spring
    • Labels:
      None
    • Environment:
      icemobile jsf jsp

      Description

      api would include
      init
      selectPane
      updateProperties
      previous (for back button support).

      JSP will allow contentPane tag similar to JSF which will allow "client" true ( no facelet attribute)
      Needs to know the id's (and JSF clientId's) of it's contentPane children for client side support.

      would also support <mobi:transition> for commandButton to be able to interact with this api (initially)> will create jira for mobi:transition tag using jsf @ClientBehavior support. JSP will come later once this is implemented and functional

        Issue Links

          Activity

          Hide
          Judy Guglielmin added a comment - - edited

          to implement mobi:transition, it would need to be a child of a UICommand like commandButton or contentMenuItem.
          It would need to link in with existing support for mobi:ajax

          <mobi:commandButton id="button1" value="Menu">
             <mobi:transition stack="stack1" paneTo="pane1" transition="slideLeft"/>
             <mobi:ajax execute="@this" render="@all"/>  <!-- will be ignored if paneTo has client="true" -->
          </mobi:commandButton>
          
          <mobi:contentStack id="stack1">
              <mobi:contentPane id="pane1" client="true">
                 <mobi:contentStackMenu>
                    <mobi:contentMenuItemGroup label="PaneGroup">  <!--new implementation as easier to do accordion style-->
                       <mobi:contentMenuItem value="pane1" label="panel1">
                            <mobi:transition stack="stack1" paneTo="pane1" transition="slideRight"/>
            ,               <mobi:ajax execute="@this" render="@all"/>  <!-- will be ignored if paneTo has client="true" -->
                       </mobi:contentMenuItem>
                       <mobi:contentMenuItem value="pane2" label="panel2"  singleSubmit="true" >
                            <mobi:transition stack="stack1" paneTo="pane1" transition="slideLeft"/>
                       </mobi:contentMenuItem>
                    </mobi:contentMenuItemGroup>
                    <mobi:contentMenuItemGroup label="LinkGroup">   
                       <mobi:contentMenuItem value="http://www.icesoft.org" label="
                     </mobi:contentMenuItemGroup>       
                 </mobi:contentStackMenu>
              </mobi:contentPane>
              <mobi:contentPane id="pane2" client="true">
                   <h3> some stuff </h3>
              </mobi:contentPane>
          </mobi:contentStack>
          

          In JSP, could have

          Show
          Judy Guglielmin added a comment - - edited to implement mobi:transition, it would need to be a child of a UICommand like commandButton or contentMenuItem. It would need to link in with existing support for mobi:ajax <mobi:commandButton id= "button1" value= "Menu" > <mobi:transition stack= "stack1" paneTo= "pane1" transition= "slideLeft" /> <mobi:ajax execute= "@ this " render= "@all" /> <!-- will be ignored if paneTo has client= " true " --> </mobi:commandButton> <mobi:contentStack id= "stack1" > <mobi:contentPane id= "pane1" client= " true " > <mobi:contentStackMenu> <mobi:contentMenuItemGroup label= "PaneGroup" > <!-- new implementation as easier to do accordion style--> <mobi:contentMenuItem value= "pane1" label= "panel1" > <mobi:transition stack= "stack1" paneTo= "pane1" transition= "slideRight" /> , <mobi:ajax execute= "@ this " render= "@all" /> <!-- will be ignored if paneTo has client= " true " --> </mobi:contentMenuItem> <mobi:contentMenuItem value= "pane2" label= "panel2" singleSubmit= " true " > <mobi:transition stack= "stack1" paneTo= "pane1" transition= "slideLeft" /> </mobi:contentMenuItem> </mobi:contentMenuItemGroup> <mobi:contentMenuItemGroup label= "LinkGroup" > <mobi:contentMenuItem value= "http: //www.icesoft.org" label=" </mobi:contentMenuItemGroup> </mobi:contentStackMenu> </mobi:contentPane> <mobi:contentPane id= "pane2" client= " true " > <h3> some stuff </h3> </mobi:contentPane> </mobi:contentStack> In JSP, could have
          Hide
          Judy Guglielmin added a comment -

          ensure that contentStack can be encompassed within single form (watch the findComponent returning null)

          Show
          Judy Guglielmin added a comment - ensure that contentStack can be encompassed within single form (watch the findComponent returning null)

            People

            • Assignee:
              Unassigned
              Reporter:
              Judy Guglielmin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: