You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Josema Alonso <al...@aafunky.com> on 2002/11/11 17:12:26 UTC

Dynamic models in XMLForms - was: Re: XMLForm - xf:repeat tag on DOM Nodes?

> Yes. This has been requested multiple times.
> Please open a feature request ticket in Bugzilla and describe with a few
> detailed use cases, what is it exactly that you would like to have.
> Others will add their thoughts to the ticket and someone (maybe I) will
> eventually implement it.

I've done it. I hope I did it well.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14450

Thank you very much for your help.



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


RE: Dynamic models in XMLForms - was: Re: XMLForm - xf:repeat tag on DOM Nodes?

Posted by Josema Alonso <al...@aafunky.com>.
>It needs further clarification before we can start design.
>Hopefully other people who asked for this feature will add a few more use
>cases.

I know, thank you.

Btw, what about filling a DOM node in the model from outside?
For example, I'm using Xindice, and there's that nice pseudo protocol
working on Cocoon.

I would like to query the DB using the pseudo protocol. It returns me a
collection. Now I want to feed the Form with this collection. A first
approach would be to load the collection in a DOM node for example. But I
can't see how I could do it, maybe with a sitemap parameter? May I load that
result there and then get it in the action in the act method?
The alternative is to query the DB directly inside the model or the action
and load the values, but I think it is a worse approach.

Well, that would be a first step. The second would be to have the model
empty. Then, after loading the coleection, properties would be 'created at
runtime' for every element. I do not know if it would be possible, but it
sounds too hard to me. Just a random idea...

Best.


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Dynamic models in XMLForms - was: Re: XMLForm - xf:repeat tag on DOM Nodes?

Posted by Ivelin Ivanov <iv...@apache.org>.
Thank you.

It needs further clarification before we can start design.
Hopefully other people who asked for this feature will add a few more use
cases.


Ivelin



----- Original Message -----
From: "Josema Alonso" <al...@aafunky.com>
To: "Cocoon-Users" <co...@xml.apache.org>
Sent: Monday, November 11, 2002 10:12 AM
Subject: Dynamic models in XMLForms - was: Re: XMLForm - xf:repeat tag on
DOM Nodes?


> > Yes. This has been requested multiple times.
> > Please open a feature request ticket in Bugzilla and describe with a few
> > detailed use cases, what is it exactly that you would like to have.
> > Others will add their thoughts to the ticket and someone (maybe I) will
> > eventually implement it.
>
> I've done it. I hope I did it well.
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14450
>
> Thank you very much for your help.
>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>