Posted By

davidjmcclelland on 11/23/13


Tagged

button Bundle Resource


Versions (?)

resource a button label


 / Published in: Java
 

before and after resourcing the label are shown

  1. //before
  2. <input type="button" name="mapFilterFormBtn" value="Update"
  3. onclick="reloadlocations('<html:rewrite forward="platform.getlocations"/>')"/>
  4.  
  5. //after
  6. <input type="button"
  7. name="mapFilterFormBtn"
  8. onclick="reloadlocations('<html:rewrite forward="axeda.getlocations"/>')"
  9. value='<fmt:message key="updateLabel"/>'/>
  10.  
  11. Resource Bundle Entry:
  12. jsp.service.device.modules.map.updateLabel=Update!
  13.  
  14. Resource Bundle notation in file containing the button:
  15. <fmt:bundle basename="com.platform.drm.webapp.service.JspResources" prefix="jsp.service.device.modules.map.">

Report this snippet  

You need to login to post a comment.