What rendering strategy do you use? Redirect to buffer should only
trigger a page once.

Also, if your links do some javascript stuff, you should ensure that
you return false in the onclick handler (if you do the callback
there), otherwise the browser will send 2 requests.

Martijn

On 3/19/07, Matt Welch <[EMAIL PROTECTED]> wrote:
> I'm betting this is a Wicket 101 question, but I can't seem to find an
> answer on the wiki or in the lists (perhaps my search keywords aren't
> right). During development I'm occasionally putting in some simple debug
> statements into my pages. During execution, those log statements always come
> up twice during a single page access. Is this expected? Do I need to develop
> around this to ensure that calls to the service tier, and hence my database,
> of my application are not executed twice as well? On the surface this seem
> like a huge performance killer so I assume I have something misconfigured or
> that I'm interpreting these double log statements incorrectly.
>
> Any insight?
>
> Matt
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>


-- 
Learn Wicket at ApacheCon Europe: http://apachecon.com
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.5 will keep your server alive. Download Wicket now!
http://wicketframework.org

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to