Thanks for your quick response Andrew.&nbsp; I am working off the latest T::D, so the use_mason_wrapper() method is available.<br><br>This did change my output a bit.&nbsp; Now my page gets redirected to errors/requested_private_component, which it complains about since it seems that it doesn&#39;t exist for me.&nbsp; Do I have to declare wrapper to be publicly available?&nbsp; I will keep digging myself, but if you happen to know the answer it would be appreciated.
<br><br><br><br><div><span class="gmail_quote">On 8/7/07, <b class="gmail_sendername">Andrew Sterling Hanenkamp</b> &lt;<a href="mailto:sterling@hanenkamp.com">sterling@hanenkamp.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
EdF,<br><br>I think we need to clean up some of the remarks regarding the usability of the Template::Declare stuff. It does not have the maturity of Mason, but I wouldn&#39;t say there are bugs crawling all over anymore. (At least not the latest repository version, I&#39;m not sure what state the latest CPAN release is in.) I&#39;d say it&#39;s certainly suitable for production use. The big problems now tend to be those that are resolved with more time investment in development.
<br><br>An /_elements/wrapper in Mason ought to work. I&#39;m doing it on one of my applications which was started prior to the TD views being added to Jifty and I&#39;ve never converted it. <br><br>Do you have a View class defined? If you do, that might be the source of some of the trouble. Since the TD docs are spread across several classes, it might not be clear (and there&#39;s no example in this particular case either), but you should be able to call:
<br><br>__PACKAGE__-&gt;use_mason_wrapper();<br><br>in your View class to switch it over to requesting /_elements/wrapper from Mason. That&#39;s defined in Jifty::View::Declare::BaseClass.<br><br>Again, this is all based on using Jifty from a recent fetch from the Subversion repository. I don&#39;t know how different the CPAN release is.
<br><br>Cheers,<br>Andrew<br><br><div><div><span class="e" id="q_11442f2dfcc1a778_1"><span class="gmail_quote">On 8/7/07, <b class="gmail_sendername">Edward Funnekotter</b> &lt;<a href="mailto:efunneko@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
efunneko@gmail.com</a>&gt; wrote:</span></span></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><span class="e" id="q_11442f2dfcc1a778_3">

Hi all,<br><br>I have been building an app recently and decided to try to use the Authentication::Password plugin to handle my user authentication.&nbsp; Since the Template::Declare stuff still looked fairly new (&#39;BUGS: Crawling all over, baby. Be very, very careful.&quot;) I figured I would stick to Mason templates.&nbsp; My problem is that I have a _elements/wrapper that controls the main elements of each page, except for the views that are inherited from the Authentication::Password plugin.&nbsp; They seem to not get any wrapper that I can see.&nbsp; 
<br><br>Some digging shows that they are using the Template::Declare paradigm.&nbsp; My question is, how do I get those pages to use my wrapper.&nbsp; If I can&#39;t do that, how do I make a Template::Declare copy of my wrapper and get those pages to use it?&nbsp; I did read through the documentation, but that didn&#39;t really clarify anything.&nbsp; If there is a tutorial somewhere for Template::Declare, please just point me to it or point me to some example code.
<br><br>Thanks,<br>EdF<br> 
<br></span></div>_______________________________________________<br>jifty-devel mailing list<br><a href="mailto:jifty-devel@lists.jifty.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jifty-devel@lists.jifty.org
</a><br><a href="http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel</a><br><br></blockquote></div><br>
<br>_______________________________________________<br>jifty-devel mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jifty-devel@lists.jifty.org">jifty-devel@lists.jifty.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel" target="_blank">
http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel</a><br><br></blockquote></div><br>