ICEmobile
  1. ICEmobile
  2. MOBI-515

JSP Carousel cannot bind or submit index

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1 Final
    • Fix Version/s: 1.2 Beta
    • Component/s: Spring
    • Labels:
      None
    • Environment:
      n/a

      Description


      The jsp carousel has no way of binding to a bean property or submitting it's current selected index. The hidden input is updated and submitted with the form post, but this isn't useful to the jsp form post handler.

        Activity

        Migration created issue -
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32122 Mon Nov 12 16:42:08 MST 2012 judy.guglielmin MOBI-515 use "name" attribute of carousel for submit of selectedItem to backing bean in JSP. have to implement getName in jsf Carousel component as hidden field will have correct "name" value encoded for either JSF or JSP
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/icemobilespring/src/main/java/org/icemobile/samples/springbasic/CarouselBean.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/CarouselTag.java
        Commit graph MODIFY /icemobile/trunk/icemobile/core/src/main/java/org/icemobile/renderkit/CarouselCoreRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsp/src/main/resources/META-INF/icemobile.tld
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/carousel/Carousel.java
        Commit graph MODIFY /icemobile/trunk/icemobile/core/src/main/java/org/icemobile/component/ICarousel.java
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/icemobilespring/src/main/webapp/WEB-INF/views/inc/carousel-content.jsp
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32123 Mon Nov 12 17:39:08 MST 2012 philip.breau MOBI-515 use "name" attribute of carousel
        - make carouselBean sessionAttribute
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/icemobilespring/src/main/java/org/icemobile/samples/springbasic/CarouselBean.java
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/icemobilespring/src/main/java/org/icemobile/samples/springbasic/EchoController.java
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/icemobilespring/src/main/webapp/WEB-INF/views/inc/carousel-content.jsp
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32127 Mon Nov 12 22:52:45 MST 2012 judy.guglielmin MOBI-515 instead of scrolling, it now flickers...best I could do for now.
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsp/src/main/javascript/icemobile.js
        Hide
        Judy Guglielmin added a comment - - edited

        requires "name" binding for Spring to bind back the value to the backing bean....since using core rendering must make amenable for both jsf and asp

        Show
        Judy Guglielmin added a comment - - edited requires "name" binding for Spring to bind back the value to the backing bean....since using core rendering must make amenable for both jsf and asp
        Hide
        Judy Guglielmin added a comment - - edited

        rev 32122 has fix. However Spring backing bean is not session scoped so doesn't keep value for example through lifetime of example...may want to put to session scope?

        Show
        Judy Guglielmin added a comment - - edited rev 32122 has fix. However Spring backing bean is not session scoped so doesn't keep value for example through lifetime of example...may want to put to session scope?
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32143 Tue Nov 13 19:07:35 MST 2012 judy.guglielmin MOBI-515 cleanup and disable iScroll when carousel not in document.
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.carousel/carousel.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32216 Sun Nov 18 22:38:31 MST 2012 judy.guglielmin MOBI-515 cleanup into closure to get rid of listener for carousel (icemobilespring) so don't get residual js errors when switching between examples
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsp/src/main/javascript/icemobile.js
        Migration made changes -
        Field Original Value New Value
        Reporter Migration [ remote ] User Philip.breau [ philip.breau ]
        Migration made changes -
        Assignee Steve Maryka [ steve.maryka ] Judy Guglielmin [ judy.guglielmin ]
        Migration made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Philip Breau made changes -
        Fix Version/s 1.2 Beta [ 10344 ]

          People

          • Assignee:
            Judy Guglielmin
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: