The AuthHelper ViewBean generates all the form elements needed to gather credentials for the supported authentication methods.
AuthHelper ViewBean生成所有表单组件,用于为受支持的认证方法收集凭证。
So instead of creating a plug-in specific ViewBean class, the sample above USES the generic BasicEditorViewBean class provided by the framework.
所以,以上示例不是创建一个特定于插件的viewbean类,而是使用框架提供的通用的basiceditorviewbean类。
The ViewBean is responsible for providing the path to the JSP file (in this case, hello.jsp) that the framework USES to render the actual input fields.
ViewBean负责提供jsp文件(在这里是hello . jsp)的路径,框架使用这个文件显示实际的输入控件。
应用推荐