ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (Jira)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-10587) _WARNING_MESSAGE_
Date Sat, 01 Feb 2020 18:42:00 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-10587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17028184#comment-17028184

Jacques Le Roux commented on OFBIZ-10587:


I'm sure you are aware, but in case as it's not obvious (below I use * for any char);
are used in conditional expressions (not only Java) like
if (*_MESSAGE_*) { {{noformat}
I don't think adding WARNING_MESSAGE would have anĀ  impact. So just telling, in case it could
be used in such and other expressions than conditional.

I just used the same in OFBIZ-11329 for setUserTimeZone.js. That's why I tell you that. There
is not need to worry about WARNING there, again just telling.

> -----------------
>                 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_MESSAGE 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 ScriptEventHandler deal with
those message types.
> I really would appreciate if anyone already had a solution for this.

This message was sent by Atlassian Jira

View raw message