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
You could always visit the "Coding: On Software Design Process" section of Jonathan's blog (it's an excellent book, by the way) and ask him your question from there. Ian Sebastian Gaul wrote > I cannot find anything related there. His blog started long after the > b

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 pr

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
That's good to hear, Martin. All seems to be fine now. Ian Martin Grigorov-4 wrote > Hi, > > Thanks! > This is known. It is because the last Javadoc build failed due to "No > space > left on device": > http://ci.apache.org/builders/wicket-master/builds/950

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. I'll give Apache Ivy a look Ian -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Manual-procedure-to-update-Wicket-for-NetBeans-tp4654064p4654096.html Sent from the Users forum mailing list archive at Nabble.com. ---

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.

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: Next database key pre-filled in form and associated with PropertyModel returns null

2012-07-17 Thread Ian
nable, except that if the pre-filled form fields are associated with a static model (rather than the (dynamic) PropertyModel that I currently use) then the pre-filled values are correctly retrieved by GetModelObject(). Ian Blavins On 18/07/2012, at 1:42 AM, Alec Swan [via Apache Wic

Re: Next database key pre-filled in form and associated with PropertyModel returns null

2012-07-17 Thread Ian
is linked with. Seems reasonable, except that if the pre-filled fields are linked with a static model instead of the (dynamic) PropertyModel the form values are retrieved correctly by GetModelObject(). Ian Blavins On 18/07/2012, at 4:22 AM, Eric Jablow [via Apache Wicket] wrote: > On Sa

Next database key pre-filled in form and associated with PropertyModel returns null

2012-07-17 Thread Ian
G'day Short form: how do I pre-fill a form field with the dynamic value of the next free database key Long form: I'd like to pre-fill a form field with the value of the next free database key. I can do this by associating the form input field with a static model of a string value and replacing t

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
This seems to be fine (my sessions seem very small at ~1.7kB - I must be doing something wrong) except that this method can be called several times as a result of one request. Thanks again, Ian Martin Grigorov-4 wrote > > Override Session#onDetach() and do it before calling super.onDetac

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
age2 constructor you should be able to pass (your cookie?) data to your Page1, and you will see by trial and error whether your flash message makes it to Page1 or not (but without your cookies). You're better off listening to Martin G: he knows what he is talking about ;) Bertrand Guay

Re: setResponsePage swallows my session feedback messages

2012-06-29 Thread Ian Marshall
Hi Bertrand, If you use and then one of in your Page2 constructor you should be able to pass (your cookie?) data to your Page1, and you will see by trial and error whether your flash message makes it to Page1 or not. Regards, Ian Bertrand Guay-Paquet wrote > > Hi Ian, > > Tha

Re: setResponsePage swallows my session feedback messages

2012-06-29 Thread Ian Marshall
experience between setResponsePage(WebPage.class) and using a RestartResponseException (as always, I am open to contradiction). · If possible, can you move your code to a component onSubmit() method (of Page2 or the previous page, if any)? Regards, Ian Bertrand Guay-Paquet wrote > > Hi,

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
and have a good day, Ian Martin Grigorov-4 wrote > > Right,can lead to such behavior. > Newer versions of Wicket (1.5+) have a preconfigured IResponseFilter > which notifies you about such problem in DEV mode. > You can also use CSS like: a[src = ""] {color:red;} to

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

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

2012-02-22 Thread Ian Marshall
e response only in POST page?1-1.IFormSubmitListener-frmForm of http://localhost:8080/wicket/page?1-1.IFormSubmitListener-frmForm (I am running locally). Am I looking in the wrong place in my code (and thus in the request cycle) to find my header in a request? Martin Grigorov-4 wrote > > Hi

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

2012-02-21 Thread Ian Marshall
erValue in the logger return swrResponse; } but sadly with no header detected. (I know little about the details of request and response, which is one reason why I selected Wicket for my application.) Thanks anyway for your input, Ian Jeff Schneller wrote > > The header won

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
on cookie enablement. It's pants, but better than "Not found" errors being presented to users following my links. Cheers, Ian -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Link-URLs-with-JSessionID-truncated-tp4381881p4382081.html Sent from the

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
t;.) Thanks very much, and have a good weekend, Ian Martin Grigorov-4 wrote: > > The difference in FileUploadField from 1.4.x to 1.5.x is that now it > supports (HTML5 standards) and it works > with List instead of just FileUpload. > You need to update your getConverter() impl

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
defaultValue, Object... parameters) the "Parameters" section is unchanged from 1.4 and does not reflect the modified method signature. I don't think that I can change this so I submit this post for comment. Ian -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Mino

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
Thank you very much for your pointers, Martin; in my view, two minds do indeed make three. Ian -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Creating-a-resource-from-a-byte-array-and-its-content-type-tp3815188p3815697.html Sent from the Users forum mailing list archi

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
StyleSheetReference disappears). I would appreciate any help. Regards, Ian HTML ... ... ... Java (in a PageBase constructor) add(new StyleSheetReference("stylesheet", ResourcesLocator.class, "style.css&qu

Re: PackageResource changes in 1.5

2011-09-09 Thread Ian Marshall
Thanks for the tip, Igor. I have coded with MailBusiness.class.getResourceAsStream(...) and I shall verify this after I fettle my app for building. Ian Igor Vaynberg-2 wrote: > > InputStream > in=MailBusiness.class.getResource(MailBusiness.class.getSimpleName()+".xml"

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
appreciated, Ian 1.4.8 code summary -- import org.apache.wicket.markup.html.PackageResource; import org.apache.wicket.request.resource.PackageResource; ... Properties propProperties = new Properties(); boolean bLoadSuccess = false

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
-wicket-15.html";) results in the error "404 Not Found". Should the link be "http://s.apache.org/wicket-1.5-migration"; or "https://cwiki.apache.org/WICKET/migration-to-wicket-15.html"; instead? Cheers, Ian -- View this message in context: http://apache-wicket.18

Re: Users, sessions, data...

2011-06-16 Thread Ian Marshall
user name, is-administrator-or-not). Be aware of the maximum session data size of 1MB for GAE/J (= maximum persistent entity data size). Don't fall into the trap I did by not using loadable detachable models for large amounts of data like photographs. Ian -- View this message in context: h

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

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
-java/browse_thread/thread/7744eef8e1e39684 Many thanks for anyone's attention, Ian -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/The-disabling-of-sessions-during-a-datastore-down-time-period-tp3301011p3301011.html Sent from the Users forum mailing list archive at

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

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
also be having a play with that package to see what else is there! Regards, Ian -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Preventing-user-input-script-injection-attacks-tp3059119p3064004.html Sent from the Users forum mailing list archive at Nabble.com

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
(true); have an effect (presumably since this setting is already true by default). Am I condemned to coding a method to examine the models of my TextField and TextArea components at form-submission-time and remove any HTML code manually? Any comments would be appreciated, Ian -- View this message

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

  1   2   >