Displaying 1 result from an estimated 1 matches for "page_context".
Did you mean:
pager_context
2006 Jul 12
1
Adding Comments...
...he new comment. This
all works fine.
The solution to rendering the comments, though, is a complete hack. I
added a render_page_commentaries method to behavior.rb that just creates
an ERB template, feeds the page''s commentaries through it, and splurts
out the result. The radius code in page_context.rb
calls this if part_name =~ /commentary/. This is obviously not an ideal
solution, but it was a lot quicker than figuring out how to do it in
Radius:-)
My main conceptual problem in working on this is the lack of model/view
separation when the view IS the model.
So there you go, for what it&...