Again, this strikes me as devastatingly simple. Again, I've searched
through docs and manuals to no avail.

I want
class EditorHelper extends Helper
...
function displayControl($name) {
//set a bunch of stuff then
        $this->element("editor/$name".".thtml");
  }

but, obviously, there's no Helper::element method so i also try
        View::element("editor/$name".".thtml");

which yields:
Method EditorHelper::renderElement does not exist [CORE/cake/libs/view/
helper.php, line 148]

so the element()  method is doing a $this->renderElement...

so it's starting to look like this just isn't possible?

is there somewhere else that reusable elements should be put if you're
going to use helpers rather than views to display them?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to