imageURL Property Editor

See Also

This property editor enables you to define the imageURL property of a component, such as the imageURL property of an Image Hyperlink. You open the property editor by clicking the ellipsis button (...) next to the imageURL property in the component's Properties window.

You can either define the URL directly on the Use Value panel or use the Use Binding panel to bind the property to a bean property and enable your application to set the URL dynamically.

Use Value

This dialog box enables you either to type in a URL, such as the location of an image on the Web, or to pick a resource like an image file. If you want to pick a resource, you can choose the resource from the tree list in this dialog box, or you can use the Add File button to add an image file to your application's list of resources and then choose that file from the tree list.

For example, after you choose an image file, a reference to an image file in your application's list of resources might be /resources/image-file.gif. A URL that points to an image on the web might be
.

Use Binding

This dialog box enables you to bind the component property to a JavaBeans property. For example, you might want to bind the component property to a property of SessionBean1 to pick up an image's URL from a bean in which you maintain the latest URLs for your application's images. In the Use Binding tab, you can see a tree view of all managed beans and their properties. You bind to a property by selecting the property and clicking OK.

See Also
About Binding Components to Data
About Components and Data

Legal Notices