on 10-31-2008 7:26 AM
My Application is required to have 3 entry points.
For this i have created 3 Applications.
APP_1
APP_2
APP_3
I have created 3 Inbound plugs in InterFace View.
From here,
How to forward to 3 different views
VIEW_1
VIEW_2
VIEW_3
So,
APP_1 should call VIEW_1
APP_2 should call VIEW_2
APP_3 should call VIEW_3
Could anyone provide comments in this design.
If this is is not correct procedure ,what are the other alternatives.
Hi,
You can do this only by selecting different interfaceviews while creating new Application or else keep one home page view and from there you navigate as according for this only one application is enough.
Regards
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are two ways to do this.
Option one:
1. Use one window
2. Use startup-plugs in the interface views to initialize your compontent to show/not show certain things.
3. In the definition of the applications use the different startup-plugs
Option two:
1. Use different windows to see different things.
2. Use views containing multiple ViewContainerUIElements (last one in "Simple Standard") where you will add other views to. (in the windows)
3. Combine views by embedding them into the ViewContainerUIElements in the windows.
4. In the definition of the application select your different windows.
My personal favourite is option 2 because I don't like the programmatic one/off switches to show visual elements. (It's not really following the Model-View-Controller design pattern.) That should be left to possible configuration options.
So to define when to use what:
1. Views to combine visual elements
2. Windows to combine views
3. Startup plugs in the interface views (have a one to one relationship to a window) to initialize your component
4. Application to define which component to start with which window and which start-up plug.
Jeschael
Hi,
Easiest approach is create three different windows and embed respective views and use the interface views of this while creating application.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ayyapparaj,
In your approach ,imagine i have "RegistrationView" in
WINDOW_1
WINDOW_2.
WINDOW_3.
Same View i want to use for EDIT / VIEW / NEW modes.
I have only one view in Views folder.
I need to add this view in the 3 windows as above.
But this may not be advisiable since i want to use same view and for this view in single window also may have multiple entries.
What would be the solution if i required to use only one window as
WINDOW_1.
In this window the the request may be for multiple views in same window or for same view for different modes (EDIT / VIEW / NEW requests)
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.