You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Joakim Verona <jo...@verona.se> on 2004/01/14 01:42:09 UTC

woody form question : load a drop-down from external xml?

Hello,

I'm trying to make a woody form that will get the option values of a 
drop down control from the output of a pipeline.

What is the best way to achieve this?

Its not clear to me if it can be done with the woody binding framework,
or if I should use an xinclude to create the woody form somehow.

Cheers,
/Joakim


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: woody form question : load a drop-down from external xml?

Posted by Joakim Verona <jo...@verona.se>.
Ok, I did some more googling after I wrote this, and discovered the 
"src" attribute which is what I wanted.

/Joakim

Joakim Verona wrote:

> Hello,
>
> I'm trying to make a woody form that will get the option values of a 
> drop down control from the output of a pipeline.
>
> What is the best way to achieve this?
>
> Its not clear to me if it can be done with the woody binding framework,
> or if I should use an xinclude to create the woody form somehow.
>
> Cheers,
> /Joakim
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: woody form question : load a drop-down from external xml?

Posted by Joerg Heinicke <jo...@gmx.de>.
You mean something like a selection list filled via cocoon:/ ??

<wd:selection-list src="cocoon:/mychoices.xml"/>

taken from http://wiki.cocoondev.org/Wiki.jsp?page=WoodyDatatypeReference.

In theory you should also be available to access XML DB directly if you 
need:

<wd:selection-list src="xmldb:xindice:mychoices.xml"/>

Joerg

On 14.01.2004 01:42, Joakim Verona wrote:

> Hello,
> 
> I'm trying to make a woody form that will get the option values of a 
> drop down control from the output of a pipeline.
> 
> What is the best way to achieve this?
> 
> Its not clear to me if it can be done with the woody binding framework,
> or if I should use an xinclude to create the woody form somehow.
> 
> Cheers,
> /Joakim


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org