moved the language and country lists OUT of the database and into properties
files as they are likely to change VERY infrequently; this simplifies a lot of bits of code that would otherwise have to call through VeniceEngine, etc. Also folded the LocaleFactory class method into the new International object used for managing the lists.
This commit is contained in:
@@ -36,7 +36,7 @@ public class NewAccountDialog extends ContentDialog
|
||||
*--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
public NewAccountDialog(List country_list)
|
||||
public NewAccountDialog()
|
||||
{
|
||||
super("Create Account",null,"createform","account");
|
||||
setInstructions("To create a new account, please enter your information below.");
|
||||
@@ -52,7 +52,7 @@ public class NewAccountDialog extends ContentDialog
|
||||
addFormField(new CDTextFormField("loc","City",null,true,32,64));
|
||||
addFormField(new CDTextFormField("reg","State/Province",null,true,32,64));
|
||||
addFormField(new CDTextFormField("pcode","Zip/Postal Code",null,true,32,64));
|
||||
addFormField(new CDCountryListFormField("country","Country",null,true,country_list));
|
||||
addFormField(new CDCountryListFormField("country","Country",null,true));
|
||||
addFormField(new CDFormCategoryHeader("E-mail"));
|
||||
addFormField(new CDEmailAddressFormField("email","E-mail address",null,true,32,255));
|
||||
addFormField(new CDFormCategoryHeader("Account Information"));
|
||||
|
||||
Reference in New Issue
Block a user