Skip to content

Instantly share code, notes, and snippets.

@blang
Created July 24, 2011 13:25
Show Gist options
  • Save blang/1102613 to your computer and use it in GitHub Desktop.
Save blang/1102613 to your computer and use it in GitHub Desktop.
Patch WebE_UB6_Waehrung/WebContent/result.jsp
--- result.jsp 2011-06-15 17:06:24.000000000 +0200
+++ result.jsp 2011-07-24 15:23:41.552999992 +0200
@@ -48,8 +48,8 @@
<%-- ============================================================= --%>
<%-- 2 Versionen: ohne und mit Benutzung des "FormatNumber" Tags --%>
<%-- ${result.fromAmount} ${result.fromCurrency.getCode()} entsprechen derzeit ${result.toAmount} ${result.toCurrency.getCode()}.--%>
- <fmt:formatNumber type="currency" value="${result.fromAmount}" currencyCode="${result.fromCurrency.getCode()}" /> entsprechen derzeit
- <fmt:formatNumber type="currency" value="${result.toAmount}" currencyCode="${result.toCurrency.getCode()}" />.
+ <fmt:formatNumber type="currency" value="${result.fromAmount}" currencyCode="${result.fromCurrency.code}" /> entsprechen derzeit
+ <fmt:formatNumber type="currency" value="${result.toAmount}" currencyCode="${result.toCurrency.code}" />.
<%-- ============================================================= --%>
<%-- ENDE DES VON EUCH ZU IMPLEMENTIERENDEN ABSCHNITTES --%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment