POST
|
The problem has returned. When I start with a clean install of WAB 2.10 and add my widget to client\stemapp3d\widgets, I get an error again when trying to add that widget to a 3D app. The manifest definitely has the correct capitalization: "hasSettingUIFile": false I'm going to re-add my workaround for now.
... View more
12-18-2018
12:29 PM
|
0
|
0
|
375
|
POST
|
Hi Robert, Thanks for your response. I tried again and now it seems to be working fine. I'm not sure what exactly I had wrong before, but now I'm able to have: "hasSettingUIFile": false, in the manifest and delete the setting/Setting.html file from my widget folder in client/stemapp3d. Also, I no longer need to wait until the postscript function to set the templateString, since it's not being sent to the contents of the default file. I can now do it in the constructor instead. I'm not sure if this is due to a typo in manifest.json on my part or not. I've found in the past that for manifest file changes to take effect you need to actually kill the Web AppBuilder process and start it over. Perhaps I forgot to this while testing this feature. Thanks again for your help!
... View more
12-14-2018
01:57 PM
|
0
|
1
|
375
|
POST
|
I'd like to use dojo/text! to populate the templateString for my 3D widget's Setting page programmatically, rather than the default behaviour of loading the Setting.html page in the widget's folder. I expected this should be possible if I set the hasSettingUIFile property to false in the manifest.json file. Instead, I spotted a 404 in the network traffic. The url it was attempting to load was: http://{my machine name}.{my domain}:3344/webappbuilder/null I ended up working around it by overriding the "postscript" function like so: postscript: function(widget) { widget.templateString = template; this.inherited(arguments); }, (where "template" was populated via use of "dojo/text!{file path}" in the "define" method.) Is this a bug in Web AppBuilder? The equivalent setting of hasUIFile seems to work correctly. It's just the settings page that has problems. Also, the same setting seems to work in a 2D version of the widget. It's just the 3D one that's failing.
... View more
12-10-2018
01:01 PM
|
0
|
3
|
475
|
POST
|
Redlands has logged the following enhancement request: ENH-000105036: Allow the Message widget to be closed with the ESC key and have the dijit confirmed with the ENTER key.
... View more
05-18-2017
11:33 AM
|
0
|
0
|
246
|
POST
|
Hi Robert, Thanks for the tip. I've opened a support ticket. I'll let you know what I learn.
... View more
05-08-2017
09:09 AM
|
0
|
1
|
246
|
POST
|
I am using the Message dijit in place of javascript alert() and confirm() to match the style of WAB. However, it is not possible to use key events to select the buttons, which is not ideal. Looking at the base class (Popup) I see that there is a property called key which seems to correspond to a member of dojo/keys for this very purpose. Sadly, all the relevant code is commented out. Has this functionality been deprecated, or can we expect to see it implemented in a future release?
... View more
04-18-2017
02:27 PM
|
0
|
3
|
922
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|