<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt"><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Octavian Rasnita &lt;orasnita@gmail.com&gt;<br>To: The elegant MVC web framework &lt;catalyst@lists.rawmode.org&gt;<br>Sent: Wednesday, March 7, 2007 12:05:35 PM<br>Subject: Re: [Catalyst] reserved words<br><br>

 
 
<style></style>

<div><b>From:</b> <a rel="nofollow" title="email@jasonkohles.com" target="_blank" href="mailto:email@jasonkohles.com">Jason Kohles</a> </div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
  <div><font face="Arial" size="2"></font><font face="Arial" size="2"></font><font face="Arial" size="2"></font><font face="Arial" size="2"></font><font face="Arial" size="2"></font><font face="Arial" size="2"></font><br></div>
  <div>
  <blockquote type="cite">
    <div style="margin: 0px;">Hi,</div>
    <div style="margin: 0px; min-height: 14px;"><font face="Arial" size="2"></font><font face="Arial" size="2"></font><br></div>
    <div style="margin: 0px;">Please tell me how can I find the list of reserved 
    words that cannot be used as names for views, controllers, models, 
    $c-&gt;stash elements...</div>
    <div style="margin: 0px; min-height: 14px;"><font face="Arial" size="2"></font><br></div>
    <div style="margin: 0px;">For example I have seen that the name of the 
    application is also found in $c-&gt;stash-&gt;{name}. 
    $c-&gt;stash-&gt;{template} is also special.</div>
    <div style="margin: 0px; min-height: 14px;"><font face="Arial" size="2"></font><br></div>
    <div style="margin: 0px;">I have also tried to create a view with the name 
    "Show", and I have received the following error in the browser:</div>
    <div style="margin: 0px; min-height: 14px;"><font face="Arial" size="2"></font><br></div>
    <div style="margin: 0px;">Caught exception in 
    TranzactiiBursiere::View::Show-&gt;process "TranzactiiBursiere::View::Show 
    directly inherits from Catalyst::View. You need to</div>
    <div style="margin: 0px;">inherit from a subclass like Catalyst::View::TT 
    instead.</div>
    <div style="margin: 0px; min-height: 14px;"><font face="Arial" size="2"></font><br></div>
    <div style="margin: 0px;">If I changed the name of that view to "Html", it 
    worked fine, with no errors...</div>
    <div style="margin: 0px; min-height: 14px;"><font face="Arial" size="2"></font><br></div></blockquote></div>
  <div><font face="Arial" size="2"></font><br class="khtml-block-placeholder"></div>
  <div>This is the error message you get if you create a subclass of 
  Catalyst::View that doesn't implement a process() method.&nbsp; It probably 
  doesn't have anything to do with the name of the module...</div>
  <div><font face="Arial" size="2"></font>&nbsp;</div>
  <div>I have tried:</div>
  <div><font face="Arial" size="2"></font>&nbsp;</div>
  <div><font face="Arial" size="2">perl script/myapp_create.pl view 
Show</font></div>
  <div><font face="Arial" size="2"></font>&nbsp;</div>
  <div><font face="Arial" size="2">After restarting the application, it gives that 
  error. If I do instead:</font></div>
  <div><font face="Arial" size="2"></font>&nbsp;</div>
  <div><font face="Arial" size="2">
  <div><font face="Arial" size="2">perl script/myapp_create.pl view 
Html</font></div>
  <div>&nbsp;</div></font></div>
  <div><font face="Arial" size="2">The application works fine after restarting it. 
  Am I doing something wrong?</font></div>
  <div><font face="Arial" size="2"></font>&nbsp;</div>
  <div><font face="Arial" size="2">Thanks.</font></div>
  <div><font face="Arial" size="2"></font>&nbsp;</div>
  <div><font face="Arial" size="2">Octavian</font></div>
  <div>&nbsp;</div></blockquote><div>I'd personally be interested in seeing what the generated files look like.&nbsp; Could you attach them in your response (or post them someplace we can see?)<br><br>--John<br><br>_________________________________________<br>List: Catalyst@lists.rawmode.org<br>Listinfo: <a target="_blank" href="http://lists.rawmode.org/mailman/listinfo/catalyst">http://lists.rawmode.org/mailman/listinfo/catalyst</a><br>Searchable archive: <a target="_blank" href="http://www.mail-archive.com/catalyst@lists.rawmode.org/">http://www.mail-archive.com/catalyst@lists.rawmode.org/</a><br>Dev site: <a target="_blank" href="http://dev.catalyst.perl.org/">http://dev.catalyst.perl.org/</a><br></div></div><br></div></div><br>

<hr size=1>It's here! Your new message!<br>Get
<a href="http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/"> new email alerts</a> with the free <a href="
http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/">Yahoo! Toolbar.</a></body></html>