<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Nachricht</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#d8d0c8>
<DIV><FONT face=Arial size=2>It worked perfectly!!!!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Vielen Dank!!!</FONT></DIV>
<DIV><FONT face=Arial size=2>Emiliano</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=alex@opencms.org href="mailto:alex@opencms.org">Alexander
Kandzior</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=opencms-dev@opencms.org
href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, January 30, 2004 12:40
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [opencms-dev] Clear Flex
Cache</DIV>
<DIV><BR></DIV>
<DIV><SPAN class=140223815-30012004><FONT face=Arial color=#0000ff size=2>Why
not set the "cache" properties of your templates to include "user". Most
likley the complete setting would be "cache=uri;user;". In this case one
variation is created for every user, and clearing is not required. For more
details see the FlexCache documentation...</FONT></SPAN></DIV>
<DIV><SPAN class=140223815-30012004><FONT face=Arial color=#0000ff size=2><!-- Converted from text/plain format --><BR>
<P><FONT size=2>Best Regards,<BR>Alex.<BR><BR>Alexander Kandzior<BR>Alkacon
Software - The OpenCms Experts<BR><A
href="http://www.alkacon.com/">http://www.alkacon.com</A></FONT>
</P></FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
opencms-dev-admin@opencms.org [mailto:opencms-dev-admin@opencms.org] <B>On
Behalf Of </B>Emiliano Viera<BR><B>Sent:</B> Friday, January 30, 2004 4:35
PM<BR><B>To:</B> opencms-dev@opencms.org<BR><B>Subject:</B> Re:
[opencms-dev] Clear Flex Cache<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>The problem is that I have many pages only for
registered users (hidden in the menu using the file permissions). And I have
a login page. When a registered user logs on and the cache is active, the
menus and pages for registered users are not shown. I have to manually flush
the cache for these pages become visible.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>So I'm looking for a way to clear all the
registered pages and menus so they can be visible at user log
on.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanxs</FONT></DIV>
<DIV><FONT face=Arial size=2>Emiliano</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=alex@opencms.org href="mailto:alex@opencms.org">Alexander
Kandzior</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=opencms-dev@opencms.org
href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, January 22, 2004 1:00
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [opencms-dev] Clear Flex
Cache</DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial
size=2></FONT><BR></DIV>
<DIV><SPAN class=924295715-22012004><FONT face=Arial color=#0000ff
size=2>Only a member of the "Administrator" group is allowed to generate
the Flex Cache clear event. If the event is generated by other users it's
simply ignored. </FONT></SPAN></DIV>
<DIV><SPAN class=924295715-22012004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=924295715-22012004><FONT face=Arial color=#0000ff
size=2>Are you sure you need to clear the cache? I would think that
changing the cache key property value is the way to solve your
problem.</FONT></SPAN></DIV>
<DIV><SPAN class=924295715-22012004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=924295715-22012004><FONT face=Arial color=#0000ff size=2><!-- Converted from text/plain format --><BR>
<P><FONT size=2>Best Regards,<BR>Alex.<BR><BR>Alexander
Kandzior<BR>Alkacon Software - The OpenCms Experts<BR><A
href="http://www.alkacon.com/">http://www.alkacon.com</A></FONT>
</P></FONT></SPAN></DIV>
<DIV><SPAN class=924295715-22012004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=924295715-22012004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
opencms-dev-admin@opencms.org [mailto:opencms-dev-admin@opencms.org]
<B>On Behalf Of </B>Emiliano Viera<BR><B>Sent:</B> Thursday, January 22,
2004 3:28 PM<BR><B>To:</B> opencms-dev@opencms.org<BR><B>Subject:</B>
Re: [opencms-dev] Clear Flex Cache<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>I've tried 2 way to clear it. It doesn't
give me any error, but doesn't work. I'm checking it all the time with
the administrator page in the backoffice, and no matter how many
times i use my clear page, the cache count never turns to zero
(unless i use the buttons in the adm page)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here are my two tries: </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>CmsJspActionElement cms = new
CmsJspActionElement(pageContext, request, response);<BR>CmsObject
cmsObject = cms.getCmsObject();</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>//Try #1<BR>A_OpenCms.fireCmsEvent(new
CmsEvent(cmsObject, I_CmsEventListener.EVENT_FLEX_CACHE_CLEAR,
Collections.singletonMap("action", new
Integer(CmsFlexCache.C_CLEAR_ALL))));</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>//Try #2<BR>CmsFlexController controller =
(CmsFlexController)request.getAttribute(CmsFlexController.ATTRIBUTE_NAME);<BR>CmsFlexCache
cache = controller.getCmsCache();<BR>cache.cmsEvent(new
CmsEvent(cmsObject, I_CmsEventListener.EVENT_FLEX_CACHE_CLEAR,
Collections.singletonMap("action", new
Integer(CmsFlexCache.C_CLEAR_ALL))));</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Do I need to put something else
??</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks!</FONT></DIV>
<DIV><FONT face=Arial size=2>Emiliano</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=eviera@sdd.com.ar href="mailto:eviera@sdd.com.ar">Emiliano
Viera</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=opencms-dev@opencms.org
href="mailto:opencms-dev@opencms.org">opencms-dev</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, January 22, 2004
10:17 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [opencms-dev] Clear Flex
Cache</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>I need to clear the flex cache in a .jsp
page. Does anybody have an snippet to do it ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I dont want to deactivate the cache,
because it improves the performace. But, in some places of my site, i
need to clear it.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial
size=2>Emiliano</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>