Re: Can the ILinkListener on-click URL be made case insensitive?

2014-05-15 Thread Ian Marshall
;ibehaviorlistener" to "IBehaviorListener" will be easy. But > "inkmylink" (a random component id in your app) to "InkMyLink" won't be > that easy. > > Martin Grigorov > Wicket Training and Consulting > > > On Tue, May 6, 2014 at 3:52

Can the ILinkListener on-click URL be made case insensitive?

2014-05-06 Thread Ian Marshall
Hello, I have a standard stateless link with an on-click handler. Does anyone know of a way to either allow case-insensitivity for URLs of components and their listeners or else for the application to render these in all lower case? (This is because web requests by bots can be made to a link lis

Re: "Twenty-Six Wicket Tricks" Book

2013-02-15 Thread Ian Marshall
ook. > Am 14.02.2013 14:51 schrieb "Ian Marshall" < > IanMarshall.UK@ > >: > >> Perhaps a good source of information is Jonathan's blog at: >> >>http://codeact.wordpress.com <http://codeact.wordpress.com>; >> >> Ian >>

Re: "Twenty-Six Wicket Tricks" Book

2013-02-14 Thread Ian Marshall
Perhaps a good source of information is Jonathan's blog at: http://codeact.wordpress.com Ian Sebastian Gaul wrote > Does anyone know what happened to the book "Twenty-Six Wicket Tricks" > by Jonathan Locke? Some code looks very promising and I would like to >

Want to override FeedbackPanel to use GAE/J memcache in addition to the session

2013-02-04 Thread Ian Marshall
I am having trouble with intermittently missing Wicket session flash messages. I refer to my post on StackOverflow at: http://stackoverflow.com/questions/14344740/intermittently-missing-wicket-session-flash-messages I would like to try to fix my problem by overriding FeedbackPanel to use GAE/J'

Re: Wicket 6 API docs incomplete

2012-12-21 Thread Ian Marshall
/steps/MasterShellCommand/logs/stdio > > > On Thu, Dec 20, 2012 at 7:27 PM, Ian Marshall < > IanMarshall.UK@ > >wrote: > >> Hello, >> >> I just wanted to let people know that the above javadocs are incomplete >> for >> me. >>

Wicket 6 API docs incomplete

2012-12-20 Thread Ian Marshall
wicket/apidocs/6.0.x · Follow the link to the classes CheckBox or Label · I get the web response "(404 -) No Such Resource - File not found." · The javadocs for Wicket 1.5 are fine for me. I hope this helps. Ian Marshall -- View this message in context: http://apache-wicket.1842

Re: Manual procedure to update Wicket for NetBeans

2012-11-22 Thread Ian Marshall
Martin Grigorov-4 wrote > [...] > > You can check http://ant.apache.org/ivy/. It adds dependency management to > Ant. > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com ; Thanks for the tip, Martin. I'll give Apache Ivy a look

Re: Manual procedure to update Wicket for NetBeans

2012-11-22 Thread Ian Marshall
Martin Grigorov-4 wrote > Hi Ian, > > Thanks for sharing ! > > May I ask you why you avoid Maven ? > With Maven (and similar dependency management tools) I just change X.Y.Z > to > X.Y.Z+1 in one place and continue working without bothering with all these > steps. 1. The documentation for Googl

Re: Manual procedure to update Wicket for NetBeans

2012-11-22 Thread Ian Marshall
Martin Grigorov-4 wrote > Hi, > > Please paste it here. > Isn't it just download the jars from Maven repos or from Apache Dist and > put them in your project structure ? > > > On Wed, Nov 21, 2012 at 4:49 PM, Ian Marshall < > IanMarshall.UK@ > >wro

Manual procedure to update Wicket for NetBeans

2012-11-21 Thread Ian Marshall
Wicket 6. (I maintain this procedure in the form of a LibreOffice Writer document.) I am happy to show this procedure for review and possible subsequent inclusion in a sensible place in the Wiki (or wherever), if any Wicket developer so desires. Or I can simply paste it here. Ian Marshall

Incorrect session handling in a GAE environment

2012-10-03 Thread Ian Marshall
I get what appears to me to be incorrect session handling when the Apache Wicket session size of my application approaches my self-imposed limit of 900kB (which itself is near the Google App Engine (GAE) limit of 1MB). I see flash messages set during the composition of a web response using org.

Re: Cookies not getting deleted

2012-07-30 Thread Ian Marshall
As well as setting the max age to zero, I also set the cookie's path to "/". kshitiz wrote > > Hi, > > I am trying to delete 2 cookies by using the code: > > > *Cookie emailIdCookie = ((WebRequest) > getRequestCycle() >

Re: Determine session size for Wicket 1.5

2012-07-17 Thread Ian Marshall
Thanks for the tip, Jochen. I'm already doing that now, using Oracle's Java VisualVM Jochen Mader wrote > > Get a heapdump, use yourkit/visualvm. > > On Mon, Jul 16, 2012 at 11:14 AM, Ian Marshall <IanMarshall.UK@> > wrote: >> I don't think that

Re: Generic for FileUploadField model

2012-07-16 Thread Ian Marshall
To explain better My form has the component FileUploadField fufUploadImage = new FileUploadField("fufUploadImage"); frmForm.add(fufUploadImage); The form's model is a compound property model, constructed using a LoadableDetachableModel. MyModel includes the data member public transie

Re: Generic for FileUploadField model

2012-07-16 Thread Ian Marshall
For my FileUploadField field in a form, I use the model type List. meduolis wrote > > Wicket version: 1.5.3 > Java version: 1.7.0_02 > > Hello, how to properly set generic for FilUploadField model? > > I try like this, but it does not compile: > > > I get error message > > > If I make i

Re: Determine session size for Wicket 1.5

2012-07-16 Thread Ian Marshall
limit of 1MB too). I shall have to try and find somewhere else to get a meaningful session size. Ian Marshall wrote > > Thanks Martin, > > I could not find onDetach() but found detach() so I have done this in my > WebSession subclass: > > @Override > public v

Re: Determine session size for Wicket 1.5

2012-07-13 Thread Ian Marshall
h(). > > On Fri, Jul 13, 2012 at 2:01 PM, Ian Marshall <IanMarshall.UK@> > wrote: >> Hello, >> >> Is there a good way to discover my serialised or about-to-be-serialised >> session size without adding the debug bar to my page? >> >>

Re: Determine session size for Wicket 1.5

2012-07-13 Thread Ian Marshall
ver system: Google App Engine for Java version 1.7.0 Java: 1.6.0_33; Java HotSpot(TM) Client VM 20.8-b03 Operating system: Microsoft Windows XP Home Edition version 2002 SP3 (version 5.1 running on x86; Cp1252; en_GB) Ian Marshall Walter Rugora wrote > > Thanks Jeremy, works great!

Re: setResponsePage swallows my session feedback messages

2012-06-29 Thread Ian Marshall
-Paquet wrote > > Hi Ian, > > I'm sorry, I don't understand. Perhaps some parts of your message didn't > make it to the mailing list? (see "If you use" and "and then one of"). > > On 29/06/2012 9:39 AM, Ian Marshall wrote: >> Hi Bertrand, &g

Re: setResponsePage swallows my session feedback messages

2012-06-29 Thread Ian Marshall
age2 > is a callback url for an OAuth provider (Facebook in this case). It's > actually Facebook who redirects to Page1 and they don't allow query > parameters in the callback url so I can't use a link listener as a > workaround. > > Bertrand > > On 29/

Re: setResponsePage swallows my session feedback messages

2012-06-29 Thread Ian Marshall
Hello Bertrand, Where is your Page2 code fragment called? Is in the page constructor, in a page component onSubmit() method, or somewhere else? My guess is that your code fragment is called in the page constructor. If this is so, then: · I might expect the differences in behaviour you experie

Re: Adding Cookie in 1.5.5

2012-06-28 Thread Ian Marshall
Have you tried wicket user wrote > > Hi, > > I was trying to add a cookie > getWebRequestCycle().getWebResponse().addCookie() > > but couldnt find getWebRequestCycle() in 1.5.5. > > i found getRequestCycle() but did not find addCookie in getResponse(). > ((WebResponse)getRequestCycle()

Re: Wicket Page constructor getting called twice

2012-06-27 Thread Ian Marshall
quest's response. > > > On Mon, Jun 25, 2012 at 9:53 PM, Nick Heudecker <nheudecker@> wrote: >> I've only seen this type of behavior if I have an empty >> element or something similar. >> >> >> >> On Mon, Jun 25, 2012 at 11:45 AM

Wicket Page constructor getting called twice

2012-06-25 Thread Ian Marshall
1.5.7 Java: 1.6.0_33; Java HotSpot(TM) Client VM 20.8-b03 Web server system: Google App Engine for Java version 1.6.6 Operating system: Microsoft Windows XP Home Edition version 2002 SP3 (version 5.1 running on x86; Cp1252; en_GB) (nb) IDE: NetBeans IDE

RE: Favicon best practice

2012-04-27 Thread Ian Marshall
rowsers look in the root > unless specified differently in the html (like you are doing). > > BTW... app is on Apache + Tomcat and runs as the root app of the tomcat > instance. > > > > -Original Message- > From: Ian Marshall [mailto:IanMarshall.UK@] > Se

Re: Favicon best practice

2012-03-30 Thread Ian Marshall
older, and leave the other one in place "just in case". Ian Marshall wrote > > Alas I am getting MidasTouchCodingExceptions. > > I tried > > protected void init() > { > super.init(); > ... > > // New code > ResourceReference

Re: [1.5.4] DropDownChoice is not presenting value if equals is not overwritten

2012-03-02 Thread Ian Marshall
I too received log warnings as mentioned in the newly-changed code mentioned above. My relevant Java code extract is: ChoiceRenderer crRenderer = new ChoiceRenderer("sName", "nOrdinal"); RadioChoice rcFieldsMode = new RadioChoice("rcFieldsMode", lciItems, crRenderer); rcFieldsMode.set

Re: Link URLs (with JSessionID) truncated during URL rewriting

2012-02-23 Thread Ian Marshall
I run my Wicket app on Google App Engine for Java, which I believe uses Jetty (or modified Jetty?) not Tomcat as its web application server. The JIRA ticket states "The bug does only show up when using tomcat (6.0.29) and not in jetty", so I'll dip out of testing this particular ticket if that

Re: Link URLs (with JSessionID) truncated during URL rewriting

2012-02-23 Thread Ian Marshall
I fixed the problem by going around it. All my web pages are descended from my PageBase class, which in turn descends from Wicket's WebPage. · I disable my automatic removal of JSessionID by overriding public String ServletWebResponse.encodeURL(CharSequence url) in my WebApplicat

Re: How to write an HTTP header (to detect cookie disablement)?

2012-02-23 Thread Ian Marshall
Hi Martin, Many thanks for your explanation and tip! Regards, Ian Martin Grigorov-4 wrote > Hi, > > Headers are not cookies. > By setting a header in the response you should not expect that it will > come in the next request. > > A request header is set by the client (the browser in this cas

Re: How to write an HTTP header (to detect cookie disablement)?

2012-02-22 Thread Ian Marshall
Hi Martin, COOKIES --- I'm fine for this. My cookie code actually works. (But if the user's browser disables cookies, then I want to use HTTP headers to be able to say "The user is on his/her second page, and still no cookie, so cookies are definitely disabled (I cannot tell this on the first

Re: How to write an HTTP header (to detect cookie disablement)?

2012-02-21 Thread Ian Marshall
't appear in the browser's page source but will be in the > http response header. > > Sent from my iPhone > > On Feb 17, 2012, at 12:01 PM, Ian Marshall <IanMarshall.UK@> wrote: > >> I am having trouble with JSessionIDs in my URLs (my post at >> &g

Re: JavaSerializer in 1.5.4 causes exceptions with GAE

2012-02-20 Thread Ian Marshall
Thanks for pointing me to WicketStuff and the fix it gives. Strangely enough, for me I only encountered this problem for 1.5.4 but not before then. Thanks too for the link to the GAE/J issue. I already had it starred, and had already noted the lack of attention it receives. -- View this message i

How to write an HTTP header (to detect cookie disablement)?

2012-02-17 Thread Ian Marshall
}; add(frmForm); ... } Again no such header appeared. Can anyone see what I am doing wrong? Regards, Ian Marshall -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-write-an-HTTP-header-to

Link URLs (with JSessionID) truncated during URL rewriting

2012-02-14 Thread Ian Marshall
Hello All, Has anyone else apart from me suffered from this problem of URLs being truncated to become invalid? I would appreciate it if anyone else shared my pain! Ian Marshall Ian Marshall wrote > > Hello All, > > A user's first visit to my app's home page results

RE: Link URLs with JSessionID truncated

2012-02-13 Thread Ian Marshall
Chris Colman-2 wrote > > I was going to suggest that the relative URL problem might be caused by: > > https://issues.apache.org/jira/browse/WICKET-4138 > > but that was fixed in 1.5.3. > > Maybe it's related to https://issues.apache.org/jira/browse/WICKET-4138 > , fixed in 1.5.4. Both links ar

RE: Link URLs with JSessionID truncated

2012-02-13 Thread Ian Marshall
Wicket version: 1.5.3. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Link-URLs-with-JSessionID-truncated-tp4381881p4383252.html Sent from the Users forum mailing list archive at Nabble.com. - To uns

RE: Link URLs with JSessionID truncated

2012-02-12 Thread Ian Marshall
Hi Chris, I suppressed JSessionIDs in my links' URLs, not because I dislike them, but solely because I found that my links' URLs were not working because the ".." strings were appearing. So, unless I can find a better way, I need to suppress the JSessionIDs and require session cookie enablement.

Link URLs with JSessionID truncated

2012-02-12 Thread Ian Marshall
nce of the web application server or web browser? As a work-around, I have already coded the supression of JSessionIDs in my links' URLs, and am coding the app to give a warning if session cookies are disabled. But I would appreciate any pointers. Ian Marshall My operat

Re: How do I write my first Apache Wicket program on NetBeans IDE?

2012-01-19 Thread Ian Marshall
The answer might depend in part upon which web server you want to use. NetBeans ships with Tomcat. There are others which one can use. I stopped using Tomcat and now use Google App Engine's (GAE's) development web server to run my Wicket application outside of NetBeans. If that is want you want t

Re: PageParameters in 1.5: a sanity check request

2011-11-23 Thread Ian Marshall
Thanks for your comments, Guys. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/PageParameters-in-1-5-a-sanity-check-request-tp4099136p4099956.html Sent from the Users forum mailing list archive at Nabble.com. --

PageParameters in 1.5: a sanity check request

2011-11-23 Thread Ian Marshall
I have ported my app from 1.4.18 to 1.5.1 (I haven't used 1.5.3 yet). As part of my porting, I had to adjust the use of page parameters. I would like to mention my changes for parameter extraction and existence determination below, in case someone can mention a cleaner way to do these things...

Re: Forum vs list question

2011-11-17 Thread Ian Marshall
Hi Neill, I am in the same position as you. I prefer not to receive E-mails of all the posts and look via my browser instead. Once you have signed up, log in and: Visit the Apache Wicket › Users forum page Go to Options | Your subscription: Users forum (edit) Either Select "Receive new

Re: NonCachingImage not showing image with GAE

2011-10-14 Thread Ian Marshall
my problem! Ian Marshall wrote: > > Hello everyone, > > I use a NonCachingImage component to show an image in a form. The image > shows correctly when using the Google App Engine for Java (GAE/J) > development application server but fails to show when the code is running >

Re: Converter for FileUpload

2011-10-07 Thread Ian Marshall
to expect List > > On Fri, Oct 7, 2011 at 12:39 PM, Ian Marshall <IanMarshall.UK@> > wrote: >> Hello All, >> >> I am porting my Wicket 1.4.18 application to 1.5.1. >> >> I am now getting the following exception when I use a >> org.apache.wicket.m

Converter for FileUpload

2011-10-07 Thread Ian Marshall
browser: Mozilla Firefox 7.0.1 Regards, Ian Marshall -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Converter-for-FileUpload-tp3881522p3881522.html Sent from the Users forum mailing list archive at Nabble.com

Very minor amendment in the 1.5.0 Javadocs for StringResourceModel

2011-09-22 Thread Ian Marshall
t I guess that this issue is not a typo at all - just a very minor tweak.) Martin Grigorov-4 wrote: > > you can paste a patch here > I'm not sure that I understand you > > On Thu, Sep 22, 2011 at 5:15 PM, Ian Marshall > <ianmarshall...@gmail.com> wrote: >> Hell

Minor typo in the 1.5.0 Javadocs for StringResourceModel

2011-09-22 Thread Ian Marshall
Hello there, I believe that I have spotted a minor typo in the 1.5.0 Javadocs for org.apache.wicket.model.StringResourceModel whilst fettling my app for 1.5. For the documentation for the constructor StringResourceModel(String resourceKey, Component component, IModel model, String defaultValue

Re: Minor typo in the "Migration to Wicket 1.5" guide?

2011-09-15 Thread Ian Marshall
gt; the wiki is editable by everyone. improve it! ;-) > > On Thu, Sep 15, 2011 at 7:03 PM, Ian Marshall > <ianmarshall...@gmail.com> wrote: >> Under the final section "List of renamed classes and methods", should the >> first 1.4 class listed not be >&

Minor typo in the "Migration to Wicket 1.5" guide?

2011-09-15 Thread Ian Marshall
Under the final section "List of renamed classes and methods", should the first 1.4 class listed not be org.apache.wicket.request.resource.ResourceReference but org.apache.wicket.ResourceReference? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Minor-typo-in-th

Re: Creating a resource from a byte array and its content type

2011-09-15 Thread Ian Marshall
I used my other method instead of using ByteArrayResource directly, in order to reduce session size. I therefore presume that I was using ByteArrayResource incorrectly for that reduction to happen! Martin Grigorov-4 wrote: > > On Thu, Sep 15, 2011 at 5:13 PM, Ian Marshall > <

Re: Creating a resource from a byte array and its content type

2011-09-15 Thread Ian Marshall
I don't know why I said that ByteArrayResource was abstract. Sorry about that; I got it mixed up with another class. I need to keep my byte array wrapped in a LoadableDetachableModel, in order to prevent the array being stored in the page and session, so I do not supply an IResource to the NonCach

Creating a resource from a byte array and its content type

2011-09-15 Thread Ian Marshall
nto a resource stream (as far as I can see). Can anyone recommend a good way for me to generate a resource stream from a byte array and its content type? I would appreciate any assistance greatly. Ian Marshall My essential 1.4 Java code -- String sContentTypeWithP

Re: Successor to StyleSheetReference in 1.5

2011-09-14 Thread Ian Marshall
Thanks Martin. I shall try CssResourceReference rrefCSS = new CssResourceReference( ResourcesLocator.class, "style.css"); ResourceLink rlnkCSS = new ResourceLink("stylesheet", rrefCSS); add(rlnkCSS); in order to keep my HTML mark-up unchanged. If this does not work, I shall look into

Successor to StyleSheetReference in 1.5

2011-09-14 Thread Ian Marshall
Hello there, Most of my web pages descend from my class PageBase, which itself descends from WebPage. In 1.4, these pages accessed my CSS file (in the same folder as my file ResourcesLocator.java) by using the code given below. I have looked, but cannot see how to do this in 1.5 (where StyleShee

Re: PackageResource changes in 1.5

2011-09-09 Thread Ian Marshall
;); > > no need to use wicket at all > > -igor > > On Fri, Sep 9, 2011 at 7:23 AM, Ian Marshall > <ianmarshall...@gmail.com> wrote: >> I have now coded: >> >>  import org.apache.wicket.request.resource.PackageResource; >&g

PackageResource changes in 1.5

2011-09-09 Thread Ian Marshall
I have now coded: import org.apache.wicket.request.resource.PackageResource; import org.apache.wicket.request.resource.PackageResourceReference; PackageResourceReference prrResource = new PackageResourceReference( MailBusiness.class, MailBusiness.class.getSimpleName() + ".xml"); Packag

PackageResource changes in 1.5

2011-09-09 Thread Ian Marshall
Hello there, I know that this is not an ideal time (Friday afternoon and all that), but I have a problem migrating from 1.4.18 to 1.5.0. I have a business class which reads properties from its .xml properties file. I used org.apache.wicket.markup.html.PackageResource to start doing this, but I fi

Re: Broken link in "Download Wicket releases" web page

2011-09-08 Thread Ian Marshall
No problem. I join others in giving a big thank you to all involved in the Wicket project. What a great framework! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Broken-link-in-Download-Wicket-releases-web-page-tp3798224p3798237.html Sent from the Users forum mailin

Broken link in "Download Wicket releases" web page

2011-09-08 Thread Ian Marshall
Hello, I am excited to see that Wicket 1.5 is released! Whilst starting to prepare my migration from 1.4.18, I have noticed that on the web page "http://wicket.apache.org/start/download.html"; the link to the migration guide ("http://cwiki.apache.org/WICKET/migrating-to-wicket-15.html";) resu

Re: Users, sessions, data...

2011-06-16 Thread Ian Marshall
Hi Zeldor, Zeldor wrote: > > Well, I'm hosting it on GAE and with new pricing model I have to worry > about instances, not memcache or things like that. In GAE/J your sessions are persisted to both the BigTable datastore (for guaranteed persistence) and the memcache (for speed of access). Retri

Using GAE/J deferred tasks in Apache Wicket

2011-06-07 Thread Ian Marshall
I have tried using Google App Engine for Java (GAE/J) deferred tasks in Apache Wicket. They do indeed run, but I cannot access the bulk of my data exchange code since it needs the context of an application and/or a session to work. I presume that the underlying cause of this is because when the ta

Re: Models in a bookmarkable page

2011-04-12 Thread Ian Marshall
Thank you, Martin. That's just what I wanted to know. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Models-in-a-bookmarkable-page-tp3444176p3444612.html Sent from the Users forum mailing list archive at Nabble.com. ---

Models in a bookmarkable page

2011-04-12 Thread Ian Marshall
called into being in a bookmarkable way, would I be correct to think that none of this page's LDM's data would be stored in the user's session (in a PageMap or otherwise)? Regards, Ian Marshall -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Models-in

Re: Choice of Resource for my Image component

2011-03-29 Thread Ian Marshall
re. Alternatively, if anyone shouts "No: this is not the way to do it!" then I shall be listening Ian Marshall -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Choice-of-Resource-for-my-Image-component-tp3342289p3414698.html Sent from the Users fo

Re: Apache Wicket Cookbook Published!

2011-03-29 Thread Ian Marshall
I have this book on order; I look forward to studying it. My "Wicket in Action" and "Coding: On Software Design Process" books are eager to welcome a new member to their high quality book area. Ian Marshall -- View this message in context: http://apache-wicket.1842946.

Choice of Resource for my Image component

2011-03-25 Thread Ian Marshall
Hello Jim, Could I ask you to post this in a separate topic? This one is for my choice of resource for my Image component. Cheers, Ian -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Choice-of-Resource-for-my-Image-component-tp3342289p3406000.html Sent from the User

Re: Choice of Resource for my Image component

2011-03-25 Thread Ian Marshall
1. I changed the image component from Image to NonCachingImage. This seems to have eliminated my issue of images being shown which were a previously-shown image instead of the correct one. 2. The model which I pass to my NonCachingImage is descended from LoadableDetachableModel. This model class

Re: Favicon best practice

2011-03-18 Thread Ian Marshall
Alas I am getting MidasTouchCodingExceptions. I tried protected void init() { super.init(); ... // New code ResourceReference rrefFavicon = new ResourceReference( ResourcesLocator.class, "favicon.ico"); IMountableRequestTargetUrlCodingStrategy mrtURLCodingStrategy =

Re: Favicon best practice

2011-03-18 Thread Ian Marshall
MOUNTING In my WebApplication-descended class I tried protected void init() { super.init(); ... // New code ResourceReference rrefFavicon = new ResourceReference( ResourcesLocator.class, "favicon.ico"); mountSharedResource([path], rrefFavicon.getSharedResourc

Favicon best practice

2011-03-18 Thread Ian Marshall
I would appreciate some advice on best practice for favicons in Wicket I subclass most of my web pages from a subclass of WebPage. I implement my favicon in the way set out at the foot of this posting. I have two types of problem. 1. When testing the URL "http://localhost:8080/favicon.ico";

Favicon best practice

2011-03-18 Thread Ian Marshall
I would appreciate some advice on best practice for favicons in Wicket I subclass most of my web pages from a subclass of WebPage. I implement my favicon in the way set out at the foot of this posting. I have two types of problem. 1. When testing the URL "http://localhost:8080/favicon.ico";

Favicon best practice

2011-03-18 Thread Ian Marshall
I would appreciate some advice on best practice for favicons in Wicket I subclass most of my web pages from a subclass of WebPage. I implement my favicon in the way set out at the foot of this posting. I have two types of problem. 1. When testing the URL "http://localhost:8080/favicon.ico";

Choice of Resource for my Image component

2011-03-08 Thread Ian Marshall
Hello, I have been a naughty boy; I designed my form without using a LoadableDetachableModel. Serves me right. I have now changed my page's domain object so that it is used in the form and the form's WebPage using a LoadableDetachableModel. So far so good, but I have a problem with my Image compo

The disabling of sessions during a datastore down-time period

2011-02-11 Thread Ian Marshall
Hello All, I am developing an application which runs on Google App Engine (GAE). I have my persistent datastore such that every so often there are scheduled down-times, during which nothing can be persisted to the datastore without an error being thrown. Currently, my web application class exten

Re: FOSDEM 2011 presentation online

2011-02-08 Thread Ian Marshall
Informative slides, excellent web application development framework, looking forward to Apache Wicket version 1.5. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/FOSDEM-2011-presentation-online-tp3264941p3275633.html Sent from the Users forum mailing list archive at

Re: How to Replace "Choose One" with Blank ("") in DropDown

2011-02-03 Thread Ian Marshall
Hi James, Thanks for the tip about Form1.choice1.null=Something Else I was always wondering how to change that text but now I can do it. Thanks again, Ian -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-Replace-Choose-One-with-Blank-in-DropDown-tp3256149

What governs how component validators are formatted?

2010-12-10 Thread Ian Marshall
I have overridden my org.apache.wicket.protocol.http.WebApplication's newConverterLocator() method by setting my own custom IConverter for the Float class in this method's returned ConverterLocator object. This has the desired affect for my TextField components. However, I have noticed that this

Re: Displaying decimal places using a TextField

2010-12-06 Thread Ian Marshall
Thanks Igor and Pedro. I'll do that. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Displaying-decimal-places-using-a-TextField-Float-tp3074547p3074627.html Sent from the Users forum mailing list archive at Nabble.com. ---

Displaying decimal places using a TextField

2010-12-06 Thread Ian Marshall
a code: declaration within the form's compound property model -------- public Float flPriceInPounds = null; Regards, Ian Marshall -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Displaying-decimal-places-using-a-TextField-Float-tp3074

Re: Preventing user input script-injection attacks

2010-11-29 Thread Ian Marshall
Igor I was unaware of the class org.apache.wicket.util.string.Strings, let alone that package. The Strings.escapeMarkup(...) method you mentioned fits my needs exactly. Thank you. Michał -- Thank you also for your tip. I shall be using the Wicket method that Igor mentioned. I shall also

Re: Preventing user input script-injection attacks

2010-11-26 Thread Ian Marshall
Hello Igor, I remain an Ant person for now and not a Maven person, so instead of a quickstart project I attach HTML and Java code for a Wicket test page: http://apache-wicket.1842946.n4.nabble.com/file/n3060397/PageSpecificTest.html PageSpecificTest.html http://apache-wicket.1842946.n4.na

Re: Preventing user input script-injection attacks

2010-11-25 Thread Ian Marshall
Thanks for that, Patrick. I'll take a look at these tomorrow to see what they have got. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Preventing-user-input-script-injection-attacks-tp3059119p3059322.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Preventing user input script-injection attacks

2010-11-25 Thread Ian Marshall
Sorry about that. By "I do not want HTML to be entered" I meant "character strings which are rendered by a browser additional to, or instead of, being displayed as that character string. Examples are:

Preventing user input script-injection attacks

2010-11-25 Thread Ian Marshall
If a user has entered some HTML in a TextField or TextArea when I do not want HTML to be entered, what is a good way to prevent this? Currently, I store the offending strings and then render them using a Label or MultiLineLabel, but for neither component does Component.setEscapeModelStrings(tr

Problem subscribing by E-mail

2010-11-17 Thread Ian Marshall
Like many of you (I suspect) I subscribe to this forum to receive updates by: · going to the Nabble "Apache Wicket | Users" web page and signing in · clicking Options · clink the "edit" link in "Your subscription: Users forum (edit)" · selecting one option from each of the followin

Re: How can I reload HTML in app engine?

2010-10-21 Thread Ian Marshall
If you don't get an answer here, do you want to try posting on http://groups.google.com/group/google-appengine-java then then click the "Discussions" link to see if you get any joy there? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-can-I-reload-HTML-in-app

Re: My New Book: Now in Dead Tree Format

2010-10-18 Thread Ian Marshall
Will there be any chance of this book being available on www.Amazon.co.uk? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/My-New-Book-Now-in-Dead-Tree-Format-tp2998832p2999880.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: Feedback message does not show in new WebPage

2010-10-14 Thread Ian Marshall
(Sorry for the delay in responding. I was tied up in some coding which I wanted to get done to save having to relearn it all again to finish it.) Thanks for the code tip. I added IPageSettings ipsSettings = getPageSettings(); ipsSettings.setAutomaticMultiWindowSupport(false); to my WebAppli

Feedback message does not show in new WebPage

2010-10-13 Thread Ian Marshall
ing "Open Link in New Window" or "Open Link in New Tab". Is this non-appearance of a feedback message in these two cases expected Wicket behaviour? Am I missing something or doing something wrong? I would appreciate any tips. Ian Marshall -- View this message in context: htt

Re: Coding - On Software Design Process

2010-10-04 Thread Ian Marshall
I have stored the sole (Kindle) edition in my Amazon wish list, as my reminder object to search for the future paperback edition from time to time. I am looking forward to a good read. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Coding-On-Software-Design-Process-

Re: Preventing warnAboutFormComponentInsideEnclosure log entries

2010-09-27 Thread Ian Marshall
Thanks Igor. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Preventing-warnAboutFormComponentInsideEnclosure-log-entries-tp2549176p2715101.html Sent from the Users forum mailing list archive at Nabble.com.

Preventing warnAboutFormComponentInsideEnclosure log entries

2010-09-21 Thread Ian Marshall
I make moderate use of the tag in my Wicket HTML. I notice now that (in development mode) I get log entries of the form 21-Sep-2010 11:04:04 org.apache.wicket.markup.html.internal.Enclosure warnAboutFormComponentInsideEnclosure WARNING: Found a form component RadioChoice/frmForm:rcWebSiteM

Re: Best way to hide a component

2010-07-23 Thread Ian Marshall
My HTML code did not come out correctly. I wanted it displayed as: One | Two -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Best-way-to-hide-a-compone

Re: Best way to hide a component

2010-07-23 Thread Ian Marshall
Don't forget using the "wicket:enclosure" tag. For example: # One | # Two Link lnk1 = new Link("lnk1") { private static final long serialVersionUID = 1L; @Override public void onClick() { // // ... // } }; lnk1.setVisible(...)

Re: Welcome Martin Grigorov as a core team member

2010-07-20 Thread Ian Marshall
Many congratulations Martin! (In my extremely limited experience with web application frameworks, Wicket is just so excellent. Developing with Wicket really is fun, too.) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Welcome-Martin-Grigorov-as-a-core-team-member-tp

Re: Question - Does Wicket really initialize a page instance once?

2010-07-12 Thread Ian Marshall
I have solved my problem. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Question-Does-Wicket-really-initialize-a-page-instance-once-tp2281200p2286113.html Sent from the Wicket - User mailing list archive at Nabble.com. --

Re: Question - Does Wicket really initialize a page instance once?

2010-07-09 Thread Ian Marshall
avrahamr wrote: > > But you can rely on object values, so if > you correctly implement hash and equals it should be fine. > I too have a problem with multiple calls to a WebPage constructor I have a bookmarkable page, a link to which can be followed from a verification E-mail which the ap

Re: Request for how to process incoming E-mails on Google App Engine

2010-07-01 Thread Ian Marshall
I have set things up now to event code code in a new servlet, and I can now access the in-coming E-mail message too. Thank you for the tip. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Request-for-how-to-process-incoming-E-mails-on-Google-App-Engine-tp2272758p22749

  1   2   >