on 04-20-2007 12:41 PM
Hi Gurus,
I have few doubts on EP implementation Can plz help me to clear all.
1. When do we need to implement JspDynpage?
2. When we need to create AbstractPortalComponent?
Using AbstractPortalComponent how to call a Jsp file?
Please help on these doubts. Thanks in advance.
Ian
HI Ian....
JspDynPage is used when u segregate the <b>controller</b> from the <b>Presentation</b>
it represents the MVC architecture....
u have the <b>Model</b> to control data flow.....and jsp to present (<b>View</b>) and JspDynPage as the <b>Controller</b>...........
thats how it works...
where as the Abstract Portal Component doesnt follow this architecture.....
u write the presentation sa well as the business logic completely in the <b>doContent() </b>method......
it depends on ur choice as to which method to follow based on ur requirements or business logic...
Now..as to call the jsp from an Abstract Component....u can get the HttpServletRequest from the IportalcomponentRequest...and the use it to sendRedirect() to a jsp page....
hope this helps....
Regards,
Sudheer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you want to display your interface within JSP page you must use JspDynpage
When you want to display directly Strings it´s easier to use the doContent event of a AbstractPortalComponent.
If you want to use a jsp file use a JspDynpage.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ian,
Check this rather thouroughly blog:
and this help topic:
http://help.sap.com/saphelp_nw04/helpdata/en/68/ff3c41325fa831e10000000a1550b0/frameset.htm
These describe rather well the differences, hope it helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.