官术网_书友最值得收藏!

Introduction

Custom components allow custom Visualforce functionality to be encapsulated as discrete modules, which provide two main benefits:

  1. Functional decomposition: where a lengthy page is broken down into custom components to make it easier to develop and maintain.
  2. Code reuse: where a custom component provides common functionality that can be reused across a number of pages.

A custom component may have a controller, but unlike Visualforce pages, only custom controllers may be used. A custom component can also take attributes, which can influence the generated markup or set property values in the component's controller to alter the business logic.

Custom components do not have any associated security settings; a user with access to a Visualforce page has access to all custom components referenced by the page.

主站蜘蛛池模板: 内黄县| 新余市| 河南省| 蓝山县| 峨眉山市| 咸丰县| 晋江市| 磐安县| 启东市| 湛江市| 景宁| 若尔盖县| 时尚| 唐河县| 维西| 龙南县| 东安县| 台湾省| 金平| 六安市| 改则县| 白山市| 新乡县| 普兰店市| 琼海市| 沭阳县| 乌兰察布市| 洪雅县| 杭锦旗| 安达市| 衡水市| 从江县| 四川省| 贞丰县| 延寿县| 义马市| 德安县| 随州市| 共和县| 庆安县| 都匀市|