}
public FormSubmission moveSelectedToWishList() {
WishListHandler wlh = new WishListHandler(req);
ProductsInCartService pics = new ProductsInCartService();
FormSubmission fs = new FormSubmission();
int i = 0;
for (ProductsInCart p : cart.getProducts()) {
String prodId = p.getProduct().getId()+"";
if (req.getParameter(prodId) != null) {
l.fine("moving prodId :"+prodId+" to wish list");
wlh.addProduct(prodId);
pics.remove(p);
i++;
}
}
if (i > 0) {