Return-Path: Delivered-To: apmail-wicket-dev-archive@www.apache.org Received: (qmail 82097 invoked from network); 2 Oct 2009 21:16:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Oct 2009 21:16:46 -0000 Received: (qmail 62266 invoked by uid 500); 2 Oct 2009 21:16:45 -0000 Delivered-To: apmail-wicket-dev-archive@wicket.apache.org Received: (qmail 62245 invoked by uid 500); 2 Oct 2009 21:16:45 -0000 Mailing-List: contact dev-help@wicket.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@wicket.apache.org Delivered-To: mailing list dev@wicket.apache.org Received: (qmail 62212 invoked by uid 99); 2 Oct 2009 21:16:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 21:16:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of matej.knopp@gmail.com designates 209.85.218.225 as permitted sender) Received: from [209.85.218.225] (HELO mail-bw0-f225.google.com) (209.85.218.225) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 21:16:36 +0000 Received: by bwz25 with SMTP id 25so1327111bwz.8 for ; Fri, 02 Oct 2009 14:16:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=qTjFQoOwQQmffN0xNU3Evf+m6giSK/ssdZ0cQ3zOat0=; b=omR6VCDnjo12Jan7IvIM90oXZhOWqvzoJTYDdDCEFKym8vIgQ/Q3ZLMm2ObvpKTHcf +q1NwUP17yTtR+Uef3fvXyZqywane/Q/9Vl/XRwdKF9vhnqSHOks+Kwg1wBN1QtqVQdM HON8v5lmgsmuI9PPBYR8t6Kyd7e8rTCjkIbHw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=l/NjYZqjvebwx5YWo9CAEUOERba+Jzlyw22tjRBJ5KdX6ZzwffwlR0Gi1O5AFMrnvn CCYwGXG4QxInKE6jfYoWmWWIJnUHMy5adFPhpt446jRbmGrjfYrGggYoe8N9cnav2w6F 7xUHv4PpKKw/ipPWFQCtXdaPz5vsDFlMNeVnI= MIME-Version: 1.0 Received: by 10.204.157.24 with SMTP id z24mr1555096bkw.208.1254518176111; Fri, 02 Oct 2009 14:16:16 -0700 (PDT) In-Reply-To: <20091002231058.6f16c2a4@gutenbook> References: <23eb48360910021403n51a98129sca687aaadcafece6@mail.gmail.com> <20091002231058.6f16c2a4@gutenbook> From: Matej Knopp Date: Fri, 2 Oct 2009 23:15:56 +0200 Message-ID: <109027740910021415i16f530c5y9cf37c9cdda1aa7f@mail.gmail.com> Subject: Re: [wicket 1.5] removing page version manager To: dev@wicket.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Main problem with Change is that it only can do undo. It can not do redo which is what we need when user clicks the "Forward" browser button. Plus wicket pages can change significantly between versions. Representing these differences as chain of Changes is extremely challenging if not impossible. Plus you still have to serialize model objects, etc, which can cause another headache and it completely ignores the rest of page state like simple class variables. -Matej On Fri, Oct 2, 2009 at 11:10 PM, Carl-Eric Menzel wrote: > On Fri, 2 Oct 2009 14:03:05 -0700 > Igor Vaynberg wrote: > >> can we yank ipageversionmanager and ichange out of 1.5? it has always >> been broken because no one implements ichange objects to keep the page >> state consistent. > > How exactly is it broken? Just that nobody uses it, or that it actually > doesn't work, or causes more headaches than it's worth? > >> the downside is that if someone is using httpsessionstore they will >> take a bigger hit on session usage because every version is serialized >> in its entirety. the up side is that it will actually work and the >> code can be vastly simplified. >> >> any concerns? > > Only that I've just written a few pages about how to use it, for our > book ;-) > > Carl-Eric >