wicket does not compile for 1.3.x because of method usage > jdk 1.4
-------------------------------------------------------------------

                 Key: WICKET-1809
                 URL: https://issues.apache.org/jira/browse/WICKET-1809
             Project: Wicket
          Issue Type: Bug
            Reporter: Peter Ertl


In

  org.apache.wicket.request.target.basic.StringRequestTarget

the method


  Charset.defaultCharset()

is used.

// ... snip
        public StringRequestTarget(String string)
        {
        this("text/plain", Charset.defaultCharset(), string);
        }
// ... snip

However it does not exist in jdk 1.4 which is a requirement for wicket.

I suggest using

        public StringRequestTarget(String string)
        {
            this("text/plain", 
Charset.forName(Application.get().getRequestCycleSettings().getResponseRequestEncoding()),
 string);
        }



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to