Where can I get the data-template-ids for the TrustPilot widgets available?
https://assets.ctfassets.net/b7g9mrbfayuu/4HuCkQtie4gGkwgWGIiou0/53edaddeee043cc10cccfcd21dea24ff/TrustBox_Cutsheet_20_08_2018.pdf
I am particularly looking for the data-template-id for the slider widget.
Found the data-template-id for slider finally - 54ad5defc6454f065c28af8b
For anyone getting the console error: "Uncaught No templateId supplied for TrustBox", check that the container/div you added for the widget doesnt have a class of "trustpilot-widget". Once I changed that the widget was showing again.
Related
I added kendo chart on a page according to the documentation.
But started to get next error 5 times per each kendo ui chart
Error: <g> attribute transform: Expected number, "matrix(NaN,NaN,NaN,NaN,…".
Charts are drawn but those errors break pdf export. When I use same datasource as in my app on kendo ui dojo.telerik editor there is no error.
I know there might be dozens of possible reasons but I'm a bit locked with that for next few days. So I decided to try luck on stackoverflow in case anyone had anything similar.
Any ideas?
I had the same error, and for me it was related to the <kendo-chart-series-item-labels> component.
I had as property rotation="auto" but the rotation property should be only a number. Removing the property solved it.
<kendo-chart [chartArea]="{ height: 300 }">
<kendo-chart-series>
<kendo-chart-series-item
type="column"
colorField="color"
[gap]="1"
[spacing]="0.25"
[color]="barColor"
[data]="chartData"
[stack]="true"
field="TotalSum"
categoryField="TransactionType"
[tooltip]="{ visible: false }"
>
<kendo-chart-series-item-labels
font="bold 16px unity-medi"
color="#3c3c3c"
rotation="auto"
[margin]="30"
></kendo-chart-series-item-labels>
</kendo-chart-series-item>
</kendo-chart-series>
</kendo-chart>
solution: remove rotation property inside the kendo-chart-series-itme-labels component
Kendo API documentation for this component here: https://www.telerik.com/kendo-angular-ui/components/charts/api/SeriesLabelsComponent/
Of course, in your case, it may come from a different component.
Maybe double check if you have a property inside a kendo-chart or one of its child component that requires only numbers while you may be passing a string or something else to it?
I have an autocomplete textview and I am setting an Adapter view on it to show the list of suggestions. While testing on espresso, I want to select an item position from list of suggestions but, it does not identify the auto complete text view adapter on espresso.
I tried this answer from Stack overflow:
DropDown value selection using espresso android with dynamic element id's
But, this did not work for me. Any help on this would be great.
Thanks.
or you can try instead onData. Because onData not working for me
onView(withText("Your field name"))
.inRoot(withDecorView(not(is(getActivity().getWindow().getDecorView()))))
.perform(click());
I run into the same problem and this is how i did it:
onView(withId(R.id.sp_country/*auto complete textview*/)).perform(click());
onData(allOf(is(instanceOf(String.class)), is(COUNTRY/*selected value autocomplete collection*/)))
.inRoot(RootMatchers.withDecorView(not(is(activityActivityTestRule
.getActivity().getWindow().getDecorView()))))
.perform(click());
When I hover on any swatches on product view page it gives error:
Uncaught ReferenceError: PointerManager is not defined
I used magento 1.9.1 and create configurable product with by-default in-built functionality of color and size swatches. It shows me error when hover but when click on any of swatch its working perfect.
Only issue with hover.
Any one please help.
Thank you.
This happens because you're not using Safari on iOS. What I did to stop this error from popping up is adding:
typeof PointerManager != "undefined" &&
to lines 483 and 540 of swatches-product.js just inside the if statement.
This will check if PointerManager even exists before trying to do something with it.
the page markup has
<div wicket:id="stepPanel" />
tag in it and when the page is first loaded it works great that is
add(new MyFirstPanel("stepPanel"));
works fine. But then when I trigger an Ajax event and request redrawing
addOrReplace(new MySecondPanel("stepPanel"));
target.add(MyPage.this);
i get the following error
Last cause: Failed to find markup file associated. MyFirstPanel: [MyFirstPanel [Component id = stepPanel]]
please note that it tries to find the wrong markup (should look for markup for MySecondPanel) and it fails regardless it succedded to do so before!
I instantiate panels using reflection, but could it be a problem here? No exceptions thrown.
Anwser:
Actually it was something else - I have noticed that one of my AjaxSubmitLinks had reference to a form that was no longer placed in a markup... so whatever you do just remember not to leave that reference.
You are adding MyPage after replacing the Panel causing MyPage to re-render.
There is a good example on how to replace panels here.
Yes you can call panels via reflection. I don't clearly know what you are trying to do with event here but if you want you can attach your panel with AjaxSelfUpdatingTimerBehavior and define the duration which will update this component in the given time period.
Hope its useful.
Im using qt-ruby and i want to add an Widget to the QGraphicsScene, using addWidget().
In return, I get an QGraphicsProxyWidget.
Later, when the user clicks the GraphicsScene, use itemAt() to find the Widget that was clicked. But itemAt() returns an QGraphicsItem.
How can i match the QGraphicsProxyWidget to the QGraphicsItem?
I solved this problem in C++ using qgraphicsitem_cast, but that seems to be unavailable in qt-ruby.
Please help!