jsf and html tags interaction?
Hi
i am working on the jsf and html tags
mycode is
<body>
<h:outputtext value="hello">
</body>
now when i view the source code
<body>
</body>
is shown i cannot see the jsf tags within the body tag.
what can i do
please some one help me
thanks in advance
The first thing you need to do is buy and read a book on JSF. Or at least read the many JSF tutorials that are pervasive on the net. There's even a site called jsftutorials.com. This question seems very much like a RTFM but, hey, it's your duke dollar.
1. Verify that you have an f:view tag in your jsp and that you nest all other jsf tags within it:
2. It's <h:outputText /> not <h:outputtext>, also remember that JSF tags are XML so you need to close them properly.
Your code should be something like:
<f:view>
<body>
<h:outputText value="hello" />
</body>
</f:view>
Hi
Thanks for the reply.
My jsf tags are in between
<f:view>
<f:subview>
<body>
<h:outputtext value="hello"/>
</body>
<f:subview>
</f:view>
i have the code this way only . i am not able to see the jsf tags between the body tags they are beforre the body tags when i view the source.
i just wnat to know why is that happening and how can i make those jsf tags appear between body tags.
Thanks in advance
sreedevi