Why not make your other class directly available to the view (rather than delegating to it)?
> -----Original Message----- > From: Ron Chan [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 30, 2003 12:38 PM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] webwork with velocity question > > > when using velocity with webwork all the "gets" in the > actions are easily available on the velocity templates > > question is how much code should be in these gets? > > I have already got logic and data access stuff in a set of > objects outside of the actions that I can use to return > values, lists etc from data sources > > but should I run them straight from the gets and is it better > to, for example, have a list variable in my action, have the > logic object return the list to the variable then have the > "get" just return the list rather than talking to the logic? > > thanks in advance for any thoughts on this > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including Data Reports, E-commerce, Portals, and Forums are > available now. Download today and enter to win an XBOX or > Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork