public class MyApplication extends Application { ... public IMarkupFilter[] getAdditionalMarkupHandler() { return new IMarkupFilter[] { new new PrependContextPathHandler() }; }The purpose of the filter is to prepend the web apps context path to all href and src attributes found in the markup which contain a relative URL like "myDir/myPage.gif". It is applied to all non wicket component tags (attributes). @author Juergen Donnerstag
|
|
|
|
|
|