You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Amon <ar...@hotmail.com> on 2007/05/10 10:57:49 UTC

Preselected items fd:multivaluefield

Best Users,
 
I wonder how i can multiple preselected items in a fd:multivaluefield widget?
 
I have the following definition 
 
<fd:multivaluefield id="theme" > 
<fd:label>Theme:</fd:label>
<fd:datatype base="string"/> 
<fd:selection-list src="cocoon:/theme.xml"/> 
</fd:multivaluefield> 
  
Any help is very welcome,
 
Thanks in advance,
Amon
_________________________________________________________________
Call friends with PC-to-PC calling -- FREE
http://get.live.com/messenger/overview

Re: Preselected items fd:multivaluefield

Posted by Dev at weitling <de...@weitling.net>.
Hi Amon,

> I wonder how i can multiple preselected items in a fd:multivaluefield widget?
>  
> <fd:multivaluefield id="theme" > 
> <fd:label>Theme:</fd:label>
> <fd:datatype base="string"/> 
> <fd:selection-list src="cocoon:/theme.xml"/> 
> </fd:multivaluefield> 
>   

can't test it at the moment but try in your theme.xml in your item nodes
something like this:

<item value="bla" selected="selected">MyBlay</item>

Bye,
Florian

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


Re: Preselected items fd:multivaluefield

Posted by Christofer Dutz <ma...@c-ware.de>.
Hi Amon,

try setting the widgets value to a komma-separated string list of values

Chris

Amon schrieb:
> Best Users,
>  
> I wonder how i can multiple preselected items in a fd:multivaluefield 
> widget?
>  
> I have the following definition
>  
>
> <fd:multivaluefield id="theme" >
>
> <fd:label>Theme:</fd:label>
>
> <fd:datatype base="string"/>
>
> <fd:selection-list src="cocoon:/theme.xml"/>
>
> </fd:multivaluefield> 
>   
> Any help is very welcome,
>  
> Thanks in advance,
> Amon
>
> ------------------------------------------------------------------------
> Call friends with PC-to-PC calling -- FREE Try it now! 
> <http://get.live.com/messenger/overview>



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