Hello,
I want to add a button "Reset" like the "Save" and "Cancel" button on the edit page of JSPWiki.
A button (for reset) has been added but I am not able to set the text of the button as I want. JSPWiki uses fmt tag and the messages are stored in the properties file for which the location is given as
<fmt:setBundle basename="templates.default"/>
and the text of the button for eg. Save is given by
title="<fmt:message key='editor.plain.save.submit'/>"
I tried to do similar thing for reset as
title="<fmt:message key='editor.plain.reset.submit'/>"
but it did not work.![]()
It shows the button text as "???editor.plain.reset.submit???" instead of "Reset"
I had added the message for Reset in the properties file in the "etc" folder available in the JSPWiki source.
One more thing that I noticed is that the buttons available earlier (Save, cancel, etc)showed correct text even if the "etc" folder was removed from the project.
I am stuck so as to where should I now add the message to set the buttons text in the editors page. If somebody has faced such a problem earlier or can help on such a topic, please do reply.
Looking forward for an early reply...
Thanks ![]()
Last edited by kanchan (2009-01-13 05:26:31)
Offline
You are not logged in.