- This topic has 3 replies, 2 voices, and was last updated 20 years, 8 months ago by Riyad Kalla.
-
AuthorPosts
-
sheenmicroMemberHi,
I’ve used the StrutsDemo as a starting point. I now want to add additional fields/properties to the FormBean eg the demo has just <name>, now the demo is finished and working I want to enchance it accept a password on the login.jsp. Do I have to update all the associated files manually or is there a way to do automatically, eg right-click on the Login ActionMapping and select add-property perhaps ?Also, cam I just implement my own classes for the business and database layers automatically or do I have to stick with using the struts stuff no that I’ve started….? I hope this questions make sense 🙂
Cheers
Mike
Riyad KallaMemberDo I have to update all the associated files manually or is there a way to do automatically, eg right-click on the Login ActionMapping and select add-property perhaps ?
Good question, right now you have to do it manually. We are looking at supporting an “edit” mode for the wizards in the future, but I don’t know how far we will support it (i.e. it may just edit the struts-config.xml file, not necessarily refactor the Java classes that are defined)
Also, cam I just implement my own classes for the business and database layers automatically or do I have to stick with using the struts stuff no that I’ve started….? I hope this questions make sense
I don’t know if this is a MyEclipse question or general Struts question. Either way, you can use whatever you want for any part of your app. For example, in my App I’ve used Hibernate for the persistence layer (all DB stuff). I also write my own Forms and Actions and just create the mappings manually in the struts-config, you aren’t forced to use the wizards if you don’t like them.
sheenmicroMemberThanks. I wasn’t sure if it was MyEclipse or general struts question either at the time. I have managed to achieve what I wanted by editing the files and adding my own business/database layers. I am on a very tight schedule for the project and I don’t have the time to ‘learn’ Hibernate at the same time -maybe for the ‘next release 😉
BTW. I am really impressed with the IDE , well done.
Riyad KallaMemberThanks!
-
AuthorPosts