问题标签 [eclipse-scout]

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 投票
1 回答
70 浏览

eclipse-scout - Eclipse Scout Neon importFormFieldData in template

I have template group box, for reuse purposes.

In this template I have function witch need to fill data inside this template. Because you can't create new instance of FormData in template I have abstract function for getting new instance of form data. Then each form that use this template implement this method.

My function is look like this :

My problem is that I get correct form data from service, but when I import this form data, template does not change UI.

Why is this?

0 投票
2 回答
2218 浏览

maven - SCD“x-schema::tns”不匹配任何模式组件

我正在运行wsimport一个 Maven 任务(使用jaxws-maven-plugin

我的配置如下所示:

我收到以下错误:

我的猜测是我的first-xs-bindings.xml文件已损坏或无效......但我不知道如何调试它或从哪里开始。

0 投票
1 回答
33 浏览

forms - Scout eclipse execStore 未标记保存

我想知道如何设置execStore“脏”标志仍然打开的内部函数。

我看到在 scoutmarkSaved()之后调用了用于保存的函数execStore()。但是如果我有一些逻辑execStore(),那会阻止保存。在这种情况下,我不想被标记为已保存。

有没有办法避免将表单设置为 markSaved() ?有正确的侦察方式来处理这个问题吗?

0 投票
2 回答
108 浏览

listbox - Eclipse Scout Neon : code type not working

I have one List box and I would like to set code type of it.

I create new AbstractCodeType :

and I set this code type in list box :

But doesn't work. It return empty box.

While I was debugging I noticed that in AbstractListBox.class in initConfig method it call this code type and set code type in m_lookupCall inside setCodeTypeClass. Then inside execLoadTableData, it get call but this call return empty array when called call.getDataByAll().

I suspect that converting between code type and Lookup call does not work properly.

EDIT


I try to debug where is the problem and if follow the path :

and if you look inside CodeLookupCall ;

This is in class CodeService.class in line 97 :

Class<T> type is right class and createCacheKey(type) return not null object but then getCache().get(...) return null. From this point on everything is null (what is reasonable regarding that getCodeType return null.)

This is what I found out while debugging, if it helps someone to figure out what is wrong.

0 投票
1 回答
143 浏览

validation - Eclipse Scout Neon ListBox:execValidateValue(..) 不起作用

我在新的 Neon Scout 中有列表框,我想验证设置的值。

我已经实现了execValidateValue方法:

但它似乎没有任何效果。在调试时,我看到使用正确的字符串列表调用内部setValue(VALUE rawValue)方法。updateDisplayText(validatedValue)

这是为什么?有什么我做错了吗?

马尔科

0 投票
2 回答
207 浏览

user-interface - 田野上的 Scout Eclipse 霓虹灯边距

是否可以在字段周围设置边距。

例如在图像中:

当前屏幕截图

如果我想设置一次与上述一致的较低(分隔)复选框,有没有办法做到这一点?

所需的屏幕截图

马尔科

0 投票
1 回答
55 浏览

tooltip - Eclipse Scout:挂钩打开字段工具提示的事件

我想知道我是否可以在字段上打开工具提示或单击i字段右侧的图标时挂上事件。

在此处输入图像描述

我想做的是,如果用户具有特殊权限,如果用户单击此图标,则打开新的弹出表单。

马尔科

0 投票
1 回答
44 浏览

tooltip - 用于组框的 Eclipse Scout Neon Tooltip 文本

我尝试将工具提示文本放在组框上:

但它出现在错误的位置并且不可点击。

在此处输入图像描述

(带圆圈的我应该在名称之后:来自服务器的消息)

这是一个错误,还是应该以不同的方式使用工具提示 ob 组框?

0 投票
1 回答
92 浏览

eclipse-scout - Eclipse Scout Neon:字段上的菜单和工具提示

如果您将菜单放在以下位置,这是一个屏幕截图StringField

Eclipse Scout 屏幕截图,其中包含字段上的菜单

这是一个截图,如果你把一个工具提示放在StringField

带有工具提示的 Eclipse Scout 屏幕截图

如果您将 Menu 和 Tooltip 放在 上,这是一个屏幕截图StringField

带有菜单和工具提示的 Eclipse Scout 屏幕截图

  • 工具提示中的(i)图标是打开菜单列表的按钮。
  • 工具提示文本不可见。

我错过了什么?

这是一个已知的问题?

0 投票
1 回答
92 浏览

text - Eclipse Scout 在字段中设置文本位置

我在 Scout Neon (M5) 应用程序中有一个不同领域的“网格”。我的问题是String数字(BigDecimal例如)字段在字段中具有不同的文本位置。

String字段中,文本位于左侧,在BigDecimal(和其他数字字段)中,文本位于右侧。我理解为什么默认情况下会出现这种情况,但在网格布局中它看起来确实不太好。

在此处输入图像描述

如何更改字段中的文本位置?