I have some static pages in my website so I just use CViewAction to rend those pages. But I need to apply different layouts. I learned CViewAction and found it support layout param.
So I construct the url like this
index.php?r=site/page&view=solution&layout=solution
and I had built the solution layout file in folder themes/xxx/views/layouts.
The problem is it dose not work!It still render the page using the default layout.
Maybe I dont do it in a correct way?What should I do in this situation ?