hybris

Change date format in DTO JSON on returning through @ResponseBody

浪尽此生 提交于 2019-12-02 02:22:49
I simply want to change the date format in my DTO returned by @ResponseBody My question is not this question as my output is a JSON List and I am printing it on Postman instead of using a view with JS and other UI features. It's not this one as well because I am returning a JSON List, not just the Date object. It is an extension of this one , but I don't think Orika mapper is the culprit. I am getting the timestamp value of date on returning the List using @ResponseBody . My custom code- @RequestMapping(value = "/my/report", method = RequestMethod.POST) @ResponseBody public List<OrderWsDTO>

Adding additonal Security to Website

让人想犯罪 __ 提交于 2019-11-30 07:30:24
I am running a Java Spring MVC based Web-Application. It is also based on the Hybris Platform. Now, the basic functionality in terms of Authentication and Authorization is already implemented. Meaning we do have filters for sessions, a working user-system, etc. However, we currently have no security measurements against things such as XSS and other kinds of possible attacks that are out there. XSS is probably the biggest concern as it is the most common possible way of attacking. Now, i wonder ... what steps would be smart to take? I have taken a look around and i have seen that stuff like XSS

Difference between relations and collections in hybris?

僤鯓⒐⒋嵵緔 提交于 2019-11-30 05:39:53
问题 I am new to hybris, What is diff b/w relations and collections, why we go for relations instead of collections. 回答1: Basically, there are two technically different ways of modeling collections in hybris: CollectionTypes Think of CollectionTypes in hybris as a backpack mounted onto a type By runtime, CollectionTypes are resolved into a Collection of a kind of item, such as a List of MediaModels Can cause overflow, resulting in truncation and therefore loss of data More difficult to search and

Hybris addons install / uninstall / concept [closed]

戏子无情 提交于 2019-11-30 05:26:37
I have some common questions to the addon concept from Hybris: How is the best way to work with a default Hybris addon? There are some really nice addon features we want to use in our projects, but of course not exactly the way they are. So what is the best practice to modify them? Is it the way to copy the addon into the own project and then handle it as an own addon? (So put it under the 'custom' folder and modify it as needed) What exactly happens by installing an addon on an extension? By the install command you have to setup your addons and on which extension you want to have it (in

XBL Orbeon custom control to show different success message on form save

只谈情不闲聊 提交于 2019-11-29 17:33:05
I am using yForm (Orbeon Form Builder) to generate form run time, where we have a requirement to set different custom success message for each form (eg: "Your contact form save successfully", "Your address form…"). I would like to configure this success message from Form Builder, so that whenever an end user saves that form, it can see the corresponding custom message. I'll assume that by "success message", you are referring to the message shown next to the buttons that are at the bottom of the form. This message is shown when the success-message() action runs. Actions are executed by a

Adding additonal Security to Website

北慕城南 提交于 2019-11-29 10:34:42
问题 I am running a Java Spring MVC based Web-Application. It is also based on the Hybris Platform. Now, the basic functionality in terms of Authentication and Authorization is already implemented. Meaning we do have filters for sessions, a working user-system, etc. However, we currently have no security measurements against things such as XSS and other kinds of possible attacks that are out there. XSS is probably the biggest concern as it is the most common possible way of attacking. Now, i

Hybris addons install / uninstall / concept [closed]

一世执手 提交于 2019-11-29 03:52:39
问题 I have some common questions to the addon concept from Hybris: How is the best way to work with a default Hybris addon? There are some really nice addon features we want to use in our projects, but of course not exactly the way they are. So what is the best practice to modify them? Is it the way to copy the addon into the own project and then handle it as an own addon? (So put it under the 'custom' folder and modify it as needed) What exactly happens by installing an addon on an extension? By