I have a problem with a parameter not getting subtituted, using JSTL/fmt-rt. Here is the jstl:

  <fmt-rt:message key="thankYou.yourDownloadShouldBeginText" >
  <fmt-rt:param><a href="javascript:location.reload()"></fmt-rt:param>
  <fmt-rt:param value="</a>" />
  </fmt-rt:message>

This is what the resulting string in the rendered page looks like:

  Your download should begin momentarily.
  If the download doesn't start, {0} click here {1}.

The begin and end anchor tags are not sub'd in.

Here is the key/string from the bundle:

thankYou.yourDownloadShouldBeginText=Your download should begin momentarily.
If the download doesn't start, {0} click here {1}.


If you remove the single quote the replacement works fine. It seems that single quotes break parameter substitution. I have several strings that use single quotes without parameter substitution and they work.

Any suggestions?

Thanks




_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to