[Wicket-user] Ajax not working from portlet

2007-05-24 Thread sf

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::IBehaviorListenerwicket:behaviorId=0random=0.2061009857067349
INFO: Invoking pre-call handler(s)...
INFO: Received ajax response (2250 characters)
INFO: 
html 
head 
titleDirectory 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 
bodyh1Directory Listing For //h1HR size=1 noshade=noshadetable
width=100% cellspacing=0 cellpadding=5 align=center 
tr 
td align=leftstrongFilename/strong/td 
td align=centerstrongSize/strong/td 
td align=rightstrongLast Modified/strong/td 
/trtr 
td align=left   
/sample/style.css ttstyle.css/tt /td 
td align=righttt18.4 kb/tt/td 
td align=rightttMon, 21 May 2007 11:14:08 GMT/tt/td 
/tr 
tr bgcolor=#ee 
td align=left   
/sample/view.jsp ttview.jsp/tt /td 
td align=righttt1.3 kb/tt/td 
td align=rightttWed, 31 May 2006 14:14:06 GMT/tt/td 
/tr 
tr 
td align=left   
/sample/wicket-ajax-debug-drag.js ttwicket-ajax-debug-drag.js/tt /td 
td align=righttt4.0 kb/tt/td 
td align=rightttSun, 22 Apr 2007 20:33:58 GMT/tt/td 
/tr 
tr bgcolor=#ee 
td align=left   
/sample/wicket-ajax-debug.js ttwicket-ajax-debug.js/tt /td 
td align=righttt3.7 kb/tt/td 
td align=rightttSun, 22 Apr 2007 20:33:58 GMT/tt/td 
/tr 
tr 
td align=left   
/sample/wicket-ajax.js ttwicket-ajax.js/tt /td 
td align=righttt30.2 kb/tt/td 
td align=rightttSun, 22 Apr 2007 20:33:58 GMT/tt/td 
/tr 
/table 
HR size=1 noshade=noshadeh3Apache 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


[Wicket-user] newbie - getting a null AjaxRequestTarget

2007-05-22 Thread sf

Hi,

When I try to deploy my wicket application in Liferay, ajax doesnt seem to
work.
eventhough the default value of ajaxable in Liferay is true, I get a null
AjaxRequestTarget on the onclick event of my AjaxFallbackLink.

can anyone advise what to do?

Thanks,

-- 
View this message in context: 
http://www.nabble.com/newbie---getting-a-null-AjaxRequestTarget-tf3795611.html#a10735611
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


[Wicket-user] newbie creating an expandable tree node with no children

2007-05-10 Thread sf

How can I create an expandable node when the node doesn't have any children.
it seems as if the '+' sign is added automatically only when children exist
(I am implementing a lazy loading tree, the children will be added only when
the user expands the node)?


Thanks
Shula
-- 
View this message in context: 
http://www.nabble.com/newbie-creating-an-expandable-tree-node-with-no-children-tf3722311.html#a10415653
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