Comments (3)
Do not use domProp.set() this only affects dom properties. In this case you want to set widget properties. In your template set default props like so:
<button data-dojo-type="dijit/form/button" data-dojo-props="disabled:false" data-dojo-attach-event="onClick:startIdentify" data-dojo-attach-point="starIdentifyBTN">Start</button>
Then in your widget code:
startIdentifyBTN.set('disabled', true);
Have a look here for a good tutorial on this.
To load the image, remember that the path is relative to the file its defined in.
from cmv-app.
David,
How do you config a pop layer in a MapService. In your example you have the Police layer popup configured nicely to work with the Identify tool
// see if we have a Popup config defined for this layer
It would be nice if we can add a map from arcgis online.
Tarig Ahmed
GIS Analyst
North Texas Tollway Authority
Phone: 214-224-2111 Fax: 469-123-4567
Cell: 469-261-0849
[email protected]:[email protected]
www.ntta.org
[chisholm_email_signature]https://www.ntta.org/roadsprojects/projprog/ChisholmTrail/Pages/default.aspx
Please consider that this email and subsequent responses may be subject to Texas Open Records laws. The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized; if you have received this message in error, please notify the sender and permanently delete this email, including any attachments.
From: David Spriggs [mailto:[email protected]]
Sent: Monday, April 14, 2014 6:35 AM
To: DavidSpriggs/ConfigurableViewerJSAPI
Subject: Re: [ConfigurableViewerJSAPI] Can't change the digit property. (#50)
Do not use domProp.set() this only affects dom properties. In this case you want to set widget properties. In your template set default props like so:
<button data-dojo-type="dijit/form/button" data-dojo-props="disabled:false" data-dojo-attach-event="onClick:startIdentify" data-dojo-attach-point="starI
dentifyBTN">Start
Then in your widget code:
startIdentifyBTN.set('disabled', true);
To load the image, remember that the path is relative to the file its defined in.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-40356590.
from cmv-app.
Hi David,
Many thanks for your quick reply. It is really helpful. Appreciate it very
much and have a great day.
Best,
Wei
On Mon, Apr 14, 2014 at 6:35 AM, David Spriggs [email protected]:
Do not use domProp.set() this only affects dom properties. In this case
you want to set widget properties. In your template set default props like
so:Start
Then in your widget code:
startIdentifyBTN.set('disabled', true);
To load the image, remember that the path is relative to the file its
defined in.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/50#issuecomment-40356590
.
from cmv-app.
Related Issues (20)
- field value should contain hyperlink in a popup obtain from search widget in 2.8 versionWeb App builder developer edition
- Removing infoTemplate on setMapClickMode HOT 2
- Create Dialog Box Dynamically,Get user input values and Add Text Graphics on Map ? HOT 1
- vector tile service 4.x supported? HOT 2
- Toggle Labeling menu LayerControl widget Layers ? HOT 5
- Can only identify top layer in Grouped Layer configuration HOT 5
- add WMS-C layer
- Print Scale Error HOT 3
- can cmv be localized??? HOT 4
- example to use Arcade in a customized identify config file HOT 2
- Feature Server support?
- support arcgis javascript api v3.33? or v3.28 HOT 4
- Are you going to make v4.16 version of CMV? v3.x will retired in 2022 as ESRI claimed HOT 4
- Save Layer Visibility State in URL Query Params HOT 2
- How put an accordion in left pane HOT 2
- BUG? - LayerControl doesn´t show all simbology
- Doubt: how open sidebarBottom programatically? HOT 1
- Zoom Level in Attribute Grid HOT 1
- Missing iconClass in widget config causes crash while loading on mobile HOT 1
- Home Button bug HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmv-app.