Feature Requests item #1479754, was opened at 2006-05-01 15:44
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1479754&group_id=119783
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: None
Status: Open
Priority: 5
Submitted By: Martijn Dashorst (dashorst)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add 'component store' to session
Initial Comment:
Currently we don't support components that store their
model on the session in an encapsulated way. For a
specific category of components it is preferrable to
store their state in the session, instead of a user
configurable Model.
For instance, a breadcrumbs component really doesn't
need a model, it just needs to record the pages on a
stack. This could be stored in the session. Currently
such a component would require the component user to
add specific fields and data to their session, or have
the session do 'ad-hoc' session storage.
It would be benficial to link this RFE to the
implementation of the Session version manager, to be
able to roll back such component stores.
The memory for a component could be indexed using the
fully qualified classname of the component.
An example component:
class BreadCrumbs extends Panel {
private static class BreadCrumbsStore implements
ISessionComponentStore {
private Stack<String> pages;
}
public BreadCrumbs(String id) {
super(id);
BreadCrumbsStore store =
Session.getStore(BreadCrumbs.class);
store.push(getPage().getClass());
// render links to pages on the stack
}
}
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1479754&group_id=119783
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop