Re: Problem with setCacheable(false) (No-Cache Header in WebResource)

2011-08-25 Thread Ángel Luis Calvo Ortega
The Internet Explorer cannot find the site is a bug of IE (until v8) that happens when it's tried to download a non-cacheable dynamic resource over SSL. The solution is quite easy, don't use setCacheable(false). Instead set and only set the following attribute in the response:

FeedbackPanel rendering

2011-08-25 Thread Lurtz Nazgul
Hi all; I have two panels. Panel one have the standart form with one Label + TextField (required field) + AjaxButton. Panel two have one FeedbackPanel. Ok, here is the the problem : I can reach Panel Two' FeedbackPanel from Panel One. So in AjaxButton    AjaxButton submit = new

DOUBT Questions Abt Wicket

2011-08-25 Thread Shunmuga Raj
Hi All, I was a beginner to wicket. I have some doubts and questions abt wicket. Questions: 1) What are the advantages of wicket over Struts, Springs, Tapestry, Stripes? 2) What is the main advantages of Wicket? 3) Where the wicket can be used in real time scenario? 4) For which

Re: DOUBT Questions Abt Wicket

2011-08-25 Thread Martin Grigorov
there are no precise answers to these questions. for some apps Wicket is better, for other it is not better search in mail archives and StackOverflow On Thu, Aug 25, 2011 at 10:08 AM, Shunmuga Raj shunmugaraa...@gmail.com wrote: Hi All,              I was a beginner to wicket. I have some

Re: DOUBT Questions Abt Wicket

2011-08-25 Thread Josh Kamau
Hi there, Please go to www.stackoverflow.com and you will see many such questions. Just search for wicket over there. Josh. On Thu, Aug 25, 2011 at 10:08 AM, Shunmuga Raj shunmugaraa...@gmail.comwrote: Hi All, I was a beginner to wicket. I have some doubts and questions abt

Re: DOUBT Questions Abt Wicket

2011-08-25 Thread Shunmuga Raj
Thanks. I ll look into it On 8/25/11, Josh Kamau joshnet2...@gmail.com wrote: Hi there, Please go to www.stackoverflow.com and you will see many such questions. Just search for wicket over there. Josh. On Thu, Aug 25, 2011 at 10:08 AM, Shunmuga Raj shunmugaraa...@gmail.comwrote: Hi

Re: FeedbackPanel rendering

2011-08-25 Thread Andrea Del Bene
Hi Lurtz, what does your form do in its onSubmit method? Have you overriden it? Hi all; I have two panels. Panel one have the standart form with one Label + TextField (required field) + AjaxButton. Panel two have one FeedbackPanel. Ok, here is the the problem : I can reach Panel Two'

Re: FeedbackPanel rendering

2011-08-25 Thread Lurtz Nazgul
Hi Andre; Thanks for your answer. I didn't override form's onSubmit method. From: Andrea Del Bene adelb...@ciseonweb.it To: users@wicket.apache.org Sent: Thursday, August 25, 2011 11:42 AM Subject: Re: FeedbackPanel rendering Hi Lurtz, what does your form

Re: DOUBT Questions Abt Wicket

2011-08-25 Thread Andrea Del Bene
Hi Shunmuga, based on my experience: 1) What are the advantages of wicket over Struts, Springs, Tapestry, Stripes? 2) What is the main advantages of Wicket? The frameworks you have listed are based on MVC frameworks. Wicket is a component oriented framework, like GWT or Vaadin. This kind of

Re: DOUBT Questions Abt Wicket

2011-08-25 Thread Andrea Del Bene
Hi Shunmuga, based on my experience: 1) What are the advantages of wicket over Struts, Springs, Tapestry, Stripes? 2) What is the main advantages of Wicket? The frameworks you have listed are based on MVC frameworks. Wicket is a component oriented framework, like GWT or Vaadin. This kind of

Re: DOUBT Questions Abt Wicket

2011-08-25 Thread Shunmuga Raj
Thanks a lot Andrea Del Bene. U gave answers for most of ma queries. I was quite clarified in it. thanks again On Thu, Aug 25, 2011 at 3:06 PM, Andrea Del Bene adelb...@ciseonweb.itwrote: Hi Shunmuga, based on my experience: 1) What are the advantages of wicket over Struts, Springs,

Re: Book covering 1.5

2011-08-25 Thread Douglas Ferguson
I remember from a few years ago that 1.5 is going to be a non trivial change in architecture. Are there any docs available that explain how to migrate or what the differences are? Actually, now that I type this I remember Igor saying that migration may not be advised.. Douglas On Aug 24,

Re: Book covering 1.5

2011-08-25 Thread Martijn Dashorst
On Thu, Aug 25, 2011 at 9:15 AM, Douglas Ferguson the...@gmail.com wrote: I remember from a few years ago that 1.5 is going to be a non trivial change in architecture. Are there any docs available that explain how to migrate or what the differences are?

Re: Book covering 1.5

2011-08-25 Thread Andrea Del Bene
Hi, try here https://cwiki.apache.org/WICKET/migration-to-wicket-15.html I remember from a few years ago that 1.5 is going to be a non trivial change in architecture. Are there any docs available that explain how to migrate or what the differences are? Actually, now that I type this I

Re: FeedbackPanel rendering

2011-08-25 Thread Andrea Del Bene
I've made a quickstart project trying to reproduce your code, but I didn't get your problem. The project is based on 1.4.18 and has just one homepage. Markup code: html xmlns:wicket=http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd; head titleWicket Quickstart Archetype

Re: Ajax-refreshing parent page from modal window with Page content

2011-08-25 Thread lunchbox
Alright, It worked for me using nested Panel-based modal windows. I had a problem with nested forms inside the modal windows, and one of these forms required setting it multipart. Also, I needed to move the modal window divs inside the forms for all nested modal windows and forms. Hopefully this

IAjaxIndicatorAware and history.back()

2011-08-25 Thread Mihai Toma
Hi, I have a AjaxSubmitLink in a form with an AjaxFormSubmitIndicator behavior (AjaxFormSubmitIndicator class extends AjaxFormSubmitBehavior and implements IAjaxIndicatorAware, used to show a loading image while saving). In the method onSubmit of my AjaxFormSubmitIndicator I save my data

RE: IAjaxIndicatorAware and history.back()

2011-08-25 Thread Mihai Toma
I forgot to say that I use wicket 1.4.15. -Original Message- From: Mihai Toma [mailto:mihai.t...@asf.ro] Sent: Thursday, August 25, 2011 5:17 PM To: users@wicket.apache.org Subject: IAjaxIndicatorAware and history.back() Hi, I have a AjaxSubmitLink in a form with an

Re: Problem with setCacheable(false) (No-Cache Header in WebResource)

2011-08-25 Thread eugenebalt
Hi Angel, thanks for the reply. But it looks like this is not making it non-cacheable. It is cacheable, I get the Excel prompt about reading the local file. My new code with your suggestion: -- WebResource export = new WebResource() { @Override

Re: Problem with setCacheable(false) (No-Cache Header in WebResource)

2011-08-25 Thread Martin Grigorov
On Wed, Aug 24, 2011 at 10:03 PM, eugenebalt eugeneb...@yahoo.com wrote: Guys, what exactly happens when I do setCacheable(false) on a WebResource? Does that mean the downloaded file isn't cached locally? That can't be true, because I am getting a file called report[1].xls where the [1]

Re: IAjaxIndicatorAware and history.back()

2011-08-25 Thread Igor Vaynberg
look for errors in the ajax console. igor On Thu, Aug 25, 2011 at 7:17 AM, Mihai Toma mihai.t...@asf.ro wrote: Hi, I have a AjaxSubmitLink in a form with an AjaxFormSubmitIndicator behavior (AjaxFormSubmitIndicator class extends AjaxFormSubmitBehavior and implements IAjaxIndicatorAware,

Re: wicket include in test

2011-08-25 Thread Igor Vaynberg
the include component tries to construct a url from pieces in your servlet request such as servletrequest.getprotocol, servletrequest.getservername, etc what you have to do is trick it into constructing a url that looks like this: file:///some/dir/static/footer.html you have to play around with

Re: wicket include in test

2011-08-25 Thread Alexander Gubin
Igor, thanks a lot! I was thinking of putting some check whether it's a test code into production code, but that idea seems a bit whacky :) Will play with MockServletRequest... thanks again Alexander On 08/25/2011 10:48 AM, Igor Vaynberg wrote: the include component tries to construct a

nested table

2011-08-25 Thread preben
Hi My wicket experience is quit rusty so forgive me if this is a simple question, but I have not been able to find any example of this. I want to render at table with a nested table in one of the cells. eg. MyClass1 String attribute1; String attribute2; MyClass2 String

Problem with Android and ajax?

2011-08-25 Thread PALMER, THOMAS C (ATTCORP)
We have a problem with a mobile site on an Android. Basically, we're updating select options via ajax with one option that should be selected after the update completes. On an iPhone this works fine and the selected option shows in the list as selected. On Android we get nothing in the

Re: nested table

2011-08-25 Thread Pedro Santos
Hi, you can nestle repeater components like: new ListView(id, listOfClass2){ onPopulate( item){ item.add( ... ); item.add(new ListView(id, listOfClass1OfThisClass2){ onPopulate( innerItem ){ innerItem.add( ... ); } }); } } 2011/8/25 preben

Re: Problem with Android and ajax?

2011-08-25 Thread Pedro Santos
Hi Palmer, it is possible related to https://issues.apache.org/jira/browse/WICKET-3820 , upgrade to 1.4.18 2011/8/25 PALMER, THOMAS C (ATTCORP) tp3...@att.com We have a problem with a mobile site on an Android. Basically, we're updating select options via ajax with one option that should be

Login page hangs after custom page-expired error page

2011-08-25 Thread Scott Reed
A created my own PageExpiredErrorPage. There is a button that is supposed to take the user to the login page so they can log in (similar to the button on the default page-expired error page). / / When the user first opens the web site, they see a log in page with URL