Ok, well next time will be easy peasy then :)

yw

On Apr 10, 3:29 pm, Tomek Kott <[email protected]> wrote:
> sorry, i did leave out the action on purpose, but I didn't have the
> "typename = 'myType'". In the mean time, I had changed it to my own loop
> with getData() and setData(), so I might not change it for now. I'll
> remember for next time thought.
>
> Thanks Marco!
>
> Tomek
>
> On Fri, Apr 10, 2009 at 4:26 AM, Marco van den Oever <
>
> [email protected]> wrote:
>
> > 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/...
>
> > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to