|
POST
|
Thank you Robert. I have to work with it. I actually try to compare the values of two select objects to ensure that no identical values are selected. Both select objects carry the same options.
... View more
11-10-2015
02:15 PM
|
0
|
2
|
1915
|
|
POST
|
I know that the dropdownlist in dojo has been depreciated. In flex, once a dropdownlist was clicked on, code could check if certain criteria were met and if not, the value of the list would not change. I am trying to implement similar functionality with dojo/select however, the absence of the "break" to exit a function in dojo, makes this more complex. In dojo, once you click on the select list. it allows the user to change its value. A solution is to store the current value of the select list, and if criteria are not met, then revert the select list to its original value. Any other more simple solutions? Thanks.
... View more
11-10-2015
08:56 AM
|
0
|
6
|
4912
|
|
POST
|
Thank you Robert. Yes, I deleted the posts because I thought it was a simple and naive question and I should try a bit harder to try it out. I keep forgetting to keep the scope of the function with the lang.hitch. Thank you!
... View more
11-09-2015
10:19 AM
|
0
|
0
|
2024
|
|
POST
|
I am not sure how this will work. Since the config_identify.json file has some settings before the layers object, the identity tool need to access these settings to initialize the widget. By modifying the config.json as I posted above, the identify widget will not have access to the settings (since the LocalLayer config file does not have them), and therefore it will fail.
... View more
11-06-2015
01:37 PM
|
0
|
1
|
2024
|
|
POST
|
That's what I thought. When I tried this, the wab wouldn't even render the page. "name": "Identify", "label": "Identify", "version": "1.2.0.2", "IsController": false, "uri": "widgets/Identify/Widget", "config": "configs/LocalLayer/config_Local Layer Widget.json" "index": 4, "id": "widgets_Identify_Widget_54"
... View more
11-06-2015
11:00 AM
|
0
|
3
|
2024
|
|
POST
|
Many thanks to Robert and others for helping our community with their custom widgets. I personally use Robert's Identify, LocalLayer widgets to identify a few. Each of these widgets have their own configuration files. Since most of the times the layers that are utilized in the widgets are the same, I found myself to duplicate most of the configuration in each widget configuration. It would be ideal, if the widgets could share the same config file. So, in the config.json the widgets point to the same config file. Comments? Example in the config.json "widgetPool": { ........................... .................................... "widgets": [ { "name": "Identify", "label": "Identify", "version": "1.2.0.2", "IsController": false, "uri": "widgets/Identify/Widget", "config": "configs/COMMON/config.json", "index": 4, "id": "widgets_Identify_Widget_54" } .................... ........................... "widgetOnScreen": { "widgets": [ { "uri": "widgets/LocalLayer/Widget", "id": "widgets_LocalLayer_Widget_55", "name": "LocalLayer", "label": "Local Layer Widget", "config": "configs/COMMON/config.json", }, ............................... ......................................................
... View more
11-06-2015
10:46 AM
|
0
|
7
|
4085
|
|
POST
|
Thank you Ricky. I looked up at the LocalLayerWidget and it was not straightforward of how to do it. Then, I looked at the Splash Widget, per Robert's suggestion, and voila, it was right at the first block of the css code.
... View more
10-29-2015
01:26 PM
|
1
|
0
|
1375
|
|
POST
|
I created a off-panel widget that it has no UI and it opens at start-up. It performs some initial tasks, like reading the URL parameters and it acts accordingly. I don't need the widget icon to be displayed anywhere on the map. Is there an easy way to do without an icon? Thanks.
... View more
10-29-2015
12:56 PM
|
0
|
3
|
2814
|
|
POST
|
Robert, Can you open multiple tabs to display multiple tables from multiple layers? If you call the provided function multiple times, will it create an additional tab? Thanks.
... View more
10-27-2015
12:59 PM
|
0
|
3
|
1690
|
|
POST
|
I totally agree. At first, I had no idea what Robert meant since my knowledge on JavaScript was limited. For those of you who are reading this, and don't understand yet the implications of using the keyword "this", take a look at this very useful reference: Understand JavaScript’s “this” With Clarity, and Master It | JavaScript is Sexy
... View more
10-23-2015
11:11 AM
|
1
|
0
|
8029
|
|
POST
|
Thank you. I used the pattern and it works. I will mark this as answered but the dojo documentation should list any limitations with the NumberTextBox.
... View more
10-15-2015
09:54 AM
|
0
|
0
|
1455
|
|
POST
|
I created a coordinate widget that has two text boxes to accept the long and lat from the user. I used the dijit/form/NumberTextBox. At first, I didn't use any constraints but it seems it would not display any numbers with more than 3 decimal places! Then, I introduced the constraints and specify decimal places. With the constrainsts, the NumberTextBox will display more than 3 decimal places but it prompts that this is not a numeric value!!! What am I doing wrong? Thanks. <input id="longitude" type="text" data-dojo-type="dijit/form/NumberTextBox" name= "long" required="true" value="" data-dojo-props="constraints:{min:-900000000000,max:900000000000,places:10}, invalidMessage:'Please enter a numeric value.'" />
... View more
10-15-2015
09:39 AM
|
1
|
2
|
2397
|
|
POST
|
Thanks. The link was helpful and I fixed the overflow.
... View more
10-07-2015
05:10 PM
|
0
|
0
|
3841
|
|
POST
|
Yes, you are correct. However, the text is overflow outside the widget new width. I reduced the width to 450 and increased height to 600. How do I restrict the text within the new width? Thank you.
... View more
10-07-2015
03:15 PM
|
0
|
2
|
3841
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-09-2026 12:44 PM | |
| 1 | 06-08-2026 12:12 PM | |
| 1 | 06-19-2025 10:13 PM | |
| 3 | 02-06-2026 10:44 AM | |
| 1 | 01-08-2026 12:50 PM |
| Online Status |
Offline
|
| Date Last Visited |
4 weeks ago
|