问题标签 [blacklight]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
551 浏览

silverlight - Blacklight Expander problem while expanding programmatically

I am doing a silverlight project in Silverlight 4 and I included the BlackLight project in my project so that I could use their new controls, especialy the dockpanel and the autoexpander, which is causing me at the moment some little problems.

What I would like to do is to have several auto-expander that will expand or collapsed when I click on button. In my case more specifically, each auto-expander have a set of parameter to fill, which in turn will fill the other expander and the current one would collaps and the just filled one would expand.

The idea is simple, yet when I use a button which is on one of my expander, it only works once... It would expand/collapse the first time, then after that, nothing. I trace the code and it seems to go through just fine, but the property value won't change

Here is my code

Could it be a known bug, or must I reset some flags to make it work?

Edit : Forgot to mention, if it makes any difference, but the IsExpanded property seems to be a dependancy property. Thanks.

0 投票
1 回答
1464 浏览

lucene - 在 Solr 上创建演示 UI

我正在研究 Solr 之上的一些示例 UI,这些 UI 展示了演示中可用的功能,例如向下钻取分面搜索。我发现Blacklight,它看起来非常有趣。是否还有其他值得研究的软件,或者 Blacklight 是明确的方法?谢谢。

0 投票
2 回答
3412 浏览

c# - WPF 上的 MSCharts

我尝试将 MSCharts 集成到使用 Blacklight 作为 UI 库的 WPF 应用程序中(大部分情况下)。性能要慢得多,并且不兼容很明显。大家知道更好的方法吗?WPF 中的 MSCharts 功能!

0 投票
1 回答
446 浏览

wpf - 如何使用 ItemsControl 动态添加 DragDockPanel?

出现这个样子。。

由 ItemsControl 新生成的 DragDockPanel,添加到另一个 DragDockPanel 中。不是 DragDockPanelHost。因为 DragDockPanels 不能移动。我需要的是,生成的 DragDockPanes 必须直接添加到 DragDockPanelHost,而不是在另一个 DragDockPanel 中。

0 投票
2 回答
647 浏览

jquery - jQuery Drag Dock Panel 类似silverlight blacklight 控制工具包拖动dock panel

我试图找到一些如何创建拖拽面板的例子,比如 JQuery 中的 silverlight blacklight contorls。非常欢迎任何链接或示例。

0 投票
1 回答
614 浏览

wpf - 无法绑定到扩展器上的 IsExpanded

Blacklight 是一组较旧的 WPF 控件和样式。代码可以在这里找到。它包含一个名为 AnimatedExpander 的控件,它并不是一个真正的扩展器,它只是实现了 HeaderedContentControl 并添加了一个 IsExpandedProperty dprop:

我需要绑定到 IsExpanded 以便我可以坚持扩展器是否扩展。我很确定我的绑定设置正确,并且这个自定义依赖属性存在问题。如果我在 Snoop 中打开视图,并在扩展器上设置 IsExpanded=True,则绑定有效。但是,只需单击控件上的 expandToggleButton 只会扩展控件,它不会影响我的绑定。

当用户单击连接以展开控件的切换按钮时,如何绑定到更改的值?

0 投票
2 回答
411 浏览

ruby-on-rails - 在 Blacklight 中使用 Extended DisMax 查询解析器

Blacklight运行 Solr 查询时,使用的查询解析器是DisMax查询解析器。但是,在我的solrconfig.xml文件中配置的查询解析器是EDisMax解析器。出于某种原因,Blacklight 将deftype=dismax请求发送到 Solr,因此会覆盖deftype=edismaxSolr 配置中定义的所需值。

如何阻止 Blacklight 覆盖deftype参数?

0 投票
1 回答
470 浏览

ruby-on-rails - 处理来自 Blacklight 的 Solr 错误消息

每当 Solr 由于某种原因未能执行查询时,它都会返回错误消息和错误代码。我想在Blacklight中处理此类错误。现在,当收到来自 Solr 的错误时,用户会收到 500 内部错误。作为开发人员,我可以看到发生的事情是RSolr::Error::Http in CatalogController#index以下代码行作为问题的根源:

是否可以自定义错误处理,以便我至少可以向用户显示指示性错误消息,而不是无用的 500 内部错误?

0 投票
1 回答
502 浏览

ruby-on-rails - blacklight solr 配置方面字段

我们有一个网站,我们正在构建运行 ruby​​ 2.0、rails 4.0.1、blacklight 5.1.0、Apache solr 4.2 和 sunspot solr gem for ruby​​。

我们目前拥有产品的完整 solr 索引。如果我们搜索 * 我们可以看到所有的产品。如果我们尝试搜索一个类别,这是行不通的。我们被困在这一点上,不知道如何让这些方面发挥作用。

任何人都可以在这里带领我们朝着正确的方向前进,因为我们所做的任何研究都没有结果。

Solrconfig.xml - http://pastebin.com/RkCS1GUT scheme.xml - http://pastebin.com/Cffu2Q3r

上面的这些文件是从原始黑光示例修改而来的。material 字段是目前我们用来尝试和搜索的字段。

谢谢

0 投票
0 回答
687 浏览

ruby-on-rails - 使用 bootstrap 3 css 更改黑光方面的箭头图标方向

我正在尝试添加随着黑光搜索方面折叠并重新打开时改变方向的箭头图标,如下所示:http: //www.bootply.com/88286该图标出现但折叠时不会改变。以下是每个方面组或“面板面板默认”div 的部分内容

我添加到引导 css 的 css: