[jboss-user] Problem with ForceRender listener

Alexander Kovachev alexander.kovachev at abv.bg
Mon Nov 5 05:54:36 EST 2007


 I used when I include a JSP with <a4j:include
viewId="some.jsp" /> and then inside the jsp I use ForceRender
listener in datatable to dynamically render a single row of the table I
get the following exception:



 
 
  
	     Code:   
	 
	 
	    SEVERE: Servlet.service() for servlet Faces Servlet threw exception
java.lang.IllegalArgumentException: Illegal view Id for build AJAX Action URL: parentOfSome.jsp
	at org.ajax4jsf.framework.ajax.AjaxContext.getAjaxActionURL(AjaxContext.java:795)
	at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildEventOptions(AjaxRendererUtils.java:240)
	at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildOnEvent(AjaxRendererUtils.java:171)
	at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildOnClick(AjaxRendererUtils.java:131)
	at org.ajax4jsf.renderkit.AjaxCommandRendererBase.getOnClick(AjaxCommandRendererBase.java:66)
	at org.ajax4jsf.renderkit.html.CommandLinkRenderer.doEncodeBegin(CommandLinkRenderer.java:97)
	at org.ajax4jsf.renderkit.html.CommandLinkRenderer.doEncodeBegin(CommandLinkRenderer.java:88)
	at org.ajax4jsf.framework.renderer.RendererBase.encodeBegin(RendererBase.java:101)
	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:515)
	at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:453)
....	   
  
 




I guess the problem has to do something with the aj4:include
component cause it works fine if I use facelet's  . 

-----------------------------------------------------------------
Избери от 30 000 заглавия с най-големите отстъпки в WWW.MOBILIS.BG
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20071105/9ca44c93/attachment.html 


More information about the jboss-user mailing list