resource a button label


/ Published in: Java
Save to your folder(s)

before and after resourcing the label are shown


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.