SAP NetWeaver '04

Package com.sapportals.wcm.rendering.readymades

Contains final classes to render links and properties for resources.

See:
          Description

Class Summary
CommandRenderer The PropertyRendererCommand is used to render rnd:command for a givven commandID & style
EmptyCollectionInfo  
MenuBarComponent Description of the Class Copyright: Copyright (c) SAP Portals Europe GmbH 2001 renders a menu bar that shows a number of command groups that will operate on the given resource or - in case of mass commands - on the list of selected resources.
MetaPropertyComponent  
PropertyComponent  
ResourceDetailsLink  
ResourceImage  
ResourceLink  
UICommandComponent  
 

Package com.sapportals.wcm.rendering.readymades Description

Contains final classes to render links and properties for resources.

Package Specification

Purpose
Detailed Concept
Interfaces and Classes
Configuration
Implementation Notes

Purpose

When creating a browsing view on a folder or a resourcelist, this view mostly consists of links to the displayed resources, actions to execute on these resources or properties of these resources. As these functions are needed again and again in different implementations of ICollectionRenderer orIResourceRenderer, we want to offer standard building blocks that take care of these functions. Because they can be instantiated directly, without calls to the configuration or a factory, their usage is very easy to implement. 

Detailed Concept

Readymades can be used just like other htmlb-classes, for instance a TextView component. Differently from other classes within the FlexibleUI, they have a public constructor and can be easily instantiated. You will not find any public methods on these classes - they remain the way they have been instantiated via their constructor. This ensures a straight-forward behavior, because it is - for example - not possible to modify certain parameters of that class at a later point of time thus modifying the result of its rendering process. Their actual coding will be called and executed by the htmlb-framework after the render() methods of the other classes of the FlexibleUI have finished. Keep this in mind, when reseting attributes of classes at the end of their render() methods.
Readymades will throw RuntimeExceptions if the parameter passed into the constructor are not valid! This is done because if they would only fail at the time of the rendering, the FlexibleUI cannot wrap the exceptions into a more decent layout anymore - instead a stack trace might be shown to the user.

Interfaces and Classes

Classes within this package are not depending on each other - there is no hierarchy or interface-cascade. See the javadoc of the classes for details what the classes will render and how they react on the parameters passed.

Configuration

There is no configuration possible

Implementation Notes

Some of the classes will react on the parameterisations used throughout the FlexibleUI. So if the same readymade is used in two different layouts, its result might differ.


SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.