I assume this code:
<ftprocessform>
<ftprocessformobject>
</ftprocessform>
Needs to be like:
<ft:processForm action="Save">
<ft:processFormObjects typename="yourtypename" />
</ft:processForm>
For a complete example look on line 82 at:
http://code.google.com/p/farcry-wsofarcrytickets/source/browse/trunk/webskin/tickets/edit.cfm
On Apr 10, 12:17 am, Tomek Kott <[email protected]> wrote:
> Message
>
> Element STTYPE is undefined in STSETUP. (in
> core/tags/formtools/processformobject.cfm)
>
> (This is for Farcry 5.0) This is the error I am getting after
> submitting an ft:form. The basic structure of the ft form is:
>
> <ftprocessform>
> <ftprocessformobject>
> </ftprocessform>
> <ft:form action="to-same-page-it-was-called-to">
> <cfloop >
> <ft:object typename=' ' objectid=' '>
> </cfloop>
> </ft:form>
>
> It seems that this part of processformobject that isn't working is this:
>
> 63 <cfset stSetup =
> init(stObj=attributes.stObj,ObjectID=attributes.ObjectID,Typename=attributes.Typename)>
> 64 <cfset stType = stSetup.stType>
> 65 <cfset stObj = stSetup.stObj>
> 66 <cfset lFields = stSetup.lFields>
> 67 <cfset stFields = stSetup.stFields>
> 68 <cfset typename = stSetup.typename>
>
> so it seems that stSetup isn't being initiated properly. Where is the
> init() being called from?
>
> My understanding was that <ftprocessformobjects> takes all objects
> submitted and processes each in turn, is this correct? or do I need to
> loop trhough processformobjects myself?
>
> Thanks,
>
> Tomek
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---