You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by netslow <ne...@bk.ru> on 2008/07/15 14:42:19 UTC

Re: Struts 2 Ajax DEBUG: widget ID collision on ID: xxx Problem!?

I have the same problem. And, as I think, it causes the following error:
"WARNING: Parameters: Invalid chunk ignored". I have a lot of files, and I
won't post them for now.

Any ideas?


Noob2k8 wrote:
> 
> Hi,
> 
> ive got a small problem with a simple Ajax example.
> 
> My whole app is too big so ive created a small example which produces the
> same error.
> 
> ajaxTest.jsp
> 
> <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
>     pageEncoding="ISO-8859-1"%>
>     <%@ taglib prefix="s" uri="/struts-tags" %>
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">
> <html>
> <head>
>    <s:head theme="ajax" debug="true"/>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
> <title>Insert title here</title>
> 
> </head>
> <body>
> 
> 
>   <s:a theme="ajax" href="asTest.jsp"  targets="a1" >try it</s:a>
> 
>          
> <s:div id="a1" cssStyle="height:300px;width:300px;">
>     
> </s:div>
> 
> </body>
> </html>
> 
> -----------------------------------
> 
> asTest.jsp
> 
>  <%@ taglib prefix="s" uri="/struts-tags" %>
> 
> Test1
> <s:div executeScripts="true" theme="ajax" id="new3423"
> href="test.jsp"></s:div>
> 
> 
> -------------------------------------
> 
> test.jsp:
> 
> <p>
> test.jsp
> ....
> </p>
> 
> ------------------------------------
> 
> 
> if i click more than once on the link "try it" i get the following error:
> 
> DEBUG: widget ID collision on ID: new3423
> 
> the last few hours ive tried to fix this problem.. but no luck.
> 
> i hope someone here can help me out.
> 
> Thx in advance
> 

-- 
View this message in context: http://www.nabble.com/Struts-2-Ajax-DEBUG%3A-widget-ID-collision-on-ID%3A-xxx-Problem%21--tp17449846p18464298.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org