Re: is possible that CryptedUrlWebRequestCodingStrategy not working

2010-05-11 Thread Istvan Soos
Fernando, It would be better to protect you application in an other way: e.g. create the ids with random, fixed-length postfixes. My practice is to create 4-length postfix with 0-9a-zA-Z random pattern. This is 62^4 possibility for each id in the sequence, e.g. 1aiP7, and 2pN63 is valid, but

autocomplete based on other field's value + storing the reference

2010-05-03 Thread Istvan Soos
Hi, I've the following stripped down hierarchy: form wicket:id=form |- input type=text wicket:id=main |- input type=text wicket:id=description |- input type=hidden wicket:id=reference I'd like the description field to work as an autocomplete field: when the users clicks into it, it might

full JS page + include wicket components?

2010-04-27 Thread Istvan Soos
Hi, I have a complex editor page I plan to implement in JavaScript (YUI 3). However, there are components implemented in Wicket and present on other pages, that I'd like to reuse - if possible. For example I have a combobox that first contains only 10 items, the last one will populate 30 more, or

YUI 3 anyone?

2010-04-26 Thread Istvan Soos
Hi, Is there a cool best-practice or even better an integration library to use YUI 3? I know the standard generic way, I'm interested specifically in YUI 3... Thanks, Istvan - To unsubscribe, e-mail:

Re: HttpsRequestCycleProcessor goes back to http on form failure

2010-04-24 Thread Istvan Soos
Further analysis showed that this problem is somehow related to the apache + mod-proxy + mod-headers environment, because pure jetty or pure glassfish didn't have any issue. Regards, Istvan On Fri, Apr 23, 2010 at 4:12 PM, Istvan Soos istvan.s...@gmail.com wrote: Hi, I'm using

HttpsRequestCycleProcessor goes back to http on form failure

2010-04-23 Thread Istvan Soos
Hi, I'm using HttpsRequestCycleProcessor and it works in most of the cases. However... My login form is https protected. My non-bookmarkable urls are encrypted. On my login form, if the user misses the password, it will get notified (part of the form gets red) and it has the chance to start

IE7 + ajax + cookie = no go?

2010-03-31 Thread Istvan Soos
Hi, I've a page where the user can edit his/her settings through an ajax-updated form. Each time a setting is modified it is being sent to the server side, stored in the session and in the database, and I issue a new cookie that contains the value too. (Of course if the user is not authenticated,

Re: Wicket Session Lifecycle Methods????

2010-03-30 Thread Istvan Soos
Why don't you persist when do user actually does the change (on the interface)? Regards, Istvan On Tue, Mar 30, 2010 at 9:56 AM, corneliu.petrescu corneliu.petre...@theredpoint.ro wrote: Hey, I'm trying to store user application configuration in the session: things like prefered style,

Re: Wicket Session Lifecycle Methods????

2010-03-30 Thread Istvan Soos
can't since Session.getStyle, Session.setStyle are final. :( On Tue, 2010-03-30 at 10:06 +0200, Istvan Soos wrote: Why don't you persist when do user actually does the change (on the interface)? Regards,    Istvan On Tue, Mar 30, 2010 at 9:56 AM, corneliu.petrescu corneliu.petre

wicket:message inside a script tag

2010-03-19 Thread Istvan Soos
Hi, I'd like to localize a simple javascript alert, e.g like this: alert('hello world'); However wicket:message key=helloWorld is not parsed inside the script tag. What is is the suggested solution to overcome this issue? Thanks, Istvan

wicket-jmx

2010-03-17 Thread Istvan Soos
Hi, Is there any documentation around wicket-jmx? I've found only a few blog entry so far, but not much in detail... (e.g. how to initialize it) Thanks, Istvan

Re: wicket-jmx

2010-03-17 Thread Istvan Soos
To answer my own question: just put the wicket-jmx.jar in the classpath and enable the JMX server. That is it, really :) Regards, Istvan On Wed, Mar 17, 2010 at 2:04 PM, Istvan Soos istvan.s...@gmail.com wrote: Hi, Is there any documentation around wicket-jmx? I've found only a few blog

onkeyup ajax call with the key pressed

2010-03-12 Thread Istvan Soos
Hi, Is there a way to combine onkeyup event (on a div panel, not on form component) into an ajax call, that will contain the character of the key pressed? Thanks,   Istvan - To unsubscribe, e-mail:

Re: onkeyup ajax call with the key pressed

2010-03-12 Thread Istvan Soos
       wicketAjaxGet(callbackUrl + 'key=' + event.keyCode); on your div onkeyup event. On Fri, Mar 12, 2010 at 6:55 AM, Istvan Soos istvan.s...@gmail.com wrote: Hi, Is there a way to combine onkeyup event (on a div panel, not on form component) into an ajax call, that will contain

Re: mod_proxy + ssl + HttpsRequestCycleProcessor

2010-03-05 Thread Istvan Soos
:04 PM, Istvan Soos istvan.s...@gmail.com wrote: Hi, We are using HttpsRequestCycleProcessor + @RequireHttps annotation in our local dev environment (the server is a jetty executed directly from Eclipse). In the production environment, we have Apache + mod_proxy, and I'd prefer if Apache could

mod_proxy + ssl + HttpsRequestCycleProcessor

2010-03-04 Thread Istvan Soos
Hi, We are using HttpsRequestCycleProcessor + @RequireHttps annotation in our local dev environment (the server is a jetty executed directly from Eclipse). In the production environment, we have Apache + mod_proxy, and I'd prefer if Apache could handle the SSL part (in that case we are not

Re: mod_proxy + ssl + HttpsRequestCycleProcessor

2010-03-04 Thread Istvan Soos
- From: Istvan Soos [mailto:istvan.s...@gmail.com] Sent: Thursday, March 04, 2010 11:05 AM To: users@wicket.apache.org Subject: mod_proxy + ssl + HttpsRequestCycleProcessor Hi, We are using HttpsRequestCycleProcessor + @RequireHttps annotation in our local dev environment (the server

autologin redirect for https cookie and go back

2010-01-08 Thread Istvan Soos
Hi, I'd like to create automatic login with the following setup: - The auto-login key is stored in a secure cookie issued only over https. - I have created a separate page for this, it can read (a do authentication) or update the cookie (on form login), and it is sending the cookie only over

Re: autologin redirect for https cookie and go back

2010-01-08 Thread Istvan Soos
url, so redirect back to that -igor On Fri, Jan 8, 2010 at 8:16 AM, Istvan Soos istvan.s...@gmail.com wrote: Hi, I'd like to create automatic login with the following setup: - The auto-login key is stored in a secure cookie issued only over https. - I have created a separate page

traditional(?) form processing

2010-01-06 Thread Istvan Soos
Hi, I'd like to create traditional form processing in wicket: to direct a form target to a (bookmarkable) page and receive the form content as PageParameters on that page. Is there any easy and supported way to achieve this? E.g. I have a search page that receives the parameters that way, and

Re: traditional(?) form processing

2010-01-06 Thread Istvan Soos
value=Search / /form No wicket required Martijn On Wed, Jan 6, 2010 at 3:30 PM, Istvan Soos istvan.s...@gmail.com wrote: Hi, I'd like to create traditional form processing in wicket: to direct a form target to a (bookmarkable) page and receive the form content as PageParameters

Re: traditional(?) form processing

2010-01-06 Thread Istvan Soos
Sorry, missed an important part: What is the best way to populate the form's action attribute with a page's bookmarkable url (without knowning it either in the HTML or in the Java code, just the Page class is known)? Regards, Istvan On Wed, Jan 6, 2010 at 3:39 PM, Istvan Soos istvan.s

Re: traditional(?) form processing

2010-01-06 Thread Istvan Soos
6, 2010 at 3:41 PM, Istvan Soos istvan.s...@gmail.com wrote: Sorry, missed an important part: What is the best way to populate the form's action attribute with a page's bookmarkable url (without knowning it either in the HTML or in the Java code, just the Page class is known)? Regards