src-core/log4j.lcf
author Augusto Mauch <augusto.mauch@openbravo.com>
Tue, 18 Mar 2014 17:23:09 +0100
changeset 22729 05acae86769b
parent 6702 690d2af86089
permissions -rw-r--r--
Fixes issue 25558: Fixes callout of manual forms

The code that applies the response of the manual forms callout was taking for granted that there one only one frame called appFrame. This was true in Openbravo 2.50, but in Openbravo 3.0 many manual windows can be opened at the same time, so there may be several frames called appFrame in one given moment.

This has been fixed by storing the active manual frame (the one whose tab is focused), and using that frame when applying the response of the callout.
juanpablo@523
     1
#************************************************************************************
ggi@6702
     2
#* Copyright (C) 2001-2006 Openbravo S.L.U.
juanpablo@523
     3
#* Licensed under the Apache Software License version 2.0
juanpablo@523
     4
#* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
juanpablo@523
     5
#* Unless required by applicable law or agreed to  in writing,  software  distributed
juanpablo@523
     6
#* under the License is distributed  on  an  "AS IS"  BASIS,  WITHOUT  WARRANTIES  OR
juanpablo@523
     7
#* CONDITIONS OF ANY KIND, either  express  or  implied.  See  the  License  for  the
juanpablo@523
     8
#* specific language governing permissions and limitations under the License.
juanpablo@523
     9
#************************************************************************************
juanpablo@523
    10
juanpablo@378
    11
log4j.rootCategory=INFO, A1
juanpablo@378
    12
juanpablo@378
    13
# A1 is set to be a ConsoleAppender. 
juanpablo@378
    14
log4j.appender.A1=org.apache.log4j.ConsoleAppender
juanpablo@378
    15
juanpablo@378
    16
# A1 uses PatternLayout.
juanpablo@378
    17
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
juanpablo@378
    18
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c - %m%n
juanpablo@378
    19
juanpablo@378
    20
log4j.category.Sqlc=DEBUG