?
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
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
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.
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
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
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
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
/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
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
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
]
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
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
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
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.
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
15 matches
Mail list logo