On Tue, May 12, 2009 at 6:50 AM, Ewan <ehar...@gmail.com> wrote: > > I want to create persist an address object I have and set a > MappedCountry to the UK ie. > > Address.create.address1("7").address3("Some Street").address6 > (Countries.UnitedKingdom).save > > except that the enumeration Countries does not have one but does for > the US and Australia and a bunch of others prefixed with 'C'. I guess > those C codes are the international dialling prefix so the UK would be > C44 perhaps? >
The countries are listed in the Lift localization resources: http://github.com/dpp/liftweb/tree/master/lift/src/main/resources/i18n/ > > -- Ewan > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---