From c9f1f69c16d893b65d62241fbe955150bca05a64 Mon Sep 17 00:00:00 2001 From: str4d <str4d@mail.i2p> Date: Fri, 27 Jan 2012 02:52:39 +0000 Subject: [PATCH] Fix isClient to get passed through properly --- apps/i2ptunnel/jsp/wizard.jsp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/i2ptunnel/jsp/wizard.jsp b/apps/i2ptunnel/jsp/wizard.jsp index fbb47f3d7d..052b7316ef 100644 --- a/apps/i2ptunnel/jsp/wizard.jsp +++ b/apps/i2ptunnel/jsp/wizard.jsp @@ -19,7 +19,7 @@ curPage = 1; } } - boolean tunnelIsClient = wizardBean.getIsClient(); + boolean tunnelIsClient = Boolean.valueOf(request.getParameter("isClient")); String tunnelType = request.getParameter("type"); %> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -74,9 +74,9 @@ if (curPage == 1) { %><div id="typeField" class="rowItem"> <label><%=intl._("Server Tunnel")%></label> - <input value="0" type="radio" id="baseType" name="isClient" class="tickbox" /> + <input value="false" type="radio" id="baseType" name="isClient" class="tickbox" /> <label><%=intl._("Client Tunnel")%></label> - <input value="1" type="radio" id="baseType" name="isClient" class="tickbox" /> + <input value="true" type="radio" id="baseType" name="isClient" class="tickbox" /> </div><% } else { %><input type="hidden" name="isClient" value="<%=tunnelIsClient%>" /><% -- GitLab