Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2015
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. For 100000, it should display 1 lakh,
  2. For 200000, it should display 2 lakhs,
  3. .......................
  4. For 10000000 it should display 1 Crore. I'm not able to get the exact condition how to enable it. Here is my code
  5.  
  6. <select name="sumAssured" class="sumAssured" id="sumAssuredDktp" data-action="change:edit" data-actionLoc="offer:healthCover">
  7. <s:iterator value="%{#sumAssuredList}" var="sa" status="rowstatus">
  8. <fmt:formatNumber value="${sa/100000}" minFractionDigits="0" maxFractionDigits="1" var="saLakh"/>
  9. <option value="<s:property value="%{#sa}"/>" <s:if test="%{#sa == #sumAssured.toString()}"> selected="" </s:if> >
  10. ${saLakh} Lakh<c:if test="${saLakh > 1.0}">s</c:if>
  11. </option>
  12. </s:iterator>
  13. </select>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement