tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Tapestry Wiki] Trivial Update of "ChangeLocale" by Cyrille37
Date Thu, 23 Aug 2007 10:11:53 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.

The following page has been changed by Cyrille37:
http://wiki.apache.org/tapestry/ChangeLocale

------------------------------------------------------------------------------
  
  Here is a component that offer to the visitor to change the site Locale by clicking on a
flag.
  
- Usage :
+ == Usage ==
  
+ {{{
   <span jwcid="@Util/LocaleSelectionFlags" flagsfolder="/Public/flags"></span>
- 
+ }}}
- The parameter flagsfolder tell the component where are flags images.
+ The ''''parameter'''' flagsfolder tell the component where are flags images.
  
  == LocaleSelectionFlags.jwc ==
  
+ {{{
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE component-specification PUBLIC
    "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
@@ -30, +32 @@

   </component>
  
  </component-specification>
+ }}}
  
  == LocaleSelectionFlags.html ==
  
+ {{{
  <?xml version="1.0" encoding="UTF-8" ?>
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
@@ -64, +68 @@

  
  </body>
  </html>
+ }}}
  
  == LocaleSelectionFlags.java ==
  
+ {{{
  package web.components.util;
  
  import java.util.LinkedHashMap;
@@ -128, +134 @@

   }
  
  }
+ }}}
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message