huh, i haven't really tested the code with applet. I guess i'd need a
quickstart so that i can reproduce this behavior to be able to fix it.
-Matej
On 3/26/07, jamieballing [EMAIL PROTECTED] wrote:
We have a problem with a page that has an applet on it. The issue only occurs
in Firefox (it works in IE7).
If I click on a link that brings up a modal window, I get an error in the
debug output indicating that it can't find a public onfocus event. The
debug output appears below:
---
INFO: Initiating Ajax GET request on
/app?wicket:interface=:1:content:searchResultListerPanel:listerForm:dataView:1:documentDetail:actionsPickList:optionListView:4:optionLink::IBehaviorListenerwicket:behaviorId=1random=0.0007002777531609494
INFO: Invoking pre-call handler(s)...
INFO: Received ajax response (1073 characters)
INFO:
?xml version=1.0 encoding=UTF-8?ajax-responsecomponent
id=content_searchResultListerPanel_documentManagementModal ![CDATA[div
style=display:none
id=content_searchResultListerPanel_documentManagementModal
div
id=content_searchResultListerPanel_documentManagementModal_content
TODO
/div
/div]]/componentevaluate![CDATA[var element =
document.getElementById(content_searchResultListerPanel_documentManagementModal_content);
var settings = new Object();
settings.minWidth=200;
settings.minHeight=200;
settings.className=w_blue;
settings.width=600;
settings.height=600;
settings.resizable=true;
settings.element = element;
settings.cookieId=modal-window-8207246;
settings.title=This is a placholder;
settings.mask=semi-transparent;
settings.onClose = function() { var
wcall=wicketAjaxGet('/app?wicket:interface=:1:content:searchResultListerPanel:documentManagementModal::IBehaviorListenerwicket:behaviorId=1',
function() { }, function() { }); };
Wicket.Window.create(settings).show();
]]/evaluate/ajax-response
INFO: Response parsed. Now invoking steps...
ERROR: Error while parsing response: Java class
com.test.wicket.panel.upload.applet.FileDropApplet has no public field or
method named onfocus
INFO: Invoking post-call handler(s)...
INFO: Invoking failure handler(s)...
---
Just for kicks, I added a couple methods named getOnfocus() and
onfocus() that return strings in the FileDropApplet class, but it didn't
seem to make any difference.
Do you have any thoughts or suggestions for what my be causing this?
Many thanks,
Jamie
--
View this message in context:
http://www.nabble.com/no-public-field-or-method-named-%22onfocus%22-message-tf3469746.html#a9682250
Sent from the Wicket - User mailing list archive at Nabble.com.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user