You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Conny Krappatsch <co...@smb-tec.com> on 2001/01/12 15:20:30 UTC

[C1] xml-logicsheet

Hi,

What are the pros and cons of using the <?xml-logicsheet?> PI instead of
registering taglibs within Cocoon properties.

I can't find any disadvantages, but as there are those two possibilities 
I'm not shure if I missed anything.

Thanks for any enlightenment,

Conny Krappatsch

-- 
______________________________________________________________________
Conny Krappatsch                              mailto:conny@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com




Re: [C1] xml-logicsheet

Posted by Conny Krappatsch <co...@smb-tec.com>.
On Fri, 12 Jan 2001 15:52:53 +0100 (CET)
michele bianchi <mi...@pow2.com> wrote:
> On Fri, 12 Jan 2001, Conny Krappatsch wrote:
> 
> > Hi,
> > 
> > What are the pros and cons of using the <?xml-logicsheet?> PI instead
> of
> > registering taglibs within Cocoon properties.
> 
> the pro of xml-logicsheet is that you don't need to restart cocoon when
> you
> change logicsheet.
> 
> > I can't find any disadvantages, but as there are those two
> possibilities 
> > I'm not shure if I missed anything.
> 
> if you register the taglib in the properties you don't need to specify
> it in
> every file.  and you can use multiple logicsheet.

If I understand the code and the FAQ right I can use multiple logicsheets
using the
<?xml-logicsheet?> PI. They are applied in the same order as the PIs occur
in the XSP page.
Furthermore I can be sure this is the order in which they are applied.
This is not ensured if the order is defined by the namespace attributes of
the <xsp:page> tag.

> michele

Thanks for the quick answer,

Conny Krappatsch

-- 
______________________________________________________________________
Conny Krappatsch                              mailto:conny@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com




Re: [C1] xml-logicsheet

Posted by michele bianchi <mi...@pow2.com>.
On Fri, 12 Jan 2001, Conny Krappatsch wrote:

> Hi,
> 
> What are the pros and cons of using the <?xml-logicsheet?> PI instead of
> registering taglibs within Cocoon properties.

the pro of xml-logicsheet is that you don't need to restart cocoon when you
change logicsheet.

> I can't find any disadvantages, but as there are those two possibilities 
> I'm not shure if I missed anything.

if you register the taglib in the properties you don't need to specify it in
every file.  and you can use multiple logicsheet.  

my approach is to move the xml-logicsheet in the properties when it is
finished.  

let's say it only a difference of management to me.  i never tried if any
performance issues.

any other differencies?

michele


-------------------------------------------------------------------------------
dott. michele bianchi                                       power of two s.r.l.
phone +39 335 5384700                                      http://www.pow2.com