emoji langue

This commit is contained in:
ionak
2024-04-23 21:56:12 +02:00
parent fa8b266f4c
commit a57ff3d837
2066 changed files with 23 additions and 13360 deletions

View File

@@ -4,6 +4,8 @@ import fr.eni.enchere.bll.ArticleService;
import fr.eni.enchere.bll.CategorieService;
import fr.eni.enchere.bo.Article;
import fr.eni.enchere.bo.SearchArticleCritere;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
@@ -12,9 +14,11 @@ import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.i18n.SessionLocaleResolver;
import org.springframework.web.servlet.mvc.support.RedirectAttributes;
import java.util.List;
import java.util.Locale;
@Controller
@@ -24,6 +28,7 @@ public class AccueilController {
private ArticleService articleService;
private CategorieService categorieService;
public AccueilController(ArticleService articleService, CategorieService categorieService) {
super();
this.categorieService = categorieService;
@@ -48,4 +53,5 @@ public class AccueilController {
return viewAccueil(searchTitle, searchCategory, model);
}
}