diff options
Diffstat (limited to 'BKUOnline/src/main/webapp')
-rw-r--r-- | BKUOnline/src/main/webapp/SLRequestForm.html | 3 | ||||
-rw-r--r-- | BKUOnline/src/main/webapp/applet.jsp | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/BKUOnline/src/main/webapp/SLRequestForm.html b/BKUOnline/src/main/webapp/SLRequestForm.html index 997a3c82..f705a0cb 100644 --- a/BKUOnline/src/main/webapp/SLRequestForm.html +++ b/BKUOnline/src/main/webapp/SLRequestForm.html @@ -159,6 +159,9 @@ name="appletHeight" value="130" id="appletHeight"> <p><label for="appletBackground">Applet Background</label> <input name="appletBackground" value="" id="appletBackground"> + <p><label for="appletBackgroundColor">Applet Background Color</label> <input + name="appletBackgroundColor" value="" id="appletBackgroundColor"> + </p> <p> <label for="appletPage">Applet Page</label> diff --git a/BKUOnline/src/main/webapp/applet.jsp b/BKUOnline/src/main/webapp/applet.jsp index 1e38cc04..5b9f2274 100644 --- a/BKUOnline/src/main/webapp/applet.jsp +++ b/BKUOnline/src/main/webapp/applet.jsp @@ -36,9 +36,10 @@ : (Integer) session.getAttribute("appletWidth"); int height = session.getAttribute("appletHeight") == null ? 130 : (Integer) session.getAttribute("appletHeight"); - String backgroundImg = session.getAttribute("appletBackground") == null + String backgroundImg = session.getAttribute("appletBackground") == null ? "../img/chip32.png" : (String) session.getAttribute("appletBackground"); + String backgroundColor = (String) session.getAttribute("appletBackgroundColor"); String guiStyle = (String) session.getAttribute("appletGuiStyle"); String locale = (String) session.getAttribute("locale"); String extension = (String) session.getAttribute("extension"); @@ -91,6 +92,7 @@ GuiStyle : '<%=guiStyle%>', Locale : '<%=locale%>', Background : '<%=backgroundImg%>', + BackgroundColor : '<%=backgroundColor%>', WSDL_URL :'../stal;jsessionid=<%=session.getId()%>?wsdl', HelpURL : '../help/', SessionID : '<%=session.getId()%>', |