tdawson     01/10/15 21:11:54

  Modified:    i18n/examples/web index.jsp
  Added:       i18n/examples/web bundle_standard.jsp
  Removed:     i18n/examples/web locale_attribute.jsp locale_browser.jsp
                        locale_object.jsp
  Log:
  renamed locale_attribute.jsp to bundle_standard.jsp
  removed locale_browser.jsp and locale_object.jsp (now handled in
  bundle_multiple.jsp)
  updated index.jsp to match changes
  
  Revision  Changes    Path
  1.4       +1 -1      jakarta-taglibs/i18n/examples/web/index.jsp
  
  Index: index.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/i18n/examples/web/index.jsp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- index.jsp 2001/10/16 04:06:07     1.3
  +++ index.jsp 2001/10/16 04:11:53     1.4
  @@ -56,7 +56,7 @@
   (<a href="index.jsp?language=ja">Japanese</a>)
   (<a href="index.jsp?language=browser">Browser Default</a>)
   <hr/><p/>
  -<a href="locale_attribute.jsp">Message Tags Example Page</a><br/>
  +<a href="bundle_standard.jsp">Message Tags Example Page</a><br/>
   <a href="format.jsp">Format Tags Example Page</a><br/>
   <a href="bundle_multiple.jsp">View Multiple Bundles in Action</a>
       <a href="bundle_multiple.txt">(source)</a><br/>
  
  
  
  1.1                  jakarta-taglibs/i18n/examples/web/bundle_standard.jsp
  
  Index: bundle_standard.jsp
  ===================================================================
  <%@ taglib uri="http://jakarta.apache.org/taglibs/i18n-1.0"; prefix="i18n" %>
  
  <i18n:bundle baseName="org.apache.taglibs.i18n.i18n-test"
               localeAttribute="userLocale"/>
  
  <HTML>
  <HEAD>
    <TITLE>Examples of I18N Custom Tag Library Tag Usage</TITLE>
  </HEAD>
  <BODY>
  
  The <b>i18n</b> tag library contains tags to support internationalization and
  localization.<p>
  
  The <i>bundle</i> tag provides no HTML output; it simply sets the bundle used
  by the rest of the i18n tags on the page.  A baseName must be provided, and a
  locale is optional.<p>
  
  For this page, the locale has been provided as a runtime expression value that
  happens to be hardcoded to Locale.US. Any object could have been provided,
  for example, a database lookup could have been used.<p>
  
  <hr>
  <%@ include file="message.jsf" %>
  <hr>
  <%@ include file="ifdef.jsf" %>
  <hr>
  <%@ include file="ifndef.jsf" %>
  <hr>
  
  </BODY>
  </HTML>
  
  
  


Reply via email to