Hi, isn't there a better way to detect if applicaiton is being run inside a portlat than checking for classes from portlet-api on classpath? If someone puts portlet-api by accident to classpath, wicket thinks it's running in portlet environment, which have certain consequences, e.g. the rendering strategy is REDIRECT_TO_RENDER, which is not really preferred for non-portlet applications.
-Matej
