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 12:47:35 UTC
own attribute
Best users,
Is there are way to add my own attribute to the fd:item element, let say selected="selected" , which i can use in my xslt?
<fd:selection-list xmlns:fd="http://apache.org/cocoon/forms/1.0#definition">
<fd:item value="13020711"/>
<fd:item value="19120623" />
<fd:item value="19690721" />
<fd:item value="19700506"/>
<fd:item value="19781014" />
<fd:item value="20010911" /></fd:selection-list> Thanks in advance,Amon
_________________________________________________________________
Get the new Windows Live Messenger!
http://get.live.com/messenger/overview
Re: own attribute
Posted by Jeroen Reijn <j....@hippo.nl>.
Hi Amon,
I'm not really sure what you are trying to achieve here, but if you want
cocoon forms to select an initial value, it's best to load that value in
to the form object. That should do the trick.
Kind regards,
Jeroen Reijn
Amon wrote:
> Best users,
>
>
>
>
>
> Is there are way to add my own attribute to the fd:item element, let say
> selected="selected" , which i can use in my xslt?
>
>
>
>
>
> <fd:selection-list xmlns:fd="http://apache.org/cocoon/forms/1.0#definition">
>
>
> <fd:item value="13020711"/>
>
>
> <fd:item value="19120623" />
>
>
> <fd:item value="19690721" />
>
>
> <fd:item value="19700506"/>
>
>
> <fd:item value="19781014" />
>
>
> <fd:item value="20010911" />
>
>
> </fd:selection-list>
>
>
>
> Thanks in advance,
>
> Amon
>
> ------------------------------------------------------------------------
> Get the new Windows Live Messenger! Try it!
> <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