on 2014 Jun 24 11:50 AM
Hi,
I'm currently working on a hmc search and I'm prefilling the default values like this:
<referencecollectioneditor create="false" add="true" remove="true" editable="false">
<restriction attribute="product" sourceattribute="productLP" operator="equal" />
<restriction attribute="validFrom" operator="equal" />
<itemlayout> . . . </itemlayout>
</referencecollectioneditor>
The restriction for the attribute product is working but now I want to set the current date for the attribute validFrom.
How can I prefill the attribute validFrom with the current date so that we don't have to set the date before every search?
Thanks in advance. Yours Oliver.
I guess you can override this method in de.hybris.platform.hmc.generic.nodes.ConditionNode:
protected GenericConditionChip createGenericConditionChip(DisplayState displayState, ComposedType type, AbstractGenericConditionalSearchChip parent) {
...
}
Looks like it only supports atomic types and Enumurations now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
31 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.