On Fri, Mar 27, 2009 at 10:38 AM, Simon Lessard <Simon_Lessard(a)dmr.ca>wrote:
Hi Ed & all,
If you're doing this kind of refactoring, then I think you should move the
new "vdl" package to javax.faces.vdl rather than javax.faces.webapp.vdl. It
would be better that way since the vdl is not by definition linked to the
message transport layer (webapp). For example, it would be theoretically
possible to load a view without being in webapp (assuming the vdl doesn't
requires accept to a ServletContext) then serve it to the client using
whatnot technology (assuming that technology has a FacesServlet equivalent).
Which is exactly how we use Facelets in Seam...for mail and PDF templates.
We expect to do the same with VDL in the future.
-Dan
--
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action
http://mojavelinux.com
http://mojavelinux.com/seaminaction
NOTE: While I make a strong effort to keep up with my email on a daily
basis, personal or other work matters can sometimes keep me away
from my email. If you contact me, but don't hear back for more than a week,
it is very likely that I am excessively backlogged or the message was
caught in the spam filters. Please don't hesitate to resend a message if
you feel that it did not reach my attention.