|
Sample: Portlet Template, or Editable Portlet (DisplayURL)
Step 5: Create the Resource BundleThe resource bundles provide translated text to be displayed inside the DisplayURL portlet. The portlet's For more information about creating resource bundles, see Creating a Localized Portlet. Note: For information about localizing a portlet's title and description, see Creating Display Resources Files. One resource bundle is provided with the DisplayURL portlet, as follows. Note: If you copy and paste this code, then
you must remove the line breaks in the message strings for
# Messages for the DisplayURL portlet
# NOTE: this is the same message text as found in
# com.sas.portal.res.Resources.properties. The localized versions
# from there can be used here.
error.msg1.txt=A serious error occurred. Contact the Portal
administrator.
# {0} will be a URL. {1} will be an exception message.
viewer.badurl.fmt=Unable to display ''{0}'' because ''{1}''.
viewer.nourl.txt=No URL has been specified. Please edit the portlet to
set a URL.
editor.task.txt=Enter the URL of the HTML fragment to display.
editor.url.txt=URL:
# NOTE: these are the same messages as found in
# com.sas.portal.res.Resources.properties. The localized versions
# from there can be used here.
editor.action.cancel.txt=Cancel
editor.action.ok.txt=OK
|