If I change another field at the same time, then my new field will be saved
Is there a 'dirty' flag that needs to be set? On 8 December 2010 09:10, AJ Mercer <[email protected]> wrote: > I have build my own ftEditMethod method > that is doing the funky jQuery AutoSuggest thung > and I can see the objectID changing (name="#arguments.fieldname#" - this > will change to hidden when working) > > But when the form is submitted the data is not updated and get the bubble > message saying noting has changed. > Have I missed somthing? > > > <input name="adviserSearchName" id="adviserSearchName" > value="#stAdvisor.name#" type="text" > style="#arguments.stMetadata.ftstyle#" /> > <input name="#arguments.fieldname#" id="#arguments.fieldname#" > value="#stObject.objectID#" type="text" /> > > On 7 December 2010 13:50, Blair McKenzie <[email protected]> wrote: > >> Yes. That's probably better than overriding the formtool. >> >> Blair >> >> >> On Tue, Dec 7, 2010 at 4:42 PM, AJ Mercer <[email protected]> wrote: >> >>> just been scouring through the code and found ftEditMethod >>> >>> If I use this then I should be able to write my own function right? >>> >>> >>> On 7 December 2010 13:37, Blair McKenzie <[email protected]> wrote: >>> >>>> You could override the formtool to add one. I added getAjaxURL to >>>> formtools recently to make it easier to get the URL for accessing the ajax >>>> method. >>>> >>>> Blair >>>> >>>> >>>> On Tue, Dec 7, 2010 at 4:34 PM, AJ Mercer <[email protected]> wrote: >>>> >>>>> Thanks Blair - That option works. >>>>> >>>>> Is it possibly to create your own render type? >>>>> I would like to have some sore of searching option - most likely a ajax >>>>> auto suggest sort of thing >>>>> >>>>> >>>>> On 7 December 2010 13:24, Blair McKenzie <[email protected]> wrote: >>>>> >>>>>> The library picker uses a webskin (librarySelected or something) for >>>>>> each item. If you want to use a library picker on the front end you will >>>>>> need to open up permission to it for the relevant type. It might be >>>>>> easier >>>>>> to change the render type to "list". >>>>>> >>>>>> Blair >>>>>> >>>>>> On Tue, Dec 7, 2010 at 4:22 PM, AJ Mercer <[email protected]> wrote: >>>>>> >>>>>>> I have added the following to a component >>>>>>> >>>>>>> <cfproperty ftSeq="1045" ftFieldset="Account Details" >>>>>>> ftWizardStep="Account" name="Adviser" type="uuid" hint="my >>>>>>> Adviser" required="no" default="" ftLabel="Adviser" >>>>>>> bLabel="false" ftType="uuid" ftjoin="pslAdvisor" /> >>>>>>> >>>>>>> >>>>>>> Which Is used in a form on the website >>>>>>> >>>>>>> <ft:object objectid="#SESSION.dmProfile.objectid#" >>>>>>> typename="pslClient" lfields="username,name,Email,otherEmail,Adviser" >>>>>>> includeFieldSet="false" /> >>>>>>> >>>>>>> >>>>>>> But I am getting this message >>>>>>> >>>>>>>> You have been denied access to this item >>>>>>> >>>>>>> screenshot attached >>>>>>> >>>>>>> >>>>>>> What permissions are required? >>>>>>> -- >>>>>>> >>>>>>> *AJ Mercer* >>>>>>> <webonix:net strength="Industrial" /> <http://webonix.net> | >>>>>>> <webonix:org >>>>>>> community="Open" /> <http://webonix.org> >>>>>>> http://twitter.com/webonix >>>>>>> >>>>>>> -- >>>>>>> You received this message cos you are subscribed to "farcry-dev" >>>>>>> Google group. >>>>>>> To post, email: [email protected] >>>>>>> To unsubscribe, email: >>>>>>> [email protected]<farcry-dev%[email protected]> >>>>>>> For more options: http://groups.google.com/group/farcry-dev >>>>>>> -------------------------------- >>>>>>> Follow us on Twitter: http://twitter.com/farcry >>>>>> >>>>>> >>>>>> -- >>>>>> You received this message cos you are subscribed to "farcry-dev" >>>>>> Google group. >>>>>> To post, email: [email protected] >>>>>> To unsubscribe, email: >>>>>> [email protected]<farcry-dev%[email protected]> >>>>>> For more options: http://groups.google.com/group/farcry-dev >>>>>> -------------------------------- >>>>>> Follow us on Twitter: http://twitter.com/farcry >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *AJ Mercer* >>>>> <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org >>>>> community="Open" /> <http://webonix.org> >>>>> http://twitter.com/webonix >>>>> >>>>> -- >>>>> You received this message cos you are subscribed to "farcry-dev" Google >>>>> group. >>>>> To post, email: [email protected] >>>>> To unsubscribe, email: >>>>> [email protected]<farcry-dev%[email protected]> >>>>> For more options: http://groups.google.com/group/farcry-dev >>>>> -------------------------------- >>>>> Follow us on Twitter: http://twitter.com/farcry >>>>> >>>> >>>> -- >>>> You received this message cos you are subscribed to "farcry-dev" Google >>>> group. >>>> To post, email: [email protected] >>>> To unsubscribe, email: >>>> [email protected]<farcry-dev%[email protected]> >>>> For more options: http://groups.google.com/group/farcry-dev >>>> -------------------------------- >>>> Follow us on Twitter: http://twitter.com/farcry >>>> >>> >>> >>> >>> -- >>> >>> *AJ Mercer* >>> <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org >>> community="Open" /> <http://webonix.org> >>> http://twitter.com/webonix >>> >>> -- >>> You received this message cos you are subscribed to "farcry-dev" Google >>> group. >>> To post, email: [email protected] >>> To unsubscribe, email: >>> [email protected]<farcry-dev%[email protected]> >>> For more options: http://groups.google.com/group/farcry-dev >>> -------------------------------- >>> Follow us on Twitter: http://twitter.com/farcry >>> >> >> -- >> You received this message cos you are subscribed to "farcry-dev" Google >> group. >> To post, email: [email protected] >> To unsubscribe, email: >> [email protected]<farcry-dev%[email protected]> >> For more options: http://groups.google.com/group/farcry-dev >> -------------------------------- >> Follow us on Twitter: http://twitter.com/farcry >> > > > > -- > > *AJ Mercer* > <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org > community="Open" /> <http://webonix.org> > http://twitter.com/webonix > -- *AJ Mercer* <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org community="Open" /> <http://webonix.org> http://twitter.com/webonix -- 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
