forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cyriaque Dupoirieux <>
Subject Re: Where to put forrest:contracts
Date Fri, 29 Jul 2005 07:31:40 GMT
Ross Gardler a écrit :

> One thing we discussed a little on the list before ApacheCon and we 
> touched on at ApacheCon, but never came up with a proposal was the 
> issue of where to put forrest:contracts.
> Currently all XHTML contracts are stored in the viewHelper.xhtml 
> plugin. As was mentioned on this list before this limits reuse of the 
> contracts across different forrest:views implementations.
> In addition this creates a dependency between the XHTML view and other 
> plugins, fo example, if we use the PDF contract we create a dependancy 
> on the PDF plugin. We are seeing this agian with the view plugin.

May be contracts using a specific plugin should be stored in the plugin 
content-pdf-link.ft contract should be stored in the 
org.apache.forrest.plugin.output.pdf plugin. (and the same for pod, text...)

(The problem of the skins still remains)

> Is it possible, and does it make sense to, have plugins provide 
> contracts for use in forrest:views?
> Ross

View raw message