Re: wicket abort ajax handling of multipart form when the server is stopped

2015-03-24 Thread ywtsang
Sorry that I missed to mention the browser. Thanks for the quick help. Do we have any schedule for the next wicket-7 release? -- View this message in context:

wicket abort ajax handling of multipart form when the server is stopped

2015-03-23 Thread ywtsang
in normal case, I have tested that wicket ajax multipart form submit event can be triggered properly in this sequence onbefore onprecondition onbeforesend onafter onsucess oncomplete but when the server is stopped and the same ajax multipart form is submitted, only these events are

Re: how to cache the html output of a panel?

2009-05-21 Thread ywtsang
we have tried the best to cache the backing model (or data) and we are always looking how to push our performance to a limit it seems we are hitting the limit now, instead we go to refactor/revamp a lot, we want to see if we can do anything on wicket such as caching the generated html that can

request time logging with application and network time disguished

2009-03-15 Thread ywtsang
we are trying to do logging on the request time to check the application processing time and the request output network time we first try to time the request processing by overriding WebRequestCycle#onBeginRequest, #onEndRequest but it seems the processing time is the same as the request time

Re: question about adding synchronized on mountsOnPath at WebRequestCodingStrategy

2009-02-12 Thread ywtsang
i don't have concrete stress test results to support if this synchronized hurts the performance badly but instead i was trying to throw a question on the code to see if it is necessary to use synchronized at the case (in fact, i don't support adding mount paths dynamically during runtime, so it

question about adding synchronized on mountsOnPath at WebRequestCodingStrategy

2009-02-11 Thread ywtsang
at 1.3.5 class: org.apache.wicket.protocol.http.request.WebRequestCodingStrategy method: urlCodingStrategyForPath the variable mountsOnPath is synchronized is this necessary? because the WebRequestCodingStrategy is initialized once by request cycle processor, which in turns is shared by all

Re: Turn off form validation

2009-01-03 Thread ywtsang
i also have a similar use case that requires turning off validation for some ajax button links e.g. i have a form, that may have some text fields with different/none validators and i want to do translation on some of the text fields by ajax/dynamically, so i need to use ajax button links to

Re: Release date for 1.3.5?

2008-09-21 Thread ywtsang
as i also want to know the release schedule of 1.3.5, after searching the mail list, it seems this thread is the latest about the topic, so i bring this thread up again do we have a planned schedule for 1.3.5? thanks Jörn Zaefferer-2 wrote: Hi, is there a release date planned for 1.3.5?

calculate the request-only-process time

2008-09-02 Thread ywtsang
we want to calculate the time to process the request , excluding the response stream time e.g. 1) request received at tomcat - 2) wicket filter - 3) business + wicket rendering logic - 4) response streaming we want the time of steps 2+3, we try to count the time use the method

Re: how to mark wicket html response as cacheable?

2008-09-01 Thread ywtsang
://www.jWeekend.co.uk http://jWeekend.co.uk ywtsang wrote: i want to set my html with last modified date in order to allow client side caching how can we do that in wicket? or we need to manipulate the response header directly? -- View this message in context: http

Re: how to mark wicket html response as cacheable?

2008-09-01 Thread ywtsang
sure that yours are really static dont use ajax and that stuff on them because if a browser really caches stuff i dont know if then everything is always in sync. On 9/1/08, ywtsang [EMAIL PROTECTED] wrote: thanks how about skipping the content rendering? i.e. how to just make the web

how to mark wicket html response as cacheable?

2008-08-31 Thread ywtsang
i want to set my html with last modified date in order to allow client side caching how can we do that in wicket? or we need to manipulate the response header directly? -- View this message in context:

Re: strange ajax hang-up problem at IE6, windows 98

2008-08-29 Thread ywtsang
) -Matej On Thu, Aug 28, 2008 at 2:03 PM, ywtsang [EMAIL PROTECTED] wrote: at windows 98 , IE6, when i click an ajax link, it can fire the request to server, and server has processed and completed sending the request but the browser still hang up or waiting, until i click somewhere

strange ajax hang-up problem at IE6, windows 98

2008-08-28 Thread ywtsang
at windows 98 , IE6, when i click an ajax link, it can fire the request to server, and server has processed and completed sending the request but the browser still hang up or waiting, until i click somewhere at the page, then the wicket ajax action will then proceed it happens only at windows

Re: Discussion on Wicket Interface Speed-Up

2008-08-28 Thread ywtsang
nice we are also taking efforts in optimizing the webapp as we serve the resources (images/css/js) using 3rd content provider, our approach is different from your wicket-focus turning; but it indeeds give me some insight, thanks we also want to merge the css/js files, but after thinking

change the mountpath of wicket request

2008-06-11 Thread ywtsang
currently all wicket request at mounted at root, e.g. /?wicket:interface can we change it to mount at different place like /customer/?wicket:interface -- View this message in context: http://www.nabble.com/change-the-%22mountpath%22-of-wicket-request-tp17775860p17775860.html Sent

configure the expire header value

2008-06-02 Thread ywtsang
how to configure expire header value for wicket resources like indicator.gif wicket js etc ? and, if we can set the expire to long time away, can wicket name the resources with version according to wicket release version? -- View this message in context:

change wicket resource (js) path

2008-05-28 Thread ywtsang
how can i change the wicket resource (e.g. wicket ajax js) path? i want to change it to point to our content server rather than to the web server -- View this message in context: http://www.nabble.com/change-wicket-resource-%28js%29-path-tp17511746p17511746.html Sent from the Wicket - User

Re: client side handling of ajax request session expiration

2008-04-22 Thread ywtsang
() { ...}) (but I never tried that myself). -markus Am 17.04.2008 um 13:01 schrieb ywtsang: we want to handle session expiration exception triggered by an ajax request since the session is expired, the ajax request can't be forwarded to the corresponding ajax behavior, instead, the server

Re: client side handling of ajax request session expiration

2008-04-18 Thread ywtsang
right, we have implemented the keep alive timer as well but still, we also want to handle the ajax expiration exception at client side, because we discovered that we can't preserve the session if the server is restarted Erik van Oosten wrote: Hi Ywtsang, Not an answer to your question

captcha image random display problem

2008-04-18 Thread ywtsang
i use the captcha image, but sometime the image shows incompletely e.g. it does not show the full image, it is just chopped it happened randomly my form also have an ajax link to allow refresh the captcha immediately if i click the ajax link to refresh the image , the image chops randomly with

Re: client side handling of ajax request session expiration

2008-04-18 Thread ywtsang
, but we want to handle that ajax session expire exception gracefully at client side can we hack the wicket codes (java/js) that can intercept the ajax session expiration? any class/pointer that i should look at? Erik van Oosten wrote: ywtsang wrote: because we discovered that we can't preserve

Re: captcha image random display problem

2008-04-18 Thread ywtsang
we are using wicket 1.3.1 Jonathan Locke wrote: i think i've seen this before too at some point. what wicket version? ywtsang wrote: i use the captcha image, but sometime the image shows incompletely e.g. it does not show the full image, it is just chopped it happened randomly

client side handling of ajax request session expiration

2008-04-17 Thread ywtsang
we want to handle session expiration exception triggered by an ajax request since the session is expired, the ajax request can't be forwarded to the corresponding ajax behavior, instead, the server throw session expiration exception (we have configured the handling by

fail to check HttpServletRequest.isSecure under tomcat

2008-04-10 Thread ywtsang
i have configured the tomcat (6.0.13) to use SSL when i access my app under https and try to check the HttpServletRequest.isSecure (the http servlet request is retrieved from RequestCycle.get()), it always returns false (i have already configured the tomcat connector to returns true for the

ajax error handling on server side exception

2008-04-10 Thread ywtsang
i can sucecssfuly use getFailureScript to act against the client-side ajax error, i.e the server is down and ajax request is sent with failure can we have similar facility for server-side exception upon ajax request? e.g. for now, if the server throw exception during onevent of an ajax request,

Re: pass information through ajax without form

2007-10-03 Thread ywtsang
(Exception exc) { throw new RuntimeException(wrap: + exc.getMessage(), exc); } } And you need to override (server or client side) the callbackUrl to add parameter. ywtsang wrote: How to pass information (stored in an attribute of a html tag, or javascript

Re: pass information through ajax without form

2007-10-03 Thread ywtsang
=' + this.destPosition; } }; In my case I use jquery to retrieve states, values. If I've got time this evening, I'll try to create a sample. Which type of information do you want to send back to server ? ywtsang wrote: i have traced the wicket source codes at the place that how