-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Home work 3 #2
base: master
Are you sure you want to change the base?
Home work 3 #2
Conversation
Settings menu links
Add product to catalog page Update CSS file for catalog
@@ -18,7 +18,7 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response) t | |||
} | |||
|
|||
protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { | |||
request.setAttribute("title", "main"); | |||
request.setAttribute("title", "Main"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Лучше использовать константы
Add product to catalog page Update CSS file for catalog
Create ProductDAO class Create ProductContract class
@@ -0,0 +1,4 @@ | |||
package ru.mikhalev.enterprise.controller; | |||
|
|||
public class CategoryController { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Отсутсвует реализация в контроллере
@@ -0,0 +1,4 @@ | |||
package ru.mikhalev.enterprise.controller; | |||
|
|||
public class OrderConfirmationController { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Отсутсвует реализация в контроллере
|
||
@ManagedBean | ||
@ViewScoped | ||
public class OrderListController { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Отсутсвует реализация в контроллере
@@ -0,0 +1,4 @@ | |||
package ru.mikhalev.enterprise.controller; | |||
|
|||
public class ProductEditController { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Отсутсвует реализация в контроллере
import java.util.LinkedHashMap; | ||
import java.util.Map; | ||
|
||
public class ProductDAO { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Должна быть аннотация @stateless
|
||
import java.util.UUID; | ||
|
||
public class ProductEntity implements ProductContract { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Постфикс Entity для сущности ставить не нужно
Create pull request for 3 HW