tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <...@tapestry.apache.org>
Subject [jira] Commented: (TAPESTRY-1888) Support multiple instances of org.apache.tapestry.TapestryFilter per web-app.
Date Thu, 03 Jan 2008 20:04:34 GMT

    [ https://issues.apache.org/jira/browse/TAPESTRY-1888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555657#action_12555657
] 

Howard M. Lewis Ship commented on TAPESTRY-1888:
------------------------------------------------

The construction of T5 is such that two applications sharing (as above) will each have their
own Registry, which will make sharing of caches and such very difficult.  I'm really, really,
really hesitant to head down this path.

> Support multiple instances of org.apache.tapestry.TapestryFilter per web-app.
> -----------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1888
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1888
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.0.6
>         Environment: All.
>            Reporter: Ezra Epstein
>
> Currently one configures org.apache.tapestry.TapestryFilter via a context-param.  It
would be really handy to be able to configure via an init-param.  If the TapestryFilter is
coded so that there may be multiple instances for a given app then it would be easier to roll
up sub-sites into a single site.  Thus allowing multiple, different packages to be specified
as the tapestry.app-pacakge.  E.g.,
> 	<filter>
> 		<filter-name>tapestry1</filter-name>
> 		<filter-class>org.apache.tapestry.TapestryFilter</filter-class>
> 		<init-param>
> 			<param-name>app-package</param-name>
> 			<param-value>com.foo.bar.web</param-value>
> 		</init-param>
> 	</filter>
> 	<filter>
> 		<filter-name>tapestry2</filter-name>
> 		<filter-class>org.apache.tapestry.TapestryFilter</filter-class>
> 		<init-param>
> 			<param-name>app-package</param-name>
> 			<param-value>com.foo.bar.subsite</param-value>
> 		</init-param>
> 	</filter>
> It also would keep the web.xml file a bit tidier. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message