Is markup cached? i have a panel with a custom
newMarkupResourceStream() that generated dynamic markup. But i see old
values in error messages even though the markup changed.
Is there any way to do something like this:
class MyPanel extends Panel
{
private String html;
private Set<Component> components;
public RealWickiPanel(String id, String html, Set<Component> components)
{
super(id);
this.html = html;
this.components = components;
for (Component component : components) {
add(component);
}
}
@Override
public IResourceStream newMarkupResourceStream(Class containerClass)
{
return new StringResourceStream("<wicket:panel>" + html +
"</wicket:panel>");
}
}
Or is this too much wickety magic?
S.
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user