POST
|
Hello, The navagation bars in the mobile popup are failing. After navigtion button clicked I get the following. I get the following nasty error message: I think the error orginates in the PopupManager the _onSelectionChange Event (line 99)is not firing as it should. The _onSelectionChange Event calls the this.initPopupMenu([this.selectedFeature]); (line 121) with the selected feature. I can tweak the work flow by running the app in a full broswer window and the reseting the window in Chrome Responsive tools for mobile and the mobile popup will behave as it should. The_onSelectionChange Event gets fired every time the navigtion button on the popup gets clicked and I get the expected results. If I start the app with the Chrome Responsive tools for mobile set the onSelectionChange Event does not get fired. It looks like the event is wired on line 96 on(this.popupUnion.mobile, "selection-change", lang.hitch(this, this._onSelectionChange)); But I can not fiquare out why the binding would not be working or if it is failing. Any ideas would be greatly apprecisted. - Robert have you ever seen this before? Best Regards, Margo
... View more
06-14-2017
12:02 PM
|
0
|
0
|
698
|
POST
|
I am using the default Editor Widget in the WAB Developer Edition. I am accessing hosted Feature Services from a Web Map using https that are shared with only members of my orgnization. The Editor widget loads with layers visible and I can edit layers as expected, but I am getting a Token Error after the ConfigManager has completed. A couple of questions: 1) Am I getting Token Errors becuse I do not have a self-signed certificate instaled on my dev box? 2) I am not logged into AGOL when I am runing WAB on my Dev Box. I would expect that I would get prompted by the WAB app to sign in to AGOL before loading the Web map and FS. Why am I not getting a AGOL signin prompt? Thanks! -Margo
... View more
05-11-2017
01:00 PM
|
0
|
0
|
422
|
POST
|
Scott, Make a templated widget and load your UI. Look at 'dojo/text!./widget.html','dojo/text!./themes/uiAdd.html','dojo/text!./themes/uiSelect.html', in the require statement. Think of the widget.html as the main html. I then load the different UIs when I load the widgets that I want. I had to load the editor template during the map load event to get it to work. I was hopping to be able to hitch the map load event to the Add widget scope but not sure how to do it so I created work around and loadded editor widget during map load event and swap out UIs from view created during load. here is a snippet of my Widget UI <div id="MenuNode" data-dojo-attach-point="MenutNode"> <div class="headerPanel"> <table> <tr width="300px"> <td style="padding:10px;"> <font color="white">Step 1. Select Input Method</font> </tr> </table> <div> </div> </div> <div class="bodyPanel" style="height:auto"> <table align="center" style="padding:10px;"> <tr> <td style="padding:5px;"> <select data-dojo-type="dijit/form/FilteringSelect" id="fruit" name="fruit" style="" data-dojo-attach-event="onChange:uiSelector"> <option value="Add">Add New Feature</option> <option value="Select">Select Existing Feature</option> <option value="Update">Update Features</option> </select> </td> <td></td> </tr> </table> </div> Hope this helps! -Margo
... View more
05-10-2017
08:28 AM
|
2
|
1
|
567
|
POST
|
I am creating a custom Widget that is added to a WAB Developer Edition application. I am adding the editor and template widget to a bodyPanel div. My main widget – GeoCapture gets loaded through the config.json inclusion. The GeoCapture Widget loads a dropdown menu that allows a uses to select what they want to do – 1) Add New Feature 2) Select Existing Feature. Depending on the menu pick a second widget is created that has the UI for either 1) Add New Feature 2) Select Existing Feature. For the Add New Feature widget: 1) I create and startup the search widget 2)Create the editor and templatepicker widgets and start the widgets. I do not get the templatepicker templates displayed after editor and templatepicker widgets have been created (see image). In the debugging tools for the AddWidget around line 201, I can see that at “featureLayers: templateLayers,” I have layers. I suspect that the issue is that the editor and template picker are not getting instantiated and are not running widget startup on the map onLoad event. I likely need to do something like this “this.map.on("Load", lang.hitch(this, 'editWidgetCreate'));” to my Add New Feature widget. But I am not sure how to hitch to a separate widget. Thanks in advance for any suggestions! -Margo
... View more
05-09-2017
01:33 PM
|
1
|
4
|
1246
|
Title | Kudos | Posted |
---|---|---|
2 | 05-10-2017 08:28 AM | |
1 | 05-09-2017 01:33 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|