Return-Path: Delivered-To: apmail-incubator-click-dev-archive@minotaur.apache.org Received: (qmail 65870 invoked from network); 22 May 2009 09:00:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 May 2009 09:00:57 -0000 Received: (qmail 97558 invoked by uid 500); 22 May 2009 09:01:09 -0000 Delivered-To: apmail-incubator-click-dev-archive@incubator.apache.org Received: (qmail 97544 invoked by uid 500); 22 May 2009 09:01:09 -0000 Mailing-List: contact click-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: click-dev@incubator.apache.org Delivered-To: mailing list click-dev@incubator.apache.org Received: (qmail 97536 invoked by uid 99); 22 May 2009 09:01:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 May 2009 09:01:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 May 2009 09:01:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 89045234C004 for ; Fri, 22 May 2009 02:00:45 -0700 (PDT) Message-ID: <1276385832.1242982845550.JavaMail.jira@brutus> Date: Fri, 22 May 2009 02:00:45 -0700 (PDT) From: "Adrian A. (JIRA)" To: click-dev@incubator.apache.org Subject: [jira] Commented: (CLK-405) Menu improvements - allow setting the cache strategy. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CLK-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711998#action_12711998 ] Adrian A. commented on CLK-405: ------------------------------- > I think we need a MenuFactory to support alternative caching strategies. Whatever solution solves the actual problem (together with CLK-407 to make the component usable) would be OK. Right now, most uses simply make their own Menu by hacking this class: in fact, in all Click based web applications, I've never seen the "official" click Menu used, but always a hack (except of course click-examples :) ) > Menu improvements - allow setting the cache strategy. > ----------------------------------------------------- > > Key: CLK-405 > URL: https://issues.apache.org/jira/browse/CLK-405 > Project: Click > Issue Type: Improvement > Components: extras > Reporter: Demetrios Kyriakis > > Please improve the Menu Control, by allowing the user to set the chache stragety. > Right now the cache strategy seems to be "application" (or JVM instance) only. > This is very limiting, making the existing Menu Control useless for most user applications, thus forcing the users > to make their own menu controls (or the hack the original one). > Please allow setting the cache strategy also to "session", and "request" (or "page" if the page is stateful). > (even if the default remains to "application" - the ensure the compatibility with existing applications). > Thank you, > Demetrios. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.