<cfif NOT property.getIsPersisted()>
On Tue, Oct 14, 2008 at 11:01 PM, Mick <[EMAIL PROTECTED]> wrote:
>
> Quick one.
>
> How do I test to see if an instance of an object is empty or not.
>
> I've been doing the following:
>
> <cfset property = transfer.get("property.property", [a number that
> doesn't exist in the table]) />
>
> <cfif NOT property.getPropertyId()>
>
> <!--- alert user, something went wrong --->
>
> </cfif>
>
> I feel its not the best way. Is there an alternative?
> >
>
--
Bob Silverberg
www.silverwareconsulting.com
--~--~---------~--~----~------------~-------~--~----~
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer
You received this message because you are subscribed to the Google Groups
"transfer-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/transfer-dev?hl=en
-~----------~----~----~----~------~----~------~--~---