Hi,

If I have an Enumeration, say

object PromotionType extends Enumeration{
  val PriceDiscount = Value("Price discount")
  val ComboDiscount = Value("Combo discount")
  val Freemium = Value("Freemium")
}

How can I create a HTML select element in a snippet based on this?

I tried something like

"promotionType" -> SHtml.selectObj(PromotionType, Empty,
userSelectedPromotionType = _ ),

But failed, Would appreciate if someone can help on this.

Thanks

--~--~---------~--~----~------------~-------~--~----~
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