我有oracle adf和jdeveloper。我想获取表中选择行的值并将其合并,并在输入文本中显示它们。我该怎么做?
在这种情况下,您可以使用以下代码,该代码从迭代器获取当前行,然后从该行获取属性:
// Get the data from an ADF tree or table
DCBindingContainer dcBindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
// Get a attribute value of the current row of iterator
DCIteratorBinding iterBind= (DCIteratorBinding)dcBindings.get("testIterator");
String attribute = (String)iterBind.getCurrentRow().getAttribute("field1");
// get other attributes and then concat them
...
蒂莫
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句