Thursday, 12 September 2013

Rendering a div with ajax

Rendering a div with ajax

I have this div
<div id="name">
....
</div>
I also have a button that does this:
<h:commandLink id="bttn" action="#">
<f:ajax render="name"/>
</h:commandLink
The problem is that when executing, it says that there is no component
called "name". Is there a way I can render a div with an ajax without
enclosing it within a jsf component?
Thanks!

No comments:

Post a Comment