Has anyone figure out how to bind enumerations as radio buttons or a
drop down list?

I have an enumeration:
object ExchangeMethod extends Enumeration {
  val Pickup = Value("Pickup")
  val Ship = Value("Ship")
  val PickupOrShip = Value("Pickup or Ship")
}

And I want to put radio buttons in an html file from this enumeration
without hardcoding the number of options (say I add another
ExchangeMethod.Value called "Online Transfer").

Basically I'm trying to get this enumeration to display as radio
buttons with text labels for each value in a form that I can customize
with CSS.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to