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

        Mark Collette created issue -
        Mark Collette made changes -
        Field Original Value New Value
        Assignee Arturo Zambrano [ artzambrano ]
        Fix Version/s 3.4 [ 10770 ]
        Mark Collette made changes -
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        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
        Hide
        Arturo Zambrano added a comment -

        Committed improvement at revision 35006 to make web.xml and faces-config.xml be like those files of other tutorials and removed annotations from beans.

        Show
        Arturo Zambrano added a comment - Committed improvement at revision 35006 to make web.xml and faces-config.xml be like those files of other tutorials and removed annotations from beans.
        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
        Hide
        Arturo Zambrano added a comment -

        Committed improvement at revision 35012 to avoid updating the drop portlet with push and simply using ace:ajax instead and to remove the item from the original list in the drop bean instead of doing it in the data object itself.

        Show
        Arturo Zambrano added a comment - Committed improvement at revision 35012 to avoid updating the drop portlet with push and simply using ace:ajax instead and to remove the item from the original list in the drop bean instead of doing it in the data object itself.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 3.3 [ 10370 ]
        Fix Version/s 3.4 [ 10770 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: