Date: 2004-10-01T00:47:55 Editor: MichaelMcGrady <[EMAIL PROTECTED]> Wiki: Apache Struts Wiki Page: StrutsCatalogLazyList URL: http://wiki.apache.org/struts/StrutsCatalogLazyList
no comment Change Log: ------------------------------------------------------------------------------ @@ -140,3 +140,11 @@ }}} Struts 1.2.4 will ''wrap'' the LazyDynaBean in a BeanValidatorForm automatically. + + +=== Using the Decorator Pattern Underlying !LazyList with Instrumented Forms : One Alternative Suggested Some Time Ago === + +Rather than use collections classes that are decorated in forms, why not make the forms themselves instrumentable by having them decorate the collections? I suggested this sometime ago on this wiki, but the idea could not be implemented until the processing for forms with the collections classes caught up with the idea, distinguishing between a mere Map, for example, and an ActionForm that was also a decorated Map. I called these Instrumented Forms and used the recommendations of Joshua Bloch to code them. ["http://www.michaelmcgrady.com" -- see the coding ideas section and then instrumented forms] + + +Michael !McGrady --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]