import org.apache.wicket.protocol.http.WebSession;\r
import org.apache.wicket.protocol.http.request.WebClientInfo;\r
import org.apache.wicket.request.Response;\r
-import org.apache.wicket.request.cycle.RequestCycle;\r
+import org.apache.wicket.request.resource.PackageResourceReference;\r
import org.apache.wicket.util.value.IValueMap;\r
\r
/**\r
parent = parent.getParent();\r
}\r
if (parent != null) {\r
- ResourceReference resRef = new ResourceReference(parent.getClass(), src, false);\r
- return (urlFor(resRef).toString());\r
+ PackageResourceReference resRef = new PackageResourceReference(parent.getClass(), src);\r
+ return (urlFor(resRef, getPage().getPageParameters()).toString());\r
}\r
\r
return (src);\r