Return to Snippet

Revision: 65359
at November 23, 2013 04:31 by davidjmcclelland


Updated Code
//before
<input type="button" name="mapFilterFormBtn" value="Update"
onclick="reloadlocations('<html:rewrite forward="platform.getlocations"/>')"/>

//after
<input type="button"
       name="mapFilterFormBtn"
       onclick="reloadlocations('<html:rewrite forward="axeda.getlocations"/>')"
       value='<fmt:message key="updateLabel"/>'/>

Resource Bundle Entry:
jsp.service.device.modules.map.updateLabel=Update!

Resource Bundle notation in file containing the button:
<fmt:bundle basename="com.platform.drm.webapp.service.JspResources" prefix="jsp.service.device.modules.map.">

Revision: 65358
at November 23, 2013 04:15 by davidjmcclelland


Initial Code
//before
<input type="button" name="mapFilterFormBtn" value="Update"
onclick="reloadlocations('<html:rewrite forward="platform.getlocations"/>')"/>

//after
<input type="button" name="mapFilterFormBtn"
onclick="reloadlocations('<html:rewrite forward="platform.getlocations">')">
   <fmt:message key="updateLabel"/>
</input>

Resource Bundle Entry:
jsp.service.device.modules.map.updateLabel=Update!

Resource Bundle notation in file containing the button:
<fmt:bundle basename="com.platform.drm.webapp.service.JspResources" prefix="jsp.service.device.modules.map.">

Initial URL


Initial Description
before and after resourcing the label are shown

Initial Title
resource a button label

Initial Tags
button

Initial Language
Java