title: netbeans 7.0 shows error in Struts2 select tag .. netbeans version 6.9 does not show this error
body: <pre><code>&lt;s:select
    name="PenaltyPercentage"
    id="PenaltyPercentageId"
    list="#{'7.5%':'7.5%', '15.0%':'15.0%'}" &lt;!-- shows error in this line --&gt;
    headerKey=""
    headerValue="Please Select"
    emptyOption="false"&gt;
  &lt;/s:select&gt;
  </code></pre>
  
  <p>the error messages reads as below</p>
  
  <pre><code>Encountered ":" at line 1, column 9.
  Was expecting one of:
  "}" ...
  "." ...
  "]" ...
  "&gt;" ...
  "&lt;" ...
  </code></pre>