The component data can have two views, model and presentation, and the data can be converted between the model view and the presentation view. On the Components tab, you can add the following in the same manner described in the previous steps.Ĭonverters – A converter is used in the conversion model, and each component can be associated with server-side model object data. Use the Add button in each of the sections to add the respective information, if necessary.Select the type you want to use, and click OK.Type the first letter of the type you want to use in the Select entries field.Ī list of available types beginning with the letter you typed appears in the Matching types list.Click Browse to select a component class.Enter a type in the Component Type field.(Optional) Type a description of the component in the Description field.(Optional) Change the default name to a unique, descriptive name in the Display Name field of the General section.A new component x is added to the list and General, Attributes, Facets, and Properties sections appear. Click the Component tab, and expand the Components section.See the JSF specification and tutorial on for component development details. Generally, a JSF component is composed of a set of classes, such as the component class, its render class, and so on. In the configuration file, you can register a component and its associated classes. Fill in the remaining fields as needed.Īdding managed bean propertiesBean properties appear on the Managed Bean page. Select or type a class name in the Property class field, and select a name from the Property name drop-down.Click Add in the Initialization area to add a new property.The managed bean appears in the Managed Bean Elements list. Continue through the wizard, following the instructions on each page.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |