Hi,

say I have an EJB like this:

public abstract class Device implements EntityBean {

/**
* @ejb.persistent-field
* @return
* @ejb.interface-method view-type="local"
* @struts.form-field form-name="Struts"
*/
public abstract Integer getTemperatureInCelcius ();

/**
* @return
* @ejb.interface-method view-type="local"
* @struts.form-field form-name="Struts"
*/
public Integer getTemperatureInFahrenheit () {
return Util.convertC2F (getTemperatureInCelcius ());
}

// [...Similarly for the set methods...]

}

I want to have input screens in both Celcius and Fahrenheit, but the generated StrutsForm bean will not generate getter/setters methods unless I tag them with @ejb-persistent-field, which, if I do, will cause corresponding column tables to be added. Any ideas?

Thanks a lot,

Zorzella



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to