web.xml

2017-09-06 Thread Andreas Ernst
Hi, can we change in the Maven repo for quickstart the web.xml to: http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/ja

Re: Tapestry ignoring filter in web.xml

2012-02-22 Thread George Christman
Resolved, needed to use /* rather than app -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-ignoring-filter-in-web-xml-tp5505535p5505715.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Tapestry ignoring filter in web.xml

2012-02-22 Thread George Christman
Hello, I've added a couple filters to my web.xml and they don't seem to be invoked. Any ideas? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-ignoring-filter-in-web-xml-tp5505535p5505535.html Sent from the Tapestry - User mailing list archive at

Re: T5: How to use context-param or init-param from web.xml in contributeApplicationDefaults?

2011-06-18 Thread Nillehammer
upport for .properties files or system properties. I prefer context parameters myself, everything should "just work" if you add it to web.xml like so: tapestry.supported-locales en,de The ServletContextSymbolProvider will handle the rest for you. I'm sure you're already do

Re: T5: How to use context-param or init-param from web.xml in contributeApplicationDefaults?

2011-06-16 Thread Martin Strand
"just work" if you add it to web.xml like so: tapestry.supported-locales en,de The ServletContextSymbolProvider will handle the rest for you. I'm sure you're already doing this for other symbols, at least "tapestry.app-package" :) On Fri, 17 Jun 2011 0

Re: T5: How to use context-param or init-param from web.xml in contributeApplicationDefaults?

2011-06-16 Thread Nillehammer
Yeah, a possible way to go. But I'd like a more "persistent" solution hence the idea of using params in web.xml Am 17.06.2011 00:36, schrieb Lenny Primak: I use system properties. On Jun 16, 2011, at 6:28 PM, Nillehammer wrote: Hi List, I would like to replace the cons

Re: T5: How to use context-param or init-param from web.xml in contributeApplicationDefaults?

2011-06-16 Thread Lenny Primak
e: > > configuration.add(SymbolConstants.SUPPORTED_LOCALES, "en,de"); // don't like > the "en,de" here. Would like to replace it. > > with something configurable in a text file. I thought providing the values > in web.xml either as context-param or as init-param for the TapestryFi

T5: How to use context-param or init-param from web.xml in contributeApplicationDefaults?

2011-06-16 Thread Nillehammer
ike to replace it. with something configurable in a text file. I thought providing the values in web.xml either as context-param or as init-param for the TapestryFilter was a good idea. My first try was to inject the Context service as additional parameter to the contribution method to get acc

Re: Reading properties from web.xml in Tapestry5 templates

2010-05-05 Thread Mark Allan
Thanks everyone. I guess the preferred approach is to write a service to provide various constants like this. All my pages extend a very basic Page.java so I can just import the service into that and create accessors as necessary - that should be the most efficient way to do what I want.

Re: Reading properties from web.xml in Tapestry5 templates

2010-05-05 Thread Inge Solvoll
I guess you could also contribute these strings to be accessible by SymbolSource? This way you can easily inject single values into the page/component class like this: @Property @Inject @Symbol("streamServerLocation") private String streamServerLocation; On Wed, May 5, 2010 at 2:00 PM, Thiago H.

Re: Reading properties from web.xml in Tapestry5 templates

2010-05-05 Thread Thiago H. de Paula Figueiredo
On Wed, 05 May 2010 07:27:25 -0300, Mark Allan wrote: Hi All, Hi! I've tried a number of variations on the following, but nothing works: ${message:comp/env/StreamServerLocation} As Inge said, the Tapestry philosophy is to implement logic in classes, not in templates. You can imp

Re: Reading properties from web.xml in Tapestry5 templates

2010-05-05 Thread Inge Solvoll
o live, so I've split it into > two versions - service and development. The service version runs under > Tomcat and the development version runs under Jetty (via mvn jetty:run). > > Some URLs and port numbers differ between the service and development > version, so I have some e

Reading properties from web.xml in Tapestry5 templates

2010-05-05 Thread Mark Allan
o I have some environment properties defined in WEB-INF/ web.xml for the service version and WEB-INF/jetty-env.xml for development. I can access those settings within my java files using eg: String audioLocation = (String)((new InitialContext()).lookup("java:comp/env/StreamServerLoca

Re: using web.xml in a PageTester

2009-12-19 Thread Pierre DEVREUX
Nobody knows ? -- View this message in context: http://old.nabble.com/using-web.xml-in-a-PageTester-tp26841451p26855985.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users

using web.xml in a PageTester

2009-12-18 Thread Pierre DEVREUX
Hi, I define a filter in web.xml with is executed before Tapestry filter. Is it possible to use a such web.xml with PageTester. PageTester constructor takes context path in parameter, but it seems not to take into account web.xml file. How can I manage this ? Thanks. -- View this message

T5: Contributing to web.xml and web app context from module

2008-08-29 Thread Alex Kotchnev
In Grails a plugin has the ability to contribute something into the spring context, as well as the web.xml and the web application context. This allows plugins to be very independent in adding needed functionality. For example, when a plugin is installed into Grails, it can add a number of

Re: T5 customization with web.xml

2008-02-27 Thread Davor Hrg
lter after reading the parameters and saving them as System > parameters. > > M. > > Am 27.02.2008 um 10:30 schrieb Davor Hrg: > > > > > you could extend TapestryFilter, > > and copy properties from web.xml into system properties, > > and use system pro

Re: T5 customization with web.xml

2008-02-27 Thread Moritz Gmelin
parameters and saving them as System parameters. M. Am 27.02.2008 um 10:30 schrieb Davor Hrg: you could extend TapestryFilter, and copy properties from web.xml into system properties, and use system properties in your module On Wed, Feb 27, 2008 at 9:41 AM, Moritz Gmelin <[EMAIL PROT

Re: T5 customization with web.xml

2008-02-27 Thread Davor Hrg
you could extend TapestryFilter, and copy properties from web.xml into system properties, and use system properties in your module On Wed, Feb 27, 2008 at 9:41 AM, Moritz Gmelin <[EMAIL PROTECTED]> wrote: > Hi, > > I'd like to customize my AppModule.binding() method base

T5 customization with web.xml

2008-02-27 Thread Moritz Gmelin
Hi, I'd like to customize my AppModule.binding() method based on parameters I write in the web.xml file. Therefore I'd need to access the ServletContext or tapestrys SymbolProvider in the bind() method of my AppModule service. This is because I'd like to distribute differe

Re: T5: problem in web.xml

2007-12-04 Thread Chris Lewis
Post a link to the JIRA if you create one. I think it's a good idea to allow the container to handle requests not handled by T5, but should be configurable and probably NOT the default. Perhaps web.xml would be the appropriate place to toggle this behavior. Ritesh.S wrote: Hello

Re: T5: problem in web.xml

2007-12-04 Thread Ritesh.S
our pom > > > javax.servlet > servlet-api > 2.4 > provided > > > > change web.xml > > mypackage.CustomFilter > > > > make this simple class that delegates most req

Re: T5: problem in web.xml

2007-12-04 Thread Davor Hrg
n official solution add this to your pom javax.servlet servlet-api 2.4 provided change web.xml mypackage.CustomFilter make this simple class that delegates most requests to tapestry filters package mypackag

Re: T5: problem in web.xml

2007-12-04 Thread Ritesh.S
y helpful to me. :> Thanks in advance.. :) Davor Hrg wrote: > > could you post stack trace, > and problematic url ? > > Davor Hrg > > -- View this message in context: http://www.nabble.com/T5%3A-%3Curl-pattern%3E-problem-in-web.xml-tf4942242.html#a14149099 Sent from the

Re: T5: problem in web.xml

2007-12-04 Thread Davor Hrg
configured my application's web.xml as below - > > <-spring-app configuration is here-> > > > >tapestry.app-package >com.myproject > > > <- some other filters here -> > >

T5: problem in web.xml

2007-12-04 Thread Ritesh.S
Hello everybody, I am new to tapestry and I am using Tapestry core 5.0.5. I integrated Tapestry 5 with spring and hibernate. I configured my application's web.xml as below - <-spring-app configuration is here-> tapestry.app-package co

T5: Problem with in web.xml

2007-12-03 Thread Ritesh.S
Hello everybody, I am new to tapestry and I am using Tapestry core 5.0.5. I integrated Tapestry 5 with spring and hibernate. I configured my application's web.xml as below - <-spring-app configuration is here-> tapestry.

[T5] Configuring error pages in web.xml

2007-11-19 Thread Thiago H de Paula Figueiredo
Hi, everybody! I'm trying to create a 404 page using Tapestry 5. So, in my web.xml, I have 404 /error/404 If I access the error page directly, everything runs fine. But, if I enter a wrong URL, the page hangs. I've put breakpoints in Error's onActivate(O

Re: a servlet with a tapestry servlet in one web.xml

2007-07-03 Thread Lutz Hühnken
Which servlet/filter handles which request is configured in web.xml. Apparently, yours is set up in a way that a request which should go to the WingS-Servlet is handled by the Tapestry filter, although it shouldn't be. Check the filter-mapping for the TapestryFilter, does it include /applic

a servlet with a tapestry servlet in one web.xml

2007-07-03 Thread Tina Umlandt
Hello, I have the following problem. I have a servlet which should be in the same context as the tapestry application but it is built with a different framework named wings. Wings is using another framework named dwr. dwr is sending request like "GET /application/dwr/engine.js". Now I get the

Re: T5: web.xml - multiple applications?

2007-06-07 Thread Howard Lewis Ship
That would take some doing, it's something I thought of and dismissed. T4 supports it, and that's one of the reasons it's so complex to discuss which files are stored where. To me, this would be a low-priority enhancement. On 6/7/07, Bruce Petro <[EMAIL PROTECTED]> wrote: I was thinking for dev

T5: web.xml - multiple applications?

2007-06-07 Thread Bruce Petro
I was thinking for development purposes it might be desirable to have multiple contexts. But I don't see how to tie a context-param (which determines which classes handle the requests) to a filter definition (which specifies a url pattern to handle) I'm making a wild guess that in the sample "app

Problems with listener-configuration in web.xml for Spring-Integration

2006-06-16 Thread Claus Bogner
Hi, I configured the web.xml of my tapestry application for integration with struts like that: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/TR/xmlschema-1/"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd&q