Load Workplace client JARs from current MES JNLP only
This commit is contained in:
@@ -10,7 +10,7 @@ const autoStartEnabled = computed(()=>shouldAutoStartWidget(props.widget.type,pr
|
||||
const javaVersion = computed(()=>[8,11,17].includes(Number(props.widget.props.javaVersion))?Number(props.widget.props.javaVersion):8);
|
||||
const windowProtocolWarning = window.location.protocol==='http:' && !['localhost','127.0.0.1'].includes(window.location.hostname);
|
||||
const displayMode = computed(()=>['fit','original'].includes(String(props.widget.props.displayMode))?String(props.widget.props.displayMode):'fit');
|
||||
const windowMode = ref<'off'|'diagnose'|'rescue'>('diagnose'); // Client-only; no vendor settings changed.
|
||||
const windowMode = ref<'off'|'diagnose'|'rescue'>('off'); // Client-only; no vendor settings changed.
|
||||
const launchRequested = ref(false);
|
||||
const failure = ref('');
|
||||
const status = ref('');
|
||||
@@ -105,7 +105,7 @@ onBeforeUnmount(()=>window.removeEventListener('message',onMessage));
|
||||
<button v-if="!demo && !launchRequested" type="button" @click.stop="launch" :disabled="!url">▶ Start</button>
|
||||
<template v-else-if="!demo"><button type="button" @click.stop="launch">↻ Neustart</button><button type="button" @click.stop="stop">■ Stop</button></template>
|
||||
</div>
|
||||
<div v-if="workplace" class="cheerpj-warning">Java 11 · „Fenster: Diagnose“ protokolliert virtuelle Bildschirmgrenzen und alle Swing-Dialoge. „Dialoge zurückholen“ korrigiert nur außerhalb liegende sichtbare JDialogs; ein JAAS-Fehler wird dadurch nicht behoben.</div>
|
||||
<div v-if="workplace && windowMode!=='off'" class="cheerpj-warning">Java 11 · „Fenster: Diagnose“ protokolliert virtuelle Bildschirmgrenzen und alle Swing-Dialoge. „Dialoge zurückholen“ korrigiert nur außerhalb liegende sichtbare JDialogs; ein JAAS-Fehler wird dadurch nicht behoben.</div>
|
||||
<div v-if="!demo && windowProtocolWarning" class="cheerpj-warning">HTTP aktiv: Anmeldedaten und MES-Daten sind nicht transportverschlüsselt. Nur in geschützten Netzen einsetzen.</div>
|
||||
<div v-if="demo" class="cheerpj-placeholder">☕ CheerpJ-Vorschau: Der Java-Client wird erst im Werker-Modus gestartet.<small>{{url||'JNLP-Adresse noch nicht konfiguriert'}}</small></div>
|
||||
<div v-else-if="!launchRequested" class="cheerpj-placeholder">☕ JNLP-Anwendung starten<small>{{url||'Bitte eine JNLP-URL im Designer hinterlegen'}}</small></div>
|
||||
|
||||
Reference in New Issue
Block a user