com.sapportals.portal.prt.util

Class StandardEditDialog

java.lang.Object
  extended by com.sapportals.portal.prt.component.AbstractPortalComponent
      extended by com.sapportals.portal.prt.util.StandardEditDialog
All Implemented Interfaces:
IEventListenerComponent, IPortalComponent, IPortalComponentInit

public class StandardEditDialog
extends AbstractPortalComponent

and can be used as a personalization delegate. Copyright (c) SAP Portals Europe GmbH 2001


Constructor Summary
StandardEditDialog()
           
 
Method Summary
protected  void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
          Generates the content of the component.
protected  void doEdit(IPortalComponentRequest request, IPortalComponentResponse response)
          present a personalization dialogue.
 void doHandleEditData(IPortalComponentRequest request, IPortalRequestEvent event)
          Default handling at end of personalization: Simply store all properties.
 HtmlSelect generateBooleanSelectBox(String name, String value)
          Generates the select box for boolean properties
 HtmlSelect generateSelectBox(String name, String currentValue, String listOfValues)
          Generates the select box for properties of type "select"
static Vector getListOfValues(String values)
          Retrieves a vector containing the values
 
Methods inherited from class com.sapportals.portal.prt.component.AbstractPortalComponent
destroy, doAbout, doAfterContent, doBeforeContent, doComponentEvent, doHelp, doOnNodeReady, doOnNodeRemove, doOnPOMReady, doPreview, doRefresh, doRequestEvent, getCacheDiscriminant, getCachingLevel, handleEvent, hasExpired, init, init, init, service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardEditDialog

public StandardEditDialog()
Method Detail

doContent

protected void doContent(IPortalComponentRequest request,
                         IPortalComponentResponse response)
Description copied from class: AbstractPortalComponent
Generates the content of the component.

Specified by:
doContent in class AbstractPortalComponent
Parameters:
request -
response -

doEdit

protected void doEdit(IPortalComponentRequest request,
                      IPortalComponentResponse response)
present a personalization dialogue.

Overrides:
doEdit in class AbstractPortalComponent
Parameters:
request -
response -

doHandleEditData

public void doHandleEditData(IPortalComponentRequest request,
                             IPortalRequestEvent event)
Default handling at end of personalization: Simply store all properties.

Overrides:
doHandleEditData in class AbstractPortalComponent
Parameters:
request -
event -

generateSelectBox

public HtmlSelect generateSelectBox(String name,
                                    String currentValue,
                                    String listOfValues)
Generates the select box for properties of type "select"

Returns:
an HtmlSelect object

generateBooleanSelectBox

public HtmlSelect generateBooleanSelectBox(String name,
                                           String value)
Generates the select box for boolean properties

Returns:
an HtmlSelect object

getListOfValues

public static Vector getListOfValues(String values)
Retrieves a vector containing the values

Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-BASIS-API [sap.com] tc/epbc/prt/api api EP-PIN
[sap.com] EP-BASIS-API [sap.com] epbc.prtapi._apideprecated default EP-PIN-PRT


Copyright 2011 SAP AG Complete Copyright Notice