Hey guys, I'm having a problem. I really like the slate skin and I highly prefer it over the default one. So, I remembered using it in a previous application. But now and with version 1.6 installed, it doesn't work anymore. Below you can see the contents of my main.jsp file. What does the 1.5.0 mean behind the stylesheet links? I thought, maybe it had something to do with the FS ver, but changing it to 1.6.0 didn't solve the problem.

<%@ page import = "java.util.Map" %>
<%@ page import = "org.apache.commons.lang3.StringEscapeUtils" %>
<%
  String ua = request.getHeader( "User-Agent" );
  if (ua != null && ua.indexOf( "Firefox/" ) != -1) {
    %><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><%
  }
  response.setHeader("X-Frame-Options", "SAMEORIGIN");
%>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
    <link rel="stylesheet" type="text/css" href="js/ext-2.2/resources/css/ext-all.css?v=1.5.0" />
    <link rel="stylesheet" type="text/css" href="css/style.css?v=1.5.0" />
    <link rel="stylesheet" type="text/css" href="css/skins/slate.css?v=1.5.0" />
    <title>&nbsp;</title>
  </head>
  <body tabindex="-1">
    <script type="text/javascript" src="js/fs-all.js?v=1.5.0"></script>
    <%
      Map<String, String[]> parameters = request.getParameterMap();
      StringBuffer bfr = new StringBuffer();
      int i=0;
      for(String parameter : parameters.keySet()) {
          if (i>0){
              bfr.append("&");
          }
          String[] values = parameters.get(parameter);
          bfr.append(StringEscapeUtils.escapeHtml4(parameter+"="+values[0]));
          i++;
      }
    %>
    <script type="text/javascript">
        window.requestParameters = "<%=bfr.toString()%>";
    </script>
  </body>
</html>

Aside from that, I recently experienced serious issues with the "Internal Server Error" HTML error message.. I mean, okay, it's obviously not that serious because reloading the web page (several times in some cases) always solves the problem.. But still, it's very annoying to read this message almost everytime I start any Formspider application (doesn't matter if it's one developed by myself or the FS IDE).. This problem also occurs since my update to 1.6.0 - with 1.5 I didn't have these problems..

asked 05 Dec '13, 05:20

Mazzel's gravatar image

Mazzel
31215
accept rate: 0%

edited 05 Dec '13, 05:20


Hi Mazzel,

  1. We cannot reproduce the skin issue here. Please make sure the slate.css not deleted by mistake. (open slate.css with your browser and press refresh button of your browser several times to avoid browser cache )
    Besides, we need your browser and its version in order to investigate further.

  2. Please send us the logs of Tomcat for the second (Internal Server Error) issue.

link

answered 05 Dec '13, 05:59

asdr's gravatar image

asdr ♦
9949
accept rate: 8%

Hello asdr, thank you for the answer!

  1. My "/formspider/css/skins/" folder contains all the three default, gray and slate skins. I already emptied my browser cache from "the beginning of time" as it's stated in my Chrome settings. Which brings me to the last point: I'm using Google Chrome ver. 31.0.1650.57 m.
  2. Where exactly are these logs located, please?
link

answered 05 Dec '13, 06:18

Mazzel's gravatar image

Mazzel
31215
accept rate: 0%

Logs are under the directory of [Tomcat Installation Folder]/logs.

link

answered 05 Dec '13, 06:29

asdr's gravatar image

asdr ♦
9949
accept rate: 8%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×44
×22
×6
×1
×1

Asked: 05 Dec '13, 05:20

Seen: 1,882 times

Last updated: 05 Dec '13, 06:29


© Copyright Gerger 2017