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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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: [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 > --- > 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 [email protected]. > 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: [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 --- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
