Based on the code above, anyone has any insight???

Thanks!

On Sep 16, 6:32 pm, Marco van den Oever <[EMAIL PROTECTED]>
wrote:
> AJ, thanks for the reference to the documentation, but in the image
> property when i use required="true" or ftValidation="required", i am
> still able to bypass the use of an image.
>
> Geoff, i use type string and fttype image, and i use the UUID to
> select a banner client for the banner that i try to submit, i want
> only one client per banner, for clarification i paste the code below:
>
> <cfcomponent name="banners" extends="farcry.core.packages.types.types"
> output="false"
> displayname="Banners" bObjectBroker="true"
> lObjectBrokerWebskins="display*">
>
> <cfproperty ftSeq="1" ftFieldset="General Details" name="bannername"
> type="string" fttype="string" default="" ftLabel="Banner Name"
> hint="Banner Name." ftValidation="required" />
>
> <cfproperty ftSeq="2" ftFieldset="General Details" name="bannerurl"
> type="string" fttype="url" default="" ftLabel="Banner URL"
> hint="Banner URL." ftValidation="required" />
>
> <cfproperty ftSeq="3" ftFieldset="Imagery" name="bannerimg"
> type="string" ftType="image"
> ftLabel="Banner Image" ftDestination="/mediaArchive/images/banners"
> ftAutoGenerateType="fitInside" ftImageWidth="120" ftImageHeight="240"
> hint="Banner Image." required="true" />
>
> <cfproperty ftSeq="4" ftFieldset="Clients" name="abannerclients"
> type="UUID"
> ftLabel="Banner Client"
> ftJoin="bannerclients"
> hint="Banner Client."
> ftValidation="required" />
>
> <cfproperty name="hits" type="integer" default="0" />
>
> </cfcomponent>
>
> On Sep 16, 9:14 am, modius <[EMAIL PROTECTED]> wrote:
>
> > On Sep 16, 9:51 am, Marco van den Oever <[EMAIL PROTECTED]>
> > wrote:
>
> > > How can you validate cfproperty type="UUID" and fttype="image"?
> > > Doesn't work with a regular ftValidation="required".
>
> > fttype="image" must be used with a string data type.  The image
> > formtool controls a relative file reference to the physical image to
> > be uploaded.
>
> > The only reason you would use something like type="UUID" is if you
> > were referring to an object that contained image properties.  For
> > example, an image from the default FarCry image library.
>
> > Hope that helps,
>
> > -- geoffhttp://www.daemon.com.au/
--~--~---------~--~----~------------~-------~--~----~
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