Okay I modified the library source to redirect to my controller
(observations/add)

new Ajax.Request( 'cake/observations/add', { method:
'POST',parameters: pars, onComplete: onCompleteCallBack });

The debug log message is below.  Not really sure how to deal with this
(sorry, new to Cake and Ajax).  The url is weird. Should I redirect
the request from within my function (i.e. change the url to the
appropriate path i.e. cake/vendors/sc_select_ajax_handler.php or
something)? In which case I will need to do that in all of my
controllers that use this library (or I could add it to my
appController)?  Any help greatly appreciated.


2007-08-03 15:17:20 Debug: Array
(
    [pass] => Array
        (
        )

    [controller] => observations
    [action] => add
    [form] => Array
        (
            [linkval] => 1
            [table] => taxonomic_units
            [key] => id
            [text] => name
            [order] => name
            [extra_where] => type='Phylum'
            [select_prompt_text] => Please select a Phylum
            [linkfld] => parent_id
            [_] =>
            [_method] => POST
        )

    [url] => Array
        (
            [url] => observations/add/cake/observations/add
        )

    [bare] => 1
    [webservices] =>
    [return] => 1
    [requested] => 1
    [plugin] =>
)



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to