xPage: Could not load 'imb.xsp.widget.layout.TypeAhead'
Does somenody saw such issue? Got it when added typeAhead to customer control. It works fine when I open new document, but when I go to edit mode always get such message, any ideas?
The typeahead Dojo widget (it's an IBM extension that handles calling to the server, getting responses etc) would not get loaded in read mode. So that would be why it's only occurring in edit mode. If you've just enabled typeahead for an edit box control, you should not need to enable Dojo. I've had similar messages with other Dojo widgets which were fixed by setting dojoParseOnLoad and dojoTheme to true on the XPage properties. The other thing to check is that you can open the javascript file in the browser. Enter the URL it's trying to use (in Firefox with Firebug it gives the full path which should include the Dojo version path) and the javascript file should open. If not, check it's in that location on the server.
1 comment :
The typeahead Dojo widget (it's an IBM extension that handles calling to the server, getting responses etc) would not get loaded in read mode. So that would be why it's only occurring in edit mode. If you've just enabled typeahead for an edit box control, you should not need to enable Dojo. I've had similar messages with other Dojo widgets which were fixed by setting dojoParseOnLoad and dojoTheme to true on the XPage properties.
The other thing to check is that you can open the javascript file in the browser. Enter the URL it's trying to use (in Firefox with Firebug it gives the full path which should include the Dojo version path) and the javascript file should open. If not, check it's in that location on the server.
Post a Comment