Hi, I am working with CSLA and the sample "WinPart" that Rocky provided and I think I see a possible model to re-use and wanted some feedback and comments on this:
I have a UI that has a number of tabs each tab has a "theme" like Products, Employees, Accounts and so on....
I want to keep the UI fairly clean and keep the number of POP-UP windows / dialogs low.
so what I have started doing is using the WInPart with the tab page, using the tab page as the parent container for related "Pages" of UI so for example...
when you first open "Employees" you see a list of them with the ID as a link that opens an edit page in-place in that tab and has a "close" button that returns you to the updated list of employees.
sometimes I can see the "stack" of "pages" getting perhaps 3 deep but not more than that (I think).
So I am thinking of taking the "winpart" logic and having it work with a "Stack of WinPart" base class and go from there....
anyone done this already?
see this as a good idea ?
if I get it right I will be happy to share it on the CSLA contrib site as an "extension"
or if rocky wants to fold it into CSLA that would be fine also -- it's not like it's a huge invention; Just a natural flow from the idea of the WinPart and the idea of a structured UI sequence.
it's a "Drill Down" with a "Pop-Back" if you look at it one way...
like
All X ==> Edit One X ==> Edit part Y of that X ==> Add a Q to that Y ==> Back to Y ==> Save ==> Back to X == Save ==> Back to List.
that kind of edit - flow - thing.
Perhaps I was not clear; I am talking about the UI *NOT* the BO's
in Rocky's sample app he uses a usercontrol based on a usercontrol called "WinPart" it has some logic in it and there is a small bit of logic in his "Main Form" that provide a model that is good for a list of documents.
I am thinking of a variation / expansion on that UI behavoir.
UI not BO.
Copyright (c) Marimer LLC