Re: Wicket Ajax Safari DomReady Conflicts

2008-08-05 Thread Martijn Dashorst
loading scripts at the end of the document just prior to the tag makes rendering the page more efficient. It is one of the golden rules for page performance (see the yslow plugin for firefox). Martijn On Wed, Aug 6, 2008 at 1:00 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > is this happening on

Re: Questions about wicket-phonebook-1.2

2008-08-06 Thread Martijn Dashorst
1) You *really*, *really*, *REALLY* should use an IDE. There is absolutely *no* reason not to use one. Martijn On Wed, Aug 6, 2008 at 7:02 AM, alex2008 <[EMAIL PROTECTED]> wrote: > > 1) For see this project i don't use a true ide. Sorry. :blush: > > 2) Tomcat has extract the war file after the f

Re: Questions about wicket features

2008-08-07 Thread Martijn Dashorst
This assumes that the hacker correctly guesses the application key (which you of course changed from the default setting), or has access to your application to harvest URLs. Making the SunJceCrypt user specific is as simple as: new SunJceCrypt() { @Override public String getKey() { ret

Re: Questions about wicket features

2008-08-07 Thread Martijn Dashorst
but all actions on bookmarkable pages have session relative urls, which makes guessing the correct URL still problematic. Martijn On Thu, Aug 7, 2008 at 3:16 PM, Erik van Oosten <[EMAIL PROTECTED]> wrote: > > Johan Compagner wrote: >> ...Which is pretty random. Only if all users would go over the

Re: Help!! TextField in ListView = NULL

2008-08-07 Thread Martijn Dashorst
2 days without using google [1,2]? listview.setreuseitems(true); Martijn [1] http://www.google.com/search?q=wicket+form+component+listview [2] http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html#ListViewandotherrepeaters-Usingformcomponentsinarepeater On Thu, Aug 7, 2008 at 10:09

Re: I do not see my wicket:container rendered?

2008-08-10 Thread Martijn Dashorst
Browsers don't know the wicket namespace, that is why we use it for our own stuff. That is also why we strip them in production mode to ensure that w3c validators won't bork on the markup. You could use multiple tags to achieve what you want. Martijn On Sun, Aug 10, 2008 at 7:49 AM, Martin Maku

Re: Wicket 1.4m3 - AjaxButton, AjaxSubmitLink in ModalWindow in IE 7 Problem ?

2008-08-11 Thread Martijn Dashorst
also, don't use a submit button with wicket:id "submit" Martijn On Mon, Aug 11, 2008 at 9:57 PM, FakeBoy <[EMAIL PROTECTED]> wrote: > > Hi, I GOT IT > I found the problem. The Problem was in the TextField with wicket id "id". > When you want to safetly use ajax submit components (AjaxButton,

Re: onComponentTag tag.append() javascript events ?

2008-08-12 Thread Martijn Dashorst
if you already know you want to append, then you can do this: tag.put(getJsEvent(), "doChoosenBehaviour();" + tag.get(getJsEvent(; Martijn On Tue, Aug 12, 2008 at 8:51 PM, ak <[EMAIL PROTECTED]> wrote: > > Hello, > > I stumbled upon this scenario wherein I have 'onclick=doSomething()' > asso

Re: onComponentTag tag.append() javascript events ?

2008-08-12 Thread Martijn Dashorst
also, take a look at AttributeAppender Martijn On Tue, Aug 12, 2008 at 9:18 PM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > if you already know you want to append, then you can do this: > > tag.put(getJsEvent(), "doChoosenBehaviour();" + tag.get(getJsEvent(; >

Re: Markup inheritance for secure and non-secure pages

2008-08-12 Thread Martijn Dashorst
AbstractBasePage extends WebPage SecureBasePage extends AbstractBasePage This is how we do it in our projects. Martijn On Tue, Aug 12, 2008 at 11:24 PM, Neil McT <[EMAIL PROTECTED]> wrote: > > Hi folks, > > I'm new to Wicket so please forgive me if I ask something incredibly dumb :) > > I've j

Re: Markup inheritance for secure and non-secure pages

2008-08-12 Thread Martijn Dashorst
reWebPage. I'm assuming, therefore, that it > implements ISecurePage? > > Thanks - Neil. > > > > > > > > Martijn Dashorst wrote: >> >> AbstractBasePage extends WebPage >> >> SecureBasePage extends AbstractBasePage >> >> This

Re: wrapping models

2008-08-12 Thread Martijn Dashorst
perhaps LoadableDetachableModel? Martijn On Wed, Aug 13, 2008 at 12:07 AM, John Patterson <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm stepping through my code that uses PropertyModel and noticed that it is > called every time the object is required - which on my page is hundreds of > time. I know

Re: Pretty URLs depending on a Page's state (not params)

2008-08-13 Thread Martijn Dashorst
mount your page with hybridurlcodingstrategy Martijn On Wed, Aug 13, 2008 at 9:38 AM, pixologe <[EMAIL PROTECTED]> wrote: > >> no. having a nice/bookmarkble url means having all the state in the >> url. > > hmmm i'm not sure... sometimes i'd like to have a pretty url, even if it > does not hold t

Re: Authorization strategy help

2008-08-13 Thread Martijn Dashorst
Build it, try it, fix it, make it fast. Assumptions are the root of all evil. Martijn On Wed, Aug 13, 2008 at 9:45 AM, Wayne Pope <[EMAIL PROTECTED]> wrote: > Hi Igor, > > thanks for the pointer. > > However if I understand this correctly I would still need to setmetadata for > every component,

Re: Wicket 1.3.4 and Spring annotations

2008-08-13 Thread Martijn Dashorst
move InjectorHolder.getInjector().inject(this); to the init() method *AFTER* the addComponentInstantiatonListener call. Martijn On Wed, Aug 13, 2008 at 5:22 PM, alex2008 <[EMAIL PROTECTED]> wrote: > > In my small project (hibernate-spring-wicket) without JPA I have this big > problem: > > > @Sp

[announce] Wicket in Action e-book has been published!

2008-08-13 Thread Martijn Dashorst
omers happy and we are sure you'll enjoy creating them. Eelco Hillenius & Martijn Dashorst About Wicket in Action Wicket in Action is a comprehensive guide for Java developers building Wicket-based web applications. It introduces Wicket's structure and components, and moves quick

Re: AjaxSelfUpdatingTimerBehavior and RepeatingView

2008-08-16 Thread Martijn Dashorst
Your repeating view is not dynamic. You should take a look at refreshingview or listview. If you still want to use repeatingview override onbeforerender and /modify/ the component structure. Martijn On 8/15/08, Daryl Handley <[EMAIL PROTECTED]> wrote: > Hello, > > Newbie wicket user, but liking i

Re: Unable to serialize class com.google.common.collect.LinkedListMultimap$1

2008-08-18 Thread Martijn Dashorst
Node is not $1, that is LLMM$Node $1 is declared inside LLMM#get(K key): public List get(final @Nullable K key) { return new AbstractSequentialList() { public int size() { return keyCount.count(key); } public ListIterator listIterator(int index) {

Re: HTML Fragments

2008-08-18 Thread Martijn Dashorst
Chapter 5 of Wicket in Action covers this topic, to be more specific: "Section 5.4.2 Using AjaxFallbackLink to respond to client actions", and modifies the Cheesr store to use Ajax links to add items to the shopping cart instead of using normal links. Martijn On Mon, Aug 18, 2008 at 7:22 PM, Greg

Re: [announce] Wicket in Action e-book has been published!

2008-08-18 Thread Martijn Dashorst
On Tue, Aug 19, 2008 at 12:05 AM, James Carman <[EMAIL PROTECTED]> wrote: > I never did receive my email telling me the final copy was available > for download. Should I email the publisher and ask for a new download > link? If you bought at the manning site, then yes. If you shopped at Amazon, t

Re: [announce] Wicket in Action e-book has been published!

2008-08-19 Thread Martijn Dashorst
ly* glad that the journey is finally >> over. We think it was worth it. Now we leave the book in your capable >> hands to make beautiful applications that make your boss and customers >> happy and we are sure you'll enjoy creating them. >> >> Eelco Hillenius & Mart

Re: Markup Inheritance - not working for element

2008-08-19 Thread Martijn Dashorst
There is the slight possibility that the wiki is inaccurate. Martijn On Tue, Aug 19, 2008 at 11:52 AM, Wayne Pope <[EMAIL PROTECTED]> wrote: > Hi, > > I just wanted to check I'm not alone on this, before going to the dev group. > I've created a simple base page and markup and using market inherit

Re: Markup Inheritance - not working for element

2008-08-19 Thread Martijn Dashorst
> > Its a none issue really, just would be 'nice to have' > > On Tue, Aug 19, 2008 at 12:19 PM, Martijn Dashorst < > [EMAIL PROTECTED]> wrote: > >> There is the slight possibility that the wiki is inaccurate. >> >> Martijn >> >>

Re: Wicketstuff snapshots

2008-08-19 Thread Martijn Dashorst
On Tue, Aug 19, 2008 at 12:32 PM, Kaspar Fischer <[EMAIL PROTECTED]> wrote: > When/how often are the Wicketstuff snapshots generated? I am using Everytime the source code changes for the project, or when Wicket is updated (depending on the configuration of the projects in Teamcity (http://wicketst

Re: Weird WicketRuntimeException: how is this possible?

2008-08-20 Thread Martijn Dashorst
Did you consider upgrading to 1.3.4? THere are a lot of bugs fixed, including session leakage. Martijn On Wed, Aug 20, 2008 at 3:18 PM, Piller Sébastien <[EMAIL PROTECTED]> wrote: > Hello guys, > > I'm working with wicket 1.3.1. I've just get a very strange stacktrace in my > logs. It is the firs

Re: Passing LoadableDetachableModels

2008-08-20 Thread Martijn Dashorst
Not quite true: first Wicket will attach the model, which will load the data from the database. When the form input is valid, this data will be propagated to the attached model. => the data will reflect the input. The problem is that you don't want to persist the modified input between the wizard

Re: Page serialisation

2008-08-20 Thread Martijn Dashorst
Failover support needs the updates done by the ajax request. Martijn On Wed, Aug 20, 2008 at 6:13 PM, John Patterson <[EMAIL PROTECTED]> wrote: > > Hi, this might be a really obvious question but... why are pages serialised > for every ajax request? I thought the latest page was always stored in

Re: Passing LoadableDetachableModels

2008-08-20 Thread Martijn Dashorst
On Wed, Aug 20, 2008 at 6:27 PM, James Carman <[EMAIL PROTECTED]> wrote: > If you don't commit the changes (and you wouldn't want to typically in > a wizard) to the object between "pages", then the original data will > merely be loaded from the database and your previous edits will be > lost. erhm

Re: Wicket merchandise?

2008-08-20 Thread Martijn Dashorst
On Wed, Aug 20, 2008 at 6:51 PM, John Patterson <[EMAIL PROTECTED]> wrote: > Time for some coder booty! Yes wicket needs more action. We already have the ultimate merchandise with Action: http://manning.com/dashorst :) - You can take it with you to work without raising eyebrows - You can take

Re: Wicket merchandise?

2008-08-20 Thread Martijn Dashorst
You might want to check this with the Apache PRC committee. They handle trademark stuff. [EMAIL PROTECTED] is your friend. Martijn On Wed, Aug 20, 2008 at 10:19 PM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > So i'll try to get some things done, since there are many that wa

Re: DateTimeField validation

2008-08-21 Thread Martijn Dashorst
aiui, the far east even has a 26 or 27 hour clock. Mostly to denote closing times of bars: so instead of saying closed at 2am, they say closed at 26:00. That said, 24:00 is uncommon in the Netherlands and the rest of Europe I think. Martijn On Wed, Aug 20, 2008 at 11:10 PM, jnorris <[EMAIL PROTE

Re: Custom PageMap

2008-08-21 Thread Martijn Dashorst
If you don't want to make the session contain the objects explicitly, because the multistep process is only a small part of your application, you could use session metadata to store the data (temporarily). This does mean that it is serialized with the session, but IMO that is a small price to pay (

Re: Wicket merchandise?

2008-08-21 Thread Martijn Dashorst
On Wed, Aug 20, 2008 at 6:57 PM, James Carman <[EMAIL PROTECTED]> wrote: > Wow, all I can say is well done. Well done, indeed! :) It's somewhat > more difficult to take the PDF version of the book to the toilet. > People look at me funny at work when I walk into the stall with a > laptop! :) And

Re: nested and ?

2008-08-21 Thread Martijn Dashorst
and use in places where you put between and or and tags: . is invalid html. Using instead will automatically remove the tags in production mode, so you don't have to use setRenderBodyOnly(true) on the markup container. Martijn On Thu, Aug 21, 2008 at 4:42 AM, Jeremy Thomerson <[EMAIL

Re: Custom PageMap

2008-08-21 Thread Martijn Dashorst
On Thu, Aug 21, 2008 at 10:22 AM, John Patterson <[EMAIL PROTECTED]> wrote: > I was just considering storing the unit-of-work in the PageMap meta-data. I haven't used that. Session is more in my comfort zone ;) > What exactly is the problem with detecting the different browser windows? > When doe

Re: Jobs, opertunities and this mailing list

2008-08-21 Thread Martijn Dashorst
Yep, We're *NOT* looking for blanket job offers that list all available java frameworks. The job has to actually involve Wicket (related) programming. Martijn On Thu, Aug 21, 2008 at 4:13 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > Go ahead, feel free to post the job ads, as long as they are wi

Re: Wicket merchandise?

2008-08-21 Thread Martijn Dashorst
but the coffee stains on your shirt from the coffee that seeps out of those holes would detract from those points :) Martijn On Thu, Aug 21, 2008 at 5:07 PM, James Carman <[EMAIL PROTECTED]> wrote: > On Thu, Aug 21, 2008 at 11:02 AM, Nino Saturnino Martinez Vazquez Wael > <[EMAIL PROTECTED]> wrot

Re: [offtop] need help with eclipse and m2eclipse

2008-08-22 Thread Martijn Dashorst
On Fri, Aug 22, 2008 at 5:04 AM, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > I don't really see why would you want to have Maven in > between your IDE and the servlet container. I Agree. Just use the wicket quickstart archetype generator and look at the Start class in the src/test/java directory

Re: "Unable to find component with id"

2008-08-22 Thread Martijn Dashorst
1. you are repeating the UL tag instead of the LI tag. You should use , but I'd recommend to rename the component to menuitem to make it more clear 2. you don't have child components defined in the markup for each element. This is necessary. and in your populateItem: link = new BookmarkablePa

Re: Session creation

2008-08-24 Thread Martijn Dashorst
Your application consists currently of only stateless pages. Wicket will try to remain stateless until it is necessary, and keep creating/discarding session objects until a stateful page comes along (or rather, a session relative URL). Read [1] for more information. Martijn [1] http://www.nabble

Re: Session creation

2008-08-24 Thread Martijn Dashorst
yes. Explicitly binding won't have an adverse effect if that is your intention. Delayed (http) session creation is done to prevent an easy DoS vector (though if your application at some point does create a session, someone will find out and there you are...), and improve scalability—having no sessi

Re: Wicket merchandise take 2

2008-08-26 Thread Martijn Dashorst
I'd be more interested in getting this lady to showcase our merchandize: http://digg.com/celebrity/A_Salute_to_Alice_the_Snorg_Tee_Girl_PICS She's experienced in wearing tees. Imagine getting a promo round on digg.com for a week Martijn On Tue, Aug 26, 2008 at 9:54 AM, Nino Saturnino Martin

Re: Convenience

2008-08-26 Thread Martijn Dashorst
While I like the language, I think it is a wrong path, because the number of methods would explode: new TextField().setRequired().setInvisible().isDisabled(); For each setFoo action you would get a setNotFoo action, and corresponding isNotFoo query. Martijn On Tue, Aug 26, 2008 at 11:40 AM, Jan

Re: Wicket resources (css, js and images)?

2008-08-26 Thread Martijn Dashorst
Probably something for 1.5 (with WANG–Wicket Ajax Next Generation–being based on YUI) Martijn On Tue, Aug 26, 2008 at 2:25 PM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > I've been hearing some rants on how merging resources can up the > performance, should wicket be able to

Re: Wicket merchandise

2008-08-26 Thread Martijn Dashorst
Just done that Martijn On Tue, Aug 26, 2008 at 11:19 PM, James Carman <[EMAIL PROTECTED]> wrote: > It might help to have someone on the Wicket PMC contact the PRC folks > as well. That way they know this stuff is going on with the consent > of someone "in house." > > On Tue, Aug 26, 2008 at 4:44

Re: getForm() on a component inside 2nd level Fragment returns null?

2008-08-26 Thread Martijn Dashorst
because you're inside the constructor, and the fragment hasn't been added to the page yet. So there is no parent to ask for a Form instance. Martijn On Tue, Aug 26, 2008 at 11:35 PM, Ritesh Trivedi <[EMAIL PROTECTED]> wrote: > > Edvin, > > Before posting, I already made Form a private member of t

Re: Handling Exceptions in WebSession or WebApplication

2008-08-26 Thread Martijn Dashorst
throw restartresponseexception with your error page On 8/27/08, m_salman <[EMAIL PROTECTED]> wrote: > > Hi, > > In my subclass of WebSession the constructor has to call a method that > throws an exception. As you know the WebApplication calls the constructor > of the WebSession. > > > publi

Re: Maven QuickStart in Eclipse on Tomcat

2008-08-27 Thread Martijn Dashorst
On Wed, Aug 27, 2008 at 5:52 PM, insom <[EMAIL PROTECTED]> wrote: > libraries?) I think I have it mostly configured correctly, but when I start > Tomcat I get the following error: > java.lang.ClassCastException: org.apache.wicket.protocol.http.WicketFilter > cannot be cast to javax.servlet.Filter

Re: Maven QuickStart in Eclipse on Tomcat

2008-08-27 Thread Martijn Dashorst
g > of Maven would point me at the pom.xml, but that doesn't explicitly list > servlet-api as a dependency either. Where is servlet-api defined as a > dependency, and how do I get rid of it? > > Thanks for all your help. > > > Martijn Dashorst wrote: >> >

Re: Assert that all models are detached at the end of the request?

2008-08-28 Thread Martijn Dashorst
you could extend the serializerchecker to check for underached models. We did something similar checking for non-transient Entity objects. Iirc the code is either on my blog or Eelco's blog. Martijn On 8/28/08, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > no, there is no easy way to "assert" that a

Re: Wicket Phonebook: Maven repos not available, can't build

2008-08-29 Thread Martijn Dashorst
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html On Fri, Aug 29, 2008 at 9:49 AM, pixotec <[EMAIL PROTECTED]> wrote: > > I checked out wicket-phonebook on 2008/08/27 > I can't execute > "mvn package" > > successfully, because the repo "repo.mergere.com" does not respond for > se

Re: Wicket Cart: open-source e-commerce wicket app

2008-08-29 Thread Martijn Dashorst
Though not Wicket based and probably overkill, but could http://ofbiz.apache.org/ be anything to look at? Martijn On Fri, Aug 29, 2008 at 9:40 AM, Korbinian Bachl - privat <[EMAIL PROTECTED]> wrote: > Hello James, > > I'm also quite interested into this, however I'm stuck in work at > moment, so

Re: How to change the tag proceduced by

2008-08-29 Thread Martijn Dashorst
see IMarkupSettings#setDefault*DisabledLink Martijn On Fri, Aug 29, 2008 at 11:55 AM, 张伟 <[EMAIL PROTECTED]> wrote: > Hello, >I am reading -- a very good book. In the book , > authors explain the tag with the following code >|#1 > | >Page1 | #2 >Page2 | #3 > | >

Re: Assert that all models are detached at the end of the request?

2008-08-29 Thread Martijn Dashorst
We just do it in CustomRequestCycle#onEndRequest(): @Override protected void onEndRequest() { if (Application.get().isDevelopment()) { // controleer of er hibernate objecten in de pagina vastgehouden worden.

Re: Assert that all models are detached at the end of the request?

2008-08-29 Thread Martijn Dashorst
and yes, your implementation of the check looks good. Martijn -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.4 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. --

Re: Wicket Phonebook: Maven repos not available, can't build

2008-08-29 Thread Martijn Dashorst
and why even bother using mergere.com or devzus.com as a repo manager? Martijn On Fri, Aug 29, 2008 at 3:34 PM, Martin Funk <[EMAIL PROTECTED]> wrote: > pixotec wrote: >> >> Thank you, this solves the SUN part... >> But how to avoid using the unreachable repo.mergere.com-repository? >> Where is i

Re: Clicking "add to cart" repeatedly

2008-08-30 Thread Martijn Dashorst
On Sat, Aug 30, 2008 at 1:54 PM, wil2008 <[EMAIL PROTECTED]> wrote: > > Could not deserialize object using > `org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory` > object factory > at org.apache.wicket.util.lang.Objects.byteArrayToObject(Objects.java:411) > > ..

Re: @SpringBean injection -- why pretend?

2008-08-31 Thread Martijn Dashorst
Did you read http://cwiki.apache.org/WICKET/spring.html and see why @SpringBean is important? The problem is keeping a reference to the service. You might be good enough to understand that, but how good do you trust your co-workers, and even new members joining your team? Martijn On Sun, Aug 31,

Re: Processor 50% active all the time

2008-09-01 Thread Martijn Dashorst
Start the application in deployment mode? Martijn On Mon, Sep 1, 2008 at 11:48 AM, Ronald Pieterse <[EMAIL PROTECTED]> wrote: > > Hello. > > I have been using Wicket for some time now and noticed that my processor > activity is always at about 50%. When I start up my application server > (Resin 3

Re: Processor 50% active all the time

2008-09-01 Thread Martijn Dashorst
It is the modification watcher thread, which is turned off in deployment mode. So either you have tweaked the settings, or don't run in deployment mode. Martijn On Mon, Sep 1, 2008 at 12:44 PM, Ronald Pieterse <[EMAIL PROTECTED]> wrote: > > It is already running in deployment mo

Re: [OT] Wicket in Action Woes

2008-09-01 Thread Martijn Dashorst
Just be patient: getting the first printed copies first is a writer's prerogative. In the mean time, my Wicket in Action unboxing pictures whos that the book is not a mirage: http://martijndashorst.com/blog/2008/09/01/unboxing-wicket-in-action/ Martijn On Mon, Sep 1, 2008 at 5:46 PM, Jonathan Lo

Re: [OT] Wicket in Action Woes

2008-09-01 Thread Martijn Dashorst
On Mon, Sep 1, 2008 at 11:21 PM, Jonathan Locke <[EMAIL PROTECTED]> wrote: > wow. it comes with a free cat?! No, but the cat comes with free lunches [1]. Martijn [1] http://flickr.com/photos/dashorst/1401989456/in/set-72157594446810313/ -- Become a Wicket expert, learn from the best: http://wic

Re: java.lang.IllegalArgumentException: A child with id 'name' already exists

2008-09-02 Thread Martijn Dashorst
item.add() ^ Martijn On Tue, Sep 2, 2008 at 6:11 PM, John <[EMAIL PROTECTED]> wrote: > hi, i see this error message a lot and i mean really a lot! i use a > lot of ListViews, and the above error message is what you get when you > forget to add to the ListItem and instead add to the > Propert

Re: [OT] Wicket in Action Woes

2008-09-02 Thread Martijn Dashorst
Thanks for the report, I've notified Manning of this issue and they're looking into it. I also asked when the books should arrive. If you've ordered from Manning, you should receive your copy one of these days. As I understand it, shipping was happening today or tomorrow. I'm not sure if you get a

Re: java.lang.IllegalArgumentException: A child with id 'name' already exists

2008-09-02 Thread Martijn Dashorst
a solution ;-) > > but wouldn't it be an improvement for new developers if the message > were absolutely explicit about the problem? > > john > > > > On Tue, Sep 2, 2008 at 5:13 PM, Martijn Dashorst > <[EMAIL PROTECTED]> wrote: >> item.add() >> ^

Re: Tracking logged in users / SessionStore questions

2008-09-02 Thread Martijn Dashorst
Take a look at enabling the RequestLogger and querying it. It gives access to sessions and requests. http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/protocol/http/RequestLogger.html Martijn On Tue, Sep 2, 2008 at 6:32 PM, behlma <[EMAIL PROTECTED]> wrote: > > Hi guys,

Re: Web statistics tools, analysis

2008-09-03 Thread Martijn Dashorst
Typical http log analyzers don't work well with wicket applications because you can't get any idea which page is ?wicket:interface:3. We use the request logger to give us statistics about the performance of pages. From those logged requests we can track users, browsers, sessions, requests, duration

Re: PageExpiredException on production

2008-09-03 Thread Martijn Dashorst
Sounds like a bug in your NiteWebRequestCycleProcessor Martijn On Wed, Sep 3, 2008 at 10:29 AM, rivkash1 <[EMAIL PROTECTED]> wrote: > > Hello again, > > does someone have any more ideas about our problem? > It is very problematic to work in production when the users are thrown out > with exceptio

Re: PageExpiredException on production

2008-09-03 Thread Martijn Dashorst
em that we have on production for a > couple of weeks - long before the NiteWebRequestCycleProcessor class was > created in the application. > > thanks > Rebecca > > > Martijn Dashorst wrote: >> >> Sounds like a bug in your NiteWebRequestCycleProcessor >> >>

Re: Discussion on "Wicket Interface Speed-Up"

2008-09-03 Thread Martijn Dashorst
in html: some foo Which has the added bonus of being previewable. Martijn On Wed, Sep 3, 2008 at 5:34 PM, Al Maw <[EMAIL PROTECTED]> wrote: > Hmmm. As you say, there's no easy one-size-fits-all. > There is an obvious improvement you could make, though. All JS/CSS > contributi

Re: Google Chrome & Wicke

2008-09-04 Thread Martijn Dashorst
Can we please get serious here? Google has delivered a beta product. Untested, full with bugs. While I'd like to make sure that our framework runs great on Chrome, I really like to wait until google gets their act together and fix their f*ing product before we commit resources to fix bugs that won'

Re: Newbie Tries Out Wicket Threads

2008-09-04 Thread Martijn Dashorst
I just reprodded them that we need closure *fast*. Martijn On Thu, Sep 4, 2008 at 1:05 PM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > YES, Martjin wrote PRC (that it were approved by PMC members) and I wrote > them too asking them what were needed to get approved. This were

Re: Newbie Tries Out Wicket Threads

2008-09-04 Thread Martijn Dashorst
;> On Thu, Sep 4, 2008 at 9:05 AM, Nino Saturnino Martinez Vazquez Wael >> <[EMAIL PROTECTED]> wrote: >> >>> >>> great:) Im crossing my fingers >>> >>> Martijn Dashorst wrote: >>> >>>> >>>> I just reprodded

Re: Newbie Tries Out Wicket Threads

2008-09-04 Thread Martijn Dashorst
p 4, 2008 at 3:27 PM, James Carman <[EMAIL PROTECTED]> wrote: > I'm trying to drink enough beer that I can actually just set the book > on top of it instead of sticking to the front! > > On Thu, Sep 4, 2008 at 9:18 AM, Martijn Dashorst > <[EMAIL PROTECTED]> wrote: >

Re: [announce]Screencast on Wicketstuff iolite

2008-09-04 Thread Martijn Dashorst
This is a good forum. As long as the screencasts are about Wicket (or related community projects, I consider all 'stuff, databinder, brix, web beans, etc part of that) it's ok. The same goes for project/product announcements. You should also link to those files from the wicket wiki. Martijn On T

Re: session "jumping"?

2008-09-04 Thread Martijn Dashorst
you should use different browsers, not different browser instances. For example firefox is unable to run multiple instances. IE is rather tricky to really get it in different processes. So use IE *and* FF to test this (or safari/konqueror/chrome/opera) On Thu, Sep 4, 2008 at 6:52 PM, m_salman <[EM

Re: Release date for 1.3.5?

2008-09-08 Thread Martijn Dashorst
more bug fixes On Mon, Sep 8, 2008 at 10:57 AM, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Hi, > > is there a release date planned for 1.3.5? There are important updates > in trunk, like protection against CSRF > (https://issues.apache.org/jira/browse/WICKET-1782). > > If there isn't a date yet,

Re: Wicket 1.4 with QWicket

2008-09-08 Thread Martijn Dashorst
You mean 1.2 classes? Wicket classes reside in package org.apache.wicket since 1.3 Martijn On Mon, Sep 8, 2008 at 10:57 PM, Vernon <[EMAIL PROTECTED]> wrote: > I already understood the 1.4=m3 is the latest release. My problem is that I > can't find any 1.3 Wicket classes with 1.4 jar. Does that

Re: Wicket 1.4 with QWicket

2008-09-08 Thread Martijn Dashorst
ppear to have ironed > all those out. If you see something odd, please don't hesitate to let me > know and I'll try to iron out any issues as quickly as possible. > > > > > > - Original Message > From: Martijn Dashorst <[EMAIL PROTECTED]> &g

Re: Wicket 1.4 with QWicket

2008-09-08 Thread Martijn Dashorst
jar file in the > same direction but not Wicket. I can download the build again to see whether > it helps or not. > > > > - Original Message ---- > From: Martijn Dashorst <[EMAIL PROTECTED]> > To: users@wicket.apache.org > Sent: Monday, September 8, 2008 2:53:53

Re: Wicket 1.4 with QWicket

2008-09-08 Thread Martijn Dashorst
Or typing in WebApplication should give the appropriate class. Martijn On Tue, Sep 9, 2008 at 12:15 AM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > Then either your classpath is not correctly setup, or the jar is > corrupt. Typing in WebApplication should give > or

Re: Wicket 1.4 with QWicket

2008-09-08 Thread Martijn Dashorst
To check the jar file: jar -t wicket-1.4-m3.jar or if you have a zip client, open the archive to see if there are classes inside. Martijn On Tue, Sep 9, 2008 at 12:16 AM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > Or typing in WebApplication should give the appropriate class. &g

Re: Reporting Engine on Wicket 1.3.4

2008-09-09 Thread Martijn Dashorst
We use reportmill (I wouldn't pick that anymore), jasperreports (has its own problems), crystal reports (haven't done anything serious yet) and business objects (old version and nowadays XI). IMO there are lots of problems with reporting tools: jasper is not sophisticated enough in its design tools

Re: Reporting Engine on Wicket 1.3.4

2008-09-09 Thread Martijn Dashorst
ireport is not suitable for users. Martijn On Tue, Sep 9, 2008 at 10:29 AM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > > > Martijn Dashorst wrote: >> >> We use reportmill (I wouldn't pick that anymore), jasperreports (has >> its own pr

Re: Review: Wicket in Action

2008-09-09 Thread Martijn Dashorst
Auch, with all those feathers stuck in my behind sitting will be a problem for the next couple of days. Thanks for the review, I'm glad you enjoyed it! Martijn On Tue, Sep 9, 2008 at 6:47 PM, Craig Tataryn <[EMAIL PROTECTED]> wrote: > Hey folks, here's my review of Wicket in Action. Excellent jo

Re: Development/Deployment style attributes

2008-09-09 Thread Martijn Dashorst
wicket:message is stripped from the final markup in development mode, this is intentional. Martijn On Tue, Sep 9, 2008 at 11:31 PM, insom <[EMAIL PROTECTED]> wrote: > > I'm not sure if this is a Wicket bug or my own misunderstanding of > development vs. deployment modes. My markup included the fol

Re: Development/Deployment style attributes

2008-09-09 Thread Martijn Dashorst
On Tue, Sep 9, 2008 at 11:41 PM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > wicket:message is stripped from the final markup in development mode, > this is intentional. > > Martijn > On Tue, Sep 9, 2008 at 11:31 PM, insom <[EMAIL PROTECTED]> wrote: >> &

Re: Hot deployment / code swapping

2008-09-10 Thread Martijn Dashorst
The maven jetty plugin needs to be configured separately. See its documentation regarding hot deployment. Martijn On Wed, Sep 10, 2008 at 1:44 PM, pixologe <[EMAIL PROTECTED]> wrote: > > Thanks for your reply. > The app is running in development mode and I did not change anything in the > quickst

Re: Hot deployment / code swapping

2008-09-10 Thread Martijn Dashorst
t; Even though it will obviously take me some more time to figure out how this > can be achieved, all the more in a project that does not use maven - if > anybody knows a good site regarding to this, i'd be happy to see a link :) > > Thanks a lot > > > Martijn Dashorst wro

Re: Hot deployment / code swapping

2008-09-10 Thread Martijn Dashorst
> > Eyal Golan wrote: >> >> Regarding the embedded jetty, do you know if it is possible to point it to >> an external WAR so it will be as if deployed as well? >> I looked into Jetty's document but didn't find. >> >> On Wed, Sep 10, 2008 at 4:17

Re: Hot deployment / code swapping

2008-09-10 Thread Martijn Dashorst
Then you don't have netbeans configured to copy the html over to the classpath, like I told in my first reply. Martijn On Wed, Sep 10, 2008 at 3:56 PM, pixologe <[EMAIL PROTECTED]> wrote: > > > Martijn Dashorst wrote: >> >> The maven jetty plugin is not mean

Re: Hot deployment / code swapping

2008-09-10 Thread Martijn Dashorst
s/first/second/ On Wed, Sep 10, 2008 at 4:12 PM, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > Then you don't have netbeans configured to copy the html over to the > classpath, like I told in my first reply. > > Martijn > > On Wed, Sep 10, 2008 at 3:56 PM, pixol

Re: Hot deployment / code swapping

2008-09-10 Thread Martijn Dashorst
hat there is no swapping apart from the one my > IDE offers and thus indirectly answers my question. > > Thanks. > > Sorry if this conversation is/was frustrating to you. > > > Martijn Dashorst wrote: >> >> s/first/second/ >> >> On Wed, Sep 10, 2008 at 4:1

Re: Hot deployment / code swapping

2008-09-10 Thread Martijn Dashorst
y, I can imagine that development will be > faster using hotswap. > > Roman > > > Martijn Dashorst wrote: >> >> Because of discussions such as this. I'd like folks to actually use an >> IDE and the quickstart as it was intended. We made the quickstart so >> th

Re: Apache is freezing CPU

2008-09-10 Thread Martijn Dashorst
With that many users you probably have session retention. Try to profile your app with yourkit or another profiler. Failing that, you could look at the numbers using jmap and jstat. Martijn On 9/11/08, jmatt <[EMAIL PROTECTED]> wrote: > > We have a server with more or les 30K daily pageviews with

Re: cross session leakage

2008-09-11 Thread Martijn Dashorst
afaik http://issues.apache.org/jira/browse/WICKET-1409 On Thu, Sep 11, 2008 at 3:35 PM, Weaver, Scott <[EMAIL PROTECTED]> wrote: > Yes I to would like to know the cause also as we have had this happen more > than once in our production environment, five or six times that I know > (through troubl

Re: PageExpiredException

2008-09-17 Thread Martijn Dashorst
We need more information. Latest version doesn't provide enough. Which *specific* version? What was your previous version? What are your settings for wicket? Martijn On Wed, Sep 17, 2008 at 5:10 PM, Johannes Schneider <[EMAIL PROTECTED]> wrote: > Hi, > > since I have switched to the latest Wicket

Re: Question on markup and wicket page

2008-09-17 Thread Martijn Dashorst
include example markup using Martijn On Thu, Sep 18, 2008 at 12:19 AM, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > Some very annoing designers is messing things up :) > > Here's the thing. I'm designing the wicket pages and a common thing is to > add a css attribute to a ListView. > Some

Re: CSS and variation

2008-09-18 Thread Martijn Dashorst
In his case I'd add a different stylesheet through a webmarkupcontainer and attribute modifier. No need to go all skinny dipping imo. Martijn On Thu, Sep 18, 2008 at 4:46 PM, James Carman <[EMAIL PROTECTED]> wrote: > Take a look at this document. It should help you. > > http://cwiki.apache.org/W

Re: Turning off SWARM for testing?

2008-09-18 Thread Martijn Dashorst
Why not create an authenticated session instead? Martijn On Thu, Sep 18, 2008 at 8:59 PM, Neil McT <[EMAIL PROTECTED]> wrote: > > > I tried that but it didn't work. > > But it did remove the need for me to manufacture a unique hive-key per > WicketTester instance... so it wasn't a total loss :) >

<    3   4   5   6   7   8   9   10   11   12   >