Details
-
Type: New Feature
-
Status: Closed
-
Priority: 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)
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
Ken Fyten
created issue -
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #31178 | Fri Sep 28 12:13:10 MDT 2012 | matthew.cowell | [ |
Files Changed | ||||
ADD
/projects/masterDetail
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #31179 | Fri Sep 28 12:15:24 MDT 2012 | matthew.cowell | [ |
Files Changed | ||||
ADD
/projects/masterDetail/WebContent/WEB-INF
ADD /projects/masterDetail/WebContent/WEB-INF/faces-config.xml ADD /projects/masterDetail/src/org/demo/model/Person.java ADD /projects/masterDetail/src/org ADD /projects/masterDetail/src/org/demo ADD /projects/masterDetail/WebContent/WEB-INF/web.xml ADD /projects/masterDetail/WebContent/index.jsp ADD /projects/masterDetail/WebContent/updateStaff.xhtml ADD /projects/masterDetail/src/org/demo/model MODIFY /projects/masterDetail ADD /projects/masterDetail/WebContent/WEB-INF/lib ADD /projects/masterDetail/src ADD /projects/masterDetail/WebContent ADD /projects/masterDetail/src/org/demo/DataTableBean.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #31759 | Thu Oct 25 12:51:48 MDT 2012 | matthew.cowell | |
Files Changed | ||||
MODIFY
/projects/masterDetail/src/main/webapp/index.jsp
MODIFY /projects/masterDetail/src/main/webapp/WEB-INF/web.xml |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #31794 | Fri Oct 26 12:59:52 MDT 2012 | matthew.cowell | |
Files Changed | ||||
MODIFY
/projects/masterDetail/src/main/java/org/demo/model/Person.java
MODIFY /projects/masterDetail/src/main/java/org/demo/DataTableBean.java 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 | |
Files Changed | ||||
MODIFY
/projects/masterDetail/src/main/java/org/demo/DataTableBean.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #31816 | Mon Oct 29 12:16:54 MDT 2012 | matthew.cowell | |
Files Changed | ||||
MODIFY
/projects/masterDetail/src/main/java/org/demo/model/Person.java
MODIFY /projects/masterDetail/src/main/java/org/demo/DataTableBean.java MODIFY /projects/masterDetail/src/main/webapp/updateStaff.xhtml |
Migration
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Matthew Cowell [ cowemat ] |
Migration
made changes -
Fix Version/s | 3.2 [ 10338 ] |
Migration
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Excelent topic.
The master-detail form is ones of the most widely used user interfaces forms in real applications. We are trying to start something like that, but we are not sure where and how to begin , so I'm pretty sure it'll be very helpful to get soemthing from here and we will apreciate it a lot.
The functionality could also to include the capacity to insert/update/delete both sides of the forms (I mean, master and details) better if it donde form the two proposed scenarios (both master and detail within the same form and also separate forms).