Ajax event hooks T5 style

2010-05-08 Thread akochnev_chub
I'm working on something that I think is very common functionality : I have a form that's submitted over ajax (using the form's zone parameter). However, I would like to clear field values after the form is submitted. I can think of a couple of different ways to do it, but I don't seem to like nei

[T5.1] Input string is not valid; the character at position X is not valid

2010-05-08 Thread Steve Eynon
Hi, I found a way to prevent the above exception from being thrown (when T5 encounters a badly encoded URL) and return an empty EventContext to the page's onActivate() method instead. Essentially I just advise the ContextPathEncoder and return an empty EventContext if an IllegalArgumentException i