error...... ??
/headlines.xhtml @13,13 <f:metaData> Tag Library supports namespace:
http://java.sun.com/jsf/core, but no tag was defined for name:
metaData
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml"
xmlns:f="
http://java.sun.com/jsf/core"
xmlns:h="
http://java.sun.com/jsf/html"
xmlns:ui="
http://java.sun.com/jsf/facelets" xml:lang="en" lang="en"
xmlns:c="
http://java.sun.com/jstl/core">
<head>
<title>Should Not Be Displayed</title>
</head>
<body>
<ui:composition template="/template/template.xhtml">
<f:metaData>
<f:viewParam name="type" value="#{headlines.type}" />
</f:metaData>
<ui:define name="central-pane">
<p>#{headlines.type}</p>
</ui:define>
</ui:composition>
</body>
</html>
On Thu, Dec 24, 2009 at 12:21 PM, <webtier_at_javadesktop.org> wrote:
> you could use f:metaData together with f:viewParam like this
>
> <f:metaData>
> <f:viewParam name="type" value="#{myBean.type}" />
> </f:metaData>
>
> so field type of myBean will contain the value of the type parameter
>
> Alex
> [Message sent by forum member 'alexander_bell' (Alexander.Bell_at_j4fry.org)]
>
> http://forums.java.net/jive/thread.jspa?messageID=377342
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>
>
--
------------------------------------------
Felipe Gaúcho
10+ Java Programmer
CEJUG Senior Advisor