wt., 1 mar 2022 o 04:10 Burton Rhodes <burtonrho...@gmail.com> napisał(a): > > I am attempting to convert my [action]-conversion.properties files to > annotations and I having difficulty figuring out how to migrate this entry: > > > *"searchCriteria.emailQueueStates=com.afs.web.common.struts.converter.MyStringToCollectionConverter"* > > into an @annotation for the action class below... > > *public class BaseAction extends ActionSupport {* > > * @Element(value = > com.afs.web.common.struts.converter.MyStringToCollectionConverter)* > > * private SearchCriteriaEmailQueue searchCriteria;* > > * /// code omitted* > *}* > > > How do I specify just the individual "emailQueueStates" parameter > instead of the entire SearchCriteriaEmailQueue class?
Without polluting the model it won't work, I would suggest using struts-conversion.properties for such kind of conversion Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org