Migrate Question
Q1:
PackageResourceReference resRef = new
PackageResourceReference(parent.getClass(), src);
return (urlFor(resRef).toString());
PageParameters is required for urlFor method, if why PageParameters is
required.
Q2:
Image imgThumbnail = new Image("thumbnailImage");
imgThumbnail.add(new SimpleAttributeModifier("src",
shopImageService.getThumbnailAbsoluteUrl(itemPhoto)));
Image model object is required, how to code in wicket 1.5 if model is emtpy.
Q3:
where LoopItem.getIteration() method
Q4:
how to redirect as follow code :
getRequestCycle().setRequestTarget(new
RedirectRequestTarget("/connect/qq/login"));
Q5:
// EXCEL REPORT EXPORT
final Link lnkExport = new Link("export") {
public void onClick() {
// temporarily switch off paging of results
final JxlExportOrder jxlExportOrder = new
JxlExportOrder(coOrder);
getRequestCycle().setRequestTarget(new IRequestTarget() {
public void detach(RequestCycle requestCycle) {
...
}
public void respond(RequestCycle requestCycle) {
....
}
});
}
};
IRequestTarget removed, which object replace?
-----
http://www.517wm.com
外卖订餐分享工具
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/how-to-get-HttpServletRequest-in-wicket-1-5-tp3798272p3798640.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]