Hello,

I have a hard nut to crack.

I'll try to explain my situtation:

My Default_IndexController::indexAction is my frontpage.

I use action helper to call another controller/action:
Somemodule_ListController::latestAction

There I have Zend_Paginator working nicely.

This results my list to be rendered to the frontpage as sidebar block. Ok,
next I'd like to have my list pagination controlled by ajax so I attach
javascipt functions to pagination links.

But the problem is following:
Zend_Paginator partial uses url() view helper to create
first/previous/next/last links to the list.

Now becouse I used action helper, url() helper points all links to my
frontpage = /default/index/index/page/2. I know this is becouse request
object is the same as in my frontpage which is making the action call.

So, I can't have my Ajax controls pointing to the right place =(

Any thoughts?

br, Marko


-- 
View this message in context: 
http://www.nabble.com/Zend_Paginator-and-Action-helper-%28or-Actionstack%29-tp21858042p21858042.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to