Hi guys,

How are we going to handle the struts thing?

http://sourceforge.net/tracker/index.php?func=detail&aid=485024&group_id=316
02&atid=402704

http://sourceforge.net/tracker/index.php?func=detail&aid=485601&group_id=316
02&atid=402706

Konstantin Pribluda changed the way the Struts forms are generated. I
currently use a 'hacked' version of XDoclet at work to generate the correct
forms because it breaks compability with XDoclet 1.0.1. There are two
discussion points:

1. What is the name of the struts (what is generated in @struts:form
name="..." for use in struts-config.xml). Previously, it was the full name
of the EJB. Konstantin changed this by allowing to specify different forms
for each EJB. So the name became <ejbName>.<strutsFormName>. This can be a
logical approach, but it requires additional work and a change in naming
scheme (this could be an option for the subtask?).

2. The name of the generated class. Should this be in the form
<ejbName><strutsFormName>Form? For example if you have a RegistrationBean,
this will generate you a RegistrationFullForm and
RegistrationNameAndFirstNameForm. IMHO this is not needed. In all projects I
use struts, I never had different forms for one single EJB (EJB's should be
fine grained, as the EJB 2.0 spec suggests).

Solution: accept the changes, but implement defaults coherent with XDoclet
1.0.1.

What do you think?

Kind regards,
Mathias Bogaert


_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to