Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 23601 invoked from network); 10 Aug 2005 23:44:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Aug 2005 23:44:18 -0000 Received: (qmail 1293 invoked by uid 500); 10 Aug 2005 23:44:17 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 1267 invoked by uid 500); 10 Aug 2005 23:44:17 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 1254 invoked by uid 99); 10 Aug 2005 23:44:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2005 16:44:17 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_40_50,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [207.234.129.118] (HELO mailgwvw01.freelance.com) (207.234.129.118) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2005 16:44:36 -0700 Received: from mailgwvw02.freelance.com (mailgwvw02.freelance.com [207.234.129.52]) by mailgwvw01.freelance.com (8.12.3/8.12.3) with ESMTP id j7ANidvD011110 for ; Thu, 11 Aug 2005 01:44:43 +0200 Received: from [10.0.0.202] ([200.88.145.3]) by mailgwvw02.freelance.com (Lotus Domino Release 5.0.12) with ESMTP id 2005081101432479:3551 ; Thu, 11 Aug 2005 01:43:24 +0200 Subject: Re: why only one inputHtml per page From: Sylvain Vieujot To: MyFaces Development In-Reply-To: <87ll3jdn2o.fsf@elrond.novell.com> References: <87br4gcr3s.fsf@elrond.novell.com> <1123027092.11672.7.camel@sv> <87ll3jdn2o.fsf@elrond.novell.com> Date: Wed, 10 Aug 2005 19:43:31 -0400 Message-Id: <1123717411.32149.56.camel@sv> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 (2.2.2-5) X-MIMETrack: Itemize by SMTP Server on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 08/11/2005 01:43:25 AM, Serialize by Router on mailgw01/Freelance(Release 5.0.12 |February 13, 2003) at 08/11/2005 01:43:30 AM, Serialize complete at 08/11/2005 01:43:30 AM Content-Type: multipart/alternative; boundary="=-Z0FoNYI+YQySn4yXVlCp" X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mailgwvw01.freelance.com X-Virus-Scanned: ClamAV 0.86.2/1011/Tue Aug 9 11:20:28 2005 on mailgwvw01.freelance.com X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, hits=0.5 required=6.0 tests=HTML_20_30,HTML_MESSAGE autolearn=no version=2.63 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=-Z0FoNYI+YQySn4yXVlCp Content-Transfer-Encoding: 7bit Content-Type: text/plain Hello Christian, Just to let you know that Kupu 1.3 is to be released soon (rc2 right now), and it does support multiple editors on a page. I'll try to integrate it as soon as it's released. Sylvain. On Wed, 2005-08-03 at 18:03 +0200, Christian Egli wrote: > Hi Sylvain > > Thanks for your answer. > > Sylvain Vieujot writes: > > > On Tue, 2005-08-02 at 17:09 +0200, Christian Egli wrote: > > > > > I would like to have a series of on one single > > > page. Now the docu for x:inputHtml says that "right now the support is > > > limited to one editor per page". > > > > > > What is the reason that there is only support for one editor > > > This is a limitation of the kupu code. > > > If you want to help lift this limitation, you should look at kupu itself > > ( http://kupu.oscom.org/ ), and once it works with kupu, it souldn't be > > very hard to adjust myFaces. > > I talked to the guys on irc and they claim that kupu can handle more > than one instance just fine. Apparently plone is making use of this > facility. From what I gather the problem lies in the initialization > code. Apparently kupu/plone/kupu_plone_layer/kupuploneinit.js does it > right. MyFaces apparently is using kupu/common/kupuinit.js. You would > probably know better. > --=-Z0FoNYI+YQySn4yXVlCp Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=utf-8 Hello Christian,

Just to let you know that Kupu 1.3 is to be released soon (rc2 right now), and it does support multiple editors on a page.
I'll try to integrate it as soon as it's released.

Sylvain.

On Wed, 2005-08-03 at 18:03 +0200, Christian Egli wrote:
Hi Sylvain

Thanks for your answer.

Sylvain Vieujot <svieujot@apache.org> writes:

> On Tue, 2005-08-02 at 17:09 +0200, Christian Egli wrote:
> 
> > I would like to have a series of <x:inputHtml/> on one single
> > page. Now the docu for x:inputHtml says that "right now the support is
> > limited to one editor per page".
> > 
> > What is the reason that there is only support for one editor

> This is a limitation of the kupu code.

> If you want to help lift this limitation, you should look at kupu itself
> ( http://kupu.oscom.org/ ), and once it works with kupu, it souldn't be
> very hard to adjust myFaces.

I talked to the guys on irc and they claim that kupu can handle more
than one instance just fine. Apparently plone is making use of this
facility. From what I gather the problem lies in the initialization
code. Apparently kupu/plone/kupu_plone_layer/kupuploneinit.js does it
right. MyFaces apparently is using kupu/common/kupuinit.js. You would
probably know better.

--=-Z0FoNYI+YQySn4yXVlCp--