@IncludeJavaScriptLibrary uses RenderSupport under the covers; I meant when
your Layout.tml includes <script src=""> elements. Those are not recognized
by Tapestry and are not aggregated.

On Mon, Jun 29, 2009 at 11:43 PM, Moritz Gmelin <moritz.gme...@gmx.de>wrote:

> 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.gme...@avetana.de
>> >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.gme...@avetana.de
>>> 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-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>
>>>
>>>
>>
>> --
>> Howard M. Lewis Ship
>>
>> Creator of Apache Tapestry
>> Director of Open Source Technology at Formos
>>
>
>


-- 
Howard M. Lewis Ship

Creator of Apache Tapestry
Director of Open Source Technology at Formos

Reply via email to