cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <>
Subject Re: Cocoon development using blocks
Date Tue, 10 Jan 2006 11:37:29 GMT

--- Daniel Fagerstrom <> schrieb:

> Right now they don't. But if each block has a unique
> namespace, we 
> probably could find some way to let the property 
> set the block parameter
> foo.

This sounds like a workaround for now. Actually we
want to use the properties from block.xml, right?

Another (related) question - see the XML below: Will
this scenario of differently configured blocks be
supported? (like in this example that blocks can use
different database connections)


  <block id="core" location="core/"/>

  <block id="test1id" location="test1/">
    <mount path="/test1"/>
      <connection name="core" block="core"/>
      <connection name="test2" block="test2id"/>
      <connection name="test3" block="test3id"/>

  <block id="test2id" location="test2/">
    <mount path="/test2"/>
      <property name="database-con" value="blahAAAA"/>

  <block id="test3id" location="test2/">
    <mount path="/test3"/>
      <property name="database-con" value="blahBBBB"/>




Telefonate ohne weitere Kosten vom PC zum PC:

View raw message