ICEfaces
  1. ICEfaces
  2. ICE-2701

New tutorial for common master-detail scenarios

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      All

      Description

      We should create a new tutorial that demonstrates common master-detail scenarios using the ICEfaces components.

      Suggestions for contents include:

      1. dataTable with rowSelector to select "master" record.
      2. detail form updates with selected record details.
      3. user edits, optionally saves detail rows
      4. user selects a different "master" record from dataTable.

      Alternate scenarios:
      - A different component is used for the master list (selectOneMenu, etc.).
      - Both master and detail within the same form and also in separate forms
      - Handling of "dirty" (unsaved) edits on the detail form when the user selects an alternate "master" record to view:
          A - Ignore entered changes and display new master detail.
          B - Save entered changes prior to switching to new master detail (abort change if validation fails)
          C - Prompt the user to save any unsaved changes prior to displaying new master detail (abort change if validation fails)

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31816 Mon Oct 29 12:16:54 MDT 2012 matthew.cowell ICE-2701 - Initialize list to 3, comment clone, use ace instead of h within jsf
        Files Changed
        Commit graph MODIFY /projects/masterDetail/src/main/java/org/demo/model/Person.java
        Commit graph MODIFY /projects/masterDetail/src/main/java/org/demo/DataTableBean.java
        Commit graph MODIFY /projects/masterDetail/src/main/webapp/updateStaff.xhtml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31795 Fri Oct 26 13:01:38 MDT 2012 matthew.cowell ICE-2701 - Formatting / clean up code
        Files Changed
        Commit graph MODIFY /projects/masterDetail/src/main/java/org/demo/DataTableBean.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31794 Fri Oct 26 12:59:52 MDT 2012 matthew.cowell ICE-2701 - updated to use ACE dataTable instead of ICE
        Files Changed
        Commit graph MODIFY /projects/masterDetail/src/main/java/org/demo/model/Person.java
        Commit graph MODIFY /projects/masterDetail/src/main/java/org/demo/DataTableBean.java
        Commit graph MODIFY /projects/masterDetail/src/main/webapp/updateStaff.xhtml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31759 Thu Oct 25 12:51:48 MDT 2012 matthew.cowell ICE-2701 - updated web.xml to remove unnecessary code. changed index to do a redirect rather than a jsp:forward
        Files Changed
        Commit graph MODIFY /projects/masterDetail/src/main/webapp/index.jsp
        Commit graph MODIFY /projects/masterDetail/src/main/webapp/WEB-INF/web.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31757 Thu Oct 25 12:46:32 MDT 2012 matthew.cowell ICE-2701 - reorganized code so we use web instead of WebContent
        Files Changed
        Commit graph ADD /projects/masterDetail/src/main/java/org/demo/model
        Commit graph ADD /projects/masterDetail/src/main/webapp/index.jsp
        Commit graph DEL /projects/masterDetail/src/org
        Commit graph ADD /projects/masterDetail/src/main/java/org/demo/DataTableBean.java
        Commit graph ADD /projects/masterDetail/src/main/webapp/WEB-INF/faces-config.xml
        Commit graph ADD /projects/masterDetail/src/main/java
        Commit graph ADD /projects/masterDetail/src/main/webapp
        Commit graph ADD /projects/masterDetail/src/main/java/org/demo
        Commit graph ADD /projects/masterDetail/src/main/webapp/WEB-INF/web.xml
        Commit graph ADD /projects/masterDetail/src/main/java/org
        Commit graph ADD /projects/masterDetail/src/main
        Commit graph ADD /projects/masterDetail/src/main/java/org/demo/model/Person.java
        Commit graph ADD /projects/masterDetail/src/main/webapp/updateStaff.xhtml
        Commit graph ADD /projects/masterDetail/src/main/resources
        Commit graph ADD /projects/masterDetail/src/main/webapp/WEB-INF
        Commit graph DEL /projects/masterDetail/WebContent
        Commit graph ADD /projects/masterDetail/lib
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31179 Fri Sep 28 12:15:24 MDT 2012 matthew.cowell [ICE-2701] Added model, backing bean, and xhtml files for sample
        Files Changed
        Commit graph ADD /projects/masterDetail/WebContent/WEB-INF
        Commit graph ADD /projects/masterDetail/WebContent/WEB-INF/faces-config.xml
        Commit graph ADD /projects/masterDetail/src/org/demo/model/Person.java
        Commit graph ADD /projects/masterDetail/src/org
        Commit graph ADD /projects/masterDetail/src/org/demo
        Commit graph ADD /projects/masterDetail/WebContent/WEB-INF/web.xml
        Commit graph ADD /projects/masterDetail/WebContent/index.jsp
        Commit graph ADD /projects/masterDetail/WebContent/updateStaff.xhtml
        Commit graph ADD /projects/masterDetail/src/org/demo/model
        Commit graph MODIFY /projects/masterDetail
        Commit graph ADD /projects/masterDetail/WebContent/WEB-INF/lib
        Commit graph ADD /projects/masterDetail/src
        Commit graph ADD /projects/masterDetail/WebContent
        Commit graph ADD /projects/masterDetail/src/org/demo/DataTableBean.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31178 Fri Sep 28 12:13:10 MDT 2012 matthew.cowell [ICE-2701] Initial import.
        Files Changed
        Commit graph ADD /projects/masterDetail

          People

          • Assignee:
            Matthew Cowell
            Reporter:
            Ken Fyten
          • Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: