ICEfaces
  1. ICEfaces
  2. ICE-9268

Make portlet tutorial conform to others' practices

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.3
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      portlet-dnd-tutorial

      Description

      In the tutorial code, try to make the web.xml and faces-config.xml be like all the other ones, in that this is an ace-push tutorial like fileEntry-callback-tutorial. Then add any portlet specific parts to them.

      In the wiki page:

      http://www.icesoft.org/wiki/display/ICE/Inter-portlet+Drag+and+Drop

      - Explicitly state window scope is shared between portlets and view scope is per portlet

      - State how the steps: 1. src portlet executes draggable.dragStartListener, 2. dest portlet executes droppable.dropListener, and renders itself, 3. the dropListener kicks off a push for rendering src portlet

      - Explain all the properties used in draggable and droppable, in what they're doing in this tutorial

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #35012 Tue May 14 09:51:29 MDT 2013 art.zambrano ICE-9268 removed push from the drop portlets and used ajax instead; moved the removal from the original list from the data object to the drop bean, by adding a reference to the original list in the window-scoped bean
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/tutorials/portlet-dnd-tutorial/src/main/webapp/drop2.xhtml
        Commit graph MODIFY /icefaces3/trunk/icefaces/tutorials/portlet-dnd-tutorial/src/main/webapp/drop1.xhtml
        Commit graph MODIFY /icefaces3/trunk/icefaces/tutorials/portlet-dnd-tutorial/src/main/java/org/icefaces/tutorial/portletdndtutorial/Item.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/tutorials/portlet-dnd-tutorial/src/main/java/org/icefaces/tutorial/portletdndtutorial/DroppableBean.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/tutorials/portlet-dnd-tutorial/src/main/java/org/icefaces/tutorial/portletdndtutorial/DraggableBean.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/tutorials/portlet-dnd-tutorial/src/main/java/org/icefaces/tutorial/portletdndtutorial/WindowScopedBean.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #35006 Mon May 13 19:33:23 MDT 2013 art.zambrano ICE-9268 made web.xml and faces-config.xml be like those files of other tutorials; modified bean classes to avoid using annotations and registered managed beans and managed properties in faces-config.xml
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/tutorials/portlet-dnd-tutorial/src/main/java/org/icefaces/tutorial/portletdndtutorial/DroppableBean.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/tutorials/portlet-dnd-tutorial/src/main/webapp/WEB-INF/web.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/tutorials/portlet-dnd-tutorial/src/main/java/org/icefaces/tutorial/portletdndtutorial/DraggableBean.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/tutorials/portlet-dnd-tutorial/src/main/java/org/icefaces/tutorial/portletdndtutorial/WindowScopedBean.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/tutorials/portlet-dnd-tutorial/src/main/webapp/WEB-INF/faces-config.xml

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: