Return-Path: Delivered-To: apmail-lenya-user-archive@www.apache.org Received: (qmail 4393 invoked from network); 11 Mar 2009 14:57:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Mar 2009 14:57:28 -0000 Received: (qmail 30672 invoked by uid 500); 11 Mar 2009 14:57:27 -0000 Delivered-To: apmail-lenya-user-archive@lenya.apache.org Received: (qmail 30650 invoked by uid 500); 11 Mar 2009 14:57:27 -0000 Mailing-List: contact user-help@lenya.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@lenya.apache.org Delivered-To: mailing list user@lenya.apache.org Received: (qmail 30641 invoked by uid 99); 11 Mar 2009 14:57:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Mar 2009 07:57:27 -0700 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: local policy) Received: from [193.196.199.2] (HELO relay2.uniklinik-freiburg.de) (193.196.199.2) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Mar 2009 14:57:16 +0000 Received: from vscanmail.ukl.uni-freiburg.de (vscanmail.ukl.uni-freiburg.de [193.196.199.49]) by relay2.uniklinik-freiburg.de (Email) with SMTP id C20283A0E7 for ; Wed, 11 Mar 2009 15:56:54 +0100 (CET) Received: From uklmail2.ukl.uni-freiburg.de ([193.196.192.162]) by vscanmail.ukl.uni-freiburg.de (WebShield SMTP v4.5 MR3) id 1236783026140; Wed, 11 Mar 2009 15:50:26 +0100 In-Reply-To: Subject: Re: how can I have a customized homepage? To: user@lenya.apache.org X-Mailer: Lotus Notes Release 7.0.2 September 26, 2006 Message-ID: From: rudolf.korhummel@uniklinik-freiburg.de Date: Wed, 11 Mar 2009 15:58:22 +0100 X-MIMETrack: Serialize by Router on uklmail2/UKLFR(Release 7.0.2FP2|May 14, 2007) at 11.03.2009 15:58:23 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi Cheng, it seems, that the code kupu generates does not match to the relax ng schema of the resource type. Unfortunately kupu dosen't tell you where the problem is. To find out, you can switch to the source code mode and copy / paste the code into the oneform editor. This editor will tell you why validation fails. (I assume it's the tbody tag in the table). To solve this problem you can adjust the relax ng schema of the resource type, or try an other editor. If you use firefox you can have a look at the BXE editor. It's also possible to install FCKeditor: http://lenya.apache.org/docu20/standardmodules/fckeditormodulesection/fckeditormoduleoverview.html or tinymce http://lenya.apache.org/docu20/standardmodules/tinymcemodulesection/tinymcemoduleoverview.html but I've never tried. HTH Rudolf news schrieb am 11.03.2009 15:07:54: > hongbing cheng schrieb: > > Hi Hartmann, > > Thanks a lot for your answer. > > I want to ask you another question. When i use the Kupu to create a > > table, it give me 415 > > error. Could you help me to resolve this error? If you have resolved > > this error, could you > > tell me how to? Could you describe it detailedly? > > This is a known issue: > > https://issues.apache.org/bugzilla/show_bug.cgi?id=45488 > > I'm not familiar with the details ATM, but I guess you'll find more > information when you search the list archives. Maybe someone else can help? > > BTW, please start a new thread if you want to discuss a new topic. Thanks! > > -- Andreas > > > > > 2009/3/9 Andreas Hartmann > > > > > Hi Cheng, > > > > hongbing cheng schrieb: > > > > Lenya has a homepage named /index.html, every user can create > > publication in this page without any authority. So I'm going to > > remake this page to control the access. > > > > > > I would not recommend this approach. Lenya's access control > > mechanism only works inside publications. If you want to leverage > > access control for creating publications, you could setup a > > "welcome" publication which shows an overview on existing > > publications and allows to create new ones. > > > > -- Andreas > > > > > > I want to write a login page, ex: admin.jsp, and I want to > > integrate this page into the project and make it as a entry of > > the Lenya. When user input http://localhost:8080/lenya, it will > > be redirected to admin.jsp, then user logged throught admin.jsp, > > it will be redirected to index.html. > > As normal web project, we just config admin.jsp as "welcome > > page" in web.xml, but it doesn't work in Lenya. > > Any body has any idea or reference? > > > > Thank you in advance. > > Cheng > > > > > > > > > > -- > > Andreas Hartmann, CTO > > BeCompany GmbH > > http://www.becompany.ch > > Tel.: +41 (0) 43 818 57 01 > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org > > > > For additional commands, e-mail: user-help@lenya.apache.org > > > > > > > > > -- > Andreas Hartmann, CTO > BeCompany GmbH > http://www.becompany.ch > Tel.: +41 (0) 43 818 57 01 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org > For additional commands, e-mail: user-help@lenya.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org For additional commands, e-mail: user-help@lenya.apache.org