Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@minotaur.apache.org Received: (qmail 33410 invoked from network); 1 Mar 2010 07:21:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Mar 2010 07:21:06 -0000 Received: (qmail 20722 invoked by uid 500); 28 Feb 2010 09:34:27 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 20702 invoked by uid 500); 28 Feb 2010 09:34:27 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 20694 invoked by uid 99); 28 Feb 2010 09:34:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Feb 2010 09:34:27 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dirk.frederickx@gmail.com designates 72.14.220.153 as permitted sender) Received: from [72.14.220.153] (HELO fg-out-1718.google.com) (72.14.220.153) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Feb 2010 09:34:21 +0000 Received: by fg-out-1718.google.com with SMTP id 19so78393fgg.0 for ; Sun, 28 Feb 2010 01:33:59 -0800 (PST) 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 :date:message-id:subject:from:to:content-type; bh=bpFrt1CMLJ+bUkaGo2+r8YNIOpqtE8s8PE6RtwqnTUI=; b=dMKNa7lKMJqtS6zs5fYk/b47WvLsaKm5ShfxKMdoBxxL94hZlb/1vYKCz7QwQiBMu4 YVdxQ7AWePLbmKUErTL7AVJ8F8uU2qbWBiVkXNC6Wv8ucdlcpzWFb3j+lJBQvIcZSNh7 SXshDSiXcTDQZPoi8izOEIHgWIYJpsD/qn4u0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=vbXIT5L8/isBC1X1CknFTmYRlBPhJ3RPsKMnbC/FsHMwvgcYaRbICjnz4NmUWlpfI7 qeWw/1zqPti6yiiUp2ux5iZSFXFJ93DK3We4ipoQcvRN8daoNcAJcrcy5RaGRzbHnEDO 027fQvzOI87vnfAnwIfjbO5557DdnEGR4s51g= MIME-Version: 1.0 Received: by 10.87.70.28 with SMTP id x28mr2291125fgk.25.1267349639709; Sun, 28 Feb 2010 01:33:59 -0800 (PST) In-Reply-To: References: <15cc92001001231039t3fbcbafei4cd08b8e23f8643e@mail.gmail.com> <3a6c97f01002210250h676d00f6h7c52f2811eea706a@mail.gmail.com> <15cc92001002221219m213c7324p770b0748c3c657df@mail.gmail.com> <15cc92001002270416o6c9ce382s32b2c5eadf39b618@mail.gmail.com> <15cc92001002270423x1f6410bm6c3917a13b235438@mail.gmail.com> <1D276A22-88BF-45CE-A357-1D69605362F8@gmail.com> <15cc92001002270551g237c76ddmf5fe2d6ee88a0744@mail.gmail.com> <3a6c97f01002271004o31d9e6en6afd3355c7fb931e@mail.gmail.com> Date: Sun, 28 Feb 2010 10:33:59 +0100 Message-ID: <15cc92001002280133r15fdc378q14a54fa149a6dd0f@mail.gmail.com> Subject: Re: help with v3.0.0-svn-200 From: Dirk Frederickx To: jspwiki-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=001485f6455c14c6530480a5d579 --001485f6455c14c6530480a5d579 Content-Type: text/plain; charset=ISO-8859-1 SPAM > now, at least) are very sensitive. A double-submit of a form, for > example could trigger the spam detectors because of the "one-time" > token we embed as a hidden form parameter. > > So, let me know what you do to make it happen, and I'll look into it. >>>could indeed be that I had some double submits >>>in the javascript, the prevention double-submits has been removed (eg. disabling a submit button once it is clicked the first time ) why is that? Whenever this happens, it is a bug. If it's in the JSP markup, that > markup should use the JSTL syntax "${templates['Error.jsp']}" rather > than "/Error.jsp". It's easy to fix, and if you encounter it I'd just > ask that you commit a fix. I'll look for these myself, although I > thought I'd eliminated them. This was a VERY recent change, so it is > likely there are a few instance of this kicking around. >>>one is missing from the AttachmentTab.jsp, but I'm not sure whether this jsp is still used. >>>anyway, I run into the problem when using Install.jsp (no reference here to an errorPage) and Login.jsp (idem) Is this correct ? > The UI at the top of the page was very cluttered: it had the save > button, change-note, and toolbar. It seemed simpler and cleaner to > have it at the bottom. >>> I suggest to take it back at the top. The 'clutter' should be minimal: only one extra line with SAVE/CANCEL button and the change-note. >>> Alternatively, we could embed the buttons in the toolbar as well. FYI: one thing that you may note as you peruse the new template JSPs > is that I've deliberately broken up the tabs so that the "view" > feature (eg., Wiki.jsp) only loads the View tab; the other tabs link > to other JSPs e.g., PageInfo.jsp. That is deliberate -- I wanted to > make generating view pages fairly lightweight. But if a user clicks on > "Info" or "Attachments," then we load the other tabs and make them > clickable via JavaScript. The user won't notice the difference. >>>Ok for the info tab. >>>However, I would prefer to avoid a server-roundtrip for the attachment tab. >>>It would be faster to toggle to the attachment tab to preview some of the attachments. >>>Especially during editing, when previewing attachments you don't want to be taken out of the edit session. >>>Alternatively, we could load the attachment tab through an AJAX call, without refreshing the page. >>>This keeps the initial page-size limited. This is something I have not done yet. I didn't think it was needed > for the beta. I don't understand what the "raw" editor really does, > and I'm not really sure it is an "editor." What's the rationale for > this feature? If it is needed, then of course we need to get it > working. Whether we need it for Alpha, I don't know. >>>Agree. Terminology may be confusing here. >>>"SKIN=RAW" is not an editor actually -- it just a way to view the raw markup of the page. (a link is avaible in the More dropdown) >>>Actually, the generation of the raw page content could be a served from a simple basic JSP as well, as part of the default template. > If this occurs, it is a bug. Any code that generates links to > "standard" images should use TemplateManager.getResourceResolver() to > obtain the path to the image. I thought I caught all of these, but if > I didn't, please commit a fix. > > >>>The issue here is in the markup-to-html converter which generates hardcoded the links. >>>Actually the generated link is ok. >>>However the generated needs to be fixed. >>>As a fix, I suggest to remove the generated completely; and resolve the presentation of external links completely in the jspwiki.css. (so it becomes skin-able as well) >>>I will commit a fix for this. dirk --001485f6455c14c6530480a5d579--