[jboss-user] [JBoss Portal] - Re: programmatically disabling caching

jlacy do-not-reply at jboss.com
Tue Nov 7 12:27:54 EST 2006


Just to clarify...the 168 spec only says that you should be able to do the following:

public void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException, UnavailableException
  | {
  |      ...
  |      response.setProperty( RenderResponse.EXPIRATION_CACHE, "0" ); 
  |      ... 
  |  }	

So if you are doing this, then you aren't "messing anything up".

The problem is that this doesn't seem to be properly implemented in JBoss Portal (as of v2.4).  The workaround that I posted is a fix to the JBoss Portal source.  You would have to download the source, make the change, and rebuild that jboss-portal.sar.

Hope that helps.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983847#3983847

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983847



More information about the jboss-user mailing list