i need to update a "div" container with a "xhtml" page, from the page where the "div" container resides...
Below are my codes...
the problem is with the rendering of "divContent.xhtml" 's "h:inputText" inside "updateDiv" div from "updateDiv.xhtml" , which does not render, it just gives out the "h:inputText" component and not the basic html component like "<input type="text" ..>"
can any one please help me in rendering the XHTML component ....
thanks in advance...
Joined: Mar 18, 2013
I solved this problem.....
senthil selva wrote:
i changed divContent.xhtml into divContent.jsf
"divContent.xhtml" is a resource name. Resources are not directly visible to clients.
"divContent.jsf" is a URL name. When a client submits a URL request to the server, the server dissects the URL string and routes the request to the appropriate URL handler. Which, in this particular case is the FacesServlet, which in turn examines the URL and hands it off to the Facelets resource resolver, which decodes the URL path into its corresponding resource path(s). So the divContent.xhtml resource is used by JSF to construct the response for a request for the divContent.jsf URL.
An IDE is no substitute for an Intelligent Developer.