Return-Path: X-Original-To: apmail-cocoon-users-archive@www.apache.org Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8EB7CEC88 for ; Mon, 18 Feb 2013 12:22:25 +0000 (UTC) Received: (qmail 19336 invoked by uid 500); 18 Feb 2013 12:22:25 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 19266 invoked by uid 500); 18 Feb 2013 12:22:25 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 19256 invoked by uid 99); 18 Feb 2013 12:22:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2013 12:22:25 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [77.240.19.7] (HELO whm06.louhi.net) (77.240.19.7) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2013 12:22:18 +0000 Received: from dsl-tkubrasgw1-50df65-154.dhcp.inet.fi ([80.223.101.154]:61528 helo=[127.0.0.1]) by whm06.louhi.net with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80) (envelope-from ) id 1U7PjJ-0045Be-NG for users@cocoon.apache.org; Mon, 18 Feb 2013 14:21:57 +0200 Message-ID: <51221CDA.1060209@digikartta.net> Date: Mon, 18 Feb 2013 14:21:46 +0200 From: Mika M Lehtonen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: from Cforms to Wicket References: <511EA48B.3050400@digikartta.net> <512121CF.2040703@apache.org> <51212AC5.8090506@digikartta.net> <5121EAB2.1070808@apache.org> <512215E5.2070407@digikartta.net> In-Reply-To: Content-Type: multipart/alternative; boundary="------------030903000403030603010205" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - whm06.louhi.net X-AntiAbuse: Original Domain - cocoon.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - digikartta.net X-Get-Message-Sender-Via: whm06.louhi.net: authenticated_id: mika@digikartta.net X-Virus-Checked: Checked by ClamAV on apache.org --------------030903000403030603010205 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Is HTML5 something you can really use already having wide range of browsers supported? (Or at least FF, IE and Chrome) - mika - 18.2.2013 14:09, gelo1234 kirjoitti: > Why using CForms at all ? If you use XSLT you can transform dynamic > XML data into HTML5 native forms templates. > > Greetings, > -Greg > > > 2013/2/18 Mika M Lehtonen > > > Yep, > sounds like a lot of work and like re-inventing the wheel.. > > - mika - > > > 18.2.2013 10:47, Francesco Chicchiricc� kirjoitti: >> On 17/02/2013 20:08, Mika M Lehtonen wrote: >>> Hi Francesco, >>> let me tell you what I have now. >>> I implemented a feedback web application for municipial use with >>> C2.11. The app is built so that the administrator can create >>> forms picking fields and controls he/she needs. These setting >>> are saved into db. The end-user app reads these settings from >>> db, creates XML definition and through XSL transforms these >>> settings into valid Cforms definition/template and finally >>> creates forms wanted out of this all. >>> >>> This is highly dynamic system where we also implemented special >>> data model where horizontal tables are converted into vertical >>> direction, that is, there is one row per fom field, not a column. >>> >>> I was warned about using C2.11 for this, but I wanted to use it >>> anyway because I was familiar with it already. Now I would like >>> to get rid of C2.11 but I really don't know how. I would like to >>> switch into C3 but that is something I am not familiar with. >>> >>> I could go with the stream and use AJAX and like jQuery.. still >>> i would have the same problem - how to create controls out of >>> XML definition. So XML driven form platform is something I would >>> prefer, you see, I would only need XSLT. >>> >>> I hope I made my needs little clearer. >> >> Yes, definitely. >> * >> *Basically, you need to dynamically build some web forms from an >> XML definition you get from an external source: let me say that >> this is a perfect suite for C2.1 (and C2.2) with CForms. >> >> Now, since you want to move away from C2.1 (and not for C2.2 I >> guess), you'd like to have some tools that, parsing the XML form >> definition generates a Wicket form, with all controls full featured. >> >> While this is perfectly feasible without C3 (I did something >> similar, even though limited, in Apache Syncope), I'd think you >> could empower the integration between C3 and Wicket for this >> purpose. Only, consider that there is nothing implemented yet in >> this respect, so you would be the first. >> >> Regards. >> >>> 17.2.2013 20:30, Francesco Chicchiricc� kirjoitti: >>>> On 15/02/2013 22:11, Mika M Lehtonen wrote: >>>>> Hi, >>>>> I have an application using dynamic Cforms (C2.11), that is, >>>>> the Cforms definition and templates are created from dynamic >>>>> XML through XSL. >>>>> >>>>> Can this be done with C3 and wickets? >>>>> From somewhere I read about the fact that with Apache Wickets >>>>> you don't need any XML.. >>>> >>>> Hi Mika, >>>> what do you want to achieve exactly? >>>> >>>> Apache Wicket is a component-based framework for developing web >>>> applications: I know from their project site that the project >>>> claims "a refreshing lack of XML", and I also know that Wicket >>>> fully supports form processing. >>>> >>>> From the other side, Cocoon 3.0 features Wicket integration >>>> (more details at [1]) that can help achieving some particular >>>> use cases. >>>> >>>> Regards. >>>> >>>> [1] >>>> http://cocoon.apache.org/3.0/reference/html-single/index.html#wicket-integration >> -- >> Francesco Chicchiricc� >> >> ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member >> http://people.apache.org/~ilgrosso/ > > --------------030903000403030603010205 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
Is HTML5 something you can really use already having wide range of browsers supported?
(Or at least FF, IE and Chrome)

- mika -


18.2.2013 14:09, gelo1234 kirjoitti:
Why using CForms at all ? If you use XSLT you can transform dynamic XML data into HTML5 native forms templates.

Greetings,
-Greg


2013/2/18 Mika M Lehtonen <mika@digikartta.net>
Yep,
sounds like a lot of work and like re-inventing the wheel..

- mika -


18.2.2013 10:47, Francesco Chicchiriccò kirjoitti:
On 17/02/2013 20:08, Mika M Lehtonen wrote:
Hi Francesco,
let me tell you what I have now.
I implemented a feedback web application for municipial use with C2.11. The app is built so that the administrator can create forms picking fields and controls he/she needs. These setting are saved into db. The end-user app reads these settings from db, creates XML definition and through XSL transforms these settings into valid Cforms definition/template and finally creates forms wanted out of this all.

This is highly dynamic system where we also implemented special data model where horizontal tables are converted into vertical direction, that is, there is one row per fom field, not a column.

I was warned about using C2.11 for this, but I wanted to use it anyway because I was familiar with it already. Now I would like to get rid of C2.11 but I really don't know how. I would like to switch into C3 but that is something I am not familiar with.

I could go with the stream and use AJAX and like jQuery.. still i would have the same problem - how to create controls out of XML definition. So XML driven form platform is something I would prefer, you see, I would only need XSLT.

I hope I made my needs little clearer.

Yes, definitely.

Basically, you need to dynamically build some web forms from an XML definition you get from an external source: let me say that this is a perfect suite for C2.1 (and C2.2) with CForms.

Now, since you want to move away from C2.1 (and not for C2.2 I guess), you'd like to have some tools that, parsing the XML form definition generates a Wicket form, with all controls full featured.

While this is perfectly feasible without C3 (I did something similar, even though limited, in Apache Syncope), I'd think you could empower the integration between C3 and Wicket for this purpose. Only, consider that there is nothing implemented yet in this respect, so you would be the first.

Regards.

17.2.2013 20:30, Francesco Chicchiriccò kirjoitti:
On 15/02/2013 22:11, Mika M Lehtonen wrote:
Hi,
I have an application using dynamic Cforms (C2.11), that is, the Cforms definition and templates are created from dynamic XML through XSL.

Can this be done with C3 and wickets?
From somewhere I read about the fact that with Apache Wickets you don't need any XML..

Hi Mika,
what do you want to achieve exactly?

Apache Wicket is a component-based framework for developing web applications: I know from their project site that the project claims "a refreshing lack of XML", and I also know that Wicket fully supports form processing.

From the other side, Cocoon 3.0 features Wicket integration (more details at [1]) that can help achieving some particular use cases.

Regards.

[1] http://cocoon.apache.org/3.0/reference/html-single/index.html#wicket-integration
-- 
Francesco Chicchiriccò

ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/



--------------030903000403030603010205--