« Return to Thread: COMBINE_SCRIPTS no effect

Re: COMBINE_SCRIPTS no effect

by moritzg :: Rate this Message:

Reply to Author | View in Thread

Does it mean that the stuff that is injected into components via

@IncludeJavaScriptLibrary

is not combined?

Does this make sense?
Also in the pages where no script combination takes place I can see  
all the links to tapestry.js, effects.js and other standard scripts.  
Is this correct? Remember that on other pages (of the same  
application) everything is integrated in one big js file.

M.


Am 29.06.2009 um 18:11 schrieb Howard Lewis Ship:

> It depends on how the scripts are added to the head; only scripts  
> added via
> RenderSupport.addScriptLink() will be combined; in addition,  
> combination is
> turned off in development mode (by default).
>
> On Mon, Jun 29, 2009 at 6:59 AM, Moritz Gmelin <moritz.gmelin@...
> >wrote:
>
>> Hi,
>>
>> I just found out that some of our pages do generate a number of JS  
>> head
>> elements.
>>
>> Although
>>
>> configuration.add(SymbolConstants.COMBINE_SCRIPTS, "true");
>>
>>
>> is given in contributeApplicationDefaults
>>
>> Other pages do correctly combine all scripts in a single .js file  
>> with a
>> very long file name.
>> Is this a known issue or a feature that I do not understand yet?
>>
>> Thanks
>>
>> Moritz
>>
>>
>>
>> --
>> Dipl.-Inform.
>> Moritz Gmelin
>> avetana GmbH
>> Geschäftsführer
>> Brändströmstr. 8
>> 76275 Ettlingen
>>
>> Tel: 07000-AVETANA  (07000-2838262)
>> eMail: moritz.gmelin@...
>> Internet: www.avetana-gmbh.de
>>
>> Geschäftsführer: Moritz Gmelin
>> Sitz der Gesellschaft: Ettlingen
>> Amtsgericht Mannheim HRB 362834
>> UST-ID DE211535427
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
> Director of Open Source Technology at Formos

 « Return to Thread: COMBINE_SCRIPTS no effect