Friday, October 15, 2010

Friday - October the 15th

1. respond to the questions raised at the V12 scopes presentation

2. JSF 2 - 20 pages V

3. Presentation about what I've been reading


------------------------

<ui:include src="menubar.xml">
<ui:param name="user" value="#{currentUser}"> </ui:param>

u can pass params to included pages

u can use jsp and facelets

u can write pure HTML in facelets

composition using facelets

there is a template and a template client
which uses the template and defines the placeholders

this in the template
<ui:insert name="body">Placeholder Body</ui:insert>
this is the template client
<ui:composition template="/lnf-template.xhtml">
<ui:define name="body"><table width="70%">....
</table></ui:define></ui:composition></ui:include>

the jsfc attribute specifies what component should be used on the
client side

anything outside the <ui:define/> is ignored in a template client file

No comments: