Beginpage() Endpage() In Renderajax

I do not understand how to use "beginPage (), beginBody (), etc. …" in a partial template.

If I use renderAjax () in the controller, I have to use beginPage () in the view?

And if I use render () in a view to include another view, I always use beginPage ()?

thanks

No.

These are usually included in layout.

Ok,

I’m confused after reading this thread.

The thread was created before there was the renderAjax method. so it is not relevant anymore.

ok, I’m sorry :)