|
From: <jue...@we...> - 2004-02-17 08:44:09
|
Darren, =20 I guess there is a semantic difference here: AbstractUrlBasedView and = UrlBasedViewResolver assume to deal with views that are more or less = completely defined through a URL. AbstractXsltView on the other hand = needs a concrete subclass that provides the DOM document; the = "stylesheetLocation" just specifies the stylesheet to render that = subclass-provided document with. So I guess it's arguably OK to keep the = "stylesheetLocation" property and not derive from AbstractUrlBasedView. = What do others think? =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von Darren Davison Gesendet: Di 17.02.2004 03:08 An: spr...@li... Betreff: [Springframework-developer] AbstractXsltView -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 is there any reason this class can't extend AbstractUrlBasedView and = replace the stylesheetLocation with a url property for consistency? Only really struck me as I'm just documenting/using it.. should have noticed before RC1 really. Traffic to the lists would suggest not masses of people using it so potentially it could be changed for 1.0 final but it would break = existing view definition files. I can commit this if no objections since I'm working with it just now. - -- Darren Davison Public Key: http://www.davison.uk.net/key.jsp -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAMXeIKLMLAN01aw0RAjssAJ9HMQw33Rv3+jTrHND4CeWY3lD7OgCglIDy Hbx8lai0N6Hje13TMNaP0ak=3D =3DPFF7 -----END PGP SIGNATURE----- ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id438&op=3Dick _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |