CVS: Tapestry/examples/Tutorial/src/tutorial/workbench/localization LocalizationChange.java,NONE,1.1.2.1 Localization.java,1.5,1.5.2.1 Change_fr.html,1.2.4.1,NONE Change_de.html,1.2.4.1,NONE Change_fr.gif,1.1,NONE Change.html,1.2.4.1,NONE Localization.html,1.2.4.1,NONE Localization_it.html,1.3.2.1,NONE Change.gif,1.1,NONE Change_it.gif,1.1,NONE Localization_fr.html,1.3.2.1,NONE Localization_de.html,1.3.2.1,NONE Change_it.html,1.2.4.1,NONE Change.java,1.5,NONE Change.page,1.5.2.1,NONE Change_de.gif,1.1,NONE Localization.page,1.4.2.1,NONE
Howard Lewis Ship <[email protected]>
| Newsgroups | gmane.comp.java.tapestry.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tapestry/Tapestry/examples/Tutorial/src/tutorial/workbench/localization
In directory sc8-pr-cvs1:/tmp/cvs-serv10583/examples/Tutorial/src/tutorial/workbench/localization
Modified Files:
Tag: hship-2-3
Localization.java
Added Files:
Tag: hship-2-3
LocalizationChange.java
Removed Files:
Tag: hship-2-3
Change_fr.html Change_de.html Change_fr.gif Change.html
Localization.html Localization_it.html Change.gif
Change_it.gif Localization_fr.html Localization_de.html
Change_it.html Change.java Change.page Change_de.gif
Localization.page
Log Message:
Reorganize the tutorials to use new 2.4 features.
--- NEW FILE: LocalizationChange.java ---
package tutorial.workbench.localization;
import java.util.Locale;
import net.sf.tapestry.html.BasePage;
/**
*
* @version $Id: LocalizationChange.java,v 1.1.2.1 2003/01/02 03:15:23 hship Exp $
* @author Howard Lewis Ship
*
**/
public class LocalizationChange extends BasePage
{
private String localeName;
public String getLocaleName()
{
if (localeName == null)
{
Locale locale = getLocale();
localeName = locale.getDisplayName(locale);
}
return localeName;
}
}
Index: Localization.java
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/examples/Tutorial/src/tutorial/workbench/localization/Localization.java,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -C2 -d -r1.5 -r1.5.2.1
*** Localization.java 27 Nov 2002 17:58:56 -0000 1.5
--- Localization.java 2 Jan 2003 03:15:23 -0000 1.5.2.1
***************
*** 21,25 ****
public void formSubmit(IRequestCycle cycle)
{
! cycle.setPage("localization.Change");
}
--- 21,25 ----
public void formSubmit(IRequestCycle cycle)
{
! cycle.setPage("LocalizationChange");
}
--- Change_fr.html DELETED ---
--- Change_de.html DELETED ---
--- Change_fr.gif DELETED ---
--- Change.html DELETED ---
--- Localization.html DELETED ---
--- Localization_it.html DELETED ---
--- Change.gif DELETED ---
--- Change_it.gif DELETED ---
--- Localization_fr.html DELETED ---
--- Localization_de.html DELETED ---
--- Change_it.html DELETED ---
--- Change.java DELETED ---
--- Change.page DELETED ---
--- Change_de.gif DELETED ---
--- Localization.page DELETED ---
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf