You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Argo Vilberg <wi...@gmail.com> on 2009/10/26 09:48:15 UTC

T5: javascript assets

hi,

In tapestry 5.1.0.5 javascript are combained together in one file:

src="
/digileping/assets/virtual/H4sIAAAAAAAAAJXQUWrDMAyAYTPY065RyhjUTrdlawc9S3AcOVOb2MZSRtMz7Wq7w$002bJAAn1J6ZsR3y8b$002f$002f6Jx4sQD1II8SRelCYCJkUmYmBtusZ3pHK5lZnMVYiePfcB5JGEXLZX0$002bSflz1YC4ZHuZok6wDEsZ$002fRNEhqPamy0eZUYqxmNk$002bS29zctmmBSNcwXv41cR2CejfG7t8$002bqizf63L3OvxAYupIypygQvZxPqT2877WeGexTuFuMTS$002bDd6B47GGH4g9f6Mby8MdJUJwtcVzwdhAWd9$002bcYtndKQuw4qiC5VmiMW2yIbwH4zpiYQ3AgAA.js<https://www.digileping.ee/digileping/assets/virtual/H4sIAAAAAAAAAJXQUWrDMAyAYTPY065RyhjUTrdlawc9S3AcOVOb2MZSRtMz7Wq7w$002bJAAn1J6ZsR3y8b$002f$002f6Jx4sQD1II8SRelCYCJkUmYmBtusZ3pHK5lZnMVYiePfcB5JGEXLZX0$002bSflz1YC4ZHuZok6wDEsZ$002fRNEhqPamy0eZUYqxmNk$002bS29zctmmBSNcwXv41cR2CejfG7t8$002bqizf63L3OvxAYupIypygQvZxPqT2877WeGexTuFuMTS$002bDd6B47GGH4g9f6Mby8MdJUJwtcVzwdhAWd9$002bcYtndKQuw4qiC5VmiMW2yIbwH4zpiYQ3AgAA.js>
"


But in 5.0.14 was:

Tapestry Framework (version 5.1.0.5)" name="generator"></meta><script
t/javascript"></script><script src="
/digileping/assets/app/62d7a796360dcacf/pages/js/ckeditor/ckeditor.js<https://localhost/digileping/assets/app/62d7a796360dcacf/pages/js/ckeditor/ckeditor.js>"
type="text/javascript"></script><script src="
/digileping/assets/app/62d7a796360dcacf/pages/js/ckeditorconfig.js<https://localhost/digileping/assets/app/62d7a796360dcacf/pages/js/ckeditorconfig.js>"
type="text/javascript"></script><script src="
/digileping/assets/app/62d7a796360dcacf/components/js/everything.js<https://localhost/digileping/assets/app/62d7a796360dcacf/components/js/everything.js>"
type="text/javascript"></script><script src="
/digileping/assets/app/62d7a796360dcacf/components/js/iepngfix_tilebg.js<https://localhost/digileping/assets/app/62d7a796360dcacf/components/js/iepngfix_tilebg.js>"
type="text/javascript"></script><script src="
/digileping/assets/app/62d7a796360dcacf/mixins/zone_updater_1_0.js<https://localhost/digileping/assets/app/62d7a796360dcacf/mixins/zone_updater_1_0.js>
"


Are there any parameter to tell tapestry leave javascript like in 5.0.14 ?


Argo

Re: T5: javascript assets

Posted by Argo Vilberg <wi...@gmail.com>.
How i can see java system properties (-D) ?



web.xml are set
<param-name>tapestry.combine-scripts</param-name>
<param-value>false</param-value>
</context-param>

And here are my AppModule.java
combine-script are true in this appmodule.
But in working server combine-script are trule false as in web.xml file

// Copyright 2007, 2008 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package ee.softpro.services;

import java.io.IOException;


import org.apache.tapestry5.*;
import org.apache.tapestry5.ioc.MappedConfiguration;
import org.apache.tapestry5.ioc.OrderedConfiguration;
import org.apache.tapestry5.ioc.ServiceBinder;
import org.apache.tapestry5.ioc.annotations.InjectService;
import org.apache.tapestry5.ioc.Configuration;
import org.apache.tapestry5.ioc.annotations.Inject;
import org.apache.tapestry5.services.Request;
import org.apache.tapestry5.services.RequestFilter;
import org.apache.tapestry5.services.RequestHandler;
import org.apache.tapestry5.services.Response;
import org.apache.tapestry5.services.AliasContribution;
import org.apache.tapestry5.services.BaseURLSource;
import org.apache.tapestry5.services.RequestExceptionHandler;
import org.apache.tapestry5.services.RequestGlobals;


import org.slf4j.Logger;

/**
 * This module is automatically included as part of the Tapestry IoC
Registry, it's a good place to
 * configure and extend Tapestry, or to place your own service definitions.
 */
public class AppModule
{
    @Inject
    private RequestGlobals requestGlobals;
    public static void bind(ServiceBinder binder)
    {
        // binder.bind(MyServiceInterface.class, MyServiceImpl.class);

        // Make bind() calls on the binder object to define most IoC
services.
        // Use service builder methods (example below) when the
implementation
        // is provided inline, or requires more initialization than simply
        // invoking the constructor.
    }



    public static void contributeApplicationDefaults(
            MappedConfiguration<String, String> configuration)
    {
        // Contributions to ApplicationDefaults will override any
contributions to
        // FactoryDefaults (with the same key). Here we're restricting the
supported
        // locales to just "en" (English). As you add localised message
catalogs and other assets,
        // you can extend this list of locales (it's a comma seperated
series of locale names;
        // the first locale name is the default when there's no reasonable
match).

//        configuration.add(TapestryConstants.SUPPORTED_LOCALES_SYMBOL,
"en");

        // The factory default is true but during the early stages of an
application
        // overriding to false is a good idea. In addition, this is often
overridden
        // on the command line as -Dtapestry.production-mode=false
        System.out.println("oleme nüüd lõpuks siin");
        configuration.add(SymbolConstants.PRODUCTION_MODE, "false");
        configuration.add(SymbolConstants.COMBINE_SCRIPTS, "true");
    }


    /**
     * This is a service definition, the service will be named
"TimingFilter". The interface,
     * RequestFilter, is used within the RequestHandler service pipeline,
which is built from the
     * RequestHandler service configuration. Tapestry IoC is responsible for
passing in an
     * appropriate Log instance. Requests for static resources are handled
at a higher level, so
     * this filter will only be invoked for Tapestry related requests.
     *
     * <p>
     * Service builder methods are useful when the implementation is inline
as an inner class
     * (as here) or require some other kind of special initialization. In
most cases,
     * use the static bind() method instead.
     *
     * <p>
     * If this method was named "build", then the service id would be taken
from the
     * service interface and would be "RequestFilter".  Since Tapestry
already defines
     * a service named "RequestFilter" we use an explicit service id that we
can reference
     * inside the contribution method.
     */
    public RequestFilter buildTimingFilter(final Logger log)
    {
        return new RequestFilter()
        {
            public boolean service(Request request, Response response,
RequestHandler handler)
                    throws IOException
            {
                long startTime = System.currentTimeMillis();

                try
                {
                    // The reponsibility of a filter is to invoke the
corresponding method
                    // in the handler. When you chain multiple filters
together, each filter
                    // received a handler that is a bridge to the next
filter.

                    return handler.service(request, response);
                }
                finally
                {
                    long elapsed = System.currentTimeMillis() - startTime;

                    log.info(String.format("Request time: %d ms", elapsed));
                }
            }
        };
    }

    /**
     * This is a contribution to the RequestHandler service configuration.
This is how we extend
     * Tapestry using the timing filter. A common use for this kind of
filter is transaction
     * management or security.
     */
    public void contributeRequestHandler(OrderedConfiguration<RequestFilter>
configuration,
            @InjectService("TimingFilter")
            RequestFilter filter)
    {
        // Each contribution to an ordered configuration has a name, When
necessary, you may
        // set constraints to precisely control the invocation order of the
contributed filter
        // within the pipeline.

        configuration.add("Timing", filter);
    }

/*
public void contributeAlias(Configuration<AliasContribution> configuration)
   {
       BaseURLSource source = new BaseURLSource()
       {
               public String getBaseURL(boolean secure)
             {
                String protocol = secure ? "https" : "http";
                int port = secure ? 8443 : 8080;
                 return String.format("%s://localhost:%d", protocol, port);
             }
         };

configuration.add(AliasContribution.create(BaseURLSource.class,source));

   }

*/

    public RequestFilter buildUtf8Filter(
        @InjectService("RequestGlobals") final RequestGlobals
requestGlobals)
    {
        return new RequestFilter()
        {
            public boolean service(Request request, Response response,
RequestHandler handler)
                throws IOException
            {

 requestGlobals.getHTTPServletRequest().setCharacterEncoding("UTF-8");
                return handler.service(request, response);
            }
        };
    }


    public void contributeRequestHandler(OrderedConfiguration<RequestFilter>
configuration,
            @InjectService("TimingFilter") final RequestFilter timingFilter,
            @InjectService("Utf8Filter") final RequestFilter utf8Filter)
    {
        configuration.add("Utf8Filter", utf8Filter); // handle UTF-8
        configuration.add("Timing", timingFilter);
    }




}


2009/10/26 Inge Solvoll <in...@gmail.com>

> All of this works for me.
>
> Are you sure there aren't any JVM params set in your app server? And other
> configuration points?
>
> On Mon, Oct 26, 2009 at 2:13 PM, Argo Vilberg <wi...@gmail.com> wrote:
>
> > Thanks, seems taht web.xml variants works.
> >
> > But AppModule.java is no use :)
> >
> >
> > Argo
> >
> > 2009/10/26 cordenier christophe <ch...@gmail.com>
> >
> > > Hello
> > >
> > > Actually, it is possible to configure Tapestry with (in priority order)
> > >
> > > 1. java system properties (-D)
> > > 2. web.xml context parameters
> > > 3  contributeApplicationDefaults
> > > 4. contribteFactoryDefaults
> > >
> > > Check your environment to verify the configuration symbol is not
> > duplicated
> > > with a wrong value
> > >
> > > Regards
> > > Christophe.
> > >
> > >
> > >
> > > 2009/10/26 Argo Vilberg <wi...@gmail.com>
> > >
> > > > I tried
> > > >        configuration.add(SymbolConstants.COMBINE_SCRIPTS, "true");
> > > >
> > > > and also
> > > >          configuration.add(SymbolConstants.COMBINE_SCRIPTS, "false");
> > > >
> > > >
> > > > But in bot cases there are my localhost always every javascript its
> own
> > > > notation.
> > > > And in production server always are javascript combained together.
> > > >
> > > >
> > > > Why ?
> > > >
> > > >
> > > >
> > > > <meta content="Apache Tapestry Framework (version 5.1.0.5)"
> > > name="generator
> > > > "></meta><script
> > > > src="/digileping/assets/scriptaculous/5.1.0.5/prototype.js<
> > > >
> https://localhost/digileping/assets/scriptaculous/5.1.0.5/prototype.js
> > >"
> > > > type="text/javascript"></script><script src="
> > > > /digileping/assets/scriptaculous/5.1.0.5/scriptaculous.js<
> > > >
> > >
> >
> https://localhost/digileping/assets/scriptaculous/5.1.0.5/scriptaculous.js
> > > > >"
> > > > type="text/javascript"></script><script src="
> > > > /digileping/assets/scriptaculous/5.1.0.5/effects.js<
> > > > https://localhost/digileping/assets/scriptaculous/5.1.0.5/effects.js
> >"
> > > > type="text/javascript"></script><script src="
> > > > /digileping/assets/tapestry/5.1.0.5/tapestry.js<
> > > > https://localhost/digileping/assets/tapestry/5.1.0.5/tapestry.js>"
> > > > type="text/javascript"></script><script src="
> > > > /digileping/assets/blackbird/5.1.0.5/blackbird.js<
> > > > https://localhost/digileping/assets/blackbird/5.1.0.5/blackbird.js>"
> > > > type="text/javascript"></script><script src="
> > > > /digileping/assets/tapestry/5.1.0.5/tapestry-messages.js<
> > > >
> > >
> >
> https://localhost/digileping/assets/tapestry/5.1.0.5/tapestry-messages.js
> > > > >"
> > > > type="text/javascript"></script><script src="
> > > >
> /digileping/assets/app/68abee1e93204a48/pages/js/ckeditor/ckeditor.js<
> > > >
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/pages/js/ckeditor/ckeditor.js
> > > > >"
> > > > type="text/javascript"></script><script src="
> > > > /digileping/assets/app/68abee1e93204a48/pages/js/ckeditorconfig.js<
> > > >
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/pages/js/ckeditorconfig.js
> > > > >"
> > > > type="text/javascript"></script><script src="
> > > > /digileping/assets/app/68abee1e93204a48/components/js/everything.js<
> > > >
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/components/js/everything.js
> > > > >"
> > > > type="text/javascript"></script><script src="
> > > >
> > /digileping/assets/app/68abee1e93204a48/components/js/iepngfix_tilebg.js<
> > > >
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/components/js/iepngfix_tilebg.js
> > > > >"
> > > > type="text/javascript"></script><script src="
> > > > /digileping/assets/app/68abee1e93204a48/mixins/zone_updater_1_0.js<
> > > >
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/mixins/zone_updater_1_0.js
> > > > >"
> > > > type="text/javascript"></script></head><body><div id="container"><div
> > > id="
> > > > header"><h1 class="logo"><a
> > > > href="admindigileping.border.homelink/1<
> > > > https://localhost/digileping/admindigileping.border.homelink/1>
> > > > "><span class="hidden">OÜ Digileping</span></a></h1><div
> > > > id="controlpanel"><a
> > > > class="cp iconlink lightbulb"
> > > > href="adminuser<https://localhost/digileping/adminuser>
> > > > ">Adminliides</a>
> > > >
> > > >
> > > >
> > > > And in my production server are :
> > > >
> > > > <meta content="Apache Tapestry Framework (version 5.1.0.5)"
> > > name="generator
> > > > "></meta><script src="
> > > >
> > > >
> > >
> >
> /digileping/assets/virtual/H4sIAAAAAAAAAJXOUWrDMAyAYVPYU68xxijUbliTpoOdJTiOkqlNbGMpo$002bmZerXdYXUggb2k9M2I75d8$002bxUvVyFWUgixFhuliYBJkQnoWZu$002bdT2pVCZyJ1Plg2PHgwd5IiGX7b9p9O$002fLHuoaDI$002fydZKsPRCHYUbTIKq3SZWtNucSQzWzeRLd9uG2bQdEuoHx$002bOfEtfeqSvbHD5Nm2T47Qp7kykemTqTMGSpkF$002bZHbA$002fPtcbZGpsY5ouhcZ13FiyPNfxAGPgb7Vh$002bPVEieNvUeCkYWyibxz$002fu8IKW1PW$002bouh9pRlCkRS7e$002fgHmDWLEDcCAAA$003d.js<
> > > >
> > >
> >
> https://www.digileping.ee/digileping/assets/virtual/H4sIAAAAAAAAAJXOUWrDMAyAYVPYU68xxijUbliTpoOdJTiOkqlNbGMpo$002bmZerXdYXUggb2k9M2I75d8$002bxUvVyFWUgixFhuliYBJkQnoWZu$002bdT2pVCZyJ1Plg2PHgwd5IiGX7b9p9O$002fLHuoaDI$002fydZKsPRCHYUbTIKq3SZWtNucSQzWzeRLd9uG2bQdEuoHx$002bOfEtfeqSvbHD5Nm2T47Qp7kykemTqTMGSpkF$002bZHbA$002fPtcbZGpsY5ouhcZ13FiyPNfxAGPgb7Vh$002bPVEieNvUeCkYWyibxz$002fu8IKW1PW$002bouh9pRlCkRS7e$002fgHmDWLEDcCAAA$003d.js
> > > > >"
> > > > type="text/javascript"></script></head><body><div id="container"><div
> > > id="
> > > > header"><h1 class="logo"><a
> > > > href="admindigileping.border.homelink/1<
> > > >
> https://www.digileping.ee/digileping/admindigileping.border.homelink/1
> > >
> > > > "><span class="hidden">OÜ Digileping</span></a></h1><div
> > > > id="controlpanel"><a
> > > > class="cp iconlink lightbulb"
> > > > href="adminuser<https://www.digileping.ee/digileping/adminuser>
> > > > ">Adminliides</a>
> > > >
> > >
> >
>

Re: T5: javascript assets

Posted by Inge Solvoll <in...@gmail.com>.
All of this works for me.

Are you sure there aren't any JVM params set in your app server? And other
configuration points?

On Mon, Oct 26, 2009 at 2:13 PM, Argo Vilberg <wi...@gmail.com> wrote:

> Thanks, seems taht web.xml variants works.
>
> But AppModule.java is no use :)
>
>
> Argo
>
> 2009/10/26 cordenier christophe <ch...@gmail.com>
>
> > Hello
> >
> > Actually, it is possible to configure Tapestry with (in priority order)
> >
> > 1. java system properties (-D)
> > 2. web.xml context parameters
> > 3  contributeApplicationDefaults
> > 4. contribteFactoryDefaults
> >
> > Check your environment to verify the configuration symbol is not
> duplicated
> > with a wrong value
> >
> > Regards
> > Christophe.
> >
> >
> >
> > 2009/10/26 Argo Vilberg <wi...@gmail.com>
> >
> > > I tried
> > >        configuration.add(SymbolConstants.COMBINE_SCRIPTS, "true");
> > >
> > > and also
> > >          configuration.add(SymbolConstants.COMBINE_SCRIPTS, "false");
> > >
> > >
> > > But in bot cases there are my localhost always every javascript its own
> > > notation.
> > > And in production server always are javascript combained together.
> > >
> > >
> > > Why ?
> > >
> > >
> > >
> > > <meta content="Apache Tapestry Framework (version 5.1.0.5)"
> > name="generator
> > > "></meta><script
> > > src="/digileping/assets/scriptaculous/5.1.0.5/prototype.js<
> > > https://localhost/digileping/assets/scriptaculous/5.1.0.5/prototype.js
> >"
> > > type="text/javascript"></script><script src="
> > > /digileping/assets/scriptaculous/5.1.0.5/scriptaculous.js<
> > >
> >
> https://localhost/digileping/assets/scriptaculous/5.1.0.5/scriptaculous.js
> > > >"
> > > type="text/javascript"></script><script src="
> > > /digileping/assets/scriptaculous/5.1.0.5/effects.js<
> > > https://localhost/digileping/assets/scriptaculous/5.1.0.5/effects.js>"
> > > type="text/javascript"></script><script src="
> > > /digileping/assets/tapestry/5.1.0.5/tapestry.js<
> > > https://localhost/digileping/assets/tapestry/5.1.0.5/tapestry.js>"
> > > type="text/javascript"></script><script src="
> > > /digileping/assets/blackbird/5.1.0.5/blackbird.js<
> > > https://localhost/digileping/assets/blackbird/5.1.0.5/blackbird.js>"
> > > type="text/javascript"></script><script src="
> > > /digileping/assets/tapestry/5.1.0.5/tapestry-messages.js<
> > >
> >
> https://localhost/digileping/assets/tapestry/5.1.0.5/tapestry-messages.js
> > > >"
> > > type="text/javascript"></script><script src="
> > > /digileping/assets/app/68abee1e93204a48/pages/js/ckeditor/ckeditor.js<
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/pages/js/ckeditor/ckeditor.js
> > > >"
> > > type="text/javascript"></script><script src="
> > > /digileping/assets/app/68abee1e93204a48/pages/js/ckeditorconfig.js<
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/pages/js/ckeditorconfig.js
> > > >"
> > > type="text/javascript"></script><script src="
> > > /digileping/assets/app/68abee1e93204a48/components/js/everything.js<
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/components/js/everything.js
> > > >"
> > > type="text/javascript"></script><script src="
> > >
> /digileping/assets/app/68abee1e93204a48/components/js/iepngfix_tilebg.js<
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/components/js/iepngfix_tilebg.js
> > > >"
> > > type="text/javascript"></script><script src="
> > > /digileping/assets/app/68abee1e93204a48/mixins/zone_updater_1_0.js<
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/mixins/zone_updater_1_0.js
> > > >"
> > > type="text/javascript"></script></head><body><div id="container"><div
> > id="
> > > header"><h1 class="logo"><a
> > > href="admindigileping.border.homelink/1<
> > > https://localhost/digileping/admindigileping.border.homelink/1>
> > > "><span class="hidden">OÜ Digileping</span></a></h1><div
> > > id="controlpanel"><a
> > > class="cp iconlink lightbulb"
> > > href="adminuser<https://localhost/digileping/adminuser>
> > > ">Adminliides</a>
> > >
> > >
> > >
> > > And in my production server are :
> > >
> > > <meta content="Apache Tapestry Framework (version 5.1.0.5)"
> > name="generator
> > > "></meta><script src="
> > >
> > >
> >
> /digileping/assets/virtual/H4sIAAAAAAAAAJXOUWrDMAyAYVPYU68xxijUbliTpoOdJTiOkqlNbGMpo$002bmZerXdYXUggb2k9M2I75d8$002bxUvVyFWUgixFhuliYBJkQnoWZu$002bdT2pVCZyJ1Plg2PHgwd5IiGX7b9p9O$002fLHuoaDI$002fydZKsPRCHYUbTIKq3SZWtNucSQzWzeRLd9uG2bQdEuoHx$002bOfEtfeqSvbHD5Nm2T47Qp7kykemTqTMGSpkF$002bZHbA$002fPtcbZGpsY5ouhcZ13FiyPNfxAGPgb7Vh$002bPVEieNvUeCkYWyibxz$002fu8IKW1PW$002bouh9pRlCkRS7e$002fgHmDWLEDcCAAA$003d.js<
> > >
> >
> https://www.digileping.ee/digileping/assets/virtual/H4sIAAAAAAAAAJXOUWrDMAyAYVPYU68xxijUbliTpoOdJTiOkqlNbGMpo$002bmZerXdYXUggb2k9M2I75d8$002bxUvVyFWUgixFhuliYBJkQnoWZu$002bdT2pVCZyJ1Plg2PHgwd5IiGX7b9p9O$002fLHuoaDI$002fydZKsPRCHYUbTIKq3SZWtNucSQzWzeRLd9uG2bQdEuoHx$002bOfEtfeqSvbHD5Nm2T47Qp7kykemTqTMGSpkF$002bZHbA$002fPtcbZGpsY5ouhcZ13FiyPNfxAGPgb7Vh$002bPVEieNvUeCkYWyibxz$002fu8IKW1PW$002bouh9pRlCkRS7e$002fgHmDWLEDcCAAA$003d.js
> > > >"
> > > type="text/javascript"></script></head><body><div id="container"><div
> > id="
> > > header"><h1 class="logo"><a
> > > href="admindigileping.border.homelink/1<
> > > https://www.digileping.ee/digileping/admindigileping.border.homelink/1
> >
> > > "><span class="hidden">OÜ Digileping</span></a></h1><div
> > > id="controlpanel"><a
> > > class="cp iconlink lightbulb"
> > > href="adminuser<https://www.digileping.ee/digileping/adminuser>
> > > ">Adminliides</a>
> > >
> >
>

Re: T5: javascript assets

Posted by cordenier christophe <ch...@gmail.com>.
<filter>
<filter-name>digileping</
filter-name>
<filter-class>org.apache.tapestry5.TapestryFilter</filter-class>
</filter>

So your class must be called DigilepingModule...


2009/10/26 Argo Vilberg <wi...@gmail.com>

> i dont no. here is my web.xml
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE web-app
>        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>        "http://java.sun.com/dtd/web-app_2_3.dtd">
> <web-app>
> <display-name>Digileping</display-name>
> <context-param>
> <param-name>tapestry.app-package</param-name>
> <param-value>ee.softpro</param-value>
> </context-param>
> <context-param>
> <param-name>tapestry.combine-scripts</param-name>
> <param-value>false</param-value>
> </context-param>
> <filter>
> <filter-name>digileping</filter-name>
> <filter-class>org.apache.tapestry5.TapestryFilter</filter-class>
> </filter>
> <filter-mapping>
> <filter-name>digileping</filter-name>
> <url-pattern>/*</url-pattern>
> </filter-mapping>
> <session-config>
> <session-timeout>10</session-timeout>
> </session-config>
> </web-app>
>
>
> 2009/10/26 cordenier christophe <ch...@gmail.com>
>
> > Hi
> >
> > What name have you given to the TapestryFilter in you web.xml ? 'App'
> > prefix
> > (in 'AppModule') is the name of the filter.
> >
> > Regards
> > Christophe.
> >
> > 2009/10/26 Argo Vilberg <wi...@gmail.com>
> >
> > > Thanks, seems taht web.xml variants works.
> > >
> > > But AppModule.java is no use :)
> > >
> > >
> > > Argo
> > >
> > > 2009/10/26 cordenier christophe <ch...@gmail.com>
> > >
> > > > Hello
> > > >
> > > > Actually, it is possible to configure Tapestry with (in priority
> order)
> > > >
> > > > 1. java system properties (-D)
> > > > 2. web.xml context parameters
> > > > 3  contributeApplicationDefaults
> > > > 4. contribteFactoryDefaults
> > > >
> > > > Check your environment to verify the configuration symbol is not
> > > duplicated
> > > > with a wrong value
> > > >
> > > > Regards
> > > > Christophe.
> > > >
> > > >
> > > >
> > > > 2009/10/26 Argo Vilberg <wi...@gmail.com>
> > > >
> > > > > I tried
> > > > >        configuration.add(SymbolConstants.COMBINE_SCRIPTS, "true");
> > > > >
> > > > > and also
> > > > >          configuration.add(SymbolConstants.COMBINE_SCRIPTS,
> "false");
> > > > >
> > > > >
> > > > > But in bot cases there are my localhost always every javascript its
> > own
> > > > > notation.
> > > > > And in production server always are javascript combained together.
> > > > >
> > > > >
> > > > > Why ?
> > > > >
> > > > >
> > > > >
> > > > > <meta content="Apache Tapestry Framework (version 5.1.0.5)"
> > > > name="generator
> > > > > "></meta><script
> > > > > src="/digileping/assets/scriptaculous/5.1.0.5/prototype.js<
> > > > >
> > https://localhost/digileping/assets/scriptaculous/5.1.0.5/prototype.js
> > > >"
> > > > > type="text/javascript"></script><script src="
> > > > > /digileping/assets/scriptaculous/5.1.0.5/scriptaculous.js<
> > > > >
> > > >
> > >
> >
> https://localhost/digileping/assets/scriptaculous/5.1.0.5/scriptaculous.js
> > > > > >"
> > > > > type="text/javascript"></script><script src="
> > > > > /digileping/assets/scriptaculous/5.1.0.5/effects.js<
> > > > >
> https://localhost/digileping/assets/scriptaculous/5.1.0.5/effects.js
> > >"
> > > > > type="text/javascript"></script><script src="
> > > > > /digileping/assets/tapestry/5.1.0.5/tapestry.js<
> > > > > https://localhost/digileping/assets/tapestry/5.1.0.5/tapestry.js>"
> > > > > type="text/javascript"></script><script src="
> > > > > /digileping/assets/blackbird/5.1.0.5/blackbird.js<
> > > > > https://localhost/digileping/assets/blackbird/5.1.0.5/blackbird.js
> >"
> > > > > type="text/javascript"></script><script src="
> > > > > /digileping/assets/tapestry/5.1.0.5/tapestry-messages.js<
> > > > >
> > > >
> > >
> >
> https://localhost/digileping/assets/tapestry/5.1.0.5/tapestry-messages.js
> > > > > >"
> > > > > type="text/javascript"></script><script src="
> > > > >
> > /digileping/assets/app/68abee1e93204a48/pages/js/ckeditor/ckeditor.js<
> > > > >
> > > >
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/pages/js/ckeditor/ckeditor.js
> > > > > >"
> > > > > type="text/javascript"></script><script src="
> > > > > /digileping/assets/app/68abee1e93204a48/pages/js/ckeditorconfig.js<
> > > > >
> > > >
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/pages/js/ckeditorconfig.js
> > > > > >"
> > > > > type="text/javascript"></script><script src="
> > > > >
> /digileping/assets/app/68abee1e93204a48/components/js/everything.js<
> > > > >
> > > >
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/components/js/everything.js
> > > > > >"
> > > > > type="text/javascript"></script><script src="
> > > > >
> > >
> /digileping/assets/app/68abee1e93204a48/components/js/iepngfix_tilebg.js<
> > > > >
> > > >
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/components/js/iepngfix_tilebg.js
> > > > > >"
> > > > > type="text/javascript"></script><script src="
> > > > > /digileping/assets/app/68abee1e93204a48/mixins/zone_updater_1_0.js<
> > > > >
> > > >
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/mixins/zone_updater_1_0.js
> > > > > >"
> > > > > type="text/javascript"></script></head><body><div
> id="container"><div
> > > > id="
> > > > > header"><h1 class="logo"><a
> > > > > href="admindigileping.border.homelink/1<
> > > > > https://localhost/digileping/admindigileping.border.homelink/1>
> > > > > "><span class="hidden">OÜ Digileping</span></a></h1><div
> > > > > id="controlpanel"><a
> > > > > class="cp iconlink lightbulb"
> > > > > href="adminuser<https://localhost/digileping/adminuser>
> > > > > ">Adminliides</a>
> > > > >
> > > > >
> > > > >
> > > > > And in my production server are :
> > > > >
> > > > > <meta content="Apache Tapestry Framework (version 5.1.0.5)"
> > > > name="generator
> > > > > "></meta><script src="
> > > > >
> > > > >
> > > >
> > >
> >
> /digileping/assets/virtual/H4sIAAAAAAAAAJXOUWrDMAyAYVPYU68xxijUbliTpoOdJTiOkqlNbGMpo$002bmZerXdYXUggb2k9M2I75d8$002bxUvVyFWUgixFhuliYBJkQnoWZu$002bdT2pVCZyJ1Plg2PHgwd5IiGX7b9p9O$002fLHuoaDI$002fydZKsPRCHYUbTIKq3SZWtNucSQzWzeRLd9uG2bQdEuoHx$002bOfEtfeqSvbHD5Nm2T47Qp7kykemTqTMGSpkF$002bZHbA$002fPtcbZGpsY5ouhcZ13FiyPNfxAGPgb7Vh$002bPVEieNvUeCkYWyibxz$002fu8IKW1PW$002bouh9pRlCkRS7e$002fgHmDWLEDcCAAA$003d.js<
> > > > >
> > > >
> > >
> >
> https://www.digileping.ee/digileping/assets/virtual/H4sIAAAAAAAAAJXOUWrDMAyAYVPYU68xxijUbliTpoOdJTiOkqlNbGMpo$002bmZerXdYXUggb2k9M2I75d8$002bxUvVyFWUgixFhuliYBJkQnoWZu$002bdT2pVCZyJ1Plg2PHgwd5IiGX7b9p9O$002fLHuoaDI$002fydZKsPRCHYUbTIKq3SZWtNucSQzWzeRLd9uG2bQdEuoHx$002bOfEtfeqSvbHD5Nm2T47Qp7kykemTqTMGSpkF$002bZHbA$002fPtcbZGpsY5ouhcZ13FiyPNfxAGPgb7Vh$002bPVEieNvUeCkYWyibxz$002fu8IKW1PW$002bouh9pRlCkRS7e$002fgHmDWLEDcCAAA$003d.js
> > > > > >"
> > > > > type="text/javascript"></script></head><body><div
> id="container"><div
> > > > id="
> > > > > header"><h1 class="logo"><a
> > > > > href="admindigileping.border.homelink/1<
> > > > >
> > https://www.digileping.ee/digileping/admindigileping.border.homelink/1
> > > >
> > > > > "><span class="hidden">OÜ Digileping</span></a></h1><div
> > > > > id="controlpanel"><a
> > > > > class="cp iconlink lightbulb"
> > > > > href="adminuser<https://www.digileping.ee/digileping/adminuser>
> > > > > ">Adminliides</a>
> > > > >
> > > >
> > >
> >
>

Re: T5: javascript assets

Posted by Argo Vilberg <wi...@gmail.com>.
i dont no. here is my web.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Digileping</display-name>
<context-param>
<param-name>tapestry.app-package</param-name>
<param-value>ee.softpro</param-value>
</context-param>
<context-param>
<param-name>tapestry.combine-scripts</param-name>
<param-value>false</param-value>
</context-param>
<filter>
<filter-name>digileping</filter-name>
<filter-class>org.apache.tapestry5.TapestryFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>digileping</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<session-config>
<session-timeout>10</session-timeout>
</session-config>
</web-app>


2009/10/26 cordenier christophe <ch...@gmail.com>

> Hi
>
> What name have you given to the TapestryFilter in you web.xml ? 'App'
> prefix
> (in 'AppModule') is the name of the filter.
>
> Regards
> Christophe.
>
> 2009/10/26 Argo Vilberg <wi...@gmail.com>
>
> > Thanks, seems taht web.xml variants works.
> >
> > But AppModule.java is no use :)
> >
> >
> > Argo
> >
> > 2009/10/26 cordenier christophe <ch...@gmail.com>
> >
> > > Hello
> > >
> > > Actually, it is possible to configure Tapestry with (in priority order)
> > >
> > > 1. java system properties (-D)
> > > 2. web.xml context parameters
> > > 3  contributeApplicationDefaults
> > > 4. contribteFactoryDefaults
> > >
> > > Check your environment to verify the configuration symbol is not
> > duplicated
> > > with a wrong value
> > >
> > > Regards
> > > Christophe.
> > >
> > >
> > >
> > > 2009/10/26 Argo Vilberg <wi...@gmail.com>
> > >
> > > > I tried
> > > >        configuration.add(SymbolConstants.COMBINE_SCRIPTS, "true");
> > > >
> > > > and also
> > > >          configuration.add(SymbolConstants.COMBINE_SCRIPTS, "false");
> > > >
> > > >
> > > > But in bot cases there are my localhost always every javascript its
> own
> > > > notation.
> > > > And in production server always are javascript combained together.
> > > >
> > > >
> > > > Why ?
> > > >
> > > >
> > > >
> > > > <meta content="Apache Tapestry Framework (version 5.1.0.5)"
> > > name="generator
> > > > "></meta><script
> > > > src="/digileping/assets/scriptaculous/5.1.0.5/prototype.js<
> > > >
> https://localhost/digileping/assets/scriptaculous/5.1.0.5/prototype.js
> > >"
> > > > type="text/javascript"></script><script src="
> > > > /digileping/assets/scriptaculous/5.1.0.5/scriptaculous.js<
> > > >
> > >
> >
> https://localhost/digileping/assets/scriptaculous/5.1.0.5/scriptaculous.js
> > > > >"
> > > > type="text/javascript"></script><script src="
> > > > /digileping/assets/scriptaculous/5.1.0.5/effects.js<
> > > > https://localhost/digileping/assets/scriptaculous/5.1.0.5/effects.js
> >"
> > > > type="text/javascript"></script><script src="
> > > > /digileping/assets/tapestry/5.1.0.5/tapestry.js<
> > > > https://localhost/digileping/assets/tapestry/5.1.0.5/tapestry.js>"
> > > > type="text/javascript"></script><script src="
> > > > /digileping/assets/blackbird/5.1.0.5/blackbird.js<
> > > > https://localhost/digileping/assets/blackbird/5.1.0.5/blackbird.js>"
> > > > type="text/javascript"></script><script src="
> > > > /digileping/assets/tapestry/5.1.0.5/tapestry-messages.js<
> > > >
> > >
> >
> https://localhost/digileping/assets/tapestry/5.1.0.5/tapestry-messages.js
> > > > >"
> > > > type="text/javascript"></script><script src="
> > > >
> /digileping/assets/app/68abee1e93204a48/pages/js/ckeditor/ckeditor.js<
> > > >
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/pages/js/ckeditor/ckeditor.js
> > > > >"
> > > > type="text/javascript"></script><script src="
> > > > /digileping/assets/app/68abee1e93204a48/pages/js/ckeditorconfig.js<
> > > >
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/pages/js/ckeditorconfig.js
> > > > >"
> > > > type="text/javascript"></script><script src="
> > > > /digileping/assets/app/68abee1e93204a48/components/js/everything.js<
> > > >
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/components/js/everything.js
> > > > >"
> > > > type="text/javascript"></script><script src="
> > > >
> > /digileping/assets/app/68abee1e93204a48/components/js/iepngfix_tilebg.js<
> > > >
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/components/js/iepngfix_tilebg.js
> > > > >"
> > > > type="text/javascript"></script><script src="
> > > > /digileping/assets/app/68abee1e93204a48/mixins/zone_updater_1_0.js<
> > > >
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/mixins/zone_updater_1_0.js
> > > > >"
> > > > type="text/javascript"></script></head><body><div id="container"><div
> > > id="
> > > > header"><h1 class="logo"><a
> > > > href="admindigileping.border.homelink/1<
> > > > https://localhost/digileping/admindigileping.border.homelink/1>
> > > > "><span class="hidden">OÜ Digileping</span></a></h1><div
> > > > id="controlpanel"><a
> > > > class="cp iconlink lightbulb"
> > > > href="adminuser<https://localhost/digileping/adminuser>
> > > > ">Adminliides</a>
> > > >
> > > >
> > > >
> > > > And in my production server are :
> > > >
> > > > <meta content="Apache Tapestry Framework (version 5.1.0.5)"
> > > name="generator
> > > > "></meta><script src="
> > > >
> > > >
> > >
> >
> /digileping/assets/virtual/H4sIAAAAAAAAAJXOUWrDMAyAYVPYU68xxijUbliTpoOdJTiOkqlNbGMpo$002bmZerXdYXUggb2k9M2I75d8$002bxUvVyFWUgixFhuliYBJkQnoWZu$002bdT2pVCZyJ1Plg2PHgwd5IiGX7b9p9O$002fLHuoaDI$002fydZKsPRCHYUbTIKq3SZWtNucSQzWzeRLd9uG2bQdEuoHx$002bOfEtfeqSvbHD5Nm2T47Qp7kykemTqTMGSpkF$002bZHbA$002fPtcbZGpsY5ouhcZ13FiyPNfxAGPgb7Vh$002bPVEieNvUeCkYWyibxz$002fu8IKW1PW$002bouh9pRlCkRS7e$002fgHmDWLEDcCAAA$003d.js<
> > > >
> > >
> >
> https://www.digileping.ee/digileping/assets/virtual/H4sIAAAAAAAAAJXOUWrDMAyAYVPYU68xxijUbliTpoOdJTiOkqlNbGMpo$002bmZerXdYXUggb2k9M2I75d8$002bxUvVyFWUgixFhuliYBJkQnoWZu$002bdT2pVCZyJ1Plg2PHgwd5IiGX7b9p9O$002fLHuoaDI$002fydZKsPRCHYUbTIKq3SZWtNucSQzWzeRLd9uG2bQdEuoHx$002bOfEtfeqSvbHD5Nm2T47Qp7kykemTqTMGSpkF$002bZHbA$002fPtcbZGpsY5ouhcZ13FiyPNfxAGPgb7Vh$002bPVEieNvUeCkYWyibxz$002fu8IKW1PW$002bouh9pRlCkRS7e$002fgHmDWLEDcCAAA$003d.js
> > > > >"
> > > > type="text/javascript"></script></head><body><div id="container"><div
> > > id="
> > > > header"><h1 class="logo"><a
> > > > href="admindigileping.border.homelink/1<
> > > >
> https://www.digileping.ee/digileping/admindigileping.border.homelink/1
> > >
> > > > "><span class="hidden">OÜ Digileping</span></a></h1><div
> > > > id="controlpanel"><a
> > > > class="cp iconlink lightbulb"
> > > > href="adminuser<https://www.digileping.ee/digileping/adminuser>
> > > > ">Adminliides</a>
> > > >
> > >
> >
>

Re: T5: javascript assets

Posted by cordenier christophe <ch...@gmail.com>.
Hi

What name have you given to the TapestryFilter in you web.xml ? 'App' prefix
(in 'AppModule') is the name of the filter.

Regards
Christophe.

2009/10/26 Argo Vilberg <wi...@gmail.com>

> Thanks, seems taht web.xml variants works.
>
> But AppModule.java is no use :)
>
>
> Argo
>
> 2009/10/26 cordenier christophe <ch...@gmail.com>
>
> > Hello
> >
> > Actually, it is possible to configure Tapestry with (in priority order)
> >
> > 1. java system properties (-D)
> > 2. web.xml context parameters
> > 3  contributeApplicationDefaults
> > 4. contribteFactoryDefaults
> >
> > Check your environment to verify the configuration symbol is not
> duplicated
> > with a wrong value
> >
> > Regards
> > Christophe.
> >
> >
> >
> > 2009/10/26 Argo Vilberg <wi...@gmail.com>
> >
> > > I tried
> > >        configuration.add(SymbolConstants.COMBINE_SCRIPTS, "true");
> > >
> > > and also
> > >          configuration.add(SymbolConstants.COMBINE_SCRIPTS, "false");
> > >
> > >
> > > But in bot cases there are my localhost always every javascript its own
> > > notation.
> > > And in production server always are javascript combained together.
> > >
> > >
> > > Why ?
> > >
> > >
> > >
> > > <meta content="Apache Tapestry Framework (version 5.1.0.5)"
> > name="generator
> > > "></meta><script
> > > src="/digileping/assets/scriptaculous/5.1.0.5/prototype.js<
> > > https://localhost/digileping/assets/scriptaculous/5.1.0.5/prototype.js
> >"
> > > type="text/javascript"></script><script src="
> > > /digileping/assets/scriptaculous/5.1.0.5/scriptaculous.js<
> > >
> >
> https://localhost/digileping/assets/scriptaculous/5.1.0.5/scriptaculous.js
> > > >"
> > > type="text/javascript"></script><script src="
> > > /digileping/assets/scriptaculous/5.1.0.5/effects.js<
> > > https://localhost/digileping/assets/scriptaculous/5.1.0.5/effects.js>"
> > > type="text/javascript"></script><script src="
> > > /digileping/assets/tapestry/5.1.0.5/tapestry.js<
> > > https://localhost/digileping/assets/tapestry/5.1.0.5/tapestry.js>"
> > > type="text/javascript"></script><script src="
> > > /digileping/assets/blackbird/5.1.0.5/blackbird.js<
> > > https://localhost/digileping/assets/blackbird/5.1.0.5/blackbird.js>"
> > > type="text/javascript"></script><script src="
> > > /digileping/assets/tapestry/5.1.0.5/tapestry-messages.js<
> > >
> >
> https://localhost/digileping/assets/tapestry/5.1.0.5/tapestry-messages.js
> > > >"
> > > type="text/javascript"></script><script src="
> > > /digileping/assets/app/68abee1e93204a48/pages/js/ckeditor/ckeditor.js<
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/pages/js/ckeditor/ckeditor.js
> > > >"
> > > type="text/javascript"></script><script src="
> > > /digileping/assets/app/68abee1e93204a48/pages/js/ckeditorconfig.js<
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/pages/js/ckeditorconfig.js
> > > >"
> > > type="text/javascript"></script><script src="
> > > /digileping/assets/app/68abee1e93204a48/components/js/everything.js<
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/components/js/everything.js
> > > >"
> > > type="text/javascript"></script><script src="
> > >
> /digileping/assets/app/68abee1e93204a48/components/js/iepngfix_tilebg.js<
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/components/js/iepngfix_tilebg.js
> > > >"
> > > type="text/javascript"></script><script src="
> > > /digileping/assets/app/68abee1e93204a48/mixins/zone_updater_1_0.js<
> > >
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/mixins/zone_updater_1_0.js
> > > >"
> > > type="text/javascript"></script></head><body><div id="container"><div
> > id="
> > > header"><h1 class="logo"><a
> > > href="admindigileping.border.homelink/1<
> > > https://localhost/digileping/admindigileping.border.homelink/1>
> > > "><span class="hidden">OÜ Digileping</span></a></h1><div
> > > id="controlpanel"><a
> > > class="cp iconlink lightbulb"
> > > href="adminuser<https://localhost/digileping/adminuser>
> > > ">Adminliides</a>
> > >
> > >
> > >
> > > And in my production server are :
> > >
> > > <meta content="Apache Tapestry Framework (version 5.1.0.5)"
> > name="generator
> > > "></meta><script src="
> > >
> > >
> >
> /digileping/assets/virtual/H4sIAAAAAAAAAJXOUWrDMAyAYVPYU68xxijUbliTpoOdJTiOkqlNbGMpo$002bmZerXdYXUggb2k9M2I75d8$002bxUvVyFWUgixFhuliYBJkQnoWZu$002bdT2pVCZyJ1Plg2PHgwd5IiGX7b9p9O$002fLHuoaDI$002fydZKsPRCHYUbTIKq3SZWtNucSQzWzeRLd9uG2bQdEuoHx$002bOfEtfeqSvbHD5Nm2T47Qp7kykemTqTMGSpkF$002bZHbA$002fPtcbZGpsY5ouhcZ13FiyPNfxAGPgb7Vh$002bPVEieNvUeCkYWyibxz$002fu8IKW1PW$002bouh9pRlCkRS7e$002fgHmDWLEDcCAAA$003d.js<
> > >
> >
> https://www.digileping.ee/digileping/assets/virtual/H4sIAAAAAAAAAJXOUWrDMAyAYVPYU68xxijUbliTpoOdJTiOkqlNbGMpo$002bmZerXdYXUggb2k9M2I75d8$002bxUvVyFWUgixFhuliYBJkQnoWZu$002bdT2pVCZyJ1Plg2PHgwd5IiGX7b9p9O$002fLHuoaDI$002fydZKsPRCHYUbTIKq3SZWtNucSQzWzeRLd9uG2bQdEuoHx$002bOfEtfeqSvbHD5Nm2T47Qp7kykemTqTMGSpkF$002bZHbA$002fPtcbZGpsY5ouhcZ13FiyPNfxAGPgb7Vh$002bPVEieNvUeCkYWyibxz$002fu8IKW1PW$002bouh9pRlCkRS7e$002fgHmDWLEDcCAAA$003d.js
> > > >"
> > > type="text/javascript"></script></head><body><div id="container"><div
> > id="
> > > header"><h1 class="logo"><a
> > > href="admindigileping.border.homelink/1<
> > > https://www.digileping.ee/digileping/admindigileping.border.homelink/1
> >
> > > "><span class="hidden">OÜ Digileping</span></a></h1><div
> > > id="controlpanel"><a
> > > class="cp iconlink lightbulb"
> > > href="adminuser<https://www.digileping.ee/digileping/adminuser>
> > > ">Adminliides</a>
> > >
> >
>

Re: T5: javascript assets

Posted by Argo Vilberg <wi...@gmail.com>.
Thanks, seems taht web.xml variants works.

But AppModule.java is no use :)


Argo

2009/10/26 cordenier christophe <ch...@gmail.com>

> Hello
>
> Actually, it is possible to configure Tapestry with (in priority order)
>
> 1. java system properties (-D)
> 2. web.xml context parameters
> 3  contributeApplicationDefaults
> 4. contribteFactoryDefaults
>
> Check your environment to verify the configuration symbol is not duplicated
> with a wrong value
>
> Regards
> Christophe.
>
>
>
> 2009/10/26 Argo Vilberg <wi...@gmail.com>
>
> > I tried
> >        configuration.add(SymbolConstants.COMBINE_SCRIPTS, "true");
> >
> > and also
> >          configuration.add(SymbolConstants.COMBINE_SCRIPTS, "false");
> >
> >
> > But in bot cases there are my localhost always every javascript its own
> > notation.
> > And in production server always are javascript combained together.
> >
> >
> > Why ?
> >
> >
> >
> > <meta content="Apache Tapestry Framework (version 5.1.0.5)"
> name="generator
> > "></meta><script
> > src="/digileping/assets/scriptaculous/5.1.0.5/prototype.js<
> > https://localhost/digileping/assets/scriptaculous/5.1.0.5/prototype.js>"
> > type="text/javascript"></script><script src="
> > /digileping/assets/scriptaculous/5.1.0.5/scriptaculous.js<
> >
> https://localhost/digileping/assets/scriptaculous/5.1.0.5/scriptaculous.js
> > >"
> > type="text/javascript"></script><script src="
> > /digileping/assets/scriptaculous/5.1.0.5/effects.js<
> > https://localhost/digileping/assets/scriptaculous/5.1.0.5/effects.js>"
> > type="text/javascript"></script><script src="
> > /digileping/assets/tapestry/5.1.0.5/tapestry.js<
> > https://localhost/digileping/assets/tapestry/5.1.0.5/tapestry.js>"
> > type="text/javascript"></script><script src="
> > /digileping/assets/blackbird/5.1.0.5/blackbird.js<
> > https://localhost/digileping/assets/blackbird/5.1.0.5/blackbird.js>"
> > type="text/javascript"></script><script src="
> > /digileping/assets/tapestry/5.1.0.5/tapestry-messages.js<
> >
> https://localhost/digileping/assets/tapestry/5.1.0.5/tapestry-messages.js
> > >"
> > type="text/javascript"></script><script src="
> > /digileping/assets/app/68abee1e93204a48/pages/js/ckeditor/ckeditor.js<
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/pages/js/ckeditor/ckeditor.js
> > >"
> > type="text/javascript"></script><script src="
> > /digileping/assets/app/68abee1e93204a48/pages/js/ckeditorconfig.js<
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/pages/js/ckeditorconfig.js
> > >"
> > type="text/javascript"></script><script src="
> > /digileping/assets/app/68abee1e93204a48/components/js/everything.js<
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/components/js/everything.js
> > >"
> > type="text/javascript"></script><script src="
> > /digileping/assets/app/68abee1e93204a48/components/js/iepngfix_tilebg.js<
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/components/js/iepngfix_tilebg.js
> > >"
> > type="text/javascript"></script><script src="
> > /digileping/assets/app/68abee1e93204a48/mixins/zone_updater_1_0.js<
> >
> https://localhost/digileping/assets/app/68abee1e93204a48/mixins/zone_updater_1_0.js
> > >"
> > type="text/javascript"></script></head><body><div id="container"><div
> id="
> > header"><h1 class="logo"><a
> > href="admindigileping.border.homelink/1<
> > https://localhost/digileping/admindigileping.border.homelink/1>
> > "><span class="hidden">OÜ Digileping</span></a></h1><div
> > id="controlpanel"><a
> > class="cp iconlink lightbulb"
> > href="adminuser<https://localhost/digileping/adminuser>
> > ">Adminliides</a>
> >
> >
> >
> > And in my production server are :
> >
> > <meta content="Apache Tapestry Framework (version 5.1.0.5)"
> name="generator
> > "></meta><script src="
> >
> >
> /digileping/assets/virtual/H4sIAAAAAAAAAJXOUWrDMAyAYVPYU68xxijUbliTpoOdJTiOkqlNbGMpo$002bmZerXdYXUggb2k9M2I75d8$002bxUvVyFWUgixFhuliYBJkQnoWZu$002bdT2pVCZyJ1Plg2PHgwd5IiGX7b9p9O$002fLHuoaDI$002fydZKsPRCHYUbTIKq3SZWtNucSQzWzeRLd9uG2bQdEuoHx$002bOfEtfeqSvbHD5Nm2T47Qp7kykemTqTMGSpkF$002bZHbA$002fPtcbZGpsY5ouhcZ13FiyPNfxAGPgb7Vh$002bPVEieNvUeCkYWyibxz$002fu8IKW1PW$002bouh9pRlCkRS7e$002fgHmDWLEDcCAAA$003d.js<
> >
> https://www.digileping.ee/digileping/assets/virtual/H4sIAAAAAAAAAJXOUWrDMAyAYVPYU68xxijUbliTpoOdJTiOkqlNbGMpo$002bmZerXdYXUggb2k9M2I75d8$002bxUvVyFWUgixFhuliYBJkQnoWZu$002bdT2pVCZyJ1Plg2PHgwd5IiGX7b9p9O$002fLHuoaDI$002fydZKsPRCHYUbTIKq3SZWtNucSQzWzeRLd9uG2bQdEuoHx$002bOfEtfeqSvbHD5Nm2T47Qp7kykemTqTMGSpkF$002bZHbA$002fPtcbZGpsY5ouhcZ13FiyPNfxAGPgb7Vh$002bPVEieNvUeCkYWyibxz$002fu8IKW1PW$002bouh9pRlCkRS7e$002fgHmDWLEDcCAAA$003d.js
> > >"
> > type="text/javascript"></script></head><body><div id="container"><div
> id="
> > header"><h1 class="logo"><a
> > href="admindigileping.border.homelink/1<
> > https://www.digileping.ee/digileping/admindigileping.border.homelink/1>
> > "><span class="hidden">OÜ Digileping</span></a></h1><div
> > id="controlpanel"><a
> > class="cp iconlink lightbulb"
> > href="adminuser<https://www.digileping.ee/digileping/adminuser>
> > ">Adminliides</a>
> >
>

Re: T5: javascript assets

Posted by cordenier christophe <ch...@gmail.com>.
Hello

Actually, it is possible to configure Tapestry with (in priority order)

1. java system properties (-D)
2. web.xml context parameters
3  contributeApplicationDefaults
4. contribteFactoryDefaults

Check your environment to verify the configuration symbol is not duplicated
with a wrong value

Regards
Christophe.



2009/10/26 Argo Vilberg <wi...@gmail.com>

> I tried
>        configuration.add(SymbolConstants.COMBINE_SCRIPTS, "true");
>
> and also
>          configuration.add(SymbolConstants.COMBINE_SCRIPTS, "false");
>
>
> But in bot cases there are my localhost always every javascript its own
> notation.
> And in production server always are javascript combained together.
>
>
> Why ?
>
>
>
> <meta content="Apache Tapestry Framework (version 5.1.0.5)" name="generator
> "></meta><script
> src="/digileping/assets/scriptaculous/5.1.0.5/prototype.js<
> https://localhost/digileping/assets/scriptaculous/5.1.0.5/prototype.js>"
> type="text/javascript"></script><script src="
> /digileping/assets/scriptaculous/5.1.0.5/scriptaculous.js<
> https://localhost/digileping/assets/scriptaculous/5.1.0.5/scriptaculous.js
> >"
> type="text/javascript"></script><script src="
> /digileping/assets/scriptaculous/5.1.0.5/effects.js<
> https://localhost/digileping/assets/scriptaculous/5.1.0.5/effects.js>"
> type="text/javascript"></script><script src="
> /digileping/assets/tapestry/5.1.0.5/tapestry.js<
> https://localhost/digileping/assets/tapestry/5.1.0.5/tapestry.js>"
> type="text/javascript"></script><script src="
> /digileping/assets/blackbird/5.1.0.5/blackbird.js<
> https://localhost/digileping/assets/blackbird/5.1.0.5/blackbird.js>"
> type="text/javascript"></script><script src="
> /digileping/assets/tapestry/5.1.0.5/tapestry-messages.js<
> https://localhost/digileping/assets/tapestry/5.1.0.5/tapestry-messages.js
> >"
> type="text/javascript"></script><script src="
> /digileping/assets/app/68abee1e93204a48/pages/js/ckeditor/ckeditor.js<
> https://localhost/digileping/assets/app/68abee1e93204a48/pages/js/ckeditor/ckeditor.js
> >"
> type="text/javascript"></script><script src="
> /digileping/assets/app/68abee1e93204a48/pages/js/ckeditorconfig.js<
> https://localhost/digileping/assets/app/68abee1e93204a48/pages/js/ckeditorconfig.js
> >"
> type="text/javascript"></script><script src="
> /digileping/assets/app/68abee1e93204a48/components/js/everything.js<
> https://localhost/digileping/assets/app/68abee1e93204a48/components/js/everything.js
> >"
> type="text/javascript"></script><script src="
> /digileping/assets/app/68abee1e93204a48/components/js/iepngfix_tilebg.js<
> https://localhost/digileping/assets/app/68abee1e93204a48/components/js/iepngfix_tilebg.js
> >"
> type="text/javascript"></script><script src="
> /digileping/assets/app/68abee1e93204a48/mixins/zone_updater_1_0.js<
> https://localhost/digileping/assets/app/68abee1e93204a48/mixins/zone_updater_1_0.js
> >"
> type="text/javascript"></script></head><body><div id="container"><div id="
> header"><h1 class="logo"><a
> href="admindigileping.border.homelink/1<
> https://localhost/digileping/admindigileping.border.homelink/1>
> "><span class="hidden">OÜ Digileping</span></a></h1><div
> id="controlpanel"><a
> class="cp iconlink lightbulb"
> href="adminuser<https://localhost/digileping/adminuser>
> ">Adminliides</a>
>
>
>
> And in my production server are :
>
> <meta content="Apache Tapestry Framework (version 5.1.0.5)" name="generator
> "></meta><script src="
>
> /digileping/assets/virtual/H4sIAAAAAAAAAJXOUWrDMAyAYVPYU68xxijUbliTpoOdJTiOkqlNbGMpo$002bmZerXdYXUggb2k9M2I75d8$002bxUvVyFWUgixFhuliYBJkQnoWZu$002bdT2pVCZyJ1Plg2PHgwd5IiGX7b9p9O$002fLHuoaDI$002fydZKsPRCHYUbTIKq3SZWtNucSQzWzeRLd9uG2bQdEuoHx$002bOfEtfeqSvbHD5Nm2T47Qp7kykemTqTMGSpkF$002bZHbA$002fPtcbZGpsY5ouhcZ13FiyPNfxAGPgb7Vh$002bPVEieNvUeCkYWyibxz$002fu8IKW1PW$002bouh9pRlCkRS7e$002fgHmDWLEDcCAAA$003d.js<
> https://www.digileping.ee/digileping/assets/virtual/H4sIAAAAAAAAAJXOUWrDMAyAYVPYU68xxijUbliTpoOdJTiOkqlNbGMpo$002bmZerXdYXUggb2k9M2I75d8$002bxUvVyFWUgixFhuliYBJkQnoWZu$002bdT2pVCZyJ1Plg2PHgwd5IiGX7b9p9O$002fLHuoaDI$002fydZKsPRCHYUbTIKq3SZWtNucSQzWzeRLd9uG2bQdEuoHx$002bOfEtfeqSvbHD5Nm2T47Qp7kykemTqTMGSpkF$002bZHbA$002fPtcbZGpsY5ouhcZ13FiyPNfxAGPgb7Vh$002bPVEieNvUeCkYWyibxz$002fu8IKW1PW$002bouh9pRlCkRS7e$002fgHmDWLEDcCAAA$003d.js
> >"
> type="text/javascript"></script></head><body><div id="container"><div id="
> header"><h1 class="logo"><a
> href="admindigileping.border.homelink/1<
> https://www.digileping.ee/digileping/admindigileping.border.homelink/1>
> "><span class="hidden">OÜ Digileping</span></a></h1><div
> id="controlpanel"><a
> class="cp iconlink lightbulb"
> href="adminuser<https://www.digileping.ee/digileping/adminuser>
> ">Adminliides</a>
>

Re: T5: javascript assets

Posted by Argo Vilberg <wi...@gmail.com>.
I tried
        configuration.add(SymbolConstants.COMBINE_SCRIPTS, "true");

and also
         configuration.add(SymbolConstants.COMBINE_SCRIPTS, "false");


But in bot cases there are my localhost always every javascript its own
notation.
And in production server always are javascript combained together.


Why ?



<meta content="Apache Tapestry Framework (version 5.1.0.5)" name="generator
"></meta><script
src="/digileping/assets/scriptaculous/5.1.0.5/prototype.js<https://localhost/digileping/assets/scriptaculous/5.1.0.5/prototype.js>"
type="text/javascript"></script><script src="
/digileping/assets/scriptaculous/5.1.0.5/scriptaculous.js<https://localhost/digileping/assets/scriptaculous/5.1.0.5/scriptaculous.js>"
type="text/javascript"></script><script src="
/digileping/assets/scriptaculous/5.1.0.5/effects.js<https://localhost/digileping/assets/scriptaculous/5.1.0.5/effects.js>"
type="text/javascript"></script><script src="
/digileping/assets/tapestry/5.1.0.5/tapestry.js<https://localhost/digileping/assets/tapestry/5.1.0.5/tapestry.js>"
type="text/javascript"></script><script src="
/digileping/assets/blackbird/5.1.0.5/blackbird.js<https://localhost/digileping/assets/blackbird/5.1.0.5/blackbird.js>"
type="text/javascript"></script><script src="
/digileping/assets/tapestry/5.1.0.5/tapestry-messages.js<https://localhost/digileping/assets/tapestry/5.1.0.5/tapestry-messages.js>"
type="text/javascript"></script><script src="
/digileping/assets/app/68abee1e93204a48/pages/js/ckeditor/ckeditor.js<https://localhost/digileping/assets/app/68abee1e93204a48/pages/js/ckeditor/ckeditor.js>"
type="text/javascript"></script><script src="
/digileping/assets/app/68abee1e93204a48/pages/js/ckeditorconfig.js<https://localhost/digileping/assets/app/68abee1e93204a48/pages/js/ckeditorconfig.js>"
type="text/javascript"></script><script src="
/digileping/assets/app/68abee1e93204a48/components/js/everything.js<https://localhost/digileping/assets/app/68abee1e93204a48/components/js/everything.js>"
type="text/javascript"></script><script src="
/digileping/assets/app/68abee1e93204a48/components/js/iepngfix_tilebg.js<https://localhost/digileping/assets/app/68abee1e93204a48/components/js/iepngfix_tilebg.js>"
type="text/javascript"></script><script src="
/digileping/assets/app/68abee1e93204a48/mixins/zone_updater_1_0.js<https://localhost/digileping/assets/app/68abee1e93204a48/mixins/zone_updater_1_0.js>"
type="text/javascript"></script></head><body><div id="container"><div id="
header"><h1 class="logo"><a
href="admindigileping.border.homelink/1<https://localhost/digileping/admindigileping.border.homelink/1>
"><span class="hidden">OÜ Digileping</span></a></h1><div id="controlpanel"><a
class="cp iconlink lightbulb"
href="adminuser<https://localhost/digileping/adminuser>
">Adminliides</a>



And in my production server are :

<meta content="Apache Tapestry Framework (version 5.1.0.5)" name="generator
"></meta><script src="
/digileping/assets/virtual/H4sIAAAAAAAAAJXOUWrDMAyAYVPYU68xxijUbliTpoOdJTiOkqlNbGMpo$002bmZerXdYXUggb2k9M2I75d8$002bxUvVyFWUgixFhuliYBJkQnoWZu$002bdT2pVCZyJ1Plg2PHgwd5IiGX7b9p9O$002fLHuoaDI$002fydZKsPRCHYUbTIKq3SZWtNucSQzWzeRLd9uG2bQdEuoHx$002bOfEtfeqSvbHD5Nm2T47Qp7kykemTqTMGSpkF$002bZHbA$002fPtcbZGpsY5ouhcZ13FiyPNfxAGPgb7Vh$002bPVEieNvUeCkYWyibxz$002fu8IKW1PW$002bouh9pRlCkRS7e$002fgHmDWLEDcCAAA$003d.js<https://www.digileping.ee/digileping/assets/virtual/H4sIAAAAAAAAAJXOUWrDMAyAYVPYU68xxijUbliTpoOdJTiOkqlNbGMpo$002bmZerXdYXUggb2k9M2I75d8$002bxUvVyFWUgixFhuliYBJkQnoWZu$002bdT2pVCZyJ1Plg2PHgwd5IiGX7b9p9O$002fLHuoaDI$002fydZKsPRCHYUbTIKq3SZWtNucSQzWzeRLd9uG2bQdEuoHx$002bOfEtfeqSvbHD5Nm2T47Qp7kykemTqTMGSpkF$002bZHbA$002fPtcbZGpsY5ouhcZ13FiyPNfxAGPgb7Vh$002bPVEieNvUeCkYWyibxz$002fu8IKW1PW$002bouh9pRlCkRS7e$002fgHmDWLEDcCAAA$003d.js>"
type="text/javascript"></script></head><body><div id="container"><div id="
header"><h1 class="logo"><a
href="admindigileping.border.homelink/1<https://www.digileping.ee/digileping/admindigileping.border.homelink/1>
"><span class="hidden">OÜ Digileping</span></a></h1><div id="controlpanel"><a
class="cp iconlink lightbulb"
href="adminuser<https://www.digileping.ee/digileping/adminuser>
">Adminliides</a>

Re: T5: javascript assets

Posted by Argo Vilberg <wi...@gmail.com>.
I put this line in AppModule.java


    public static void contributeApplicationDefaults(
            MappedConfiguration<String, String> configuration)
    {
        configuration.add(SymbolConstants.PRODUCTION_MODE, "false");
        configuration.add(SymbolConstants.COMBINE_SCRIPTS, "false");
    }


But no success.


Argo


2009/10/26 Carl Crowder <ca...@taptu.com>

> There's a configuration variable you can set: "tapestry.combine-scripts"
>
> See http://tapestry.apache.org/tapestry5.1/guide/conf.html
>
> Argo Vilberg wrote:
>
>> hi,
>>
>> In tapestry 5.1.0.5 javascript are combained together in one file:
>>
>> src="
>>
>> /digileping/assets/virtual/H4sIAAAAAAAAAJXQUWrDMAyAYTPY065RyhjUTrdlawc9S3AcOVOb2MZSRtMz7Wq7w$002bJAAn1J6ZsR3y8b$002f$002f6Jx4sQD1II8SRelCYCJkUmYmBtusZ3pHK5lZnMVYiePfcB5JGEXLZX0$002bSflz1YC4ZHuZok6wDEsZ$002fRNEhqPamy0eZUYqxmNk$002bS29zctmmBSNcwXv41cR2CejfG7t8$002bqizf63L3OvxAYupIypygQvZxPqT2877WeGexTuFuMTS$002bDd6B47GGH4g9f6Mby8MdJUJwtcVzwdhAWd9$002bcYtndKQuw4qiC5VmiMW2yIbwH4zpiYQ3AgAA.js<
>> https://www.digileping.ee/digileping/assets/virtual/H4sIAAAAAAAAAJXQUWrDMAyAYTPY065RyhjUTrdlawc9S3AcOVOb2MZSRtMz7Wq7w$002bJAAn1J6ZsR3y8b$002f$002f6Jx4sQD1II8SRelCYCJkUmYmBtusZ3pHK5lZnMVYiePfcB5JGEXLZX0$002bSflz1YC4ZHuZok6wDEsZ$002fRNEhqPamy0eZUYqxmNk$002bS29zctmmBSNcwXv41cR2CejfG7t8$002bqizf63L3OvxAYupIypygQvZxPqT2877WeGexTuFuMTS$002bDd6B47GGH4g9f6Mby8MdJUJwtcVzwdhAWd9$002bcYtndKQuw4qiC5VmiMW2yIbwH4zpiYQ3AgAA.js
>> >
>>
>> "
>>
>>
>> But in 5.0.14 was:
>>
>> Tapestry Framework (version 5.1.0.5)" name="generator"></meta><script
>> t/javascript"></script><script src="
>> /digileping/assets/app/62d7a796360dcacf/pages/js/ckeditor/ckeditor.js<
>> https://localhost/digileping/assets/app/62d7a796360dcacf/pages/js/ckeditor/ckeditor.js
>> >"
>>
>> type="text/javascript"></script><script src="
>> /digileping/assets/app/62d7a796360dcacf/pages/js/ckeditorconfig.js<
>> https://localhost/digileping/assets/app/62d7a796360dcacf/pages/js/ckeditorconfig.js
>> >"
>>
>> type="text/javascript"></script><script src="
>> /digileping/assets/app/62d7a796360dcacf/components/js/everything.js<
>> https://localhost/digileping/assets/app/62d7a796360dcacf/components/js/everything.js
>> >"
>>
>> type="text/javascript"></script><script src="
>> /digileping/assets/app/62d7a796360dcacf/components/js/iepngfix_tilebg.js<
>> https://localhost/digileping/assets/app/62d7a796360dcacf/components/js/iepngfix_tilebg.js
>> >"
>>
>> type="text/javascript"></script><script src="
>> /digileping/assets/app/62d7a796360dcacf/mixins/zone_updater_1_0.js<
>> https://localhost/digileping/assets/app/62d7a796360dcacf/mixins/zone_updater_1_0.js
>> >
>>
>> "
>>
>>
>> Are there any parameter to tell tapestry leave javascript like in 5.0.14 ?
>>
>>
>> Argo
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: T5: javascript assets

Posted by Argo Vilberg <wi...@gmail.com>.
In my environment are development mode but if i put some war to production
server, there are production mode.

Some time in AppModule.java is


        configuration.add(SymbolConstants.PRODUCTION_MODE, "false");


Argo

2009/10/26 Argo Vilberg <wi...@gmail.com>

> Secondly, how to tell tapestry production or development mode?
>
>
>
> 2009/10/26 Carl Crowder <ca...@taptu.com>
>
> There's a configuration variable you can set: "tapestry.combine-scripts"
>>
>> See http://tapestry.apache.org/tapestry5.1/guide/conf.html
>>
>> Argo Vilberg wrote:
>>
>>> hi,
>>>
>>> In tapestry 5.1.0.5 javascript are combained together in one file:
>>>
>>> src="
>>>
>>> /digileping/assets/virtual/H4sIAAAAAAAAAJXQUWrDMAyAYTPY065RyhjUTrdlawc9S3AcOVOb2MZSRtMz7Wq7w$002bJAAn1J6ZsR3y8b$002f$002f6Jx4sQD1II8SRelCYCJkUmYmBtusZ3pHK5lZnMVYiePfcB5JGEXLZX0$002bSflz1YC4ZHuZok6wDEsZ$002fRNEhqPamy0eZUYqxmNk$002bS29zctmmBSNcwXv41cR2CejfG7t8$002bqizf63L3OvxAYupIypygQvZxPqT2877WeGexTuFuMTS$002bDd6B47GGH4g9f6Mby8MdJUJwtcVzwdhAWd9$002bcYtndKQuw4qiC5VmiMW2yIbwH4zpiYQ3AgAA.js<
>>> https://www.digileping.ee/digileping/assets/virtual/H4sIAAAAAAAAAJXQUWrDMAyAYTPY065RyhjUTrdlawc9S3AcOVOb2MZSRtMz7Wq7w$002bJAAn1J6ZsR3y8b$002f$002f6Jx4sQD1II8SRelCYCJkUmYmBtusZ3pHK5lZnMVYiePfcB5JGEXLZX0$002bSflz1YC4ZHuZok6wDEsZ$002fRNEhqPamy0eZUYqxmNk$002bS29zctmmBSNcwXv41cR2CejfG7t8$002bqizf63L3OvxAYupIypygQvZxPqT2877WeGexTuFuMTS$002bDd6B47GGH4g9f6Mby8MdJUJwtcVzwdhAWd9$002bcYtndKQuw4qiC5VmiMW2yIbwH4zpiYQ3AgAA.js
>>> >
>>>
>>> "
>>>
>>>
>>> But in 5.0.14 was:
>>>
>>> Tapestry Framework (version 5.1.0.5)" name="generator"></meta><script
>>> t/javascript"></script><script src="
>>> /digileping/assets/app/62d7a796360dcacf/pages/js/ckeditor/ckeditor.js<
>>> https://localhost/digileping/assets/app/62d7a796360dcacf/pages/js/ckeditor/ckeditor.js
>>> >"
>>>
>>> type="text/javascript"></script><script src="
>>> /digileping/assets/app/62d7a796360dcacf/pages/js/ckeditorconfig.js<
>>> https://localhost/digileping/assets/app/62d7a796360dcacf/pages/js/ckeditorconfig.js
>>> >"
>>>
>>> type="text/javascript"></script><script src="
>>> /digileping/assets/app/62d7a796360dcacf/components/js/everything.js<
>>> https://localhost/digileping/assets/app/62d7a796360dcacf/components/js/everything.js
>>> >"
>>>
>>> type="text/javascript"></script><script src="
>>> /digileping/assets/app/62d7a796360dcacf/components/js/iepngfix_tilebg.js<
>>> https://localhost/digileping/assets/app/62d7a796360dcacf/components/js/iepngfix_tilebg.js
>>> >"
>>>
>>> type="text/javascript"></script><script src="
>>> /digileping/assets/app/62d7a796360dcacf/mixins/zone_updater_1_0.js<
>>> https://localhost/digileping/assets/app/62d7a796360dcacf/mixins/zone_updater_1_0.js
>>> >
>>>
>>> "
>>>
>>>
>>> Are there any parameter to tell tapestry leave javascript like in 5.0.14
>>> ?
>>>
>>>
>>> Argo
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>

Re: T5: javascript assets

Posted by Argo Vilberg <wi...@gmail.com>.
Secondly, how to tell tapestry production or development mode?



2009/10/26 Carl Crowder <ca...@taptu.com>

> There's a configuration variable you can set: "tapestry.combine-scripts"
>
> See http://tapestry.apache.org/tapestry5.1/guide/conf.html
>
> Argo Vilberg wrote:
>
>> hi,
>>
>> In tapestry 5.1.0.5 javascript are combained together in one file:
>>
>> src="
>>
>> /digileping/assets/virtual/H4sIAAAAAAAAAJXQUWrDMAyAYTPY065RyhjUTrdlawc9S3AcOVOb2MZSRtMz7Wq7w$002bJAAn1J6ZsR3y8b$002f$002f6Jx4sQD1II8SRelCYCJkUmYmBtusZ3pHK5lZnMVYiePfcB5JGEXLZX0$002bSflz1YC4ZHuZok6wDEsZ$002fRNEhqPamy0eZUYqxmNk$002bS29zctmmBSNcwXv41cR2CejfG7t8$002bqizf63L3OvxAYupIypygQvZxPqT2877WeGexTuFuMTS$002bDd6B47GGH4g9f6Mby8MdJUJwtcVzwdhAWd9$002bcYtndKQuw4qiC5VmiMW2yIbwH4zpiYQ3AgAA.js<
>> https://www.digileping.ee/digileping/assets/virtual/H4sIAAAAAAAAAJXQUWrDMAyAYTPY065RyhjUTrdlawc9S3AcOVOb2MZSRtMz7Wq7w$002bJAAn1J6ZsR3y8b$002f$002f6Jx4sQD1II8SRelCYCJkUmYmBtusZ3pHK5lZnMVYiePfcB5JGEXLZX0$002bSflz1YC4ZHuZok6wDEsZ$002fRNEhqPamy0eZUYqxmNk$002bS29zctmmBSNcwXv41cR2CejfG7t8$002bqizf63L3OvxAYupIypygQvZxPqT2877WeGexTuFuMTS$002bDd6B47GGH4g9f6Mby8MdJUJwtcVzwdhAWd9$002bcYtndKQuw4qiC5VmiMW2yIbwH4zpiYQ3AgAA.js
>> >
>>
>> "
>>
>>
>> But in 5.0.14 was:
>>
>> Tapestry Framework (version 5.1.0.5)" name="generator"></meta><script
>> t/javascript"></script><script src="
>> /digileping/assets/app/62d7a796360dcacf/pages/js/ckeditor/ckeditor.js<
>> https://localhost/digileping/assets/app/62d7a796360dcacf/pages/js/ckeditor/ckeditor.js
>> >"
>>
>> type="text/javascript"></script><script src="
>> /digileping/assets/app/62d7a796360dcacf/pages/js/ckeditorconfig.js<
>> https://localhost/digileping/assets/app/62d7a796360dcacf/pages/js/ckeditorconfig.js
>> >"
>>
>> type="text/javascript"></script><script src="
>> /digileping/assets/app/62d7a796360dcacf/components/js/everything.js<
>> https://localhost/digileping/assets/app/62d7a796360dcacf/components/js/everything.js
>> >"
>>
>> type="text/javascript"></script><script src="
>> /digileping/assets/app/62d7a796360dcacf/components/js/iepngfix_tilebg.js<
>> https://localhost/digileping/assets/app/62d7a796360dcacf/components/js/iepngfix_tilebg.js
>> >"
>>
>> type="text/javascript"></script><script src="
>> /digileping/assets/app/62d7a796360dcacf/mixins/zone_updater_1_0.js<
>> https://localhost/digileping/assets/app/62d7a796360dcacf/mixins/zone_updater_1_0.js
>> >
>>
>> "
>>
>>
>> Are there any parameter to tell tapestry leave javascript like in 5.0.14 ?
>>
>>
>> Argo
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: T5: javascript assets

Posted by Carl Crowder <ca...@taptu.com>.
There's a configuration variable you can set: "tapestry.combine-scripts"

See http://tapestry.apache.org/tapestry5.1/guide/conf.html

Argo Vilberg wrote:
> hi,
> 
> In tapestry 5.1.0.5 javascript are combained together in one file:
> 
> src="
> /digileping/assets/virtual/H4sIAAAAAAAAAJXQUWrDMAyAYTPY065RyhjUTrdlawc9S3AcOVOb2MZSRtMz7Wq7w$002bJAAn1J6ZsR3y8b$002f$002f6Jx4sQD1II8SRelCYCJkUmYmBtusZ3pHK5lZnMVYiePfcB5JGEXLZX0$002bSflz1YC4ZHuZok6wDEsZ$002fRNEhqPamy0eZUYqxmNk$002bS29zctmmBSNcwXv41cR2CejfG7t8$002bqizf63L3OvxAYupIypygQvZxPqT2877WeGexTuFuMTS$002bDd6B47GGH4g9f6Mby8MdJUJwtcVzwdhAWd9$002bcYtndKQuw4qiC5VmiMW2yIbwH4zpiYQ3AgAA.js<https://www.digileping.ee/digileping/assets/virtual/H4sIAAAAAAAAAJXQUWrDMAyAYTPY065RyhjUTrdlawc9S3AcOVOb2MZSRtMz7Wq7w$002bJAAn1J6ZsR3y8b$002f$002f6Jx4sQD1II8SRelCYCJkUmYmBtusZ3pHK5lZnMVYiePfcB5JGEXLZX0$002bSflz1YC4ZHuZok6wDEsZ$002fRNEhqPamy0eZUYqxmNk$002bS29zctmmBSNcwXv41cR2CejfG7t8$002bqizf63L3OvxAYupIypygQvZxPqT2877WeGexTuFuMTS$002bDd6B47GGH4g9f6Mby8MdJUJwtcVzwdhAWd9$002bcYtndKQuw4qiC5VmiMW2yIbwH4zpiYQ3AgAA.js>
> "
> 
> 
> But in 5.0.14 was:
> 
> Tapestry Framework (version 5.1.0.5)" name="generator"></meta><script
> t/javascript"></script><script src="
> /digileping/assets/app/62d7a796360dcacf/pages/js/ckeditor/ckeditor.js<https://localhost/digileping/assets/app/62d7a796360dcacf/pages/js/ckeditor/ckeditor.js>"
> type="text/javascript"></script><script src="
> /digileping/assets/app/62d7a796360dcacf/pages/js/ckeditorconfig.js<https://localhost/digileping/assets/app/62d7a796360dcacf/pages/js/ckeditorconfig.js>"
> type="text/javascript"></script><script src="
> /digileping/assets/app/62d7a796360dcacf/components/js/everything.js<https://localhost/digileping/assets/app/62d7a796360dcacf/components/js/everything.js>"
> type="text/javascript"></script><script src="
> /digileping/assets/app/62d7a796360dcacf/components/js/iepngfix_tilebg.js<https://localhost/digileping/assets/app/62d7a796360dcacf/components/js/iepngfix_tilebg.js>"
> type="text/javascript"></script><script src="
> /digileping/assets/app/62d7a796360dcacf/mixins/zone_updater_1_0.js<https://localhost/digileping/assets/app/62d7a796360dcacf/mixins/zone_updater_1_0.js>
> "
> 
> 
> Are there any parameter to tell tapestry leave javascript like in 5.0.14 ?
> 
> 
> Argo
> 

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