Using a dictionary to create dynamic elasticsearch-queries in .Net 3.5

Posted by Eric Bartels

In a current project a search based solution is required to allow a research against an existing set of records. Of course the search-backend is the elasticsearch. This projects requires the use of .Net 3.5 which makes it impossible to use NEST as elasticsearch client. To at least add a little bit of comfort when [...]

Bug with Internet Explorer and grid RowEditing-plugin when using scoped-theme

Posted by Eric Bartels

I came across this rare bug in the current development of a project. It makes heavy use of the RowEditing plugin of Extjs‘ grid. Because the Extjs environment is used within SharePoint 2010 I have to use the scoped theme to avoid “damage” to the SharePoint UI. After inserting a record into the grid via [...]

Move the top.links block to another block using only local.xml in Magento

Posted by Eric Bartels

I was trying to move the top.links block (aliased with topLinks) from the header-block to the right-block only using local.xml. Should be easy right?! I did not found any solution using this way in the wiki or somewhere else. Simply using unsetChild and simply put the top.links block somewhere else is not working! All default [...]

How-to replace textarea-tags with simple div-tags including its content for a printing view

Posted by Eric Bartels

Today I was improving a printing-view of an application-page inside a project I’m working on. The “printing-mechanism” simply loads the page with a different symfony layout and includes custom css- and javascript-files which hide certain elements from the printing view. Unfortunately the page also contains textarea-elements which get scrollbars when the content is larger. This is [...]

Solving NULL values are recognized as text-values within dynamic queries in PostgresSQL

Posted by Eric Bartels

I’ve written a dynamic query which is finally executed via EXECUTE my_dynamic_query; The query contained a select list in which two columns should always be NULL. — … stuff before dynamic_select_cols := ‘tbl1.foo, tbl1.bar, null AS theAlias1, null AS theAlias2, tbl2.foo2′; — … stuff after combining the dynamic queries EXECUTE my_dynamic_query; In my case the [...]