RE: Anybody is having problems with Wicket and Facebook Like button?

2012-07-05 Thread Dale Ogilvie
Alec, If you are running in Tomcat 7 you can add this to your web.xml to turn off tomcat JSESSIONID in urls. Tomcat puts a jsessionid on all urls until it receives a session cookie from the client, to cope with cookieless clients. session-config tracking-modeCOOKIE/tracking-mode /session-config

RE: Specified expiration page not being shown

2012-05-31 Thread Dale Ogilvie
page in session [pagemap= + requestParameters.getPageMapName() + ,componentPath= + requestParameters.getComponentPath() + ,versionNumber= + requestParameters.getVersionNumber() + ]); } } -Original Message- From: Dale Ogilvie [mailto:dale_ogil...@trimble.com

Specified expiration page not being shown

2012-05-29 Thread Dale Ogilvie
Hi, This is for wicket 1.4.20. In our WebApplication subclass we have used: getApplicationSettings().setPageExpiredErrorPage(MyExpiredPage.class); However after session has expired on one of our pages, if I submit the (fairly complex) form, the form error message is shown. By this I mean that

RE: Specified expiration page not being shown

2012-05-29 Thread Dale Ogilvie
validatable, String errorKey) { ValidationError error = new ValidationError(); error.addMessageKey(getClass().getSimpleName() + . + errorKey); validatable.error(error); } } -Original Message- From: Dale Ogilvie [mailto:dale_ogil

RE: Passing query string data from an expired page to the expiry page

2012-05-16 Thread Dale Ogilvie
Thanks for your suggestion. I forgot to mention our app is wicket 1.4. I could not find the code below for RequestCycleListener. WebApplication does not have a collection of RequestCycleListeners per 1.5, as far as I could see. Basically our app has branding based on a url parameter passed to

Passing query string data from an expired page to the expiry page

2012-05-14 Thread Dale Ogilvie
Hi there, We use: getApplicationSettings().setPageExpiredErrorPage(MyExpiredPage.class); When MyExpiredPage is rendered, we want it customized according to a query string parameter on the previous page. Any tips on the best way we can determine the previous page parameters, given that session

RE: deserialization - got nulll lastPage

2012-05-02 Thread Dale Ogilvie
, and as you've observed should not affect the user. I don't have the code with me to verify this explanation, but I'm pretty sure this is correct. Dan On Tue, May 1, 2012 at 5:19 PM, Dale Ogilvie dale_ogil...@trimble.comwrote: What does this warning from our wicket 1.4.20 app signify? WARN

deserialization - got nulll lastPage

2012-05-01 Thread Dale Ogilvie
What does this warning from our wicket 1.4.20 app signify? WARN org.apache.wicket.protocol.http.SecondLevelCacheSessionStore PageMap deserialization - got nulll lastPage It seems to occur in a couple of situations: a) when the application is reloaded due to a web.xml change b) when restarting

StyleSheetReference change between 1.4.19 and 1.4.20

2012-03-22 Thread Dale Ogilvie
Hi there, We had code using 1.4.19 for style sheet references: add(new StyleSheetReference(stylesheet_popup, Register.class, /nz/co/acme/accounts/styles/popup.css)); Upgrading to 1.4.20 we had to modify our references to remove the leading slash: add(new

RE: Getting new lines in RepeatingView

2012-02-27 Thread Dale Ogilvie
Using an override of RepeatView, I get better output. The only slight imperfection being that each individual row does not take it's starting cue from the position of the repeated element. I can live with that. i.e. output now has the first element positioned per the template, the remainder are

Getting new lines in RepeatingView

2012-02-23 Thread Dale Ogilvie
Hi, From the docs: Java: RepeatingView view = new RepeatingView(repeater); view.add(new Label(view.newChildId(), hello)); view.add(new Label(view.newChildId(), goodbye)); view.add(new Label(view.newChildId(), good morning)); add(view); Markup: ul li

Location of css and js files

2009-12-20 Thread Dale Ogilvie
Hello, For html page markup containing style and javascript, what is the best practice for positioning the css and js files, so that they are available both at design time, and at run time? I want the designer to be able to see the markup in full glory, while still having this translate

RE: Location of css and js files

2009-12-20 Thread Dale Ogilvie
=text/javascript src=javascript.js/script /wicket:link /head and have the files in the same package as the page -igor On Sun, Dec 20, 2009 at 7:21 PM, Dale Ogilvie dale.ogil...@trimble.co.nz wrote: Hello, For html page markup containing style and javascript, what is the best practice

RE: Location of css and js files

2009-12-20 Thread Dale Ogilvie
Hi Alex, I'm after best practice for css/img and js locations. I know there are many ways to do something, I'm after a recommendation as to what is the best way to do this in wicket. The way that allows the html markup to be opened by the web designer showing the same page view that appears

RE: MarkupnotFoundException in eclipse 3.4.2

2009-08-17 Thread Dale Ogilvie
Thanks, that worked. I wonder why this isn't automatically set up in the quickstart? -Original Message- From: jWeekend [mailto:jweekend_for...@cabouge.com] Sent: Tuesday, 18 August 2009 5:25 a.m. To: users@wicket.apache.org Subject: Re: MarkupnotFoundException in eclipse 3.4.2 The

MarkupnotFoundException in eclipse 3.4.2

2009-08-16 Thread Dale Ogilvie
Hello, The quickstart is proving anything but. I run quickstart: mvn archetype:create -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=1.4.0 -DgroupId=nz.co.acme -DartifactId=myproject Then generate and eclipse project: mvn