nikhilbchilwant / google-web-toolkit-incubator

Automatically exported from code.google.com/p/google-web-toolkit-incubator
1 stars 1 forks source link

background image in TimePicker causes 500 Internal Server Error #334

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Sys Info:
gwt 2.0
gwt-incubator: gwt-incubator-20091216-r1739
Windows XP
WebSphere 6.1
IE6, FF3.5.7

In ValueSpinner.css, .gwt-TimePicker .textBox is set to use background
url('%background%').
.gwt-TimePicker .textBox {
    border: 0px;
    width: 22px;
    text-align: center;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 11px;
    color: #506374;
    border: 1px solid #7F9DB9;
    background: url('%background%') repeat-x;
}

When browser tries to get this URL '%background%', the server throws 500
Internal Server Error, as this URL is invalid.

Server error:
[1/29/10 15:09:17:370 EST] 00000029 WebContainer  E   SRVE0232E: Internal
Server Error. <br> Exception Message: [java.lang.IllegalArgumentException:
URLDecoder: Incomplete trailing escape (%) pattern
    at java.net.URLDecoder.decode(URLDecoder.java:180)

Original issue reported on code.google.com by KenXuCan...@gmail.com on 29 Jan 2010 at 8:15

GoogleCodeExporter commented 9 years ago
How can I go around this problem? I don't have a 500 but a 400 resource not 
found...
doesn't look nice

thanks

Original comment by luigi.agosti on 31 Oct 2010 at 2:28

GoogleCodeExporter commented 9 years ago
Try modify the CSS and use a valid image for background. 

Original comment by KenXuCan...@gmail.com on 31 Oct 2010 at 3:11

GoogleCodeExporter commented 9 years ago
I was hoping in a better solution...
thanks, I fix it in this way.

Original comment by luigi.agosti on 31 Oct 2010 at 10:23