[JBoss-user] [JBoss Portal] - Re: Interceptor stack question

2006-01-04 Thread mholzner
the decoration is done in the renderSet. There is no interceptor stack for 
this. The LayoutStrategyInterceptor handles the layout strategy (as the name 
implies :) ; 

The strategy is something you might be able to use for the other feature you 
are mentioning here: it is called when the portal, page, and portlets that need 
to be rendered are determined. The strategy can change some of the artifacts 
that are about to be rendered. You can ommit portlets, you can switch to 
another layout (JSP) , etc. To make such a decission in the strategy, it allows 
access to the portlet modes and window states. 

To my knowledge, the portlet can not determine at runtime how it is decorated. 
What you could do is inject another css file, or change the class attributes in 
the rendered portlet fragment. This would allow you to change the look and feel 
via css, based on what the portlet renders. 



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3915536#3915536

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3915536


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Interceptor

2005-08-02 Thread [EMAIL PROTECTED]
the page interceptors has been introduced in 2.2 very recently.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887866#3887866

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887866


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Interceptor

2005-08-01 Thread [EMAIL PROTECTED]
we have 2 kinds of interceptors so far in jboss portal, server scoped and 
component scoped.

in 2.0 both of them use the same based interface, in 2.2 they have each a 
specific subclass.

you create your own by inheriting the base class of interface and you specify 
them in an xml file in conf either in standardjboss-portlet.xml or 
jboss-container.xml

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887792#3887792

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887792


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Interceptor

2005-08-01 Thread yxyang
But I found that there are three files for interceptors.

./core/src/resources/portal-core-sar/conf/jboss-container.xml
./core/src/resources/portal-core-sar/conf/standardjboss-page.xml
./core/src/resources/portal-core-sar/conf/standardjboss-portlet.xml

Does it mean both standardjboss-page.xml and standardjboss-portlet.xml are 
component scoped?

regards
yang

[EMAIL PROTECTED] wrote : we have 2 kinds of interceptors so far in jboss 
portal, server scoped and component scoped.
  | 
  | in 2.0 both of them use the same based interface, in 2.2 they have each a 
specific subclass.
  | 
  | you create your own by inheriting the base class of interface and you 
specify them in an xml file in conf either in standardjboss-portlet.xml or 
jboss-container.xml

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3887836#3887836

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3887836


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user