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--tp17449846p17449846.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]