From notifications-return-30251-archive-asf-public=cust-asf.ponee.io@ofbiz.apache.org Sat Feb 1 18:42:02 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8E79A180657 for ; Sat, 1 Feb 2020 19:42:02 +0100 (CET) Received: (qmail 81341 invoked by uid 500); 1 Feb 2020 18:42:02 -0000 Mailing-List: contact notifications-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list notifications@ofbiz.apache.org Received: (qmail 81332 invoked by uid 99); 1 Feb 2020 18:42:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Feb 2020 18:42:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id DEB58E2CF8 for ; Sat, 1 Feb 2020 18:42:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 271C8780439 for ; Sat, 1 Feb 2020 18:42:00 +0000 (UTC) Date: Sat, 1 Feb 2020 18:42:00 +0000 (UTC) From: "Jacques Le Roux (Jira)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OFBIZ-10587) _WARNING_MESSAGE_ MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OFBIZ-10587?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D170= 28184#comment-17028184 ]=20 Jacques Le Roux commented on OFBIZ-10587: ----------------------------------------- Michael, I'm sure you are aware, but in case as it's not obvious (below I use * for = any char); {noformat} *_MESSAGE_*{noformat} (mostly _ERROR_MESSAGE_ , ERROR_MESSAGE_LIST and ModelService.ERROR_MESSAGE= _* but also EVENT) are used in conditional expressions (not only Java) like {noformat} if (*_MESSAGE_*) { {{noformat} I don't think adding WARNING_MESSAGE would have an=C2=A0 impact. So just te= lling, in case it could be used in such and other expressions than conditio= nal. I just used the same in OFBIZ-11329 for setUserTimeZone.js. That's why I te= ll you that. There is not need to worry about WARNING there, again just tel= ling. > _WARNING_MESSAGE_ > ----------------- > > Key: OFBIZ-10587 > URL: https://issues.apache.org/jira/browse/OFBIZ-10587 > Project: OFBiz > Issue Type: Wish > Components: ALL COMPONENTS > Reporter: Niklas Fallik > Assignee: Michael Brohl > Priority: Major > > Hi there, > I am looking for a way to display warning messages. We are using EVENT_ME= SSAGE and ERROR_MESSAGE which we can pass to the frontend to display to the= user, but it turned out that it would be nice to have a type for warnings = like WARNING_MESSAGE. > I figured out that the java classes ServiceEventHandler and ScriptEventHa= ndler deal with those message types. > I really would appreciate if anyone already had a solution for this. -- This message was sent by Atlassian Jira (v8.3.4#803005)