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
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.
-
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
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
"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
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
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
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
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.
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.
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
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
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
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
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
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
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
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
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
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
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
our pom
>
>
> javax.servlet
> servlet-api
> 2.4
> provided
>
>
>
> change web.xml
>
> mypackage.CustomFilter
>
>
>
> make this simple class that delegates most req
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
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
configured my application's web.xml as below -
>
> <-spring-app configuration is here->
>
>
>
>tapestry.app-package
>com.myproject
>
>
> <- some other filters here ->
>
>
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
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.
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
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
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
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
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
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
33 matches
Mail list logo