[JBoss-dev] [Design of JBoss Portal] - Re: Switching between different MIME types globaly

2005-01-28 Thread ArturasB
Hi Julien. anonymous wrote : That means that you either have to hardcode your content type in this interceptor and recompile or code it. I think I need your help ;). 2 topics/questions: 1. How can I access the portal's configuration in the interceptor ? Is the configuration available as a

[JBoss-dev] [Design of JBoss Portal] - Re: Switching between different MIME types globaly

2005-01-28 Thread [EMAIL PROTECTED]
the interceptor stack is defined in : portal-core.sar/portal-core.war/WEB-INF/jboss-container.xml. the thing which does the page assembly is the last interceptor in that stack, i.e MainDispatchInterceptor. View the original post :

[JBoss-dev] [Design of JBoss Portal] - Re: Switching between different MIME types globaly

2005-01-28 Thread ArturasB
[EMAIL PROTECTED] wrote : The file is there: ./server/src/main/org/jboss/portal/server/invocation/portal/MainDispatcherInterceptor.java | | If you got jboss-portal-2.0 module in the CVS you get all the sources files. (so you get that one too) Thanks Thomas. BTW, I have all sources from

[JBoss-dev] [Design of JBoss Portal] - Re: Switching between different MIME types globaly

2005-01-28 Thread ArturasB
[EMAIL PROTECTED] wrote : the interceptor stack is defined in : portal-core.sar/portal-core.war/WEB-INF/jboss-container.xml. | | the thing which does the page assembly is the last interceptor in that stack, i.e MainDispatchInterceptor. Can you tell me to which directory(-ies) in CVS I

[JBoss-dev] [Design of JBoss Portal] - Re: Switching between different MIME types globaly

2005-01-28 Thread [EMAIL PROTECTED]
cvs co jboss-portal-2.0 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3864086#3864086 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3864086 --- This SF.Net email is

[JBoss-dev] [Design of JBoss Portal] - Re: Switching between different MIME types globaly

2005-01-28 Thread [EMAIL PROTECTED]
The file is there: ./server/src/main/org/jboss/portal/server/invocation/portal/MainDispatcherInterceptor.java If you got jboss-portal-2.0 module in the CVS you get all the sources files. (so you get that one too) View the original post :

[JBoss-dev] [Design of JBoss Portal] - Re: Switching between different MIME types globaly

2005-01-21 Thread [EMAIL PROTECTED]
definitely what jboss portal can do. how it should be done is browser detection : a user makes a request, the interceptor uses the browser name to choose the content type for the request. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863098#3863098 Reply

[JBoss-dev] [Design of JBoss Portal] - Re: Switching between different MIME types globaly

2005-01-21 Thread ArturasB
anonymous wrote : definitely what jboss portal can do. | | how it should be done is browser detection : | | a user makes a request, the interceptor uses the browser name to choose the content type for the request. | Perfect then ;) !!! Where can I see the user agent-content type

[JBoss-dev] [Design of JBoss Portal] - Re: Switching between different MIME types globaly

2005-01-21 Thread [EMAIL PROTECTED]
well you have to do it View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863100#3863100 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863100 --- This SF.Net email is

[JBoss-dev] [Design of JBoss Portal] - Re: Switching between different MIME types globaly

2005-01-21 Thread ArturasB
[EMAIL PROTECTED] wrote : well you have to do it :D What then this mean ? anonymous wrote : definitely what jboss portal can do View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863101#3863101 Reply to the post :

[JBoss-dev] [Design of JBoss Portal] - Re: Switching between different MIME types globaly

2005-01-21 Thread [EMAIL PROTECTED]
I said how it should be implemented, however it's not our priority now to do it. That means that you either have to hardcode your content type in this interceptor and recompile or code it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863102#3863102 Reply to

[JBoss-dev] [Design of JBoss Portal] - Re: Switching between different MIME types globaly

2005-01-21 Thread ArturasB
[EMAIL PROTECTED] wrote : code it. Well, I think I'll go for this ;). My experience (6 years of C++, GIS business and ~3.5 years of JAVA, J2EE, telco bussines) says it's always better to code configurable software ;) instead of having hardcoded crap... View the original post :