Author |
Message |
|
Hi Björn,
POPUPMENULOADROUNDTRIP=true was the solution, also for proper focus management.
Kind regards,
Joachim
|
|
|
Thank You! I forgot.
But is there a chance that the focus managemt waits too?
On the first click on the row the row is selected, but the only one editable control isn't focused. On the next click elsewhere in the row the focus is in the field.
Regards,
Joachim
|
|
|
Hello,
I have a tree built with ComponentNodes (exactly like DemoWorkplace -> Grids and Trees -> Grid in Grid -> Individual Column Layout).
After the tree becomes larger (more columns) while the development, the context menu doesn't appear at the first click on a row. onRowSelect() is called. But one have to right click a second time.
May be the row doesn't focus quick enough or something goes wrong in focus management?
Regards,
Joachim
Client Log:
Code:
2023:07:06 17:14:57:573 | 23 | INFO | synch end .......... org.eclnt.client.page.Page>callServerRun
2023:07:06 17:14:57:905 | 23 | INFO | Showing popup menu: at 71/11 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:57:905 | 23 | INFO | Showing popup menu: size 161/346 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:57:905 | 23 | INFO | Error occurred when opening popup menu: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:57:905 | 23 | INFO | Showing popup menu: at 71/11 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:57:905 | 23 | INFO | Showing popup menu: size 161/346 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:57:905 | 23 | INFO | Error occurred when opening popup menu: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:57:905 | 23 | INFO | Showing popup menu: at 71/1 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:57:905 | 23 | INFO | Showing popup menu: size 161/346 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:57:905 | 23 | INFO | Error occurred when opening popup menu: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:57:905 | 23 | INFO | Showing popup menu: at 71/-9 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:57:905 | 23 | INFO | Showing popup menu: size 161/346 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:57:905 | 23 | INFO | Error occurred when opening popup menu: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:57:905 | 23 | INFO | Showing popup menu: at 71/-19 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:57:905 | 23 | INFO | Showing popup menu: size 161/346 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:57:905 | 23 | INFO | Error occurred when opening popup menu: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:57:921 | 23 | INFO | Showing popup menu: at 71/-29 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:57:921 | 23 | INFO | Showing popup menu: size 161/346 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:57:921 | 23 | INFO | Error occurred when opening popup menu: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:57:921 | 23 | INFO | Showing popup menu: at 71/-39 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:57:921 | 23 | INFO | Showing popup menu: size 161/346 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
..
many times
...
2023:07:06 17:14:58:130 | 23 | INFO | Showing popup menu: at 71/-929 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:58:130 | 23 | INFO | Showing popup menu: size 161/346 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:58:130 | 23 | INFO | Error occurred when opening popup menu: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:58:130 | 23 | INFO | Showing popup menu: at 71/-939 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:58:130 | 23 | INFO | Showing popup menu: size 161/346 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:58:138 | 23 | INFO | Error occurred when opening popup menu: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:58:140 | 23 | INFO | Showing popup menu: at 71/-949 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:58:140 | 23 | INFO | Showing popup menu: size 161/346 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:58:140 | 23 | INFO | Error occurred when opening popup menu: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:58:140 | 23 | INFO | Showing popup menu: at 71/-959 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:58:140 | 23 | INFO | Showing popup menu: size 161/346 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:58:140 | 23 | INFO | Error occurred when opening popup menu: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:58:140 | 23 | INFO | Showing popup menu: at 71/-969 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:58:140 | 23 | INFO | Showing popup menu: size 161/346 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:58:140 | 23 | INFO | Error occurred when opening popup menu: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:58:140 | 23 | INFO | Showing popup menu: at 71/-979 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:58:140 | 23 | INFO | Showing popup menu: size 161/346 .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
2023:07:06 17:14:58:140 | 23 | SEVERE | Error occurred when opening popup menu .......... org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower>openMenu
.......... Stacktrace Info ..........
java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
at java.desktop/java.awt.Component.getLocationOnScreen_NoTreeLock(Unknown Source)
at java.desktop/java.awt.Component.getLocationOnScreen(Unknown Source)
at java.desktop/javax.swing.JPopupMenu.show(Unknown Source)
at org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower.openMenu(POPUPMENUElement.java:65)
at org.eclnt.client.elements.impl.POPUPMENUElement$PopupMenuShower$1.run(POPUPMENUElement.java:79)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
|
|
|
The problem has been fixed in a newer version of Enterprise Client. My version was 20220509.
|
|
|
Hallo Björn,
I set up a new project,
1) added poi.jar, poi-ooxml.jar, poi-scratchpad.jar.
2) added JDK11 addons
Now
byte[] g = m_grid.getExporter().exportToXLSXWholeGrid(false);
returns null.
No log.
What is missing?
Regards,
Joachim
Code:
Using CATALINA_BASE: "tomcat"
Using CATALINA_HOME: "tomcat"
Using CATALINA_TMPDIR: "tomcat\temp"
Using JRE_HOME: "jre"
Using CLASSPATH: "tomcat\bin\bootstrap.jar;tomcat\bin\tomcat-juli.jar"
Using CATALINA_OPTS: ""
NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Listening for transport dt_socket at address: 50010
24-Apr-2023 06:32:33.464 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/9.0.39
24-Apr-2023 06:32:33.479 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Oct 6 2020 14:11:46 UTC
24-Apr-2023 06:32:33.479 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.39.0
24-Apr-2023 06:32:33.479 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10
24-Apr-2023 06:32:33.479 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
24-Apr-2023 06:32:33.479 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
24-Apr-2023 06:32:33.479 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: K:\excalibur-4.0-rc1\EnterpriseClientRISC_20220509\server\jre
24-Apr-2023 06:32:33.479 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 11.0.9+10-202010172339
24-Apr-2023 06:32:33.479 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: AdoptOpenJDK
24-Apr-2023 06:32:33.479 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: K:\excalibur-4.0-rc1\EnterpriseClientRISC_20220509\server\tomcat
24-Apr-2023 06:32:33.479 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: K:\excalibur-4.0-rc1\EnterpriseClientRISC_20220509\server\tomcat
24-Apr-2023 06:32:33.494 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
24-Apr-2023 06:32:33.494 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
24-Apr-2023 06:32:33.494 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
24-Apr-2023 06:32:33.494 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=tomcat\conf\logging.properties
24-Apr-2023 06:32:33.494 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
24-Apr-2023 06:32:33.494 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx1024m
24-Apr-2023 06:32:33.494 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms128m
24-Apr-2023 06:32:33.494 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Duser.timezone=UTC
24-Apr-2023 06:32:33.494 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Duser.language=en
24-Apr-2023 06:32:33.494 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Duser.country=US
24-Apr-2023 06:32:33.494 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
24-Apr-2023 06:32:33.494 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
24-Apr-2023 06:32:33.494 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -agentlib:jdwp=transport=dt_socket,address=50010,server=y,suspend=n
24-Apr-2023 06:32:33.494 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
24-Apr-2023 06:32:33.494 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=tomcat
24-Apr-2023 06:32:33.494 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=tomcat
24-Apr-2023 06:32:33.494 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=tomcat\temp
|
|
|
Hello,
I have a dynamic content for a fixgrid that is a right part of a combined pair of two grids (fixed columns).
Code:
t:fixgrid width:100% rowheight:20 horizontalscrollmode:always rowpopupmenuOPUPMENU_1 sbvisibleamount:50 objectbinding:#{d.d_1.SpezVariablenMBean.spezVariablenGrid} height:100%
t:gridheader rendered:#{d.SpezVariablenMBean.filterZeile} avoidexport:true
t:field actionListener:#{d.d_1.SpezVariablenMBean.onSuchFlush} flush:true background:#{d.d_1.SpezVariablenMBean.filterBackground} width:100% tooltip:Suchzeichen sind * und ? popupmenu:VALIDATEPOPUP text:#{d.d_1.SpezVariablenMBean.suchValue.stuecklisteIndex.value} height:100%
t:field actionListener:#{d.d_1.SpezVariablenMBean.onSuchFlush} flush:true background:#{d.d_1.SpezVariablenMBean.filterBackground} width:100% tooltip:Suchzeichen sind * und ? popupmenu:VALIDATEPOPUP text:#{d.d_1.SpezVariablenMBean.suchValue.material.value} height:100%
...
t:gridheader avoidexport:true
t:field width:100% enabled:false height:100%
t:field width:100% enabled:false height:100%
t:field width:100% enabled:false height:100%
t:field width:100% enabled:false height:100%
t:field width:100% enabled:false height:100%
t:field width:100% enabled:false height:100%
t:field width:100% enabled:false height:100%
t:field width:100% enabled:false height:100%
t:field width:100% enabled:false height:100%
t:field width:100% enabled:false height:100%
t:field width:100% enabled:false height:100%
t:gridheader avoidexport:true rowheight:2
t:pane border:top:2;color:#000000 bgpaint:rectangle(0,0,100%,100%,#000000) width:100% height:2
t:pane border:top:2;color:#000000 bgpaint:rectangle(0,0,100%,100%,#000000) width:100% height:2
t:pane border:top:2;color:#000000 bgpaint:rectangle(0,0,100%,100%,#000000) width:100% height:2
t:pane border:top:2;color:#000000 bgpaint:rectangle(0,0,100%,100%,#000000) width:100% height:2
t:pane border:top:2;color:#000000 bgpaint:rectangle(0,0,100%,100%,#000000) width:100% height:2
t:pane border:top:2;color:#000000 bgpaint:rectangle(0,0,100%,100%,#000000) width:100% height:2
t:pane border:top:2;color:#000000 bgpaint:rectangle(0,0,100%,100%,#000000) width:100% height:2
t:pane border:top:2;color:#000000 bgpaint:rectangle(0,0,100%,100%,#000000) width:100% height:2
t:pane border:top:2;color:#000000 bgpaint:rectangle(0,0,100%,100%,#000000) width:100% height:2
t:pane border:top:2;color:#000000 bgpaint:rectangle(0,0,100%,100%,#000000) width:100% height:2
t:pane border:top:2;color:#000000 bgpaint:rectangle(0,0,100%,100%,#000000) width:100% height:2
t:gridcol sortreference:.{object.stuecklisteIndex} searchenabled:true width:60 text:Stkl.-Idx
t:field width:100% text:.{object.stuecklisteIndex} enabled:false height:100%
t:gridcol sortreference:.{object.material.name} searchenabled:true width:100 text:Material
t:field width:100% text:.{object.material.name} enabled:false height:100%
t:gridcol sortreference:.{object.variantenGruppe.name} searchenabled:true tooltip:Variantengruppe width:200 text:Variantengruppe
t:field width:100% text:.{object.variantenGruppe.name} enabled:false height:100%
t:gridcol searchenabled:true tooltip:Blechdicke width:100 text:Blechdicke
t:formattedfield width:100% format:bigdecimal formatmask:0.0# align:right value:.{adapter.value["Blechdicke"]} enabled:false height:100%
t:gridcol searchenabled:true tooltip:Legierung width:100 text:Legierung
t:field width:100% text:.{adapter.svalue["Legierung"]} align:left enabled:false height:100%
t:gridcol searchenabled:true tooltip:Y2 width:100 text:Y2
t:formattedfield width:100% format:bigdecimal formatmask:null align:right value:.{adapter.value["Y2"]} enabled:false height:100%
t:gridcol searchenabled:true tooltip:Y3 width:100 text:Y3
t:formattedfield width:100% format:bigdecimal formatmask:null align:right value:.{adapter.value["Y3"]} enabled:false height:100%
t:gridcol searchenabled:true tooltip:Y4 width:100 text:Y4
t:formattedfield width:100% format:bigdecimal formatmask:null align:right value:.{adapter.value["Y4"]} enabled:false height:100%
t:gridcol searchenabled:true tooltip:Y5 width:100 text:Y5
t:formattedfield width:100% format:bigdecimal formatmask:null align:right value:.{adapter.value["Y5"]} enabled:false height:100%
t:gridcol searchenabled:true tooltip:Y6 width:100 text:Y6
t:formattedfield width:100% format:bigdecimal formatmask:null align:right value:.{adapter.value["Y6"]} enabled:false height:100%
t:gridcol width:100% text:
t:label width:100% text: height:100%
Gridcols are result of :
Code:
..
for (String columnName : spezVariablenColNameList) {
GRIDCOLNode gcn = new GRIDCOLNode();
gcn.setText(columnName);
gcn.setTooltip(columnName);
gcn.setWidth("100");
gcn.setSearchenabled(true);
Long typ = spezVariablenColTypMap.get(columnName);
String format = spezVariablenColFormatMap.get(columnName);
if (typ.longValue() == FLOAT_TYPE) { // 0
FORMATTEDFIELDNode fn = new FORMATTEDFIELDNode();
fn.setValue(".{adapter.value[\"" + columnName + "\"]}");
fn.setEnabled(false);
fn.setWidth("100%");
fn.setHeight("100%");
fn.setAlign("right");
fn.setFormat("bigdecimal");
if (format != null)
fn.setFormatmask(format);
gcn.addSubNode(fn);
} else if (typ.longValue() == INTEGER_TYPE) { // 1
FORMATTEDFIELDNode fn = new FORMATTEDFIELDNode();
fn.setValue(".{adapter.value[\"" + columnName + "\"]}");
fn.setEnabled(false);
fn.setWidth("100%");
fn.setHeight("100%");
fn.setAlign("right");
fn.setFormat("long");
if (format != null)
fn.setFormatmask(format);
gcn.addSubNode(fn);
} else if (typ.longValue() == TEXT_TYPE) { // 2
FIELDNode fn = new FIELDNode();
fn.setText(".{adapter.svalue[\"" + columnName + "\"]}");
fn.setEnabled(false);
fn.setWidth("100%");
fn.setHeight("100%");
fn.setAlign("left");
gcn.addSubNode(fn);
}
fgn.addSubNode(gcn);
}
[code]
All headers of bigdecimal columns are not rendered when exported into excel. Without any formatmask the formatting of the bigdecimal is like hardcopy.
Any other export PDF, XML,CSV, works!
[code]
if (enumExportTyp.equals(EnumExportTyp.CLIPBOARD)) {
clipboardContent = exporter.exportToTabSeparatedStringWholeGrid(false);
triggerCopy2ClipBoard.trigger();
}
else if (enumExportTyp.equals(EnumExportTyp.PDF)) {
BrowserContent bc = new BrowserContent(exporter.exportToPDFWholeGrid(false), "unbekannt");
BufferedContentMgr.add(bc);
aktFilename = "con_exp.pdf";
aktDownloadURL = bc.getURL();
downloadTrigger.trigger();
}
else if (enumExportTyp.equals(EnumExportTyp.CSV)) {
BrowserContent bc = new BrowserContent(exporter.exportToCSVStringWholeGrid(false).getBytes(), "unbekannt");
BufferedContentMgr.add(bc);
aktFilename = "con_exp.csv";
aktDownloadURL = bc.getURL();
downloadTrigger.trigger();
}
else if (enumExportTyp.equals(EnumExportTyp.XML)) {
BrowserContent bc = new BrowserContent(exporter.exportToXMLWholeGrid(false), "unbekannt");
BufferedContentMgr.add(bc);
aktFilename = "con_exp.xml";
aktDownloadURL = bc.getURL();
downloadTrigger.trigger();
}
else if (enumExportTyp.equals(EnumExportTyp.EXCEL)) {
BrowserContent bc = new BrowserContent(exporter.exportToXLSXWholeGrid(false), "unbekannt");
BufferedContentMgr.add(bc);
aktFilename = "con_exp.xlsx";
aktDownloadURL = bc.getURL();
downloadTrigger.trigger();
}
Any idea?
Regards,
Joachim
|
|
|
Thank You!
Yes it works. I forgot to set the attribute popupmenu="VALIDATEPOPUP". Only setting hotkey in a menuitem isn't sufficient.
|
|
|
Hi Björn,
are You sure that a popup menuitem works, when the focus is in a field?
Kind regards,
Joachim
|
|
|
I found it: tabonenter
But it leaves the field, as "tab"onenter mentions.
Is it possible without leaving the focus? Or is there a parameter that indicates the last pressd key?
|
|
|
Hi,
how can I give an Enter-hotkey to a formattedfield in a gridheader-cell?
Background: I use a gridheader row as a column-wise filter. The user should enter a search pattern and press enter instead of tab to next field (flush).
Kind regards,
Joachim
|
|
|
Hi Björn,
same behavior in Swing!
Kind regards,
Joachim
|
|
|
hi,
is there a way to change the size of the scroll portion for a textarea when using the arrow buttons (up/down)?
Currently it scrolls 3 lines of text.
Regards,
Joachim
|
|
|
Hi!
Starting with a new EC (Jakarta-version).
First Maven Projekt with "Jakarta - CaptainCasa default project" = works.
Second Maven projekt "JEE - CaptainCasa project with Spring-managed beans" throws
15-Aug-2022 14:34:48.592 SCHWERWIEGEND [http-nio-50000-exec-43] org.apache.catalina.core.StandardContext.listenerStart Error configuring application listener of class [org.eclnt.jsfserver.util.CCServletContextListener]
...
Caused by: java.lang.ClassNotFoundException: javax.servlet.ServletContextListener
javax.* should be jakarta.* - I'm a little bit confused.
The question is: Is "Spring-managed bean" project creation allowed in Jakarta-Version of EC?
Regards,
Joachim
|
|
|
In the newest client (9.5.2022) I get the following compiling error:
Class 'Anonymous class derived from IWorkpageLifecycleListener' must either be declared abstract or implement abstract method 'reactOnSwitchToPage()' in 'IWorkpageLifecycleListener'
I cannot find this member in the API docs.
I suppose it can be added (implemented) with empty body. Or is it something that became abstract by mistake?
Regards,
Joachim
|
|
|
Hi Björn,
You even cannot scroll with cursor keys, which I found a little later.
In some previous version the scrolling worked - I am sure.
Is there a chance to guess the date (version) when the scroll - functionality was broken?
Regards,
Joachim
|
|
|
|
|