Re: extending XMLForms for different kinds of models...opinions?

2003-02-18 Thread Christian Haul
Josema Alonso wrote: When I tried not to use Java, the hard part was not the CRUD one but the validation against the DB. Mixing both was a nightmare when not using Java. When using Java code and the helper class I only had to write very few lines and everything was working. Yes, that really is

Re: extending XMLForms for different kinds of models...opinions?

2003-02-17 Thread Christian Haul
On 14.Feb.2003 -- 02:07 PM, Josema Alonso wrote: snip/ In this how-to I explored new ways of storing the form model. This new way the XML model is stored in a file in the system with an empty structure. Then it is loaded into a JXPath Container and manipulated from there. The getFormModel()

Re: extending XMLForms for different kinds of models...opinions?

2003-02-17 Thread Josema Alonso
Hello, Chris. I wonder if it would be easier and cleaner to have different actions depending on the model (e.g. bean / dom) like you demonstrate on the wiki page or at least two different parameters for specifying the model. Automagic is fine but hiding the information whether it is a class

Re: extending XMLForms for different kinds of models...opinions?

2003-02-17 Thread Christian Haul
Josema Alonso wrote: I wonder if it would be easier and cleaner to have different actions depending on the model (e.g. bean / dom) like you demonstrate on the wiki page or at least two different parameters for specifying the model. Automagic is fine but hiding the information whether it is a

RE: extending XMLForms for different kinds of models...opinions?

2003-02-17 Thread Jonathan Spaeth
Title: RE: extending XMLForms for different kinds of models...opinions? Ivelin The W3C's candidate recommendation for xforms defines both: 1. a element named 'model' enabling one to bind an object to a named model in the form 2. a common attribute named 'model' enabling one to choose

Re: extending XMLForms for different kinds of models...opinions?

2003-02-17 Thread Josema Alonso
Tastes differ and both have their use. I'd like to second Sylvain on this. Regarding Sylvain's opinion, please forgive me on this cause it seems I lost the thread somewhere, but I guess you're talking about this: snip Sylvain Wallez wrote: This is a good idea when you need to use the

Re: extending XMLForms for different kinds of models...opinions?

2003-02-15 Thread Jeremy Quinn
On Friday, February 14, 2003, at 01:07 PM, Josema Alonso wrote: Dear all, I need your suggestions and opinions in extending the current XMLForm model approach. If you use XMLForm or are thinking about using it soon, I'd suggest youy to read this message and send some feedback to the list.

Re: extending XMLForms for different kinds of models...opinions?

2003-02-15 Thread ivelin
PROTECTED] Sent: Friday, February 14, 2003 7:07 AM Subject: extending XMLForms for different kinds of models...opinions? Dear all, I need your suggestions and opinions in extending the current XMLForm model approach. If you use XMLForm or are thinking about using it soon, I'd suggest youy to read

Re: extending XMLForms for different kinds of models...opinions?

2003-02-15 Thread Josema Alonso
to. Btw, glad you like it. Thanks. - Original Message - From: Jeremy Quinn [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 15, 2003 11:24 AM Subject: Re: extending XMLForms for different kinds of models...opinions? On Friday, February 14, 2003, at 01:07 PM, Josema Alonso

Re: extending XMLForms for different kinds of models...opinions?

2003-02-15 Thread Josema Alonso
] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, February 15, 2003 5:53 PM Subject: Re: extending XMLForms for different kinds of models...opinions? This sounds good. As you suggest the java: prefix can be used for instantiating JavaBeans. For all other cases though, I was hoping to reuse

RE: extending XMLForms for different kinds of models...opinions?

2003-02-15 Thread Jonathan Spaeth
Title: RE: extending XMLForms for different kinds of models...opinions? As a user of cocoon, I see this as a very advantageous feature. I am currently using cocoon/xmlform and have been developing with it for about five months now. Your suggestion matches some of the thoughts I was having

Re: extending XMLForms for different kinds of models...opinions?

2003-02-15 Thread ivelin
Title: RE: extending XMLForms for different kinds of models...opinions? Jonathan, please elaborate on the multiple models requirement. I think that Josema's idea is a significant step forward. It does not prohibit future extensions, so I definitely support it, but in the meanwhile I am

Re: extending XMLForms for different kinds of models...opinions?

2003-02-15 Thread ivelin
Ditto. -=Ivelin=- - Original Message - From: Josema Alonso [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 15, 2003 11:41 AM Subject: Re: extending XMLForms for different kinds of models...opinions? Ivelin, That sounds very very good. I was not sure about all

Re: extending XMLForms for different kinds of models...opinions?

2003-02-15 Thread ivelin
: Christopher Oliver [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 15, 2003 1:49 PM Subject: Re: extending XMLForms for different kinds of models...opinions? Just wondering, why isn't the average cocoon user reluctant to write complex xpath or xslt code as well as Java? Regards

extending XMLForms for different kinds of models...opinions?

2003-02-14 Thread Josema Alonso
Dear all, I need your suggestions and opinions in extending the current XMLForm model approach. If you use XMLForm or are thinking about using it soon, I'd suggest youy to read this message and send some feedback to the list. Some days ago, and with some ideas I exchanged with Ivelin, I made a

RE: extending XMLForms for different kinds of models...opinions?

2003-02-14 Thread Sylvain.Thevoz
Hi Josema, Could you describe the advantages and the possible application of this new feature. Regards Sylvain -Message d'origine- De: Josema Alonso [mailto:[EMAIL PROTECTED]] Date: vendredi, 14. février 2003 14:08 À: Cocoon-Users Objet: extending XMLForms for different kinds of models

Re: extending XMLForms for different kinds of models...opinions?

2003-02-14 Thread Josema Alonso
I mentioned. Best, Josema. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 14, 2003 4:25 PM Subject: RE: extending XMLForms for different kinds of models...opinions? Hi Josema, Could you describe the advantages and the possible application