Hi,
I’m just curious if anybody noticed that the form-property line in struts-cinfig.xml is never created. Holds for both 3.8Beta2 as well as 3.8.1+QF20040825 (Windows XP SP1, Eclipse 3.0.0).
Easily reproducible using your flash struts tutorial – the ‘name’ text property is created in login.jsp and LoginForm.java, but in struts-config.xml, there’s only
<form-beans >
<form-bean name=”loginForm” type=”com.meicompany.struts.form.LoginForm” />
</form-beans>
so I had to manually add the property:
<form-beans >
<form-bean name=”loginForm” type=”com.meicompany.struts.form.LoginForm” >
<form-property name=”name” type=”java.lang.String” />
</form-bean >
</form-beans>
Didn’t help to r-click and Edit the loginForm form-bean in the Outline either – I tried to add another property, but ended up back on the following in the struts-config.xml file:
<form-beans >
<form-bean name=”loginForm” type=”com.meicompany.struts.form.LoginForm” />
</form-beans>
Thanks.