Implicit and Explicit configuration

本文介绍了SAP WebDynpro中的两种定制方式:隐式定制(ImplicitCustomizing)允许用户通过右键菜单更改UI元素属性;显式配置(ExplicitConfiguration)则由开发者创建配置控制器来定义组件的可配置属性,进而影响UI展示与功能实现。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[color=red][size=large]Implicit Customizing[/size][/color]
Implicit Customizing is provided by the Web Dynpro runtime and can be used by everyone having sufficient autorizations.To be able to customize a Web Dynpro application,the application must be started by adding the query string SAP-CONFIG-MODE=X to the application's URL.Customizing is conducted by right-clicking on any UI element.A context menu appears.By selecting the entry Settings for current Configuration the customizing dialog is displayed.
Before the customizing dialog starts,the user's authorization for the authorization object S_DEVELOP is checked.If a sufficient authorization for S_DEVELOP is not found,the autorization for the autorization object S_WDR_P13N is checked.
For each UI element,a predefined number of properties can be changed.Elements that are excluded from customizing by configuration are not available.Selecting the Final checkbox for any property excludes this property from personalization.
The personalization data set are independent of the user.

[color=red][size=large]Explicit Configuration[/size][/color]
To allow an explicit configuration of a component,a configuration controller has to be created.A configuration controller is a special controller.Only one configuration controller may exist for each Web Dynpro component.
All attributes that will be accessible via configuration have to be defined in the context of the configuration controlelr.Using context mapping and data binding,these attributes can then be used to change UI element properties directly in any view.However,any other functional changes based on these attrbutes are also possible,since the attributes are visible to all controllers that declare the usage of the configuration controller.
To create a configuration controller,a custom controller has to be create for the component.From the context menu((Re)Set as Config.Controller) this contrller can then be transformed to the component's configuration controller.
The developer has to decide which attributes are to be defined in the component controller and how changing these attrbiutes will influence the functionality and the UI of this component.
When defining a component configuration.not only predefined UI element property values can be changed,but also the values of the attributes defined in the configuration controller.These attrbiutes are accessible via the Explicit Configuration tab.
Hint: Attribute defined in the configuration controller are not automatically available for customizing and personalization!
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值