php - can I call requestAction from within a requestAction chunk in cakephp? -
i have bunch of independent controller actions, need cascade in single page. thinking of making requestaction call within requestaction. second call fails everytime 404. new cakephp , not sure whether if possible.
is there better way using jquery can me achieve this.
+----------------------------------------------------------------+ | header | +----------------------------------------------------------------+ | | |+---------------------------------------------+ +--------------+| || submenu | | main menu || |+---------------------------------------------+ | || | +--------------+| |+---------------------------------------------+ | || content view | | || | | |+---------------------------------------------+ | +----------------------------------------------------------------+
so when option main menu selected submenu displayed using requestaction, want first menu item of submenu selected default, should display contentview associated menu option. using second requestaction call that.
in , should use ajax.its better reuestaction.
Comments
Post a Comment