RE: Conditional validation without overriding isRequired

2012-06-06 Thread Schlärmann , Bob
Thanks for your reply, Argh, confused setVisible() with setRequired, my bad ;-) But nevertheless: call setRequiered(condition) in onConfigure(). I've tried this but if I am correct isRequired() gets called before onConfigure() during the request cycle (at least this is the behaviour I see

getLastPage is block third party cookies

2012-06-06 Thread cosmindumy
Hi, I have problems when trying to retrieve last page if block third party cookies are set in browser. All my pages extends a base page that has a method storeCurrentPate(). I try to get last page like : final HashMapString, PageIdVersion lastPageMap =

Streaming Files back to client with using Wicket Pages

2012-06-06 Thread MattyDE
Hi folks, iam ill-using a PrintPage to start my Printing progress which delivers a pdf-File back to the User by writing to the response output Stream. I have to use a Wicket-Page because in one particular case i want to show the Paths to the pdfs instead of stream them directly. Everything

Re: Conditional validation without overriding isRequired

2012-06-06 Thread Andrea Del Bene
Hi, you can consider to override form's process() method. Before calling the super version you can check for the radio value and set the other fields as required if the specific value was chosen. Thanks for your reply, Argh, confused setVisible() with setRequired, my bad ;-) But

RE: Conditional validation without overriding isRequired

2012-06-06 Thread Sven Meier
You have to use the input or converted input of the field. See https://cwiki.apache.org/WICKET/conditional-validation.html for inspirations. Sven Schlärmann, Bob bob.schlarm...@logica.com schrieb: Thanks for your reply, Argh, confused setVisible() with setRequired, my bad ;-) But

ModalDialog and returning back

2012-06-06 Thread Alex
Dear All, I have an application that on renderOnDomReadyJavascript shows Modal Dialog for 5 seconds and then closes it. It is kind of Logo. Unfortunately if user goes to another site and returns back then “Page expired” is displayed in this Modal Dialog and it is not closes. Is it possible to

RE: Conditional validation without overriding isRequired

2012-06-06 Thread Schlärmann , Bob
Thanks for all the comments. I'm implementing the conditional validation using a custom form processing method as suggested by Andrea. It's implemented as a form and behavior subclass. The overridden Form#process() first visits all form components and executes a special method on the

Re: Page Expiry In IE8

2012-06-06 Thread shashikanth69
Hi Guys, I am posting again as i havent get any solution for this problem yet. Hope this time i may get one. Just addign somemore tho the description of my earlier post. Here are the example url i am using from our employers domain in two tabs. 1st tab:

Exception handling and testing

2012-06-06 Thread Alec Swan
Hello, I am creating a new set of pages that are a part of an old project but have a different home page. It's kind of like a sub-site within a site. The user is required to log in on the sub-site's home page to be able to access any of those pages. If the user tries to access any of these pages