Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • 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(
at com.sun.faces.renderkit.html_basic.AjaxBehaviorRenderer.appendIds(
at com.sun.faces.renderkit.html_basic.AjaxBehaviorRenderer.buildAjaxCommand(
at com.sun.faces.renderkit.html_basic.AjaxBehaviorRenderer.getScript(
at javax.faces.component.behavior.ClientBehaviorBase.getScript(
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic