getRequestCycleSettings().addResponseFilter(new MyFilter());

Wicket passes org.apache.wicket.util.string.AppendingStringBuffer with the
text response to MyFilter, then MyFilter removes/logs/.... all unwanted
chars and return the cleaned text.


On Sat, Dec 15, 2012 at 7:17 AM, Martin Makundi <
[email protected]> wrote:

> Can you point me to an example for this?
>
> 2012/12/15 Martin Grigorov <[email protected]>
>
> > org.apache.wicket.response.filter.IResponseFilter is applied to both Ajax
> > and normal responses.
> >
> >
> > On Sat, Dec 15, 2012 at 7:02 AM, Martin Makundi <
> > [email protected]> wrote:
> >
> > > Hi!
> > >
> > > Is there a setting/interceptor/filter that can be applied to filter out
> > > illegal utf characters from AjaxRequestTarget response?
> > >
> > >
> > >
> >
> http://blog.mark-mclaren.info/2007/02/invalid-xml-characters-when-valid-utf8_5873.html
> > >
> > > Specifically wicket 1.4.x
> > >
> > > **
> > > Martin
> > >
> >
> >
> >
> > --
> > Martin Grigorov
> > jWeekend
> > Training, Consulting, Development
> > http://jWeekend.com <http://jweekend.com/>
> >
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to