Re: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-27 Thread Josema Alonso
? Thanks for your help, I'm learning a lot. - Original Message - From: Ivelin Ivanov [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, January 26, 2003 3:24 AM Subject: Re: XMLForm Xindice Howto added to Wiki [please, att. Ivelin] 3) Override the getForm() method in the action

Re: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-27 Thread Ivelin Ivanov
Ivelin, I have coded the changes and finally got it working. The part I don't like too much is where I need to get the model in order to add the document to the DB. Until that part everything seems to fit quite nicely. Remember I got the model stored in a XMLDocumentContainer and now I need

Re: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-27 Thread Josema Alonso
I understand. It looks like you've been in a really good mood to get this casting to work ;) Yeah! ;-) I suggest emailing the JXPath lead Dmirti for ideas, his email is [EMAIL PROTECTED] I'm sending email to him. Go ahead. This will be a nice addition to the samples and how-tos. Great.

Re: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-27 Thread Josema Alonso
Ivelin, I got reply from Dmitri. I'm copying it below. Unfortunately I was right and there's not better way of making it with Containers other that the casting I proposed. Maybe when updating to 1.1. I'll rewrite the how-to tomorrow if I can find a couple hours and put it in the Wiki so you

Re: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-25 Thread Ivelin Ivanov
3) Override the getForm() method in the action Wouldn't it be enough to override the getFormModel() method? Yes. Your code looks good. Something like this: protected Object getFormModel() { //to load the XML model Container DOMModel = null; Source modelSrc = null; //this

Re: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-24 Thread Josema Alonso
Ivelin, I'm trying to code your suggestions but I have problems and some doubts. 1) You can remove ArtistBean altogether Done. 2) Store the empty id structure in a static file or local constant Done. 3) Override the getForm() method in the action Wouldn't it be enough to override the

RE: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-23 Thread Josema Alonso
Ouch...I forgot to include the URL. I'm sorry. http://wiki.cocoondev.org/Wiki.jsp?page=XMLFormXindice Thanks :) -Mensaje original- De: Ivelin Ivanov [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 23 de enero de 2003 4:24 Para: [EMAIL PROTECTED] Asunto: Re: XMLForm Xindice Howto added

RE: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-23 Thread Antonio Gallardo
/Wiki.jsp?page=XMLFormXindice Thanks :) -Mensaje original- De: Ivelin Ivanov [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 23 de enero de 2003 4:24 Para: [EMAIL PROTECTED] Asunto: Re: XMLForm Xindice Howto added to Wiki [please, att. Ivelin] What is the URL? -=Ivelin

RE: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-23 Thread Josema Alonso
Hello. First of all, thanks for commenting on this. Comments inline... I strongly believe in XForms, but the sample you pointed show that the use with Java Beans for DB connectivity and data validation is currently too complex. I am thinking in what will happen if every form will be code like

Re: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-23 Thread Ivelin Ivanov
PROTECTED]] Enviado el: jueves, 23 de enero de 2003 4:24 Para: [EMAIL PROTECTED] Asunto: Re: XMLForm Xindice Howto added to Wiki [please, att. Ivelin] What is the URL? -=Ivelin=- - Please check that your

Re: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-23 Thread Ivelin Ivanov
] Asunto: Re: XMLForm Xindice Howto added to Wiki [please, att. Ivelin] What is the URL? -=Ivelin=- - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon

Re: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-23 Thread Josema Alonso
Excelent document. Thank you. I would like to suggest a slight improvement. The Model part can be improved quite a bit if you use a DOM object directly instead of a JavaBean wrapper. more specificly: ... Wow. It sounds very very good. I really need to learn much more about JXPath. I'll try

Re: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-23 Thread Antonio Gallardo
Hi, I think that Xforms will be mainy used for web DB app. I am using this opensource tool that can be extended to build other formats from an database design. His name is Druid you can find it at: http://sourceforge.net/projects/druid I can said that I already build my postgresql database

XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-22 Thread Josema Alonso
Hi, all. Ivelin, I should have done it a long while ago, but it was not possible for me until this day. I added a HowTo on using Xindice with XMLForms. I tried to use the easiest possible way. I hope I had not too many faults. Please review it and comment it if you want. Hope it could be useful.

Re: XMLForm Xindice Howto added to Wiki [please, att. Ivelin]

2003-01-22 Thread Ivelin Ivanov
What is the URL? -=Ivelin=- - Original Message - From: Josema Alonso [EMAIL PROTECTED] To: Cocoon-Users [EMAIL PROTECTED] Sent: Wednesday, January 22, 2003 6:18 PM Subject: XMLForm Xindice Howto added to Wiki [please, att. Ivelin] Hi, all. Ivelin, I should have done it a long while