cancel
Showing results for 
Search instead for 
Did you mean: 

Difference between Abstract portal Component and JSPDyn page.

Former Member
0 Kudos

Hi Experts,

What is the difference between Abstract portal Component and JSPDyn page.

Thanks,

Jay.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The PDK provides two methods for creating a portal component:

Abstract Portal Component

The Abstract Portal Component class offers a lean method for writing HTML commands to the Web client as well as for basic event handling. It is an implementation of the IPortalComponent, which is the central abstraction of the Portal Component API.

DynPage

The Page Processor Component, which extends the Abstract Portal Component, returns a DynPage. It provides more sophisticated event handling. Controls that produce events (such as buttons and checkboxes) have an event attribute that contains the name of the event handling method. This event handling method is invoked by the DynPage when it occurs.

The JSPDynPage is an implementation of the DynPage and allows the use of the DynPage in combination with JSP (Java Server Pages).

The PDK documentation and examples focus on the DynPage. Easier event handling and the separatation of content development (JSP) from application development (Java) make the DynPage a better choice for components with interaction and changing content.

For more details, Refer thes thread,

https://fortress.wa.gov/dop/portal/irj/portalapps/com.sap.portal.pdk.basic.portalcomponentimplementa...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0b3e9d5-b2af-2a10-20ba-9f6ce6b1...

Hop it helps..

GS

Edited by: Sathishkumar GS on Apr 14, 2008 2:07 PM

Answers (0)