Hi all,
I just had a little bit of sparetime today and played with the popup
option of the ajaxdirectlink (alpha-7-pretap41 branch).
<a href="#" jwcid="@tacos:AjaxDirectLink"
listener="listener:executeCall" updateComponents="ognl:{'recPane'}"
popup="literal:{title:'TestPane',widgetId:'callPane',constrainToContainer:'1',excludeToolbar:'true',toggle:'fade',contentNodeId:'recPane'}">
arrived</a>
I already submitted a bug report because of the exludeToolbar issue
but run now into a thingy which I wanted to check first with you guys
before opening a bug report cause it seems very strange to me.
The first time I open the popup everything works fine. Then I leave
this popup open and press again the ajaxdirectlink. The expected
reaction would be to fill the new content into the old popup. But
instead a new popupwindow is drawn within the old one which looks very
strange. The reason for this is, that the line
var fpwidget = dojo.widget.getWidgetById(floatingPaneArgs["widgetId"]);
in tacos.js returns void. I added a call before
var list1 = dojo.widget.all();
which also returns an empty list.
That means, no widget is registered.
The funny thing is, that after the widget is actually created with
FromScript, there are 5 items in the widget list (including the popup
widget). But as soon as I click again on the ajaxdirectlink, the
widget list is empty again. It seems like the list only lives for the
duration of an AJAX request.
Can somebody confirm on this behaviour? Or am I having a misbehaving
application ;-)
Regards,
Markus
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel