click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Schellink (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CLK-405) Menu improvements - allow setting the cache strategy.
Date Wed, 15 Apr 2009 20:25:15 GMT

    [ https://issues.apache.org/jira/browse/CLK-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699358#action_12699358
] 

Bob Schellink commented on CLK-405:
-----------------------------------

Haven't looked at the code yet but removing the static menu variable should make scopes easier.
Perhaps different factory methods could be used:

  // Application wide scope
  public static Menu getRootMenu(ServletContext context)  

  // Session scoped
  public static Menu getRootMenu(HttpSession session)

> 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.


Mime
View raw message