Justin Deoliveira ha scritto: > +1, the organization makes sense to me. > > Andrea Aime wrote: >> Hi, >> trying to write out more panels for the new Wicket >> UI it's evident I'm growin a (small) number of reusable >> classes, in terms of: >> - UI components >> - models (as in IModel), especially loadable catalog object wrappers > I noticed this too... a nice convenient base class would be nice for > loadable detachable models for catalog objects. Could look up the id > reflectively, and then just call a subclass hook to do the actual > lookup. Is that what you had in mind?
Actually, I was just thinking about a base class that has a getCatalog() method, did not consider the reflective lookup. Wondering if it makes more sense to have a CatalogObject interface with a getId() method? (as opposed to using reflection which is not refactoring safe). Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
