You can put in an expression for default value

I guess the FormTool would need another option
 - ftdefaultLABEL="evaluate"

http://docs.farcrycms.org:8080/confluence/display/FCDEV40/Form+Tool+Property+Metadata
*ftDefaultType Options*

Examples of default type usage.

For todays date, use ftdefault="now()" ftdefaulttype="evaluate" and you'll
get the result of *Evaluate(now())*

Expression does this Evaluate(DE(yourvalue)) – no good example springs to
mind.


On 5/16/07, Martin Orth <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I tried to combine recource bundle variables with formtool property
> metadata and had no luck with this.
>
> eg. <cfproperty ftseq="1" ftfieldset="Overview Details"
> name="overview" type="string" hint="Tax Class Title" required="no"
> default="" ftLabel="#application.adminBundle[session.dmProfile.locale
> ].overview#"
> ftvalidation="required" />
>
> What's wrong with the code? Does session.dmProfile.locale not exist
> within the scope of a custom type cfc?
>
> Thanks
>
> Martin
>
> >
>


-- 
If you are not living on the edge,
You are taking up too much space.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to