Skip to content

Instantly share code, notes, and snippets.

View blang's full-sized avatar

Benedikt Lang blang

View GitHub Profile
@blang
blang / result.jsp.patch
Created July 24, 2011 13:25
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}" />.
@blang
blang / result.jsp.patch
Created July 24, 2011 10:58
Patch WebE_UB6_GB/WebContent/result.jsp
--- result.jsp 2011-06-12 16:40:54.000000000 +0200
+++ result.jsp 2011-07-24 12:52:29.000000000 +0200
@@ -89,11 +89,11 @@
--%>
<c:forEach var="entry" items="${result}">
<div class="searchHit">
- <div class="searchHit_author">${entry.getAuthor()}</div>
+ <div class="searchHit_author">${entry.author}</div>
<div class="searchHit_date">
- <fmt:formatDate value="${entry.getDate()}" pattern="dd.MM.yyyy" />
@blang
blang / result.jsp.patch
Created July 24, 2011 10:57
Patch WebE_UB6_GB/WebContent/result.jsp
--- result.jsp 2011-06-12 16:40:54.000000000 +0200
+++ result.jsp 2011-07-24 12:52:29.000000000 +0200
@@ -89,11 +89,11 @@
--%>
<c:forEach var="entry" items="${result}">
<div class="searchHit">
- <div class="searchHit_author">${entry.getAuthor()}</div>
+ <div class="searchHit_author">${entry.author}</div>
<div class="searchHit_date">
- <fmt:formatDate value="${entry.getDate()}" pattern="dd.MM.yyyy" />
@blang
blang / build.xml
Created May 24, 2011 13:30
WebEngineering ÜB 4 build.xml fix
<project name="Gaestebuch" default="dist" basedir=".">
<property name="app.name" value="Gaestebuch_Suche"/>
<property name="app.path" value="/${app.name}"/>
<property name="build.home" value="${basedir}/build"/>
<property name="catalina.home" value="/usr/share/tomcat-6"/> <!-- UPDATE THIS! Gentoo default set here other systems: /opt/tomcat-X/? -->
<property name="dist.home" value="${basedir}/dist"/>
<property name="docs.home" value="${basedir}/docs"/>
<property name="src.home" value="${basedir}/src"/>
<property name="web.home" value="${basedir}/WebContent"/>