Databases Reference
In-Depth Information
Creating the Show On attribute is similar to creating the icon image location application attribute,
but with some slight modifications. The following steps outline the process. (Only figures for new steps
are shown.)Figures for the other steps are essentially the same as before.
1.
Edit the plug-in and scroll to the Custom Attributes region.
2.
Click the Add Attribute button, as shown in Figure 3-9.
3.
In the Name region, set the following values:
Scope : Component
Attribute :1
Display Sequence :10
Label : Show On
Since this attribute may change for each instance of the date picker, it'll be
a component-level attribute. The attribute number is unique based on the
scope. Once an attribute has been created, the attribute number cannot
be changed.
4.
In the Settings region, set the following values:
Type : Select List
Required : Yes
5.
The next logical step is to add a value for the list of values. The catch is that
if you click the Add Value button it will submit the page and save the
custom attribute. Since you set this as a required attribute, you need to
define a default value first. In the Default Value region, set the default
value to “focus”.
6.
You can now add values to the list of values. In the List of Values region,
click the Add Value button, as shown in Figure 3-13.
Figure 3-13. Custom attribute: List of values
7.
Enter the values, as shown in Figure 3-14, for the LOV entry form. Click the
Create and Create Another button when complete.
Figure 3-14. Custom attribute: Adding LOV value
 
Search WWH ::




Custom Search