Subversion Repositories SmartDukaan

Rev

Rev 26635 | Rev 27600 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 26635 Rev 27185
Line 129... Line 129...
129
		}
129
		}
130
		EntityMediaPojo empojo = getEntityMediaPojo(contentPojo);
130
		EntityMediaPojo empojo = getEntityMediaPojo(contentPojo);
131
		model.addAttribute("response", mvcResponseSender.createResponseString(empojo));
131
		model.addAttribute("response", mvcResponseSender.createResponseString(empojo));
132
		return "response";
132
		return "response";
133
	}
133
	}
-
 
134
	
-
 
135
	@GetMapping(value = "/catalog-item")
-
 
136
	public String catalogItem(HttpServletRequest request, Model model)
-
 
137
			throws Exception {
-
 
138
		return "catalog-item";
-
 
139
	}
134
 
140
 
135
	private EntityMediaPojo getEntityMediaPojo(ContentPojo contentPojo) {
141
	private EntityMediaPojo getEntityMediaPojo(ContentPojo contentPojo) {
136
		EntityMediaPojo ep = new EntityMediaPojo();
142
		EntityMediaPojo ep = new EntityMediaPojo();
137
		int defaultIndex = 0;
143
		int defaultIndex = 0;
138
		if (contentPojo.getImages() == null) {
144
		if (contentPojo.getImages() == null) {