-
1. Re: forward engineer tool from facelet
nickarls Mar 28, 2008 6:37 AM (in response to admin.admin.email.tld)Of course there might be situations where such a tool could be useful but personally I usually just
meet in the middle
.The application is supposed to do some things regardless of the UI and you can mock up an UI that works for the user and then hook it up.
-
2. Re: forward engineer tool from facelet
admin.admin.email.tld Mar 28, 2008 4:55 PM (in response to admin.admin.email.tld)I have been given a screen mockup, that is all. In this situation, I had to hand-code boilerplate code for the Local interface, for example (yes, I know that's going away in EJB3.1, but we're not there quite yet).
So with some sensible defaults, like String and List, or a generator XML guide for the facelet forward engineer tool, the following code would have been mostly generated for me and saved me some time:
@Local public interface AuditedUsersSearchingLocal { public String getSearchPattern(); public void search(); public String getSelectedSite(); public void setSelectedSite(String selectedSite); public List getSitesList(); public String getSelectedAudit(); public void setSelectedAudit(String selectedAudit); public List getAuditList(); public String getIcomsUser(); public void setIcomsUser(String icomsUser); public String selectedDisapprovalType(); public void setSelectedDisapprovalType(String selectedDisapprovalType); public List getDisapprovalTypeList(); public String getSupervisor(); public void setSupervisor(String supervisor); public void destroy(); }
It would be nice if Seam had this functionality as well as placing skeleton code for the method signatures in the local interface into the SFSB/SLSB implementation class.
-
3. Re: forward engineer tool from facelet
pmuir Mar 29, 2008 6:57 PM (in response to admin.admin.email.tld)It's not on the JBoss Tools roadmap. But I'm sure they would accept a contribution of such a tool as long as it is well written.