• Post Reply Bookmark Topic Watch Topic
  • New Topic

Ajax support in Jsf 2.0

N Deepu
Posts: 28
Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm trying to use the Ajax with JSF 2.0 to render a panel on button click. In JSF 2.0 we've f:ajax for rendering dynamically. But in the samples i found online, I only saw outputtext being rendered. I'm trying to render a panel but it gives an exception.

But i get the following exception -
SEVERE: Error Rendering View[/welcome.xhtml]
javax.faces.FacesException: <f:ajax> contains an unknown id 'output' - cannot locate it in the context of the component j_idt9
at com.sun.faces.renderkit.html_basic.AjaxBehaviorRenderer.getResolvedId(AjaxBehaviorRenderer.java:278)
at com.sun.faces.renderkit.html_basic.AjaxBehaviorRenderer.appendIds(AjaxBehaviorRenderer.java:265)
at com.sun.faces.renderkit.html_basic.AjaxBehaviorRenderer.buildAjaxCommand(AjaxBehaviorRenderer.java:210)
at com.sun.faces.renderkit.html_basic.AjaxBehaviorRenderer.getScript(AjaxBehaviorRenderer.java:82)
at javax.faces.component.behavior.ClientBehaviorBase.getScript(ClientBehaviorBase.java:99)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!