1·The renderer converts the values of the component to appropriate markup.
渲染器把组件的值转换成适当的标记。
2·To bridge from the JSP world to the JSF world you need a custom tag that returns the component type (which you'll then register in the faces-context file) and a renderer, as Figure 3 demonstrates.
要连接起 JSP 世界和 JSF 世界,需要能够返回组件类型的定制标记(然后在 faces-context文件中登记)和渲染器,如图 3 所示。
3·These are used to look up the correct renderer and the component that is configured in faces-config.xml.
这些方法用于查找配置在faces - config . xml中的正确的渲染器和组件。
4·A custom renderer was out of the scope of our sample and we decided to use a simpler solution: a custom aspx page that could be used instead of the default ReportViewer.aspx for fixed layout reports.
使用自定义渲染器已经超出了我们的示例范围,我们决定使用更简单的解决方案:用一个自定义的aspx页面代替默认的ReportViewer . aspx来生成固定布局的报表。
5·Register the renderer with faces-config.xml.
用faces - config . xml登记渲染器。