Thanks Blair. is 'ftEditAClients' a webskin as in ftEditAClients.cfm or an attribute on cfproperty?
On 14 March 2014 08:22, Blair McKenzie <shi...@gmail.com> wrote: > The trade-off when using extended arrays is that you have to write your > own UI. This is the reason the Handpicked Rule always has so many issues - > it has it's own UI that isn't used or stress tested anywhere else. > > If you want to be able to edit that array in a Webtop wizard you will need > to provide ftEditAClients (for the UI) and ftValidateAClients (to parse > posts into an array-of-structs) functions. > > Blair > > > On Thu, Mar 13, 2014 at 7:05 PM, AJ Mercer <ajmer...@gmail.com> wrote: > >> I have this property in AflGames.cfc >> <cfproperty name="aClients" type="array" required="false" >> ftSeq="6" ftWizardStep="Requests" ftFieldset="Responces" >> ftLabel="Clients" >> ftType="array" ftJoin="AflGameClient"> >> >> so have created types/AflGales_aClients.cfc >> <cfproperty ftseq="1" ftfieldset="General Details" >> name="preference" type="string" >> hint="prefered game." >> required="no" default="" >> ftlabel="Preference" /> >> >> and deployed changes >> >> I can edit an AflGame and add a Client >> but when I go and edit again I get >> >> Message: Complex object types cannot be converted to simple values. >> >> Tag Context: >> \farcry\core\packages\formtools\join.cfc (line: 222) >> \farcry\core\tags\wizard\object.cfm (line: 358) >> \farcry\core\tags\wizard\object.cfm (line: 355) >> \farcry\core\tags\wizard\object.cfm (line: 350) >> \farcry\core\tags\wizard\object.cfm (line: 229) >> \farcry\core\tags\wizard\object.cfm (line: 15) >> \farcry\core\tags\wizard\object.cfm (line: 1) >> \farcry\core\packages\types\types.cfc (line: 836) >> \farcry\core\tags\navajo\edit.cfm (line: 171) >> \farcry\core\webtop\edittabEdit.cfm (line: 58) >> >> >> On 13 March 2014 14:46, AJ Mercer <ajmer...@gmail.com> wrote: >> >>> anyone know where I can get more info/examples on this: >>> >>> Extended Arrays >>> Icon >>> >>> Array properties can themselves be extended to include additional >>> attributes - but lets keep it simple for now. >>> >>> >>> https://farcry.jira.com/wiki/display/FCDEV60/UNIT+06+-+Content+Relationships >>> >>> >>> >>> >>> On 13 March 2014 11:27, AJ Mercer <ajmer...@gmail.com> wrote: >>> >>>> when you have something like this >>>> <cfproperty >>>> name="aPowers" type="array" >>>> ftSeq="12" ftFieldset="Related Content" ftWizardStep= >>>> "Relationships" ftLabel="Powers" >>>> fttype="array" ftJoin="superPower" >>>> hint="Array of superhuman powers." /> >>>> >>>> https://farcry.jira.com/wiki/display/FCDEV60/UNIT+06+-+Content+Relationships >>>> >>>> How do you programatically add to 'aPowers'? >>>> >>>> >>>> -- >>>> >>>> *AJ Mercer* >>>> <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org >>>> community="Open" /> <http://webonix.org> >>>> http://twitter.com/webonix >>>> Railo Community Manager<http://www.getrailo.org/index.cfm/community/team/> >>>> >>> >>> >>> >>> -- >>> >>> *AJ Mercer* >>> <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org >>> community="Open" /> <http://webonix.org> >>> http://twitter.com/webonix >>> Railo Community Manager<http://www.getrailo.org/index.cfm/community/team/> >>> >> >> >> >> -- >> >> *AJ Mercer* >> <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org >> community="Open" /> <http://webonix.org> >> http://twitter.com/webonix >> Railo Community Manager<http://www.getrailo.org/index.cfm/community/team/> >> >> -- >> You received this message cos you are subscribed to "farcry-dev" Google >> group. >> To post, email: farcry-dev@googlegroups.com >> To unsubscribe, email: farcry-dev+unsubscr...@googlegroups.com >> For more options: http://groups.google.com/group/farcry-dev >> -------------------------------- >> Follow us on Twitter: http://twitter.com/farcry >> --- >> You received this message because you are subscribed to the Google Groups >> "farcry-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to farcry-dev+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message cos you are subscribed to "farcry-dev" Google > group. > To post, email: farcry-dev@googlegroups.com > To unsubscribe, email: farcry-dev+unsubscr...@googlegroups.com > For more options: http://groups.google.com/group/farcry-dev > -------------------------------- > Follow us on Twitter: http://twitter.com/farcry > --- > You received this message because you are subscribed to the Google Groups > "farcry-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to farcry-dev+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- *AJ Mercer* <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org community="Open" /> <http://webonix.org> http://twitter.com/webonix Railo Community Manager <http://www.getrailo.org/index.cfm/community/team/> -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: farcry-dev@googlegroups.com To unsubscribe, email: farcry-dev+unsubscr...@googlegroups.com For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry --- You received this message because you are subscribed to the Google Groups "farcry-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to farcry-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.