[jboss-user] [JBoss Seam] - Re: seam-gen and type specific controls
zeljko_t
do-not-reply at jboss.com
Thu Jan 18 07:02:11 EST 2007
It works!!! I managed to generate both POJOa and screens (but without combos).
I had to remove boolean improvement to make it work :(
"max.andersen at jboss.com" wrote : "zeljko_t" wrote :
| | What type are you actually generating for those enums ?
| |
| |
|
| I generate enum inside class for every property, eg:
|
| public enum service {ldap,ldaps}
| |
| | @Column(name="service", unique=false, nullable=false, insertable=true, updatable=true, length=5)
| |
| | @Enumerated(EnumType.STRING)
| | public service getService() {
| | return this.service;
| | }
| |
|
| Needs some more work, though.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003266#4003266
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003266
More information about the jboss-user
mailing list