urlLang / lang Property Editor

See Also | Tutorials

This property editor enables you to define the urlLang property or the lang property of a component, such as the urlLang property of a Hyperlink or the lang property of a Grid Panel. You open the property editor by clicking the ellipsis button (...) next to the urlLang property or the lang property in the component's Properties window.

In either case, the language codes are the same. You can either define the language code 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 language code dynamically.

Use Value

This dialog box enables you to choose a language code from a list. If you do not see the language code that you need on the list, you can go back to the Properties window and click the edit field next to the property, and then type in a value.

For example, the following ISO standard language codes are not available in the property editor and would have to be entered directly:

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 retrieve a language code from a bean in which you maintain the language codes for your application. 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
Tutorials

Legal Notices