Hi Robert,

On 09/11/06, Robert Hicks <[EMAIL PROTECTED]> wrote:
> PerlAddVar  MasonCompRoot  "private => /usr/home/joe/comps"
> PerlAddVar  MasonCompRoot  "main => /usr/local/www/htdocs"
>
> Given that do I need to pass anything to <& mynifty.comp &> for it to
> know which component root to go to? Or will Mason search them all for
> the component?

You're right. Mason will first try to find mynifty.comp in your
'private' comproot. If that does not exist, it will try in the 'main'
comproot. This is standard behaviour so there is no need to do
anything special for this to happen. Obviously failure will occur if
it exists in neither comproot.

By the way, you might want to change the first PerlAddVar to
PerlSetVar as follows (unless you have _another_ comp root being set
above these two):

  PerlSetVar  MasonCompRoot  "private => /usr/home/joe/comps"
  PerlAddVar  MasonCompRoot  "main => /usr/local/www/htdocs"

Cheers,
Andy

-- 
contact: Andrew Chilton
website: http://kapiti.geek.nz/

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to