Re: Wicketstuff - Openlayers: not working with wicket 1.5.5?

2012-03-31 Thread Michael Allan
final Layer layerOSMTilesAtHome = new OSM(Osmarender, OSMLayer.TilesAtHome); The Osmarender renderer became unavailable recently (not sure why). Comment out the lines that refer to it, and to layerOSMTilesAtHome. This has nothing to do with Wicket. -- Michael Allan Toronto, +1 416-699

Re: Upgrade from 1.4 to 1.5: timeframe?

2012-03-10 Thread Michael Allan
well spent. The top-level code is here: http://zelea.com/project/votorola/s/wic/ -- Michael Allan Toronto, +1 416-699-9528 http://zelea.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e

Re: To enable client-side page caching

2012-01-25 Thread Michael Allan
: https://cwiki.apache.org/WICKET/caching-in-wicket-15.html https://issues.apache.org/jira/browse/WICKET-4357 -- Michael Allan Toronto, +1 416-699-9528 http://zelea.com/ - To unsubscribe, e-mail: users-unsubscr

To enable client-side page caching

2012-01-23 Thread Michael Allan
to keep it light and responsive. Is there an API to re-enable caching? Or do I set the response headers myself? Should I expect any problems? Again, I'm not sure it makes a difference, but this is only for pages that pass the @StatelessComponent test. -- Michael Allan Toronto, +1 416-699-9528

Re: To enable client-side page caching

2012-01-23 Thread Michael Allan
not sure it makes a difference, but this is only for pages that pass the @StatelessComponent test. -- Michael Allan Toronto, +1 416-699-9528 http://zelea.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: Running a huge wicket site(1m + users)

2008-07-20 Thread Michael Allan
what you've learned, and we'll see who guessed right. ;) -- Michael Allan Toronto, 647-436-4521 http://zelea.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: why are we coding Web apps?

2008-07-18 Thread Michael Allan
knowledge of the Java platform to develop robust applications fast, without requiring them to learn several new technologies and complex concepts. In just six days. And on the seventh, they rest. -- Michael Allan Toronto, 647-436-4521 http://zelea.com

Re: why are we coding Web apps?

2008-07-17 Thread Michael Allan
didn't get a comfortable, reassuring response. Why is that? It's a mystery... It should be a well beaten path. -- Michael Allan Toronto, 647-436-4521 http://zelea.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: why are we coding Web apps?

2008-07-17 Thread Michael Allan
Johan Compagner wrote: You guys want a Tunnel library that can tunnel RMI over http? http://sebster.com/tunnel/ works fine. We use it in our product Excellent, that's exactly what's needed. ... multiplexed RMI Socket Factories ... together with the HTTP tunnel this allows you to use

why are we coding Web apps?

2008-07-16 Thread Michael Allan
, which is just a special case of (1): 1 a. A Web client is good for demonstrating a new application, because it's convenient for casual users, who wish to try out the app. Most users have Web browsers pre-installed. They may not have Java, etc. -- Michael Allan Toronto, 647

Re: Wicket Tree with Swing DefaultMutableTreeNode

2008-07-16 Thread Michael Allan
Can't answser the Wicket side, but consider: a) Swing is not thread-safe b) it is often better to code your own TreeNode as a bridge to the underlying reality (Wicket's models?); rather than using DefaultMutableTreeNode, which is a full-blown model in itself -- Michael Allan

Re: Session question

2008-06-16 Thread Michael Allan
'. (And maybe for 'thread-safe'. You probably want the field to be volatile.) -- Michael Allan http://zelea.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Session question

2008-06-16 Thread Michael Allan
might be invisible to others. (Alternatively, you can sync. But the overhead is probably higher.) -- Michael Allan http://zelea.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to detect model changes in form submission

2008-06-14 Thread Michael Allan
IModel.setObject(object) in a model subclass. Have it set a boolean flag isChanged. Remember to clear the flag, after you read it, and act on it. -- Michael Allan http://zelea.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Wicket cheat sheet, solve your wicket problem fast?

2008-06-03 Thread Michael Allan
/WICKET/Wicket+Cheat+Sheet This works, thanks. ^ Or you could try this: I think it's a direct link : http://www20.flyupload.com/dl?fid=9436254x=9hfpy_sVT1WmQM_gAqdMeQ.. But this is worse than the previous link. ^ It only offers me a prize of $1500. :( -- Michael Allan

Re: Changing Link string conditionally?

2008-06-01 Thread Michael Allan
/BookmarkablePageLinkX.html There's probably a more elegant way to code it, though. -- Michael Allan Toronto, 647-436-4521 http://zelea.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Thread safety for components

2008-05-20 Thread Michael Allan
a live reference to it. Finally, clustering affects the environment (including the Application) that pages and components can expect when they pull state. (But maybe this is obvious.) -- Michael Allan Toronto, 647-436-4521 http://zelea.com

Re: Thread safety for components

2008-05-19 Thread Michael Allan
Johan Compagner wrote: yes in a clustered environment you have multiply instances of the Application because there are more instances of the WicketServlet. And Application/Servlet context stuff are not replicated Thanks Johan, I've documented Wicket's thread safety (as I understand it) using

Re: Thread safety for components

2008-05-18 Thread Michael Allan
to a different instance of the app, a different instance of the list model, from request to request? In a non-clustered environment, can I safely assume a single instance of the app, at any given time? -- Michael Allan Toronto, 647-436-4521 http://zelea.com

Re: Account Activation Email generation and response processing: any design example?

2008-05-18 Thread Michael Allan
Sam Stainsby wrote: Martin Makundi wrote: The benefit in digest is that the user (or another user) cannot fabricate it... so easily. Just send a large random number ... no need for expensive hash operations. But use java.security.SecureRandom, not java.util.Random. -- Michael Allan

Re: Thread safety for components

2008-05-18 Thread Michael Allan
- that was the initial attraction. I can work it under the hood, if necessary. But the real time saver, it turns out, has been this list. The code's well supported by its developers. They meet the users half way. (Now, if I can do that in my own projects, that might be the key.) -- Michael Allan Toronto

Re: Thread safety for components

2008-05-17 Thread Michael Allan
) will never try to access it. PS - What are you indexing, Brill? Is it a political app, like Lobby Them? (Just being nosey... :) -- Michael Allan Toronto, 647-436-4521 http://zelea.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Thread safety for components

2008-05-17 Thread Michael Allan
, could then be documented as must hold Page.lock(). Internal code could check compliance, with: assert page.lock().isHeldByCurrentThread(); Just a suggestion - I'm happy with Wicket as it is, -- Michael Allan Toronto, 647-436-4521 http://zelea.com

Thread safety for components

2008-05-15 Thread Michael Allan
within the model? Or, from the client side, if I have a thread that accesses a page's components, how can it avoid tangling with the response/request threads? -- Michael Allan Toronto, 647-436-4521 http://zelea.com

Re: What is session.dirty() for?

2008-05-03 Thread Michael Allan
() only if your pages are stateless and your application is deployed on cluster. Just to cover all eventualities, Matej (in case we later move to a cluster) is there any harm in *always* calling session.dirty(), when a Session field changes value? -- Michael Allan Toronto, 647-436-4521 http