Just curious if argumentsCollection is the only way to overcome the problem
with passing conditional arguments?
I realize that the following works:
<cfscript>
myArgument = structNew();
myArgument.organisationName = "Shelco";
OrganisationNameSearch = new
( "class.asic.message.OrganisationNameRequestMessage" ).init(
argumentsCollection = myArgument );
</cfscript>
But this does not work
OrganisationNameSearch = new
( "class.asic.message.OrganisationNameRequestMessage" ).init( iif( 1=1, dE
( "organisationName = 'Shelco'" ), dE("") ) );
OrganisationNameSearch = new
( "class.asic.message.OrganisationNameRequestMessage" ).init( if( 1=1 )
{organisationName = 'Shelco'} );
Note: 1=1 should be structKeyExists()
________________________________
Taco Fleur - E-commerce Development Manager
Shelco Searches & Services
An Authorised ASIC Information Broker
www.shelco.com.au
Ph: + 61 7 3236 2605
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/