tdawson 01/10/14 15:16:59
Modified: i18n/examples/web format.jsp
Log:
moved default locale to the top since the locale tag now defaults
to changing the response locale
Revision Changes Path
1.4 +5 -15 jakarta-taglibs/i18n/examples/web/format.jsp
Index: format.jsp
===================================================================
RCS file: /home/cvs/jakarta-taglibs/i18n/examples/web/format.jsp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- format.jsp 2001/05/05 17:15:17 1.3
+++ format.jsp 2001/10/14 22:16:58 1.4
@@ -16,29 +16,21 @@
%>
-<h2>US Locale</h2>
-
+<h2>Default Request Locale</h2>
<i18n:locale locale="<%= Locale.US %>">
-
<%@ include file="format_include.jsf" %>
-
</i18n:locale>
+<h2>US Locale</h2>
+<i18n:locale locale="<%= Locale.US %>">
+<%@ include file="format_include.jsf" %>
+</i18n:locale>
<h2>FRANCE Locale</h2>
-
<i18n:locale locale="<%= Locale.FRANCE %>">
-
<%@ include file="format_include.jsf" %>
-
</i18n:locale>
-
-<h2>Default Request Locale</h2>
-
-<%@ include file="format_include.jsf" %>
-
-
<%
String country = request.getParameter( "country" );
if ( country == null ) {
@@ -53,9 +45,7 @@
<h2>Country: <%= country %> and Language: <%= language %></h2>
<i18n:locale country="<%= country %>" language="<%= language %>">
-
<%@ include file="format_include.jsf" %>
-
</i18n:locale>