Re: dependencies

2016-10-07 Thread Jonathan Locke
t 7, 2016 at 10:43 PM, Jonathan Locke > wrote: > > > so the quick start is somewhat helpful because it definitely works, but > the > > way it works is pretty confusing to me. the code below from the quick > start > > was not on any of the documentation pages i was abl

Re: dependencies

2016-10-07 Thread Jonathan Locke
me is the filter class name. > Copy/paste in web.xml. But this probably is not the reason. > > On Oct 7, 2016 5:21 AM, "Jonathan Locke" wrote: > > > i don't think this is probably a bug in wicket web sockets, but i was > > wondering if you had any hints how t

Re: dependencies

2016-10-06 Thread Jonathan Locke
s/wicket/guide/7.x/ > guide/nativewebsockets.html#nativewebsockets_2 > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Thu, Oct 6, 2016 at 6:21 AM, Jonathan Locke > wrote: > > > good question! i fought with this all day today and fin

Re: dependencies

2016-10-06 Thread Jonathan Locke
re what this means though... On Thu, Oct 6, 2016 at 9:39 AM, Jonathan Locke wrote: > it appears i never get a WebSocketPayload in onEvent. i checked in > WebSocketBehavior.renderHead and it's getting in there and rendering JS to > set up the web socket, but it never gets t

Re: dependencies

2016-10-06 Thread Jonathan Locke
tring toString() { return this.applicationKey + "-" + this.sessionIdentifier + "-" + this.key; } } On Thu, Oct 6, 2016 at 9:39 AM, Jonathan Locke wrote: > it appears i never get a WebSocketPayload in onEvent. i checked in > WebSocketBehavior.renderHead and it's get

Re: dependencies

2016-10-06 Thread Jonathan Locke
new Information("Connected " + View.this. webSocketConnection)); } }); ideas? 7.4.0 9.2.2.v20140723 3.1.0 2.23.2 On Thu, Oct 6, 2016 at 9:28 AM, Jonathan Locke wrote: > well this part is solved now. i believe the issue was that jersey wanted > an olde

Re: dependencies

2016-10-06 Thread Jonathan Locke
docs you sent. thanks! jon On Wed, Oct 5, 2016 at 8:35 PM, Martin Grigorov wrote: > What exactly is the problem? > Which impl of Wicket WebSockets do you use? > > On Oct 5, 2016 9:56 PM, "Jonathan Locke" wrote: > > > trying to find a set of maven de

Re: dependencies

2016-10-05 Thread Jonathan Locke
, 2016 at 8:35 PM, Martin Grigorov wrote: > What exactly is the problem? > Which impl of Wicket WebSockets do you use? > > On Oct 5, 2016 9:56 PM, "Jonathan Locke" wrote: > > > trying to find a set of maven dependencies that work for servlet api + > > wicket

dependencies

2016-10-05 Thread Jonathan Locke
trying to find a set of maven dependencies that work for servlet api + wicket 6.24.0 + jetty 9 + wicket web sockets + jersey does anyone know the magic combination of version numbers? jon

Re: ajax timer dying

2016-10-03 Thread Jonathan Locke
schenko: > >> Hi, >> >> maybe https://ci.apache.org/projects/wicket/apidocs/6.x/org/ >> apache/wicket/util/time/Duration.html >> >> Duration.MAXIMUM >> >> kind regards >> >> Tobias >> >> Am 03.10.2016 um 20:07 schrieb Jonat

ajax timer dying

2016-10-03 Thread Jonathan Locke
hello all, been a while! i don't quite understand the parameters of this issue i'm running into yet, but i have an AbstractAjaxTimerBehavior that i'm adding to my page in order to handle updates from asynchronous queries. it works great except that *every once in a while* the timer dies and there

Re: wicket 6 ajax integration

2015-07-29 Thread Jonathan Locke
ah, i figured it. the behavior has to be added in onInitialize(). silly me. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-6-ajax-integration-tp4671704p4671705.html Sent from the Users forum mailing list archive at Nabble.com. -

wicket 6 ajax integration

2015-07-29 Thread Jonathan Locke
hello all! having some trouble with the new wicket 6 ajax. it looks much better but i think i'm confused. i'm trying to use AbstractDefaultAjaxBehavior to call back from JS to the server side and for some reason the behavior's renderHead() method isn't even being called. is there something i nee

Albuquerque

2013-09-29 Thread Jonathan Locke
Just moved to Albuquerque and wondering if there are any Wicket folks around here. Jon -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Albuquerque-tp4661609.html Sent from the Users forum mailing list archive at Nabble.com.

Denver

2013-04-03 Thread Jonathan Locke
Hey there! Any Wicket people in Denver? I'm going on a trip from the 13th to the 21st of April and wanted to find out a bit about the local tech scene... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Denver-tp4657726.html Sent from the Users forum mailing list arch

Re: Free Wicket guide now available!

2013-03-22 Thread Jonathan Locke
Super cool!! Thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Free-Wicket-guide-now-available-tp4657407p4657460.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubsc

New Web Site

2012-08-25 Thread Jonathan Locke
Hello Wicketeers! It's been a long while since I checked in, but I'm glad to see Wicket is still going strong! I'm posting because Steve Jobs recently trashed my iWeb site from beyond the grave and so I have migrated some of that content to WordPress, where I'm hoping to do a bit of blogging on c

Re: Apache Wicket is a Flawed Framework

2011-11-20 Thread Jonathan Locke
Why this business about component nesting keeps coming up is really beyond me. If you're running into non-trivial problems with keeping component nesting in sync, you really need to stop what you're doing and back up a step or two because you're definitely looking through the wrong end of the Wicke

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread Jonathan Locke
Needless to say, I don't particularly agree with most of the criticisms listed. And for the right job, Java isn't half as bad as you seem to think. I'd say the trouble is Java vs. the JDK (and other libraries). While Java itself is still reasonably cool, there is a lot of real crap out there. And

Re: page expire / ajax error

2011-10-18 Thread Jonathan Locke
Yes, that's exactly it. Some weirdness with Tomcat sessions colliding (although not resetting). I have a workaround for now... I simply mount each application on a separate path and it all works. Strange. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/page-expire-ajax

page expire / ajax error

2011-10-18 Thread Jonathan Locke
I have two wicket applications running on the same box (my laptop, for example) with one on port 8880 and one on port 8881. Each application does ajax-self-updating. Now, if I start the first application, all is well and will stay well forever as far as I can tell. But the exact moment i start up t

Re: Apache Wicket releases Wicket 1.5

2011-09-07 Thread Jonathan Locke
Hooray!! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Apache-Wicket-releases-Wicket-1-5-tp3797412p3797722.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: Wicket 1.5 and Automatic Link Disabling

2011-08-18 Thread Jonathan Locke
Well, even with HEAD of trunk, I'm still not getting link disabling so I may try to create a quickstart. However, those funny errors trying to resolve "style.css" have a workaround: simply stop using mountPackage and they go away. -- View this message in context: http://apache-wicket.1842946.n4.n

Re: Wicket 1.5 and Automatic Link Disabling

2011-08-17 Thread Jonathan Locke
Okay, will do. Thanks Martin!! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-and-Automatic-Link-Disabling-tp3748072p3751604.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: Wicket Snapshots in IVY?

2011-08-17 Thread Jonathan Locke
Thanks, that's useful information if I have to go back to 1.4 or if 1.5 goes final soon. For now though, I'm looking to use 1.5 snapshot builds (trunk head) as the last RC (1.5-RC5.1) seems to have some problems for me... -- View this message in context: http://apache-wicket.1842946.n4.nabble.co

Re: Wicket 1.5 and Automatic Link Disabling

2011-08-16 Thread Jonathan Locke
Ah, is it possible that this is a problem in the last RC that was fixed in HEAD? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-and-Automatic-Link-Disabling-tp3748072p3749160.html Sent from the Users forum mailing list archive at Nabble.com. --

Re: Wicket 1.5 and Automatic Link Disabling

2011-08-16 Thread Jonathan Locke
Thanks for the thoughts! This is a bit strange. Not only is it not working, but when I add that setAutomaticLinking to my init, it causes further errors... it's apparently trying to resolve ".style.css" (no class name)... It's possible it's my fault somehow. I'll debug in the morning, but any ide

Wicket 1.5 and Automatic Link Disabling

2011-08-16 Thread Jonathan Locke
In Wicket 1.5, the new mountPackage() in combination with wicket:link doesn't seem to create links that automatically disable when you're already on the given page. Is auto-link enable/disable still supported? Thanks! Jon -- View this message in context: http://apache-wicket.1842946.n4.nab

Re: Copying PageMaps from one session to another

2011-06-03 Thread Jonathan Locke
You don't want to copy a page map. If I understand your problem correctly, you may want to check out continueToOriginalDestination(): http://stackoverflow.com/questions/5041879/on-wickets-continuetooriginaldestination-method -- View this message in context: http://apache-wicket.1842946.n4.nabbl

Re: Big Brazilian e-Stores using Wicket

2011-05-20 Thread Jonathan Locke
Sweet! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Big-Brazilian-e-Stores-using-Wicket-tp3539473p3539633.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: Apache Wicket Cookbook Published!

2011-03-29 Thread Jonathan Locke
Cool! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Apache-Wicket-Cookbook-Published-tp3406012p3415429.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: us

Re: Wicket philosophy, modelObject isVisible, isEnabled, CSS

2011-03-01 Thread Jonathan Locke
one other possibility you didn't mention is to nest or layer models. you could use an attribute modifier with a view-adapting model that wraps the data model to provide translation from a pure data model into a value appropriate for the view layer. this would preserve abstraction better. make sense

Re: Is wicket suited for my needs?

2011-02-15 Thread Jonathan Locke
I don't think we even have an option to order servers with fewer than 8 cores and 16GB of RAM at my day job. I think our minimum spec could easily handle twice that load (20K sessions) on a single box. And the web tier scales out very easily. Want more sessions, buy more boxes. I would not be worr

Re: Is wicket suited for my needs?

2011-02-14 Thread Jonathan Locke
10K concurrent *requests* or sessions? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Is-wicket-suited-for-my-needs-tp3305543p3306071.html Sent from the Users forum mailing list archive at Nabble.com. -

Re: ERROR: exceded the 65,535 byte limit Please Help me!

2010-11-14 Thread Jonathan Locke
You certainly do need to learn something about Java. But while you're doing that, you also need to start learning how to think about coding. If you do it by trial and error like this, it will take you years to learn something you could learn in months. -- View this message in context: http://apa

Re: ERROR: exceded the 65,535 byte limit Please Help me!

2010-11-14 Thread Jonathan Locke
In the end, the code above is some pretty horrific and very optional suffering. When I look at that code, I basically see a dislocated shoulder. A novice went to the gym and started trying to move the weights instead of exercise the muscle. Thinking in Java is a good book. No doubt about it. Bu

Re: ERROR: exceded the 65,535 byte limit Please Help me!

2010-11-14 Thread Jonathan Locke
*bows* -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ERROR-exceded-the-65-535-byte-limit-Please-Help-me-tp3041743p3041843.html Sent from the Users forum mailing list archive at Nabble.com. - To uns

Re: ERROR: exceded the 65,535 byte limit Please Help me!

2010-11-14 Thread Jonathan Locke
Yes. Learning Java better would certainly help, but to me there's an even deeper problem because what we're looking at is result-oriented coding... and result-oriented coding is what gets you into this sort of mess. The way out of that trap in general is to start working on and thinking about *pro

Re: Free wicket from component hierarchy hell

2010-11-04 Thread Jonathan Locke
I think if you find component hierarchies to be "hell", you probably aren't using Wicket right. Break things down into small reusable chunks using Panels and you will find everything gets much, much easier. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Free-wicket-f

Re: My New Book: Now in Dead Tree Format

2010-10-18 Thread Jonathan Locke
I very much appreciate the sentiment, but the book stands on its own and nobody owes me more than "thanks" for starting Wicket. Besides, it would be a slight to certain core developers (they know who they are) who have at this point put in more time than me. If you want to thank the Wicket team, s

Re: My New Book: Now in Dead Tree Format

2010-10-18 Thread Jonathan Locke
BTW, there are also technical problems with giving you the e-book for free. There is simply no way to do this on Amazon. Even gifting a Kindle book is not possible at the moment. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/My-New-Book-Now-in-Dead-Tree-Format-tp299

Re: My New Book: Now in Dead Tree Format

2010-10-18 Thread Jonathan Locke
Sorry, no. I think the price is pretty reasonable. Especially given the cost/benefit relative to your typical software industry book. You can barely buy two lattes for the price of my e-book here in Seattle and the profit off a copy is about enough to buy me a beer, which I know you want to do!!

Re: My New Book: Now in Dead Tree Format

2010-10-18 Thread Jonathan Locke
It's not on amazon.uk just yet, but if you buy it here I believe they will ship it anywhere in the world: https://www.createspace.com/3487090 Createspace is the demand publisher for the book and is also owned by Amazon.com. -- View this message in context: http://apache-wicket.1842946.n4.nab

Re: My New Book: Now in Dead Tree Format

2010-10-17 Thread Jonathan Locke
Yes, but not for Linux! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/My-New-Book-Now-in-Dead-Tree-Format-tp2998832p2999635.html Sent from the Users forum mailing list archive at Nabble.com. - To u

My New Book: Now in Dead Tree Format

2010-10-17 Thread Jonathan Locke
For those of you who were grumbling about not having a Kindle, now you have no excuse :) http://www.amazon.com/Coding-Software-Process-Jonathan-Locke/dp/0615404820/ Would like to hear feedback from readers, of course. Also if you enjoy it and can make time, please blog it, rate it on Amazon or

Re: Coding - On Software Design Process

2010-10-02 Thread Jonathan Locke
You can always read it on your Mac or PC (there's a free Kindle reader). Also, there will be a print book. It's just been delayed a bit by some printer issues. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Coding-On-Software-Design-Process-tp2720854p2952828.html Sen

Re: Coding - On Software Design Process

2010-10-02 Thread Jonathan Locke
Yes. The other 90% is just filler. On Oct 2, 2010, at 7:42 AM, "James Carman [via Apache Wicket]" wrote: > Did you make sure to put all the best stuff in the first 10% of the book? :) > > On Sat, Oct 2, 2010 at 10:28 AM, Jonathan Locke > <[hidden email]> wrote:

Re: Coding - On Software Design Process

2010-10-02 Thread Jonathan Locke
You can read the first 10% of any Kindle book for free. It's on the product page on the right hand side where it says "Try it free." http://www.amazon.com/Coding-Software-Design-Process-ebook/dp/B0042X99SA -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Coding-On-So

Re: Coding - On Software Design Process

2010-10-01 Thread Jonathan Locke
Excellent! A few people have pointed out that I didn't include a Table of Contents on the product page. I updated Amazon, but the change won't show up for 2-4 days, so here it is: Table of Contents Introduction About this Book About the Author Acknowledgements Chapter 1 - Practicing the

Coding - On Software Design Process

2010-09-30 Thread Jonathan Locke
Hello Wicketeers! I recently finished writing a short book (less than 70 pages) on software design process. I wrote this book because I wanted a place to put down some of the most interesting ideas and things I've learned about software design over the years that have been too long for everyda

Re: Should Duration be deprecated?

2010-01-27 Thread Jonathan Locke
you're thinking of windows. Martijn Dashorst wrote: > > On Tue, Jan 26, 2010 at 10:00 PM, Igor Vaynberg > wrote: >> i thought they were all stored as electrons > > My vote goes to Umpalumpa's shifting miniature pumpkins on scales > > Martijn > > -- > Become a Wicket expert, learn from

Re: Should Duration be deprecated?

2010-01-26 Thread Jonathan Locke
TimeUnit is icky and storing time values in primitive types is a bad idea. Alexandru Objelean wrote: > > I was wondering why would wicket need Duration class as long as java > provides a similar TimeUnit. Maybe it would be a good idea to deprecate > this > class & encourage usage of TimeUnit?

Re: Templates in Wicket

2010-01-15 Thread Jonathan Locke
we did almost exactly the same thing at thoof. although occasionally you'll get a designer stuck on a build problem or something, it works really well. definitely the best approach in my mind. igor.vaynberg wrote: > > so you are giving designers markup from a wicket app? why not just let > th

Re: Help with Wicket Adoption Numbers

2010-01-12 Thread Jonathan Locke
you've got to admit it's a short distance between bloody fist fights in a basement for no purpose whatsoever and using struts. Peter Ertl-3 wrote: > > Struts Club?! > > That's disgusting :-( > > Am 11.01.2010 um 22:57 schrieb Jonathan Locke: > >>

Re: Help with Wicket Adoption Numbers

2010-01-11 Thread Jonathan Locke
that's because it's the number one rule! nobody talks about Struts Club. igor.vaynberg wrote: > > here is an interesting tidbit > > wicket is on the front page of nabble > > http://old.nabble.com/ > > sorted by activity. we are there along maven, jquery, cxf, tomcat, > etc. how is the adop

RE: Help with Wicket Adoption Numbers

2010-01-08 Thread Jonathan Locke
honestly, your response is too thoughtful. these pointy haired bosses are self-serving. they don't care about training costs or developer pain and they don't really care if their org runs efficiently. what they care about is that if there is a failure, their choice didn't cause it. which is why

Re: Help with Wicket Adoption Numbers

2010-01-07 Thread Jonathan Locke
yup. ibm is into it. i also think it's telling that wicket is a global phenomenon at this point... there are books on wicket in english (3), german (2), japanese (1) and chinese (1). and these are independent books, not localizations of one book. jon p.s. if your group needs advice, i oc

Re: Asynchronous construction of page

2010-01-04 Thread Jonathan Locke
out which component > should actually own the root lock. > > -igor > > > On Mon, Jan 4, 2010 at 11:37 AM, Jonathan Locke > wrote: >> >> >> i know i'm jumping into this in the middle and maybe someone already >> proposed this or it's not a good

Re: Asynchronous construction of page

2010-01-04 Thread Jonathan Locke
i know i'm jumping into this in the middle and maybe someone already proposed this or it's not a good idea for some reason that's not immediately obvious, but i wonder if we could do some lock splitting here (in wicket 1.5?) so that the coarse grained page lock is replaced with a locking system f

Re: Wicket feedback

2009-12-23 Thread Jonathan Locke
an interesting question... i had some thoughts about this as related to my "sprockets" experiment a few years back... http://mail-archives.apache.org/mod_mbox/wicket-users/200804.mbox/%3c16411092.p...@talk.nabble.com%3e unfortunately, i know as little about GWT now as i did then. jon On D

jobs

2009-12-22 Thread Jonathan Locke
not definitely looking yet, but my company was just bought and while that's a good thing, it's unclear to me exactly how everything is going to shake out. so i'm curious what's going on out there. i can provide references from some of the best in the industry. you already have a code sample.

Re: Java Web Framework poll

2009-12-16 Thread Jonathan Locke
Go Wicket! :) Maarten Bosteels wrote: > > Let's all vote ! > > Even though they misspelled both "Apache" and "Wicket" :-) > > http://shunmugakrishna.wordpress.com/2009/12/14/what-java-web-application-frameworks-do-you-use/ > > Maarten > > --

Re: How to make a feedback panel appear on page load?

2009-11-30 Thread Jonathan Locke
if i understand you correctly, you can set an error directly on the session (as opposed to on a particular component) and it will display on the target page. Early Morning wrote: > > Hi, > > I'm trying to make a feedback panel appear immadiately after page load > (such > as when you search an

Re: How to render panel markup to string - solved

2009-11-28 Thread Jonathan Locke
don't know what you're doing exactly or if i ever tested this one, but this might be of interest: http://code.google.com/p/twenty-six-wicket-tricks/source/browse/trunk/twenty-six-wicket-tricks/src/main/java/com/locke/library/web/panels/caching/CachingPanel.java jon MartinM wrote: > > Hi!

Re: Scopes in Wicket Application

2009-11-08 Thread Jonathan Locke
except they are type-safe. also, there is component scope. jthomerson wrote: > > Basically the same. > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > On Sun, Nov 8, 2009 at 7:34 AM, sakthi vel wrote: > >> Hello, >> >> What are the scopes in wicket application much like f

Re: Absolute static file references

2009-10-25 Thread Jonathan Locke
it's pure common sense. "don't prematurely optimize" is just a version of "don't fix what ain't broke". luther.baker wrote: > > Thanks Igor. > > We're not having performance issues. I'm just mapping what we > traditionally > do to Wicket. I did come across > > CSSPackageResource.getHead

Re: [WIKI] "Websites based on Wicket" page presentation

2009-10-13 Thread Jonathan Locke
shouldn't it be one of igor's famous tables with the sort headers? then we wouldn't need to argue over how to order it. jWeekend wrote: > > I've been having some very brief communication with Ralf Eichinger who > has been making a valuable contribution over the last few weeks by > starting to

Re: Question about wicket validation

2009-09-29 Thread Jonathan Locke
protected final void validate() { if (isEnabledInHierarchy() && isVisibleInHierarchy()) { // since this method can be called directly by users, this additional check is needed validateComponents();

Re: Can anyone share a ReCaptcha Panel?

2009-09-28 Thread Jonathan Locke
why not use kitten captcha? fatefree wrote: > > I saw there was an archived post about a panel that was created for this > purpose, but the code was shared through PasteBin and it seems the urls > are > old and possibly, filled with some kind of virus. Does anyone still have > or > know of a c

Re: Article in german Javamagazin

2009-09-14 Thread Jonathan Locke
y we can't put the articles online for free since they > were written for a commercial print magazine. > > Regards, > Michael > > On Thu, Sep 3, 2009 at 8:13 PM, Jonathan Locke > wrote: >> >> >> if anyone from javamagazin is reading this list, would love

Re: Article in german Javamagazin

2009-09-03 Thread Jonathan Locke
on of this article .. > > On Thu, Sep 3, 2009 at 18:19, Jonathan Locke > wrote: >> >> >> btw, is this a print magazine? >> > > - > To unsubscribe, e-mail: users-unsubscr...@

Re: Article in german Javamagazin

2009-09-03 Thread Jonathan Locke
btw, is this a print magazine? RĂ¼diger_Schulz wrote: > > Hello everybody, > > the next issue of german Javamagazin (http://www.javamagazin.de/) has > their > title story about Wicket. It consists of two articles. One technical one, > showing basic setup and principles of Wicket, and another a

Re: Article in german Javamagazin

2009-09-02 Thread Jonathan Locke
nice! RĂ¼diger_Schulz wrote: > > Hello everybody, > > the next issue of german Javamagazin (http://www.javamagazin.de/) has > their > title story about Wicket. It consists of two articles. One technical one, > showing basic setup and principles of Wicket, and another about practical > use of t

Java/Wicket Job Available with Wicket founder at Networks in Motion

2009-08-07 Thread Jonathan Locke
Thanks, Jonathan Locke - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Failed to handle wicket:container

2009-07-01 Thread Jonathan Locke
r. > in my case the error appeared for a wrong wicket:id > (using 1.3.6) > > it would be helpful if the error message made more sense, shall i file a > jira issue for this? (don't know if the same message occurs in 1.4) > > > Antoine > > On Thu, Apr 10, 200

Re: AW: How to avoid code duplication on forms?

2009-05-08 Thread Jonathan Locke
uh that was: class EmailField extends TextField[Email] where the square brackets are angle brackets :) Christian Helmbold-2 wrote: > > > I think the difference between sub classing and static factory methods is > a matter of taste in this case. > > If I have many fields, I'd need many clas

Re: AW: How to avoid code duplication on forms?

2009-05-08 Thread Jonathan Locke
the advantage to subclassing is that you're working better with the type system whereas static pulls you out of the object world and should be used with great caution. for example, subclassing enables more subclassing and therefore more reusability. static factory methods cannot be specialized.

Re: AW: How to avoid code duplication on forms?

2009-05-08 Thread Jonathan Locke
the advantage to subclassing is that you're working better with the type system whereas static pulls you out of the object world and should be used with great caution. for example, subclassing enables more subclassing and therefore more reusability. static factory methods cannot be specialized.

Re: Logging for performance analysis

2009-04-28 Thread Jonathan Locke
yeah, i think yourkit is the way to go. Martijn Dashorst wrote: > > At my job we were able to connect yourkit to our production server and > diagnose the problem in that way. If you have such spikes, it usually > is the garbage collector trying to clean up. > > Martijn > > On Mon, Apr 27, 20

Re: Turning off ModificationWatcher

2009-04-09 Thread Jonathan Locke
Oh, it's MUCH worse than even that. Every single component constructed by your application will get a complete Java stack trace attached to it at the point of construction. Not only does that seriously damage your performance, but this stack trace also takes up space! This is why we warn you abou

Re: Turning off ModificationWatcher

2009-04-09 Thread Jonathan Locke
Oh, it's MUCH worse than even that. Every single component constructed by your application will get a complete Java stack trace attached to it at the point of construction. Not only does that seriously damage your performance, but this stack trace also takes up space! This is why we warn you abou

Re: Turning off ModificationWatcher

2009-04-08 Thread Jonathan Locke
not sure, but try getResourceSettings().setResourcePollFrequency(null) in your app init Matt Welch wrote: > > I'm experimenting with Wicket inside Google's new Java support for its App > Engine. My simple apps run fine if the configuration is set to DEPLOYMENT, > however in development mode, I

Re: Picket Web Framework -- PHP's answer to Java's Wicket

2009-04-01 Thread Jonathan Locke
will this include SHARKS with FRICKIN' LASER BEAMS attached to their heads? Otan wrote: > > Are you a fan of Wicket but you can't use it because your company or > client > is tied with PHP? Have you ever wished that Wicket was available in the > PHP > land? > > Picket to the rescue! > > Pick

Re: Wicket and (or) restlet

2009-04-01 Thread Jonathan Locke
t; > Jonathan, can you elaborate? Why do you think jersey is better? Have you > any experience of integrating it with wicket? > > Thanks! > > > Jonathan Locke wrote: >> >> >> interesting. yeah, igor's right. wicket is not for web services.

Re: Wicket and (or) restlet

2009-04-01 Thread Jonathan Locke
interesting. yeah, igor's right. wicket is not for web services. i prefer jersey to restlet and jersey plays fine with wicket. Casper Bang-3 wrote: > >> restlet is for building services not uis, that quote makes absolutely no >> sense. >> > > While I agree the quote smells of FUD, one does

Re: nested loop view

2009-03-26 Thread Jonathan Locke
uh, well maybe not dangerous, just less clear than it could be. Jonathan Locke wrote: > > > i think you mean to add the projects listview to the categories list view > /item/ > > your structure is a little dangerous here because you have one ListItem > item > obs

Re: nested loop view

2009-03-26 Thread Jonathan Locke
i think you mean to add the projects listview to the categories list view /item/ your structure is a little dangerous here because you have one ListItem item obscuring the other. if the outer one were called outerItem and the inner one were called innerItem, i think you meant to say outerItem.a

Re: OT: Code Search Engine for Java using wicket

2009-03-24 Thread Jonathan Locke
hey wow, this is something i might actually use on a regular basis. thanks! Vinayak Borkar wrote: > > Hello fellow Wicketeers, > > We have released a beta version of a code search engine for open source > Java code, that uses Wicket v1.4. > > You could search for wicket by following the li

Re: Wicket Meetup Tonight in Amsterdam!

2009-03-24 Thread Jonathan Locke
So true! So true! Can someone tell me what the surprise was afterwards? ;-) I'll still be surprised on account of not knowing what it was since Seattle is a bit too far from Amsterdam. Darn, I kinda miss Holland right now... jon Linda van der Pal wrote: > > You'll just have to wait for

Re: How can I share text resources with multiple web applications?

2009-03-18 Thread Jonathan Locke
ectory break encapsulation? > > -Luther > > > > > On Wed, Mar 18, 2009 at 10:19 PM, Jonathan Locke > wrote: > >> >> >> yes, but wicket takes a different view than maven on resources in >> general. >> they are always closest to the component the

Re: How can I share text resources with multiple web applications?

2009-03-18 Thread Jonathan Locke
yes, but wicket takes a different view than maven on resources in general. they are always closest to the component they belong to. it's a form of encapsulation. so maybe it's wrong from maven's point of view, but putting them in src/main/resources would be wrong from wicket's point of view. the

Re: WML + Wicket experiences?

2009-02-18 Thread Jonathan Locke
it's totally possible. did it at a company last year (but that's proprietary, of course). Martin Makundi wrote: > > Hi! > > There has been some discussion in the past about using Wicket for > rendering WML pages: > http://cwiki.apache.org/WICKET/mobile-devices.html > > Is there any such wml+

Re: [OT] Simple file repository?

2009-02-15 Thread Jonathan Locke
and there's brix, a wicket cms framework written on top of jackrabbit John Armstrong-3 wrote: > > Jackrabbit is also great and does all of this and more with a nice > friendly API wrapped around it. > > http://jackrabbit.apache.org/ > > And its an apache project.. > > I don't recommend roll

Re: What's your take on handling markup in properties, html, wicket

2009-02-13 Thread Jonathan Locke
Ideally the markup should stay in the markup file and the text in that markup that needs to be localized would be localized via wicket:message and a properties file. In cases like below, you would break the text into properties-localized hunks and into panels with multiple markup localization fil

Re: Feedback Next To Component

2009-02-11 Thread Jonathan Locke
behaviors aren't really designed to work like components and render markup like that, so it's a bit weird... what if you want to go extend or change the markup for the feedback error? it's now embedded in a bunch of code. walnutmon wrote: > > In order to add feedback next to the component I us

Re: Wicket stuff core, archetypes?

2009-02-10 Thread Jonathan Locke
resources. for instance in wicketstuff examples are not packaged with > the main component. > > francisco > > > > On Mon, Feb 9, 2009 at 4:06 PM, Jonathan Locke > wrote: >> >> >> using the maven deps is fine. the purpose i had in mind for the >> r

Re: Wicket stuff core, archetypes?

2009-02-09 Thread Jonathan Locke
etter. i know that our components are not > necessarily mavenized, but even then we should pay particular > attention to this one. > > as i said, i'm ready to get this done on my side - it would be nice if > somebody else could work on a maven plugin or other post-

Re: Wicket stuff core, archetypes?

2009-02-09 Thread Jonathan Locke
couldn't sleep tonight, so i did a bit of work on it... http://cwiki.apache.org/confluence/display/WICKET/Wicket+Component+JAR+Metadata just a quick first sketch. thoughts? Jonathan Locke wrote: > > > i don't have time to develop the metadata standard, but i could make

Re: Wicket stuff core, archetypes?

2009-01-22 Thread Jonathan Locke
would be > also nice to have at least one example of wicket component with > metadata to play with. > > for a list of things i plan to do, check the issues tab of the project > home - and feel free to add. > > regards > > francisco > > > On Wed, Jan

Re: Wicket stuff core, archetypes?

2009-01-20 Thread Jonathan Locke
be useful for components in maven repos. and the day we manage to > have an automatic 'discovery' process - people won't be required to > submit wicket-enabled-repo urls anymore. > > how does that sound? > > francisco > > > > On Sat, Jan 17, 2009 at 10:02

  1   2   3   4   >