Many thanks Matt

The steps to reproduce are:

1/ I create a basic Spring MVC project

2/ I create 2 entities like below

@Entity
public class Division {

        @Id 
        @Column (name="DIV_ID")
        private Integer divId;

       @Column (name="DIV_NAME", length=30)
        private String divName;

        @Column (name="DESCRIPTION", length=1000)
        private String description;

       @Column (name="CATEGORY", length=30)
        private String category;
}

@Entity
public class Role_Stat {

        @Id
        @Column(name="ROLE_ID")
        private Integer roleId;
        
        @Column(name="ROLE_DESC", length=200)
        private String roleDesc;
        
        @Column(name="ROLE_NAME", length=30)
        private String roleName;
        
        @ManyToOne(optional=false)
        @JoinColumn(name="DIV_ID", nullable=false)
        private Division division;
}

3/ appfuse:gen both entities. 

4/ The role_statform.jsp will contain this line
<s:select name="role_Stat.division.id" list="divisionList" listKey="id"
listValue="id"></s:select>


P/S: I know about that workaround, unfortunately we dont have any OSX nor
Linux system around.

Btw, how can I stop the appfuse.User & Role from being generated?
-- 
View this message in context: 
http://www.nabble.com/Couple-of-questions-related-to-Appfuse-tf4796041s2369.html#a13722295
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to