|
5. InternationalizationContents > Using Components > Message Bundles Displaying Localized Messages to your UsersJavaServer Faces (JSF) uses message bundles for internationalizing your Web applications. JSFToolbox extends Dreamweaver by add a Message Bundle component and with drag-and-drop functionality for adding localized messages to your JSF pages. JSFToolbox will find any message bundle components available to your site. These will automatically appear in the Message Bundles components palette. You can drag-and-drop message bundle properties onto your JSF pages to display localized messages to your users. Simple configure a message bundle in your Faces configuration file and JSFToolbox will automatically detect it. The Message Bundle will appear in the components palette, along with property and supported locale information.
Loading your Message BundleBefore you can use your message bundle in a JSF page, you must declare a JSF Core tag to enable the message bundle for that page. You could do this in a Dreamweaver template and allow the tag to propagate to all your template-controlled Web pages. You can use the JSF Core tags toolbar to add a bundle to your page. (The green arrow indicates the
Use the JSF Expression Language (EL)Once you have added the |
|||||


