Regarding inline rendering of templates


#1

Hi All,

Been looking for solution to this problem since quite few days, and at
last
i post it here. So, something on the lines of partial templates i want
to
render a complete template(for some action X in the Controller C) inline
within another template(for action Y in Controller C2).

Now, first question is, is it possible? No…i can’t use
page.insert_html,
because i am not making any Ajax calls and i want the whole page to be
rendered at the beginning itself.Not modify the DOM once the page is
rendered.

You may ask, why i need this? This may break the principle of code
decoupling!! but the reason is, I have a index.rhtml page in “blah”
controller.Now, this index.rhtml is some sort of home page. In the same
page, i have a small message board at the bottom…and this message
board is
a different controller in itself ( I guess, it doesn’t make sense to
make it
part of main controller also).

With Regards
Hemant