Re: from Cforms to Wicket

2013-02-18 Thread Mika M Lehtonen
Yeah, I think so too. Thanks. - mika - 18.2.2013 18:44, Jos Snellings kirjoitti: Nice overview! On Mon, Feb 18, 2013 at 5:23 PM, gelo1234 > wrote: IMHO if you are dealing with XML data, there are only two valid choices: XSLT or XQuery. Both can be use

Re: from Cforms to Wicket

2013-02-18 Thread Jos Snellings
Nice overview! On Mon, Feb 18, 2013 at 5:23 PM, gelo1234 wrote: > IMHO if you are dealing with XML data, there are only two valid choices: > XSLT or XQuery. > > Both can be used with Cocoon. XSLT is standard Cocoon supported (by > XSLTTransformer), > XQuery support for Cocoon exists in XQueryGe

Re: from Cforms to Wicket

2013-02-18 Thread gelo1234
IMHO if you are dealing with XML data, there are only two valid choices: XSLT or XQuery. Both can be used with Cocoon. XSLT is standard Cocoon supported (by XSLTTransformer), XQuery support for Cocoon exists in XQueryGenerator from eXistDB ( http://www.exist-db.org) Whin one to use ? :) I prefer

Re: from Cforms to Wicket

2013-02-18 Thread Mika M Lehtonen
Yep, but as I started this chain, I stated that my problem is to "convert" my own defined dynamic XML into HTML4 (or HTML5) forms. I was looking something to replace Cforms (not just plain XSLT). I am also considering to move to C3 because as I stated earlier, developing without tools is hard.

Re: sitemap parameter in C3 (was Re: A generator with sitemap parameter in C3)

2013-02-18 Thread gelo1234
So value from any parameter name (not only "source" is available from setConfiguration(...) configuration object :) Thanks for clarifying this! Greetings, -Greg 2013/2/18 Thorsten Scherler > On 02/11/2013 01:55 PM, gelo1234 wrote: > > ... > > So the setup(...) has access to sitemap parameters

Re: sitemap parameter in C3 (was Re: A generator with sitemap parameter in C3)

2013-02-18 Thread Francesco Chicchiriccò
On 18/02/2013 14:50, Thorsten Scherler wrote: On 02/11/2013 01:55 PM, gelo1234 wrote: ... So the setup(...) has access to sitemap parameters :) Why not setConfiguration(..) ? Does call: this.setup((Map) configuration) strips off?/adds? some unwanted/additional data for sitemap-servlet framework

Re: from Cforms to Wicket

2013-02-18 Thread gelo1234
HTML5 in its basics is a superset of HTML4. If you don't use HTML5-specific tags/spec you go well with old good HTML4. The original issue was NOT whether to use HTML5 or old HTML, but whether to use CForms or just raw XHTML/HTML (4 or 5) forms. If you like to have HTML5 goodies in browsers that s

sitemap parameter in C3 (was Re: A generator with sitemap parameter in C3)

2013-02-18 Thread Thorsten Scherler
On 02/11/2013 01:55 PM, gelo1234 wrote: > ... > So the setup(...) has access to sitemap parameters :) Why not > setConfiguration(..) ? > > Does call: > this.setup((Map) configuration) > strips off?/adds? some unwanted/additional data for sitemap-servlet > framework ? > > As i recall setConfiguratio

Re: from Cforms to Wicket

2013-02-18 Thread Mika M Lehtonen
Also HTML5 support for IE seems to be weak, even for IE9. There are still lot of people using IE8 or even older browser + lot of people in some sort of governmental offices using their own versions.. We can't sell apps without IE-support, absolutely no way. http://people.mozilla.com/~prouget/ie

Re: from Cforms to Wicket

2013-02-18 Thread Francesco Chicchiriccò
On 18/02/2013 13:45, Robby Pelssers wrote: The only thing I wonder about is... Cocoon and neither XSLT2.0 support html5 serialization for all I know. So does someone using Cocoon already generate HTML5 content with Cocoon and how did you accomplish this. Cocoon 2.1 is going to support HTML

RE: from Cforms to Wicket

2013-02-18 Thread Robby Pelssers
The only thing I wonder about is... Cocoon and neither XSLT2.0 support html5 serialization for all I know. So does someone using Cocoon already generate HTML5 content with Cocoon and how did you accomplish this. Cheers, Robby -Original Message- From: Mika M Lehtonen [mailto:m...@digik

Re: from Cforms to Wicket

2013-02-18 Thread Mika M Lehtonen
Ok, thanks for your efforts. HTML5 it is, with or without C3. - mika - 18.2.2013 14:25, Francesco Chicchiriccò kirjoitti: On 18/02/2013 13:09, Mika M Lehtonen wrote: Yeah, I know what you mean. Most of the Xforms sites are dated back to 2002 or 2003.. Sounds like a standard having glorious f

Re: from Cforms to Wicket

2013-02-18 Thread Francesco Chicchiriccò
On 18/02/2013 13:09, Mika M Lehtonen wrote: Yeah, I know what you mean. Most of the Xforms sites are dated back to 2002 or 2003.. Sounds like a standard having glorious future behind.. This betterForm still sounded proper for my purposes because it actually implements server-side approache of

Re: from Cforms to Wicket

2013-02-18 Thread gelo1234
IMHO, any kind of *Forms* technology is not a viable solution today in the long term. I wouldn't bet on XForms or any other non-standard/standard framework/technology as long as you just don't want to play around with it. The only valid standard today for View part of MVC/MVVP is ... HTML5. Even

Re: from Cforms to Wicket

2013-02-18 Thread Francesco Chicchiriccò
On 18/02/2013 13:21, Mika M Lehtonen wrote: Is HTML5 something you can really use already having wide range of browsers supported? (Or at least FF, IE and Chrome) Google says (among others) http://www.findmebyip.com/litmus/ 18.2.2013 14:09, gelo1234 kirjoitti: Why using CForms at all ?

Re: from Cforms to Wicket

2013-02-18 Thread Mika M Lehtonen
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, -Gr

Re: from Cforms to Wicket

2013-02-18 Thread Francesco Chicchiriccò
On 18/02/2013 13:09, gelo1234 wrote: Why using CForms at all ? If you use XSLT you can transform dynamic XML data into HTML5 native forms templates. HTML5 would be an option, indeed. Regards. 2013/2/18 Mika M Lehtonen > Yep, sounds like a lot of work and

Re: from Cforms to Wicket

2013-02-18 Thread gelo1234
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:

Re: from Cforms to Wicket

2013-02-18 Thread Mika M Lehtonen
Yeah, I know what you mean. Most of the Xforms sites are dated back to 2002 or 2003.. Sounds like a standard having glorious future behind.. This betterForm still sounded proper for my purposes because it actually implements server-side approache of Xforms. So I could use Xforms definition fo

Re: from Cforms to Wicket

2013-02-18 Thread 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

Re: from Cforms to Wicket

2013-02-18 Thread Francesco Chicchiriccò
On 17/02/2013 21:57, Mika M Lehtonen wrote: How about some XForms implementation like this http://www.betterform.de? Sounds promising.. I personally wouldn't bet much on XForms... Regards. -- Francesco Chicchiriccò ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member http://people.

Re: from Cforms to Wicket

2013-02-18 Thread Francesco Chicchiriccò
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