WICKET-5813 -- Daniel
On Sun, Jan 11, 2015 at 9:50 PM, Martin Grigorov <[email protected]> wrote: > Daniel, > > Please create a ticket. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Fri, Jan 9, 2015 at 2:44 PM, Emond Papegaaij <[email protected]> > wrote: > >> You wrote that code :) I think he is right. >> >> Best regards, >> Emond >> >> On Friday 09 January 2015 14:34:14 Martin Grigorov wrote: >> > Sounds reasonable to me. >> > Emond ? >> > >> > Martin Grigorov >> > Wicket Training and Consulting >> > https://twitter.com/mtgrigorov >> > >> > On Fri, Jan 9, 2015 at 1:50 PM, Daniel Stoch <[email protected]> >> wrote: >> > > Hi, >> > > >> > > Inside AtmosphereBehavior method getCallbackUrl() return value is >> > > >> > > calculated as: >> > > return super.getCallbackUrl() + "&" + WebRequest.PARAM_AJAX + >> > > >> > > "=true&" + >> > > >> > > WebRequest.PARAM_AJAX_BASE_URL + "=."; >> > > >> > > Is it correct? When atmosphere update contains some resources (css, >> > > js) their paths are invalid encoded because >> > > WebRequest.PARAM_AJAX_BASE_URL is set to ".". >> > > Maybe this parameter should be encoded the same way as in >> > > >> > > AbstractDefaultAjaxBehavior: >> > > RequestCycle requestCycle = component.getRequestCycle(); >> > > Url baseUrl = requestCycle.getUrlRenderer().getBaseUrl(); >> > > CharSequence ajaxBaseUrl = >> > > >> > > Strings.escapeMarkup(baseUrl.toString()); >> > > >> > > In my test case this solves a problem. >> > > >> > > -- >> > > Best regards, >> > > Daniel >> >>
