Migration of ExtJS 5 to 6 issue - migration

After changing the package from extjs 5 to extjs 6, the data grida are displaying character Á in all null cells.

Related

Selenium table count

I am testing a Java 7 web application developed with Vaadin 7 and I used to calculate the total number of rows in a table with the following code:
WebElement table= driver.findElement(By.xpath("//* [#id='grdEvRequestSearchView']/div[3]/table"));
List <WebElement> gridrow = table.findElements(By.tagName("tr"));
int rowNumber= gridrow.size();
Now the new version of the application put in a page a Vaadin grid component instead of table, now what I obtain from the count is the number of elements that currently visible: if I have a grid of 50 elements and only 10 are visible I obtain 10 and not 50 as I got in the past when table component.
Is there any way to get the effective count of rows and not the visible ones?
Andres
You cannot get the number of rows in Grid with Selenium. The idea of Grid component is that rows are being reused and new data is being fed to them. That makes the component lighter in DOM compared to old Table component in Vaadin.
With Vaadin 8 and TestBench 5 product you could check the real number of rows ( see API here: demo.vaadin.com/javadoc/com.vaadin/vaadin-testbench-api/8.0.2/… ), but unfortunately getRowCount is not in Vaadin 7 / TestBench 4.

SQL Full Text Index Contains

I am fairly new to SQL FTI and I am trying to perfect a search against a table with millions of different product items.
If I pass a search such as this:
select top 100 * from OMG_ProductFeeds.dbo.tbl_products
where CONTAINS(ProductName,'"apple iphone 6"')
I get these results back:
Acm Rich Leather Soft Carry Case For Apple Iphone 6 Mobile Handpouch Holder Cover - Black
Apple iPhone 6 - 16 GB
Apple iPhone 6 Plus - 64 GB
Apple iPhone 6 - 64 GB
Apple iPhone 6 Plus - 16 GB
Chevron Set Of 3 Ultra Clear Screen Guard + 3 Matte Finish Screen Guard For Apple Iphone 6 - Combo Offer
Softy Back Cover Case For Apple Iphone 6 - Golden
Chevron Ultra Clear Hd Finish Screen Guard Protector For Apple Iphone 6 (pack Of 5)
I want to be able to include actual iphone 6 phones but ignore any of the peripherals such as cases and screen protectors but I am not sure how to do this.
Any advice is appreciated.
Thanks
You may consider re-designing your DB structure with a extra table - tbl_product_categories.
In tbl_products we can add a foreign key column to reference the corresponding category from tbl_product_categories. So that you can filter only certain category with certain keyword.
SELECT TOP 100 *
FROM OMG_PRODUCTFEEDS.DBO.TBL_PRODUCTS
WHERE CONTAINS(PRODUCTNAME,'"APPLE IPHONE 6"')
AND product_category_id = 1;

SUSY nth-omega always starts with first element

I am styling my theme on omega4.
On one page I got gallery with 6 elements in 2 rows.
So it looks like
4 elements
2 elements
Each element has class:
.l-content .node{
#include span-columns(4, 16);
#include nth-omega(4n);
}
The problem is that susy starts giving nth-omega style from first and each next 4 node.
I also tried 3n+1, 2n+2 but still same effect.

Bootstrap 3 won't recognize the .col-#-# class

Bootstrap only recognizes the span1-span12 classes but not the col-#-# classes! Meaning, if have 3 divs with the span4 class, my row will be divided into 3 divs. If I use the col-md-4 class, all 3 divs will appear as stacked no matter what. Anyone have an idea why?
Thanks!
Make sure you're referencing Bootstrap 3 if you want to use col-*-*
span* are for Bootstrap 2
col-*-* are for Bootstrap 3
Here is a useful What's New in Bootstrap 3 guide to see all of the differences between 2 and 3
You are using Bootstrap 2: http://getbootstrap.com/2.3.2/scaffolding.html#gridSystem
If you want to use col-#-# classes, you need to use Bootstrap 3: http://getbootstrap.com/
Bootstrap 3 scaffolding: http://getbootstrap.com/css/#grid

Extjs 4 Live search combo How to reduce the 4 character limit

I am using Live search Combo feature in my project.
Here is the URL.
http://docs.sencha.com/ext-js/4-0/#!/example/form/forum-search.html
for this component there is limit of 4 character
"Live search requires a minimum of 4 characters"
Can We modify this 4 character to 1 character?
Of course we can
Ext.create('Ext.form.ComboBox', {
// Config options
minChars: 1
});
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.form.field.ComboBox-cfg-minChars