filtering html proxy

2013-11-08 Thread Lucio Crusca
Hello *, I need to build a page (maybe with Wicket, but not sure yet) that proxies another page on a different server that I do not own nor control in any way. Some background: let's call "proxy" my (wicket?) page, let's call "backend" the other page. Backend has a HTML form with three input f

Re: Handler after jqXhR success et before ajax response proccess

2013-11-08 Thread Olivier Dutrieux
Is there a aim to execute processAjaxResponse (javascript method to handled the ajax response by wicket-ajax.js) in IAjaxCallListener's success handler if I set wr ajaxAttribute to false ? Duto - Duto -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Handler-aft

Re: Handler after jqXhR success et before ajax response proccess

2013-11-08 Thread Olivier Dutrieux
To simple explain : on before XHRHttpRequest I change some div and want to restore the div before Ajax response is processed because sometime the respond processed update the div and sometime not. and if the ajax response update the div I want to keep it (don't restore it) and if the div is not upd

Re: Wicket Components as Class Members

2013-11-08 Thread Sven Meier
Hi, >since Wicket serializes all the components anyways, what would it hurt to make a >component final or a class member when declaring it? your reasoning is sound, it does not hurt (besides 4 additional bytes for the object reference). if I need to access them from an anonymous class I us

Re: Handler after jqXhR success et before ajax response proccess

2013-11-08 Thread Sven Meier
There's no callback before the Ajax response is processed - what do you need it for? Sven On 11/08/2013 07:45 PM, Olivier Dutrieux wrote: I use a AjaxCallListener (getBeforeHandler) to execute some javascript before the ajax processing, but I don't find a handler to execute some javascript aft

Handler after jqXhR success et before ajax response proccess

2013-11-08 Thread Olivier Dutrieux
I use a AjaxCallListener (getBeforeHandler) to execute some javascript before the ajax processing, but I don't find a handler to execute some javascript after jqXHR.success et before the Ajax response is process. Is there a aim ? Duto - Duto -- View this message in context: http://apache-

Re: Wicket Components as Class Members

2013-11-08 Thread meduolis
The only thing I googled related to "final" and wicket is this: 7. Java nuances — There are two Java nuances that catch many Wicket newcomers off-guard. 1. The first is serialization. Wicket uses Java serialization to store the state of your component hierarchy (the page and all its components

Wicket Components as Class Members

2013-11-08 Thread mashleyttu
Dumb question everyone, I heard somewhere that it is bad to declare variables as final in Wicket because they are treated as class members, and Wicket serializes the page that would increase your session size. Because of this I have not declared any components I add to my page as final (or create

Re: Wicket site on Android phone

2013-11-08 Thread dpmihai
I also tried to make a desktop Wicket application to look good on Android phone. 1. Depending on application there is a big possibility to not be able to show all the information. For me, it was ok to use css media query to have a different css for Android phone. I had to tweak with fonts size and

Re: Struggling with ContextRelativeResource, RenderedDynamicImageResource and SharedResources

2013-11-08 Thread Dirk Forchel
No, actually not. We've got a complete layout for our web applications from an external design company and they use this CSS+static image resource thing quite often. And, as I have mentioned before, we have two Wicket web applications running in the same container. One of them on the root context a

Re: Session expires almost immediate after login

2013-11-08 Thread Martin Grigorov
Hi, The sessionid appears in the url when the application is requested for a first time. In this case the request doesn't bring JSESSIONID cookie and the server doesn't know whether cookies are supported/enabled in the browser so it uses both url rewriting and cookie in the response. When the seco

Re: Struggling with ContextRelativeResource, RenderedDynamicImageResource and SharedResources

2013-11-08 Thread Ernesto Reinaldo Barreiro
may I ask what is the use case for this 1x1 PNG? Is it something that cannot be handled via CSS + static image on resources? On Fri, Nov 8, 2013 at 8:49 AM, Dirk Forchel wrote: > Okay. I know, but their is no need for an additional parameter. I want to > generate always the same image (a 1x1px P

Re: wicket conversation scope - weld integration

2013-11-08 Thread brazz
Hi again, finally i found the last problem bei incident: I had the beans.xml under WEB-INF and WEB-INF/META-INF as described in the docs and user forums. But actually it turned out that i had to put it under classes/META-INF or whatever the class folder is named. But nevertheless your hints were

Re: Issue w/ Ajax and setting form containers visible in Deployment mode.

2013-11-08 Thread Ben S
Thank for the clarification; I'll be sure to keep that in mind with future development. My web application is now running as designed, thanks for your feedback everyone! On Thursday, November 7, 2013 11:46 PM, Martin Grigorov wrote: Hi, tags are not rendered in deployment mode. See IMark