I did a testing on the Tapestry-Hotel-Booking demo in the
tapestry.apache.org, added following:

@ApplicationDefaults
    @Contribute(SymbolProvider.class)
    public static void configureTapestryHotelBooking(
            MappedConfiguration<String, String> configuration)
    {

        configuration.add(SymbolConstants.SUPPORTED_LOCALES, "en");
        configuration.add(SymbolConstants.APPLICATION_VERSION,
"1.2-SNAPSHOT");

configuration.add(SymbolConstants.PRODUCTION_MODE, "true");  // test add
configuration.add(SymbolConstants.COMBINE_SCRIPTS, "true");   // test add
    
}

but the page source has this, seems scripts not combined :

        <head>

                <script
src="/tapestry5-hotel-booking/assets/1.2-SNAPSHOT/stack/en/core.js"
type="text/javascript">
</script>
                <script
src="/tapestry5-hotel-booking/assets/1.2-SNAPSHOT/tapestry/beanvalidator/tapestry-beanvalidator.js"
type="text/javascript">
</script>
                <script
src="/tapestry5-hotel-booking/assets/1.2-SNAPSHOT/ctx/static/hotel-booking.js"
type="text/javascript">
</script>
                <link type="text/css" rel="stylesheet"
href="/tapestry5-hotel-booking/assets/1.2-SNAPSHOT/tapestry/default.css" />
                <link type="text/css" rel="stylesheet"
href="/tapestry5-hotel-booking/assets/1.2-SNAPSHOT/tapestry/tapestry-console.css"
/>
                <link type="text/css" rel="stylesheet"
href="/tapestry5-hotel-booking/assets/1.2-SNAPSHOT/ctx/static/style.css" />
                <title>
                        Tapestry 5 Hotel Booking - Members login
                </title>
                <meta content="Apache Tapestry Framework (version 5.2.4)" 
name="generator"
/>
        </head>

-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Combine-scripts-doesn-t-work-in-5-2-4-tp3343378p3343988.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to