In the protected List buildCountryList(Locale locale)  of CountryTag, it has
the following code to get the locale

final Locale[] available = Locale.getAvailableLocales();

how could I know my locale setting in my machine then ? Because it does not
contain Malaysia in the country list


mraible wrote:
> 
> If you're using Struts 2, it comes from the CountryTag:
> 
> http://tinyurl.com/2dhhe9
> 
> Matt
> 
> On 2/28/07, Fan <[EMAIL PROTECTED]> wrote:
>>
>> I am figuring out where does the country list come from with the
>> following
>> codes in userForm.jsp,  anyone can give me a quick pointer ? thanks in
>> advance
>>
>> <div>
>>      <s:set name="country" value="user.address.country" scope="page"/>
>>      <appfuse:country name="user.address.country" prompt=""
>> default="${country}"/>
>>      <p><label for="user.address.country"><fmt:message
>> key="user.address.country"/>
>>      <span class="req">*</span></p>
>> </div>
>> --
>> View this message in context:
>> http://www.nabble.com/Appfuse-2.0-country-list-tf3309149s2369.html#a9204769
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> http://raibledesigns.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Appfuse-2.0-country-list-tf3309149s2369.html#a9251957
Sent from the AppFuse - User mailing list archive at Nabble.com.

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

Reply via email to