forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: [Views] use twice a contract drive two include twice the header...
Date Thu, 28 Jul 2005 08:16:06 GMT
On Thu, 2005-07-28 at 10:13 +0200, Thorsten Scherler wrote:
> On Thu, 2005-07-28 at 09:40 +0200, Cyriaque Dupoirieux wrote:
> > Thorsten Scherler a écrit :
> > 
> > >On Wed, 2005-07-27 at 19:47 +0200, Thorsten Scherler wrote:
> > >  
> > >
> > >>On Wed, 2005-07-27 at 18:17 +0200, Cyriaque Dupoirieux wrote:
> > >>    
> > >>
> > >>>Just a remark,
> > >>>
> > >>>    When you use twice the same contract in a page, the *.js are include

> > >>>twice in the header.
> > >>>      
> > >>>
> > >>Only the includes call or the whole head template?
> > >>
> > >>    
> > >>
> > >
> > >The whole head template. it is fixed now.
> > >
> > >  
> > >
> > >>>    ( It also works with *.css includes :-) )
> > >>>
> > >>>      
> > >>>
> > >>You mean if you use:
> > >><forrest:css url="default.css"/>
> > >><forrest:css url="default.css"/>
> > >>
> > >>Hmm, we can prevent that, but do we have to and want to? 
> > >>
> > >>    
> > >>
> > >
> > >I enabled this now as well even if IMO we should find a better way to
> > >prevent this issue from happening. One should not be able to include a
> > >forrest:css with the same @url in a view. 
> > >  
> > >
> > I was not talking about <forrest:css url="anyfile.css"/> included 
> > several times in an *.fv - IMO this is the writer responsibility to be 
> > carreful of what he includes in his view.
> > (We cannot control that the included css is necessary...)
> > 
> 
> I added a key which will include only 

oops, I send to early.

...only once a css-stylesheet even if called multiple times.

salu2

-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Mime
View raw message