|
|
@ -17,6 +17,7 @@ import java.util.HashMap;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import org.springframework.security.access.AccessDeniedException;
|
|
|
|
import org.zkoss.bind.annotation.Command;
|
|
|
|
import org.zkoss.bind.annotation.Command;
|
|
|
|
import org.zkoss.bind.annotation.Init;
|
|
|
|
import org.zkoss.bind.annotation.Init;
|
|
|
|
import org.zkoss.zk.ui.Executions;
|
|
|
|
import org.zkoss.zk.ui.Executions;
|
|
|
@ -110,4 +111,16 @@ public class ApprovedList extends ListViewModel<JoinedItem>
|
|
|
|
Window orderForm = (Window) Executions.createComponents("/main/orders/created/orderForm.zul", null, params);
|
|
|
|
Window orderForm = (Window) Executions.createComponents("/main/orders/created/orderForm.zul", null, params);
|
|
|
|
orderForm.doModal();
|
|
|
|
orderForm.doModal();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
protected List<JoinedItem> getListFromService()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
try
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return super.getListFromService();
|
|
|
|
|
|
|
|
} catch (AccessDeniedException e)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return new ArrayList<JoinedItem>();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|