it would probably help if you gave the entire "processForm" tag code, unless
the code you gave is the only thing in there.

On Wed, Oct 28, 2009 at 2:54 PM, Marco van den Oever <
[email protected]> wrote:

>
> OK, i have a custom type that uses bSessionOnly="true" so i can set
> the properties.
> In the type i can use 2 array related fields, dmfile and dmimage.
>
> I have only one obj.createData in the "processForm" and the
> processForm action name is unique to others on the same page...
>
> Still, when i execute the code i get two db inserts, one is using the
> properties like i stated in my custom code:
>
> <!--- write email to db --->
> <cfset obj = createObject
> ('component',application.stcoapi.emailberichten.typePath) />
> <cfset stprops = {} />
> <cfset stprops.emailadresontvanger = emailadresontvangerlist />
> <cfset stprops.emailadresverzender = emailadresverzender.emailadres />
> <cfset stprops.emailonderwerp = stemailberichten.emailonderwerp />
> <cfset stprops.emailtekst = stemailberichten.emailtekst />
> <cfset stprops.label = stemailberichten.emailonderwerp />
> <cfset obj.createData(stProperties=stprops) />
>
> The other record inserts like it should when you don't use a
> bSessionOnly="true".
>
> Any insights, is it because there are related arrays involved???
>
> Thanks.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---

Reply via email to