Got something that might be enough to understand how this works:

http://groups.google.com/group/farcry-dev/browse_thread/thread/a7767b07ab509a24/621e2284b8f26032?hl=en&lnk=gst&q=ftwatch#621e2284b8f26032

"The default ajax stuff is added with the ft:object tag. It basically
adds
events to the watched fields. If those other fields change, the
dependent
field is ajax'd in. Basically the edit function gets called with the
new
watched values passed in. You can see an example of this at work with
the
country and state formtools."

On Apr 30, 5:06 pm, Marco van den Oever <[email protected]>
wrote:
> Ok thanks, needed to study all that kind of ajax etc stuff anyway so
> good time to start right now, is there a tutorial in the usage of this
> that you know of? I see all the info etc but need something to bind it
> all together...
>
> Thanks.
>
> On Apr 30, 4:37 pm, Tomek Kott <[email protected]> wrote:
>
> > Marco,
>
> > I think what you're looking for is ftWatch in the metadata (if you're
> > using FC5.1). Here's the link to a groups search on 
> > ftWatch:http://groups.google.com/group/farcry-dev/search?hl=en&group=farcry-d...
>
> > Tomek
>
> > On Thu, Apr 30, 2009 at 10:29 AM, Marco van den Oever
>
> > <[email protected]> wrote:
>
> > > Let me explain what i want to do, maybe one of you has another
> > > approach for it so i might not even have to custom edit the dmNews.
>
> > > The only thing i want to do is create an extra checkbox which, once
> > > selected, will trigger a function.
>
> > > I have extended the dmNews already and can easily create the extra
> > > checkbox, also create the function in the extended dmNews.cfc is no
> > > problem, but then?
>
> > > How can i trigger that function based on the selection state set in
> > > the edit mode?
>
> > > Thanks.
>
> > > On Apr 30, 2:41 pm, Marco van den Oever <[email protected]>
> > > wrote:
> > >> OK then I'll just go and create a custom from scratch, thanks.
>
> > >> On Apr 30, 3:08 am, AJ Mercer <[email protected]> wrote:
>
> > >> > I couldn't see one either or function in dmNews.cfc so I am assuming 
> > >> > it is
> > >> > inherited from types.cfc
>
> > >> > But if you create one in your project (or plugin) it will override this
>
> > >> > 2009/4/30 Marco van den Oever <[email protected]>
>
> > >> > > I worked a couple of times with a custom edit before but right now i
> > >> > > can't find the edit.cfm of dmnews to create a custom of it, where is
> > >> > > it located?
>
> > >> > > Thanks.
>
> > >> > --
> > >> > AJ Mercer
> > >> > Web Log:http://webonix.net
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to