Hello,
my layout update code is
<update handle="checkout_cart_item_renderers"/>
<update handle="checkout_shipping_price_renderer"/>
<update handle="checkout.cart.order.actions"/>
<container name="root">
<block class="Magento\Checkout\Block\Cart" name="checkout.cart.form" as="cart-items" template="cart/form.phtml">
<block class="Magento\Framework\View\Element\RendererList" name="checkout.cart.item.renderers" as="renderer.list"/>
<block class="Magento\Framework\View\Element\Text\ListText" name="checkout.cart.order.actions"/>
</block>
</container>
and controller code is
$response2 = $this->resultFactory->create(ResultFactory::TYPE_PAGE);
$layout = $response2->addHandle('checkout_cart_index2')->getLayout();
// where checkout_cart_index2 my layout name
$html=$layout->getBlock('checkout.cart.form')->toHtml();
i get all item html but did not get form key and child html of checkout.cart.order.actions
Look forward your reply