AnsweredAssumed Answered

info template issues

Question asked by geonetadmin on Apr 24, 2012
Latest reply on Apr 30, 2012 by tjacoby2006
Original User: hbostic

Hello, I'm defining an infotemplate as
newMemberTemplate = new esri.InfoTemplate();
         newMemberTemplate.setTitle("<b>New User Information</b>");

applying it like
var deferred = censustract.selectFeatures(query,esri.layers.FeatureLayer.SELECTION_NEW); 

where getTextContent returns:
var newEntry = new com.urs.greenteam.widgets.testWidget({id:"entryScreen"});
  return newEntry.domNode; 

My issues are:
1. the infowindow title is blank
2. the infowindow does not seem to respect data-dojo-* syntax so I have to use dojoType = and explicitly set my attributes
3. for dojo.form.TextBox the placeHolder text is not honored in IE

HTML for com.urs.greenteam.widgets.testWidget:
[HTML]<input id="search"  name="search" value="" dojoType="dijit.form.ValidationTextBox" data-dojo-props="trim:true, propercase:true, style:'width: 20em;', placeHolder:'Parcel ID, Address, Lat & Long, Zip Code'"/>
  <input type="text" name="employeeName" size="30" placeHolder = "Enter Your Name" required="true" dojoType="dijit.form.ValidationTextBox" trim="true" id="employeeName" propercase="true">
  <input type="text" name="firstname" value="" data-dojo-type="dijit.form.TextBox" data-dojo-props="trim:true, propercase:true, placeHolder:Parcel ID, Address, Lat & Long, Zip Code" id="firstname"><br>
  <div dojoType="dijit.layout.ContentPane">
     <input id="searchAddress"  data-dojo-attach-point="_searchAddress" name="searchAddress" value="" dojoType="dijit.form.TextBox" trim="true" propercase="true" selectOnClick="true" size="30" placeHolder="Address" />

Any help would be gladly appreciated