Hello Bruce, 

AppFuse uses the countries listed in the JVM for localization, so it is not 
really a complete list of countries anyway.  The only way to have a complete 
list is to compile one yourself [e.g. make a database] or use an existing 
library [several commercial options available].

The commercial libraries will typically have a way to update the state/province 
to match the country, but if you build your own I would suggest using AJAX.

I have not upgraded a 1.9.x app to 2.0, so I can't speak from experience.  But 
there is some tips on the wiki site.

  http://appfuse.org/display/APF/Migration+Guide

Hope that helps, 
Nathan



----- Original Message -----
From: "BruceLee" <[EMAIL PROTECTED]>
To: users@appfuse.dev.java.net
Sent: Friday, October 5, 2007 2:59:47 PM (GMT-0800) America/Los_Angeles
Subject: [appfuse-user] Dropbox list for Country and State


Hi Team,

I tried to search in this forum but still have puzzles. Our env is
1.9.4-WebWork2.

We want to have a dropbox list for some Countries. If user chooses one, then
the State/Province edit box will change to a dropbox list for all states in
that country.
<appfuse:country...> in userForm.jsp can list countries from CountryTag lib.
Questions:

1) Are I right that we still need to put all State names in database? 
2) How to create a dropbox for all States? esp. in WebWork2?
3) How to automatic change the State list when user selects a Country on
page? Do we need AJAX to pass the selection of Country to somewhere?

Besides, Congraluations to release of our expecting Appfuse 2.0!
Are big efforts needed to upgrade from 1.9.4 to 2.0?

Thanks in advance!
-Bruce
-- 
View this message in context: 
http://www.nabble.com/Dropbox-list-for-Country-and-State-tf4577853s2369.html#a13068100
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to