Jann Forrer schrieb:
> Andreas Hartmann wrote:
>> Joern Nettingsmeier schrieb:
>>> hi everyone !
>>>
>>> getting rid of the bogus multiple-inheritance has an impact on the
>>> publication interface. (quote of the relevant discussion below, for your
>>> reference)
>>>
>>> basically, i see these options:
>>>
>>> 1. leave public String[] getTemplateIds() as it is, and return a
>>> one-element String[].
>> This would have the advantage that we can "upgrade" to multiple
>> inheritance later on without changing the API. Does anyone see
>> the necessity to use more than one template?
>>
>>
> Not yet, but I could imagine such usecases e.g.
> 
>              -------------------
>             |  University Home  |
>              -------------------
>               |         |
>      ------------       |      ------------
>     | Faculty A  |       -----|  Faculty B |
>      ------------              ------------
>         |    |
>         |     ----------
>         |               |
>   ------------     ------------
>  | Institute A |  | Institute B |
>   -------------    -------------
> 
> This is also mentioned in:
> http://lenya.apache.org/docs/1_4/reference/publication-templating/index.html

That will be no problem.
We're discussing this case:

   ------------       -----------------
  | Faculty A  |     | Publication Foo |
   ------------       -----------------
          |               |
          +---+-----------+
              |
      -------------
     | Institute A |
      -------------

This might be interesting if you want to have "mix-in" functionality.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to