Hello,

Still trying to get my wicket application to work with Ajax from liferay
portal.
it works just fine outside of the portal. and I get the same behavior in
both firefox and IE.
this is the error I get: 
     Error while parsing response: Could not find root <ajax-response>
element

this is the full message:

INFO: 
INFO: Initiating Ajax GET request on
/sample?wicket:interface=:5:tabs:panel:pageable:12:live::IBehaviorListener&wicket:behaviorId=0&random=0.2061009857067349
INFO: Invoking pre-call handler(s)...
INFO: Received ajax response (2250 characters)
INFO: 
<html> 
<head> 
<title>Directory Listing For /</title> 
<STYLE><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color : #525D76;}--></STYLE>
</head> 
<body><h1>Directory Listing For /</h1><HR size="1" noshade="noshade"><table
width="100%" cellspacing="0" cellpadding="5" align="center"> 
<tr> 
<td align="left"><strong>Filename</strong></td> 
<td align="center"><strong>Size</strong></td> 
<td align="right"><strong>Last Modified</strong></td> 
</tr><tr> 
<td align="left">   
/sample/style.css <tt>style.css</tt> </td> 
<td align="right"><tt>18.4 kb</tt></td> 
<td align="right"><tt>Mon, 21 May 2007 11:14:08 GMT</tt></td> 
</tr> 
<tr bgcolor="#eeeeee"> 
<td align="left">   
/sample/view.jsp <tt>view.jsp</tt> </td> 
<td align="right"><tt>1.3 kb</tt></td> 
<td align="right"><tt>Wed, 31 May 2006 14:14:06 GMT</tt></td> 
</tr> 
<tr> 
<td align="left">   
/sample/wicket-ajax-debug-drag.js <tt>wicket-ajax-debug-drag.js</tt> </td> 
<td align="right"><tt>4.0 kb</tt></td> 
<td align="right"><tt>Sun, 22 Apr 2007 20:33:58 GMT</tt></td> 
</tr> 
<tr bgcolor="#eeeeee"> 
<td align="left">   
/sample/wicket-ajax-debug.js <tt>wicket-ajax-debug.js</tt> </td> 
<td align="right"><tt>3.7 kb</tt></td> 
<td align="right"><tt>Sun, 22 Apr 2007 20:33:58 GMT</tt></td> 
</tr> 
<tr> 
<td align="left">   
/sample/wicket-ajax.js <tt>wicket-ajax.js</tt> </td> 
<td align="right"><tt>30.2 kb</tt></td> 
<td align="right"><tt>Sun, 22 Apr 2007 20:33:58 GMT</tt></td> 
</tr> 
</table> 
<HR size="1" noshade="noshade"><h3>Apache Tomcat/5.5.20</h3></body> 
</html> 

ERROR: Error while parsing response: Could not find root <ajax-response>
element
INFO: Invoking post-call handler(s)...
INFO: Invoking failure handler(s)...

Can anyone help?

Thanks,

-- 
View this message in context: 
http://www.nabble.com/Ajax-not-working-from-portlet-tf3810378.html#a10784723
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to