Facelets in JSF 2.0 update Blog
We're
still plugging along on getting Facelets fully specified so a
clean-room implementation can be done of it. Today I've been expanding
the charter of a new class,PageDeclarationLanguage
, which is vended from theViewHandler
. PageDeclarationLanguage
(PDL)
is the starting point for all things specific to the way the view is
described. The idea is that even within the concept of a single
ViewHandler, it's possible to have different ways to declare a view.
We'll be using aPageDeclarationLanguageFactory
and require
that a compliant implementation provide PDL impls for JSP and for
Facelets (as defined in JSF 2.0). The most recent version of this class
is from Early Draft Review 2, at <https://javaserverfaces-spec-public.dev.java.net/nonav/snapshots/edr2/javadocs/javax/faces/webapp/pdl/PageDeclarationLanguage.html>
I've made a bunch of changes to that class just today, but those will be in a later version of the specification.
In
other news, Roger has been doing great work on declarative Ajax and
we'll have an ajaxification story present in JSF 2.0 similar to the <a4j:support />
tag in RichFaces.
Technorati Tags: edburns
4 Comments
-
Can you explain on more simple terms, what exactly is change you guys are planning for Facelets? Also what exactly is PDL? //
-
@rahul: PDL stands for Page Description Language. It's just the term we're using for Facelets, JSP, JSFTemplating, Clay, or whatever else people come up with in the future. //
-
Ryan, the current system would require you to decorate the ResourceHandler to enable this behavior, it's not built into the spec automatically. Ed //
392 Guest Nov 19, 2008 4:09 AM