hakandilek / play2-crud

Simple CRUD & DAO implementation for play2
Other
142 stars 52 forks source link

generate a select tag? #48

Open mshukla19 opened 10 years ago

mshukla19 commented 10 years ago

I am not sure how to generate a select tag.i can see the code in Complex model but i don't see any select field.Can you help me figure out how to use it. static enum Select { @EnumValue("1") OPTION1,

    @EnumValue("2")
    OPTION2,

    @EnumValue("3")
    OPTION3,
          ;

} Now how should i define another field that uses values from this enum?

hakandilek commented 10 years ago

Actually this feature is not implemented. Feel free to contribute if you've an idea.