Some more doubts..

AD, Do you mean to say that for each value we have to write separate
components ?
In my case , one particular section contains some  values. I will be
using it as a
whole in other pages (not a single value).

Please see the following scenario.

In my home page , so many sections are coming. And each section
contains
different values. Inorder to get the values I need to send some
parameters( for example date).

So I planned to create each section as a component (also element) . And
in home
page controller , I will include this component. And from one of the
function (home controller) ,
 I will pass the parameters to the component function which will return
some value (that I will be setting into some variable and will be using
in element). And from component function I will calculate the value (or
I will call other models by passing the
parameter which  previously got). Am I correct ? Is there any other
solution ?
Please guide me.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to