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

2014-05-15 Thread Ian Marshall
. 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 PM, Ian Marshall lt; IanMarshall.UK@ gt;wrote: Hello, I have a standard stateless link with an on-click handler. Does

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

Re: Twenty-Six Wicket Tricks Book

2013-02-15 Thread Ian Marshall
Ian Marshall lt; IanMarshall.UK@ gt;: Perhaps a good source of information is Jonathan's blog at: http://codeact.wordpress.com lt;http://codeact.wordpress.comgt; Ian Sebastian Gaul wrote Does anyone know what happened to the book Twenty-Six Wicket Tricks by Jonathan Locke? Some

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 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 read

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

Re: Wicket 6 API docs incomplete

2012-12-21 Thread Ian Marshall
On Thu, Dec 20, 2012 at 7:27 PM, Ian Marshall lt; IanMarshall.UK@ gt;wrote: Hello, I just wanted to let people know that the above javadocs are incomplete for me. Reproduction steps -- · Visit the Apache Wicket home page at: http://wicket.apache.org · Follow the link

Wicket 6 API docs incomplete

2012-12-20 Thread Ian Marshall
· 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.1842946.n4.nabble.com/Wicket-6-API-docs

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 lt; IanMarshall.UK@ gt;wrote: I develop my Wicket application using

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 Google App

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 lt;http://jweekend.com/gt; Thanks for the tip, Martin. I'll give Apache Ivy a look Ian

Manual procedure to update Wicket for NetBeans

2012-11-21 Thread Ian Marshall
for 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

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 lt;IanMarshall.UK@gt; wrote: I don't think that I am getting the session size in the right

Re: Determine session size for Wicket 1.5

2012-07-16 Thread Ian Marshall
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 void detach() { long loSize

Re: Generic for FileUploadField model

2012-07-16 Thread Ian Marshall
For my FileUploadField field in a form, I use the model type Listorg.apache.wicket.markup.html.form.upload.FileUpload. 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:

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 LoadableDetachableModelMyModel. MyModel includes the data member public

Re: Determine session size for Wicket 1.5

2012-07-13 Thread Ian Marshall
: 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!!! On 23/06/12 23

Re: Determine session size for Wicket 1.5

2012-07-13 Thread Ian Marshall
13, 2012 at 2:01 PM, Ian Marshall lt;IanMarshall.UK@gt; 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? I currently use @Override protected void onAfterRender() { super.onAfterRender

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

Re: setResponsePage swallows my session feedback messages

2012-06-29 Thread Ian Marshall
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/06/2012 4:21 AM, Ian Marshall wrote: Hello Bertrand, Where is your Page2 code fragment called? Is in the page constructor, in a page

Re: setResponsePage swallows my session feedback messages

2012-06-29 Thread Ian Marshall
, 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, If you use and then one of in your Page2 constructor you should be able to pass (your cookie?) data

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().

Re: Wicket Page constructor getting called twice

2012-06-27 Thread Ian Marshall
;nheudecker@gt; 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, Ian Marshall lt;IanMarshall.UK@gt;wrote: Hello All, My web application uses the default request cycle render strategy

Wicket Page constructor getting called twice

2012-06-25 Thread Ian Marshall
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 7.1.2 (Build 201204101705) Ian Marshall -- View

RE: Favicon best practice

2012-04-27 Thread Ian Marshall
in the HTML. I believe browsers 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@] Sent: Friday, March 30

Re: Favicon best practice

2012-03-30 Thread Ian Marshall
live with the favicon in my web folder, 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 rrefFavicon = new

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: ChoiceRendererListChoiceItem crRenderer = new ChoiceRendererListChoiceItem(sName, nOrdinal); RadioChoiceListChoiceItem rcFieldsMode = new

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 case).

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

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

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
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 lt;IanMarshall.UK@gt; wrote: I am having trouble with JSessionIDs in my URLs (my post at http://apache-wicket.1842946.n4.nabble.com/Link-URLs-with-JSessionID

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

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

2012-02-17 Thread Ian Marshall
)getResponse(); wrResponse.addHeader(X-MyApp-NotFirstPageBase-1, true); wrResponse.setHeader(X-MyApp-NotFirstPageBase-2, true); } }; add(frmForm); ... } Again no such header appeared. Can anyone see what I am doing wrong? Regards, Ian Marshall

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 in the URL http://[My

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

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 are

Link URLs with JSessionID truncated

2012-02-12 Thread Ian Marshall
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 operating environment

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.

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

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: 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.

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 on Google App Engine (GAE

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

Re: Converter for FileUpload

2011-10-07 Thread Ian Marshall
getConverter() impl to expect ListFileUpload On Fri, Oct 7, 2011 at 12:39 PM, Ian Marshall lt;IanMarshall.UK@gt; 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.markup.html.form.upload.FileUploadField

Very minor amendment in the 1.5.0 Javadocs for StringResourceModel

2011-09-22 Thread Ian Marshall
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 lt;ianmarshall...@gmail.comgt; wrote: Hello there, I believe that I have spotted a minor typo in the 1.5.0

Creating a resource from a byte array and its content type

2011-09-15 Thread Ian Marshall
into 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 sContentTypeWithPrefix

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

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 lt;ianmarshall

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:

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

2011-09-15 Thread Ian Marshall
. improve it! ;-) On Thu, Sep 15, 2011 at 7:03 PM, Ian Marshall lt;ianmarshall...@gmail.comgt; wrote: 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

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

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); ResourceLinkCssResourceReference rlnkCSS = new ResourceLinkCssResourceReference(stylesheet, rrefCSS); add(rlnkCSS); in order to keep my HTML mark-up unchanged. If

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

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);

Re: PackageResource changes in 1.5

2011-09-09 Thread Ian Marshall
wicket at all -igor On Fri, Sep 9, 2011 at 7:23 AM, Ian Marshall lt;ianmarshall...@gmail.comgt; wrote: I have now coded:  import org.apache.wicket.request.resource.PackageResource;  import org.apache.wicket.request.resource.PackageResourceReference;  PackageResourceReference prrResource

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;) results

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

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).

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

Models in a bookmarkable page

2011-04-12 Thread Ian Marshall
is 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-a-bookmarkable

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.

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.n4.nabble.com/Apache-Wicket

Re: Choice of Resource for my Image component

2011-03-29 Thread Ian Marshall
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 forum mailing list archive at Nabble.com

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

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

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;

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],

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

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

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:

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 TextFieldFloat components. However, I have noticed that

Displaying decimal places using a TextFieldFloat

2010-12-06 Thread Ian Marshall
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-tp3074547p3074547.html Sent from the Users forum mailing

Re: Displaying decimal places using a TextFieldFloat

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.

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

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

Preventing user input script-injection attacks

2010-11-25 Thread Ian Marshall
If a user has entered some HTML in a TextField or TextAreaString 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

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: !-- /body onclick='[Some nasty JavaScript]'; Basically, I want to remove nasty code being

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

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:

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

Feedback message does not show in new WebPage

2010-10-13 Thread Ian Marshall
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: http://apache-wicket.1842946.n4.nabble.com/Feedback

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:

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 wicket:enclosure/ 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

Re: Best way to hide a component

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

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: wicket:enclosure child=lnk1 lt;a wicket:id=lnk1 href=# tabindex=2001gt;Onelt;/agt; | lt;a wicket:id=lnk2 href=# tabindex=2002gt;Twolt;/agt; /wicket:enclosure -- View this message in context:

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:

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 app

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:

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

2010-06-30 Thread Ian Marshall
be much appreciated! Regards, Ian Marshall -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Request-for-how-to-process-incoming-E-mails-on-Google-App-Engine-tp2272758p2272758.html Sent from the Wicket - User mailing list archive at Nabble.com

Wicket 1.4.9 release: is this a stable release?

2010-06-08 Thread Ian Marshall
I assume that 1.4.9 is a stable release and it's just that the web page http://wicket.apache.org/getting-wicket.html has not been updated yet? Regards, Ian Marshall -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-4-9-release-is-this-a-stable-release

Wicket GAE performance

2010-04-06 Thread Ian Marshall
Hi Tony, I presume that you have studied the GAE/J documentation about datastore transactions at http://code.google.com/intl/en/appengine/docs/java/datastore/transactions.html;. In particular, I note: JDO performs all actions between the call to tx.begin() and the call to tx.commit() in a

  1   2   >