Juergen,
Looking at the javadoc online
(http://wicket.sourceforge.net/apidocs/wicket/markup/MarkupCache.html),
MarkupCache doesn't have the removeMarkup method.
could this be 2.0 stuff?

Thanks
Tim

On 03/09/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> I don't think so, the markup is not versioned
>
> 1.2.2 MarkupCache: what might work, but I haven't tested it. I assume
> you either subclassed MarkupContainer.newMarkupResourceStream() or you
> created your own IResourceStream implemented and registered a resource
> stream locator with the application. Either way
> MarkupCache.removeMarkup allows you to remove markup from the cache
> and hence forces "reloading". Nothing prevents you from loading the
> markupresourcestream already in MyMarkupContainer.onBeforeRender(),
> keep a reference and return it in newMarkupResourceStream and remove
> it from the cache again in MyContainer.onAfterRender().
>
> Juergen
>
>
> On 9/3/06, Tim Fletcher <[EMAIL PROTECTED]> wrote:
> > hi again,
> >
> > a little more information:
> > I am trying to create something a little like Archetypes for Zope.
> > This will allow a site admin to create new types of components based
> > on others previously created (although the very base types, Axioms,
> > are Wicket Components).
> > I'm struggling a little with the markup cache, however i was wondering
> > if i could use the page revision interface for this.
> > my dynamic components can have multiple states, edit and view. if i
> > recorded the changes made to the component in each state, could i then
> > access them using the revision mechanism? where each revision
> > corresponded to a state?
> >
> > Thanks in advance
> > Tim
> >
> > On 03/09/06, Tim Fletcher <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > in Wicket 1.2.2, is there any way of manually refreshing the markup
> > > cache. I know this has been discused previously, and methods for doing
> > > this in 2.0 (and perhaps 1.3) have been discused.
> > > The markup for my compenents is being generated by a database, and I
> > > would like to be able to tell wicket when a components markup has
> > > changed.
> > >
> > > Thanks in advance
> > >
> >
> > -------------------------------------------------------------------------
> > 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-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
> -------------------------------------------------------------------------
> 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-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-------------------------------------------------------------------------
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-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to