You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by johnson <jo...@erp.tw> on 2007/08/10 17:33:16 UTC
control fd:initial-value in flowscript
Hi!
I've a form for several purpose, I need to set different
fd:initial-value for them, how to do it in flowscript?
Best Regards
johnson
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: control fd:initial-value in flowscript
Posted by johnson <jo...@erp.tw>.
tks, got it, just set it's value in flowscript.
johnson
Jason Johnston 提到:
> johnson wrote:
>
>> I've a form for several purpose, I need to set different
>> fd:initial-value for them, how to do it in flowscript?
>>
>>
>
> You have access to the form model in your flowscript, so you can just
> set the value of the field directly. Or is there some reason you need
> to use fd:initial-value ... does it buy you anything that setting the
> value directly does not?
>
> ---------------------------------------------------------------------
> 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: control fd:initial-value in flowscript
Posted by Jason Johnston <co...@lojjic.net>.
johnson wrote:
>
> I've a form for several purpose, I need to set different
> fd:initial-value for them, how to do it in flowscript?
>
You have access to the form model in your flowscript, so you can just
set the value of the field directly. Or is there some reason you need
to use fd:initial-value ... does it buy you anything that setting the
value directly does not?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org