This is the standard way of doing it, setting $this->view->mvariable .  I guess that could be a problem of overwriting, but we have not run into trouble with that.  For the most part, you set the values in your single controller action, and then use the values in your single view page, so you can see what variables are being set and used at a glance (somewhat anyway, the layout.pthml also gets called, etc, but uses only a few variables that you are unlikely to overwrite).  <br>
<br><div class="gmail_quote">On Thu, Jul 5, 2012 at 2:17 PM, Mona Wong <span dir="ltr"><<a href="mailto:mona@sdsc.edu" target="_blank">mona@sdsc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
> If you want a more human readable error view, just pass some sort of variable down to your view that causes the view to display the error condition.<br>
<br>
        What's the proper way to pass a variable from controller to view?  Is it simply setting $this->view->myvariable = "my value" in the controller?  That seems to run into the danger of overwriting some other variables in view used by other functions?<br>

<br>
Mona<br>
<br>
*********************************************<br>
    Mona Wong<br>
    Web & iPad Application Developer<br>
    San Diego Supercomputer Center<br>
<br>
    "Forgive everyone everything."<br>
                                -- Regina Brett<br>
*********************************************<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Midas mailing list<br>
<a href="mailto:Midas@public.kitware.com">Midas@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/midas" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/midas</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Thanks,<br>Michael Grauer<br>R & D Engineer<br>Kitware, Inc.<br>919 969 6990 x322<br><br><br><br>