Hello,

I was wondering is there a way to determine, the source of request.
Let's say I have a view for adding new customer, and the view holds
dynamic field updated through ajax, and in other hand have another
view for adding new product with the same dynamic field, but with
different name (models for customer and product are different). I want
to set the name of the dynamic field according where it's called from
- customer or product page. I don't want to rely on referrer, so the
only suggestion I have is to pass parameter when calling dynamic field
population. May be some way to get the name or instance of the model,
controller or view .........

Any ideas on this?

Regards!

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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