问题标签 [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.
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?
maven - SCD“x-schema::tns”不匹配任何模式组件
我正在运行wsimport
一个 Maven 任务(使用jaxws-maven-plugin
)
我的配置如下所示:
我收到以下错误:
我的猜测是我的first-xs-bindings.xml
文件已损坏或无效......但我不知道如何调试它或从哪里开始。
forms - Scout eclipse execStore 未标记保存
我想知道如何设置execStore
“脏”标志仍然打开的内部函数。
我看到在 scoutmarkSaved()
之后调用了用于保存的函数execStore()
。但是如果我有一些逻辑execStore()
,那会阻止保存。在这种情况下,我不想被标记为已保存。
有没有办法避免将表单设置为 markSaved() ?有正确的侦察方式来处理这个问题吗?
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.
validation - Eclipse Scout Neon ListBox:execValidateValue(..) 不起作用
我在新的 Neon Scout 中有列表框,我想验证设置的值。
我已经实现了execValidateValue
方法:
但它似乎没有任何效果。在调试时,我看到使用正确的字符串列表调用内部setValue(VALUE rawValue)
方法。updateDisplayText(validatedValue)
这是为什么?有什么我做错了吗?
马尔科