Almost working: change strings of whole application

Hi! I've been trying to let the end user change the language of a menu. It's almost done, now I have a Menus class showing 3 items : File Help and Description
In the File item you click in Configuration and there is the combo box where you select the language, you select for example Spanish and click the button and it changes the language of the 3 items above (File,Help and Description).
To do that I have a Selector class where I declare the Locales and an updateString method that I call after setting the Resources. So far so good
Now in the Description item I have a subitem named Test and in Test there's a panel named Conver with just some labels and a button, I'm trying to change the language of this panel too in my Configuration panel but does not work ...
Here are the classes:
import java.awt.event.*;
import java.util.*;
import javax.swing.*;
public class Menus extends JFrame
   public ResourceBundle res;
   private JMenuBar jmbarBarraDeMenus;
   private JMenu jmnuArchivo;
   private JMenu jmnuHelp;
     private JMenu jmnuDescriptiva;//agregu�
   private JMenuItem jmnuAbrir;
   private JMenuItem jmnuConfigura;
     private JMenuItem jmnuUniva;//agregu�
          //private javax.swing.JLabel jlbGradosC;
   public Menus()
      Locale.setDefault(new Locale("en")); //Ingl�s
      res = ResourceBundle.getBundle("Resources");
      setSize(500, 300);
      setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      initComponents();
      updateStrings();
      setVisible(true);
   private void initComponents()
      jmbarBarraDeMenus = new javax.swing.JMenuBar();
      jmnuArchivo = new javax.swing.JMenu();
          jmnuDescriptiva = new javax.swing.JMenu();//agregu�
      jmbarBarraDeMenus.add(jmnuArchivo);
      jmnuHelp = new javax.swing.JMenu();
      jmbarBarraDeMenus.add(jmnuHelp);
          jmbarBarraDeMenus.add(jmnuDescriptiva);
      jmnuAbrir = new javax.swing.JMenuItem();
      jmnuArchivo.add(jmnuAbrir);
      jmnuConfigura = new javax.swing.JMenuItem();
      jmnuArchivo.add(jmnuConfigura);
          jmnuUniva = new javax.swing.JMenuItem();//agregue     
      jmnuDescriptiva.add(jmnuUniva);//agregu�
          // jlbGradosC = new javax.swing.JLabel();
      jmnuConfigura.addActionListener(
         new ActionListener()
            public void actionPerformed(ActionEvent e)
               jMenuConf_actionPerformed(e);
     jmnuUniva.addActionListener(
         new ActionListener()
            public void actionPerformed(ActionEvent e)
               jMenuUniva_actionPerformed(e); //agregu�
        getContentPane().setLayout(null);
      setJMenuBar(jmbarBarraDeMenus);
   private void updateStrings()
      setTitle(res.getString("TITLE"));
      jmnuArchivo.setText(res.getString("FILE"));
      jmnuHelp.setText(res.getString("HELP"));
      jmnuAbrir.setText(res.getString("OPEN"));
      jmnuConfigura.setText(res.getString("CONFIGURATION"));
          jmnuDescriptiva.setText(res.getString("DESCRIPTIVE"));
          jmnuUniva.setText(res.getString("UNIVARIANTE"));     
   private void jMenuConf_actionPerformed(ActionEvent e)
      Selector dlg = new Selector(this);
      res = ResourceBundle.getBundle("Resources");
      updateStrings();
private void jMenuUniva_actionPerformed(ActionEvent e)//Agregu� esto
        System.out.println("hello I'm hereeeeee");
     Conver conv = new Conver(this);
      res = ResourceBundle.getBundle("Resources");
      updateStrings();
   public static void main(String args[])
      new Menus();
}the Selector:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.*;
public class Selector extends JDialog implements ActionListener
   private final static String[] LANG_STRINGS = { "Spanish", "French", "Dutch", "Chinese", "English" };
   private final static String[] LOCALES      = { "es",      "fr",     "nl",    "cn",      "en"};
   private static int lastIndex = 4;
   private JComboBox langList;
   private JButton OKButton;
   public Selector(JFrame owner)
      super(owner, true);
      setSize(300, 200);
      setTitle("Language Selector");
      initComponents();
      setVisible(true);
   private void initComponents()
      getContentPane().setLayout(null);
      addWindowListener(
         new java.awt.event.WindowAdapter()
            public void windowClosing(WindowEvent evt)
               dispose();
      langList = new JComboBox(LANG_STRINGS);
      langList.setSelectedIndex(lastIndex);
      langList.setBounds(42, 50, 204, 30);
      getContentPane().add(langList);
      OKButton = new JButton("OK");
      OKButton.setBounds(90, 110, 100, 30);
      OKButton.setActionCommand("seleccionar");
      OKButton.addActionListener(this);
      getContentPane().add(OKButton);
   public void actionPerformed(ActionEvent e)
      if (e.getActionCommand().equals("seleccionar"))
         lastIndex = langList.getSelectedIndex();
         Locale.setDefault(new Locale(LOCALES[lastIndex]));
         dispose();
   public static void main(String args[])
      new Selector(null);
}the new panel:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.*;
public class Conver extends  JFrame
/**Crear un nuevo formulario Conver*/
public Conver(JFrame owner)
  setSize(500,200);//tama�o del formulario
  setTitle("Conversion de temperaturas");//titulo del formulario
  initComponents();//iniciar componenetes
/** El siguiente metodo es llamado por el constructorpara iniciar el formulario**/
private void initComponents()
  //Crear los objetos
  jlbGradosC = new javax.swing.JLabel();
  jtfGradosC = new javax.swing.JTextField();
  jlbGradosF = new javax.swing.JLabel();
  jtfGradosF = new javax.swing.JTextField();
  jbtAceptar = new javax.swing.JButton();
  getContentPane().setLayout(null);
  addWindowListener(new java.awt.event.WindowAdapter()
     public void windowClosing(java.awt.event.WindowEvent evt)
      exitForm(evt);
  //Etiqueta "Grados centigrados"
  jlbGradosC.setText("Grados Centigrados");
  getContentPane().add(jlbGradosC);
  jlbGradosC.setBounds(12,28,116,16);
  //Caja de texto para los grados centigrados
  jtfGradosC.setText("0.00");
  jtfGradosC.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
  getContentPane().add(jtfGradosC);
  jtfGradosC.setBounds(132,28,144,20);
  //Etiqueta "Grados Fahrenheit"
  jlbGradosF.setText("Grados fahrenheit");
  getContentPane().add(jlbGradosF);
  jlbGradosF.setBounds(12,68,104,24);
   //Caja de texto para los grados fahreneit
  jtfGradosF.setText("32.00");
  jtfGradosF.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
  getContentPane().add(jtfGradosF);
  jtfGradosF.setBounds(132,72,144,20);
   //Boton Aceptar
  jbtAceptar.setText("Aceptar");
  jbtAceptar.setMnemonic('A');
  getRootPane().setDefaultButton(jbtAceptar);
  getContentPane().add(jbtAceptar);
  jbtAceptar.setBounds(132,120,144,24);
java.awt.event.KeyAdapter kl=
new java.awt.event.KeyAdapter()
public void keyTyped(java.awt.event.KeyEvent evt)
// jtfGradosKeyTyped(evt);
  jtfGradosC.addKeyListener(kl);
  jtfGradosF.addKeyListener(kl);
/**Salir de la aplicacion*/
private void exitForm(java.awt.event.WindowEvent evt)
   System.exit(0);
*parametro args: argumentos en linea de ordenes
public static void main(String args[])
   try
       //Aspecto de la interfaz grafica
       javax.swing.UIManager.setLookAndFeel(
        javax.swing.UIManager.getSystemLookAndFeelClassName());
     catch (Exception e)
      System.out.println("No se pudo establecer el aspecto deseado: " + e);
      new Conver(null).setVisible(true);
     private javax.swing.JLabel jlbGradosC;
     private javax.swing.JTextField jtfGradosC;
     private javax.swing.JButton jbtAceptar;
     private javax.swing.JLabel jlbGradosF;
     private javax.swing.JTextField jtfGradosF;
     

I hope you get an answer to your problem.
Unfortunately, it's a lot of code to wade through, and many regulars know you
cross-post your problems all over the place, so probably ignore your posts
rather than risk their time being wasted on a problem already solved.
When I said "I hope you get an answer to your problem.",
I lied.

Similar Messages

  • Changing a color for the whole Application

    Hi,
    Is there a way to change the color, default purple of swing to some other color(say green) for the whole application without using themes? Is it possible through UIManager.put()?
    Regards
    Sridhar

    Thanks Michael,
    I just modified your code to fit my needs.
    import java.awt.*;
    import javax.swing.*;
    import java.util.Enumeration;
    class ApplicationColor
      public ApplicationColor()
        setApplicationColor(new Color(88, 140, 165));
        JFrame frame = new JFrame();
        frame.setLocation(400,300);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        JPanel jp = new JPanel(new BorderLayout());
        String[] temp = {"abc","123"};
        JComboBox cbo = new JComboBox(temp);
        JButton btn = new JButton("I'm a button");
        jp.add(new JLabel("I'm a label"),BorderLayout.NORTH);
        jp.add(cbo,BorderLayout.CENTER);
        jp.add(btn,BorderLayout.SOUTH);
        frame.getContentPane().add(jp);
        frame.pack();
        frame.setVisible(true);
      public void setApplicationColor(Color color)
        Enumeration enum = UIManager.getDefaults().keys();
        while(enum.hasMoreElements())
          Object key = enum.nextElement();
          Object value = UIManager.get(key);
          Color jfcBlue = new Color(204, 204, 255);
          Color jfcBlue1 = new Color(153, 153, 204);
          if (value instanceof Color)
               if(value.equals(jfcBlue) || value.equals(jfcBlue1)){     
                    UIManager.put(key, color);
      public static void main(String[] args){new ApplicationColor();}
    }Sridhar

  • Prevent automatic deployment of whole application on mxml file changes

    I am using the Eclipse Builder 3 Beta 2 plugin for Eclipse
    3.3 and have several java projects (hibernate + service layer) and
    one WTP Flex Project. I use Tomcat 6.0 as the application server.
    Tomcat started from eclipse and deployes the flex war. the
    Spring beans are loaded in the web.xml using hte contextloader.
    I encounter lots of Java Heap Space errors when changing
    small properties in the mxml files because it deploys the whole
    java applications on the server, but these are not changed at all.
    Sometimes only changes are compiled in the background and
    everything works as expected, but I am unable to reproduce this!!
    What kan I do that only changed MXML and Actionscritp files are
    published to tomcat without reloading the whole application?

    Does anyone now the automatic publish settings in Flex
    Builder?

  • Two part question 1) what happens if you  sign into messages beta on os x lion 10.7.5 after it expired? does the whole application not work or just imessage? 2) does installing messages beta on os x lion 10.7.5  delete ichat?

    Two part question
    1) what happens if you  sign into messages beta on os x lion 10.7.5 after it expired? does the whole application not work or just imessage? can you stil use AIM, jabbar, google talk, or yahoo?  if you open messages beta does it immediately tell you that messages beta expired?
    2) does installing messages beta on os x lion 10.7.5  delete ichat or just transform ichat into messages beta giving the illusion that ichat is deleted?

    Hi,
    It was never completely clear whether it was just hidden or whether Apple ran a download page for iChat 6.
    As the Download for Messages Beta was separate and "Deleted" iChat it would seem it would be another download for iChat 6.
    iMessages will not function as it is only an Account type within Messages and iChat 6 does not have it.
    Therefore messages on the iPhone will not sync to the Mac. (until you get Mountain Lion and Messages in that OS X version).
    Mountain Lion and it's full version of Messages will not sync the iMessages that have happened in between the 14th December 2012  (end date of Messages beta) and the Install of Mountain Lion if you decide on that route.
    8:51 PM      Sunday; May 5, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How to use type cast change string to number(dbl)?can it work?

    how to use type cast change string to number(dbl)?can it work?

    Do you want to Type Cast (function in the Advanced >> Data Manipulation palette) or Convert (functions in the String >> String/Number Conversion palette)?
    2 simple examples:
    "1" cast as I8 = 49 or 31 hex.
    "1" converted to decimal = 1.
    "20" cast as I16 = 12848 or 3230 hex.
    "20" converted to decimal = 20.
    Note that type casting a string to an integer results in a byte by byte conversion to the ASCII values.
    32 hex is an ASCII "2" and 30 hex is an ASCII "0" so "20" cast as I16 becomes 3230 hex.
    When type casting a string to a double, the string must conform the the IEEE 32 bit floating point representation, which is typically not easy to enter from the keyboard.
    See tha attached LabView 6.1 example.
    Attachments:
    TypeCastAndConvert.vi ‏34 KB

  • How to fix "no valid 'aps-environment' entitlement string found for application"?

    I am trying very very hard to create a simple simple iOS app which can recieve push notifications.  My only reason for doing this is to establish a procedure for some other team members to use.  Our shop is fairly new to iOS dev, I personally am completely inexperienced with iOS dev and Xcode.  I've stumbled through tens of tutorials, articles, and trouble posts from Apple and elsewhere and I feel like I'm nearly there.  Here is where I've got to (note I'm using Xcode 4.3 and trying initially to deploy just to iOS 5.1, and I gather that some things may have changed recently vs earlier versions of Xcode, but again I'm new to all this -- and finding it completely confusing and convoluted):
    1. I've got a provisioning profile on my iPhone which has Push enabled
    2. In my test Xcode project I've got that provisioning profile selected as the signing identity (in Build Settings > Code Signing)
    3. I've got my bundle identifier under Summary and Info > Custom iOS Target Properties set properly* (I think??)
    4. I've got registerForRemoteNotificationTypes being called in my delegate's didFinishLaunchingWithOptions
    5. I've got didRegisterForRemoteNotificationsWithDeviceToken and didFailToRegisterForRemoteNotificationsWithError in my delegate, set up to log the device token or error respectively
    6. I've got Enable Entitlements checked under Summary. 
    7. Right below that the Entitlements File selected is Tinker6 (the name of my project), which was generated automatically when I checked Enable Entitlements
    8. In the Tinker6.entitlements file I've got the following (which I've gathered is correct based on several different posts all over the web, but which I can't find anything definitive from Apple itself on):
    When I attempt to run this on my device, I get the following error in Xcode output:
    2012-06-11 12:45:23.762 Tinker6[13332:707] Failed to get token, error: Error Domain=NSCocoaErrorDomain Code=3000 "no valid 'aps-environment' entitlement string found for application" UserInfo=0x24a3b0 {NSLocalizedDescription=no valid 'aps-environment' entitlement string found for application}
    I've tried setting get-task-allow to NO, aps-environment to production, all four possible combinations, same thing.
    How can I get past this?  Where is definitive documentation on this?
    -- further background follows --
    *As far as the bundle id, I am still not clear on how this should be set in relation to App Ids and Profile ids in the Provisioning profile.  In the Provisioning portal under App Ids I have this (I've scrambled the number and domain but otherwise structurally will be the same):
    And the two places bundle id is set I have this:
    I am not at all sure these are correct or whether one or both should be set to 12355456A7.com.whatever.tinker, though I've tried those earlier in the process with no success...
    Message was edited by: jwlarson

    Solution: startover, do everything exactly the same (but with new IDs and certs for everything), and it worked.

  • Custom renderer (almost works)

    I'm creating a custom JComboBox renderer. What I want it to do is display text next to a colored box. Everything works except for the default value were its not showing the text. Anyone see the problem? Or is there a better way of doing this? I’ve included the code below:
    (Renderer Code: ComboBoxRenderer.java)
    import java.awt.*;
    import java.util.ArrayList;
    import javax.swing.*;
    class ComboBoxRenderer extends JLabel implements ListCellRenderer
        String[] _textLabels = {"Red", "Green", "Blue", "Orange", "Yellow", "Cyan"};
        private ArrayList _colors = null;
        private JPanel _coloredBox = null;
        private JPanel _container = null;
        private JLabel _label = null;
        public ComboBoxRenderer()
            setOpaque(true);
            setHorizontalAlignment(CENTER);
            setVerticalAlignment(CENTER);
            // Text container (can't get text to show without it being contained inside another jpanel. Why is this?)
            _container = new JPanel();
            Dimension holderSize = new Dimension(80, 20);
            _container.setLocation(22, 0);
            _container.setSize(holderSize);
            _container.setOpaque(false);
            _container.setLayout(new BorderLayout());
            this.add(_container, BorderLayout.WEST);
            // Text
            _label = new JLabel("Disabled");
            Dimension textSize = new Dimension(80, 20);
            _label.setForeground(Color.black);
            _label.setPreferredSize(textSize);
            _label.setHorizontalAlignment(JTextField.LEFT);
            _container.add(_label, BorderLayout.WEST);
            // Colored box
            _coloredBox = new JPanel();
            Dimension preferredSize = new Dimension(16, 16);
            _coloredBox.setLocation(2, 2);
            _coloredBox.setSize(preferredSize);
            _coloredBox.setOpaque(true);
            this.add(_coloredBox, BorderLayout.WEST);
            // Initialize color list
            _colors = new ArrayList();
            _colors.add(new Color(255, 0, 0));
            _colors.add(new Color(0, 255, 0));
            _colors.add(new Color(0, 0, 255));
            _colors.add(new Color(255, 215, 0));
            _colors.add(new Color(255, 255, 0));
            _colors.add(new Color(0, 255, 255));
        public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
            // Get the selected index.
            int selectedIndex = ((Integer)value).intValue();
            // Set the background color for each element
            if (isSelected) {
                setBackground(list.getSelectionBackground());
                setForeground(list.getSelectionForeground());
            } else {
                setBackground(list.getBackground());
                setForeground(list.getForeground());
            // Set text
            String text = _textLabels[selectedIndex];
            _label.setText(text);
            _label.setFont(list.getFont());
            // Set box
            Color current = (Color) _colors.get(selectedIndex);
            _coloredBox.setBackground(current);
            return this;
    }(Main: CustomComboBoxDemo.java)
    import java.awt.*;
    import javax.swing.*;
    public class CustomComboBoxDemo extends JPanel
        public CustomComboBoxDemo()
            super(new BorderLayout());
            // Combo list
            Integer[] intArray = new Integer[6];
            for (int i = 0; i < 6; i++) intArray[i] = new Integer(i);
            // Create the combo box.
            JComboBox colorList = new JComboBox(intArray);
            ComboBoxRenderer renderer= new ComboBoxRenderer();
            renderer.setPreferredSize(new Dimension(120, 20));
            colorList.setRenderer(renderer);
            colorList.setMaximumRowCount(5);
            colorList.setSelectedIndex(2);
            // Lay out the demo.
            add(colorList, BorderLayout.PAGE_START);
            setBorder(BorderFactory.createEmptyBorder(20,20,20,20));
        private static void CreateAndShowGUI()
            // Create and set up the window.
            JFrame frame = new JFrame("CustomComboBoxDemo");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            // Create and set up the content pane
            JComponent newContentPane = new CustomComboBoxDemo();
            newContentPane.setOpaque(true);
            frame.setContentPane(newContentPane);
            // Display the window.
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args)
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    CreateAndShowGUI();
    }Edited by: geforce2000 on Dec 13, 2009 3:37 AM
    Edited by: geforce2000 on Dec 13, 2009 3:38 AM

    BeForthrightWhenCrossPostingToOtherSites
    Here's one: [custom-renderer-almost-works|http://www.java-forums.org/awt-swing/23831-custom-renderer-almost-works.html]
    Any others?
    Next issue: TellTheDetails
    You may understand fully just what is not working here, but we don't since you tell us that it doesn't work, but never really tell us how.

  • Cant change profiles as code /Applications/Firefox.app/Contents/MacOS/firefox-bin -ProfileManager says its not recognized and ive restarted it twice to make sure its closed

    Cant change my profiles and the code /Applications/Firefox.app/Contents/MacOS/firefox-bin -ProfileManager as stated on the page doesnt work..It says -bash: /Applications/Firefox.app/Contents/MacOS/firefox-bin: No such file or directory...I cant create a new one or manage them cause of not allowing in the profile area..
    == This happened ==
    Every time Firefox opened
    == i typed it in and it stated it was not recognized

    An update.
    I almost never use TFF24 so I haven't really been testing this.  However, I did have an issue with TFF17 where it crashed or something.  When I restarted TFF17 it had somehow decided to start using my TFF24 profile.  No real harm there other than puzzlement, and I was missing all my plugins and extensions.  Fortunately I keep the profile switcher extension in both profiles so I used it to switch back to my TFF17 profile.  A few days later I needed to use TFF24.  When I tried starting it with TFF17 still running it did not start up but gave me the old warning about not being able to run two versions of Firefox.  I quit TFF17, started TFF24 and it started up using my TFF17 profile.  Of course then it ran an extension compatibility check, found the "outdated" ones and removed them from the profile!  They were still gone when I restarted in TFF17.   An add-on check said one of them (Classic Compact) only had a Firefox20+ version available until I did some real web searching and finally found a page with the older version.  By the way, simply copying the extensions folder from a profile backup does not seem to install a full suite of extensions, you have to do the full profile.
    Observations:
    - If you do this, keep a profile switcher add-on in both copies of TFF.  Select it to always display at startup which is annoying but not a huge amount of labor to click through.  That way you can make sure each version is starting with the correct profile.  I also installed an add-on which stops TFF from doing an add-on compatibility check when starting, just in case.  It is easy to toggle on and off if you really want one done.
    - Of course right now I don't have capability to keep both versions running at the same time unless I go back and set it all up again, but at least I can have two different versions for when I need to run the newer one.

  • Setting Color for whole application

    Hello everybody.
    I've to set the Button.background - Color for a whole application.
    For these purpose I use the JColorChooser and the
    UIManager.put("Button.background",>anyColor<); - method.
    When I use this the first time after start it works fine. When I try to change the color again it doesn't.
    Any ideas?
    Thanks for your help.

    OK, no more help needed at this time.
    My mistake was that I tried to call
    UIManager.put("Button.background",Color.red);
    it has to be:
    UIManager.put("Button.background",new ColorUIResource(Color.red));

  • Is there a way to activate the whole application in Non Development system?

    Hi All,
    Is there a way to activate the whole application in Non Development system? Using some BRF Plus Tool.
    We copied a sample application and customized the same as per our requirement. The same is then released to Test System for testing. On Test system this application with all component is in non-active state. We re activated the application with all the component and released it to Test System. But still the application is inactive.
    Application is a of storage type system and so cannot use changeability exit to activate on test system.
    TR log shows imported with error. Below is the extract of the error:
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    BRF+: Runtime client: 000 / target client: 400
    BRF+: Object activation of new version started for 418 object IDs
    BRF+: <<< *** BEGIN: Content from Application Component  CA  *** >>>
    BRF+: <<< BEGIN: Messages for IDs (53465BA36D8651B0E1008000AC11420B/ )  Table 'Dunning Proposal Line Items (Table)' >>>
    No active version found for 23.04.2014 08:14:10 with timestamp
    No active version found for IT_FKKMAVS with timestamp 23.04.2014 08:14:10
    No active version found for IT_FKKMAVS with timestamp 23.04.2014 08:14:11
    BRF+: <<< END  : Messages for IDs (53465BA36D8651B0E1008000AC11420B/ )  Table 'Dunning Proposal Line Items (Table)' >>>
    BRF+: <<< *** END  : Content from Application Component  CA  *** >>>
    BRF+: Object activation failed (step: Activate )
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    BRF+: Import queue update with RC 12
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Errors occurred during post-handling FDT_AFTER_IMPORT for FDT0001 T
    FDT_AFTER_IMPORT belongs to package SFDT_TRANSPORT
    The errors affect the following components:
       BC-SRV-BR (BRFplus - ABAP-Based Business Rules)
    Post-import method FDT_AFTER_IMPORT completed for FDT0001 T, date and time: 20140423011412
    Post-import methods of change/transport request DE1K901989 completed
         Start of subsequent processing ... 20140423011359
         End of subsequent processing... 20140423011412
    Any help would be appreciated.

    Is IT_FKKMAVS part of the same transport request or was it sent already earlier?
    You may have a look at the request if it was OK. Probably not.
    Maybe in the meantime more requests reached the system that now have in combination solved the problem. What is your release and support package level?
    Higher versions of BRFplus have a lot of automatic correction mechanisms built into it.
    E.g. problematic imports are collected in an import queue. As soon as a request comes in that fixes any problems the after import processing for faulty imports is automatically redone.

  • How to track changes in a hyperion application for SOX control?

    Hello all,
    We have been working on identifying the best way on how to track changes in a hyperion application in regards to the SOX control.
    The following areas have been identified as the main areas of an application where the changes are to be tracked:
    Monthly data load from ODI
    Calculation of data
    Metadats change
    Formula edit
    Changes to reports
    Changes to security
    Can anybody please suggest the best ways to do this? Has anyone experienced this issue before?
    Somebody suggested that there is hyperion auditing available.
    Is there any other software that is available that can do this or just documenting the changes would be the best option?
    Please suggest. Toyr response would be appreciated.
    Thanks.

    Shared Services allows the auditing of provisioning and life-cycle management activities to track changes to security objects and the artifacts that are exported or imported using Lifecycle Management Utility.
    For Shared Services auditing, refer Page 129 of http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_security.pdf
    Planning Administrators can select aspects of the application for change tracking. For example, you can track changes to metadata, such as when users change a member property or add a currency. You can also track changes in data forms, business rules, workflow, users, access permissions, and so on.
    For Planning auditing, refer Page 56 of http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin.pdf
    HTH-
    Jasmine.

  • How to store global values for the whole application to use ?

    Hi,
    In our application, we have global values that is store in a parameter table, I want only to query it once, and it will be used every where from the whole application.
    e.g :
    I have general parameter tables that store :
    % Tax
    Current Period
    etc..
    Then these values will be used in our business rules in the whole application.
    How can I do that in ADF BC ?
    Thank you,
    xtanto

    I would go ahead and create a transient VO with an attribute called "userLanguage" and store the value at the initialization step.
    We generally call this type of VO as PVO which is a transient VO and contains only 1 record at any point of time. Keep this VO inside the RootAM and you can write a static util method as below..
    public static String getUserLanguageFromPVO()
    PVOImpl pvo = (PVOImpl)am.findViewObject("MyPVO");
    if(pvo != null)
    Row row = pvo.first(); //Always returns the one record
    return (row == null ? null :
    (String)row.getAttribute("UserLanguage"));
    return null;
    }

  • Handling Visual Changes in a Cairngorm Application

    I was wondering if there are any suggestions/best practices for how to handle visual changes in a Cairngorm Application.
    I am currently working on a Cairngorm Application with many moving parts - Trees, Lists, ViewStacks with ViewStacks as children. I want the application to be able to change visually based on some user actions - no real business logic involved. For instance, I have a menu that has options for displaying PopUps, or making hidden Panels visible. Right now, I am using Events all over the place to bubble up to the appropriate parent component.
    Does it make sense to have properties in the Model that control the visual aspects of the Application?
    Any thoughts are greatly appreciated.
    Thank you.

    Absolutly, I think.
    We bind, for instance, the enabled property of many controls to {model.loginOK} for instance, or control visible/includeInLayout with {model.userRole=='admin'}.

  • SWFLoader problem(make the whole application zoomed in Mac)

    Hi,
    I am using swfloader to load an swf.  Everything works on different browsers in pc(safari, chorme, IE and ff). But when I launch this in safari in mac machine. whiling the application loading he swf file(same swf file(the size is 1024*720), whole application zoom in(everything become bigger). 
    Any help is appreciated.
    flash player version 10.1
    Thanks

    This bug seems only happened if your screen's resolution is not a native resolution. For example, if your screen's native resolution is 1650*1024 and you set your screen resolution to be 1440 * 1050, the whole application will be zoomed once you are trying to loader a swf.
    I believe this is a bug of flash player.

  • Caching whole Application Object[in addition to swf]

    My whole application is written in JSF. I am using SWFobject
    to embed Flex component in a JSF page[which just contains Flex swf
    only]. Now the user can click a button on JSF application and can
    navigate to this JSF page[with Flex application embedded], and he
    can again click a button on the Flex application and move back to
    original JSF application.Now the issue is when the user moves from
    original JSF page to Flex embedded JSF page he looses the old state
    of the Flex application.
    Here is the use case :
    1.) User is on main JSF page and hits button to navigate to
    another JSF page which has Flex application embedded using
    SWFObject.
    2.) on the Flex application He has tree on the left side and
    some interactive images on the right side and the bottom portion of
    the screen has tabs displaying some information corresponding to
    each node.Everytime he clicks on a node on the tree I create a new
    Tab on the bottom portion and display corresponding information
    which gets fetched from the backend.
    3.) Now lets say he clicked on two nodes and current state of
    application is tree is expanded second node is selected and some
    intercative images are displayed on the right side and two tabs are
    created on the bottom of screen with some info.
    4.) Now user decides to go back to original JSF
    application(he hits a button on the present screen to take him back
    to original JSF page).
    5.) Now when the user tries to navigate back to Flex
    application, he looses all the previous state of the Flex
    application.
    So My question is, is there a way that old state of the flex
    application be saved.this different then caching swf, which I am
    already doing, But I do not want the SystemManager to create a new
    instance of application object (because in that case I will loose
    all the components and there previous states), but instead use the
    last saved application instance bypassing all the lifecycle of
    application object and adding the existing application instance to
    the display list directly].
    I want to know whether this is even possible???
    1.) Can I store the application instance somewhere somehow.
    2.) Tell SystemManager to use this applicationInstance rather
    than instantiating a new one.
    If its not possible then what are the alternatives to achieve
    same kind of behavior?

    "vikbar" <[email protected]> wrote in
    message
    news:gb0tug$7je$[email protected]..
    > Hi Amy,
    >
    > Isnt the HistoryManager approach more specific to Flex
    application i.e if
    > user
    > is just navigating with in the flex application? In my
    case the user will
    > navigate between a JSF page which does not have any SWF
    file and the
    > another
    > one which has swf file embedded. Now everytime when the
    suer moves to the
    > flex
    > embedded JSF page from the Non Flex JSF page these are
    the steps which are
    > always going to happen :
    >
    > 1.) System Manager will get initialized and will create
    PreLoader
    > instance.
    > 2.) The preLoader will then try to download the swf
    file. Now since this
    > is
    > the second time the user is coming back to the flex page
    so the broswer
    > would
    > have already cached this swf, so Preloader will skip the
    downloading
    > swf/RSl
    > step and hence you wont see any initialization progress
    bar.
    >
    > 3.) New Application object will get instantiated and
    will go through its
    > whole
    > lifecycle.
    >
    > So, I guess historyManager approach will work only if
    the user stays on
    > the
    > flex application only and navigates with in flex
    application itself(so in
    > that
    > case if the user clicks back then it knows which flex
    component or view to
    > display), but in my case user will completely move away
    from flex page to
    > a
    > JSF page and then will try to come back.
    >
    You'd need to put the right stuff in the url to make it work,
    just like if
    you were calling a page that's expecting GET params. I don't
    really use the
    HistoryManager, so you'll need to either look into this
    yourself or ask
    someone who knows more about it.
    HTH;
    Amy

Maybe you are looking for

  • Error while deploying a mapping in OWB.

    Hi All, OWB configuration is as follows: Oracle9i Warehouse Builder Client: 9.2.0.2.8 Oracle9i Warehouse Builder Client: 9.2.0.2.0 OS: Windows XP Professional. Following is error message displayed when i tried to deploy a mapping thru OWB Client. RTC

  • Technical question:  Is it possible to work on the same Lightroom catalog across two computers and have the catalog sync? If so, how??

    Technical question: Is it possible to work on the same Lightroom catalog across two computers and have the catalog sync? If so, how?? Here's a little more information on what I am trying to do. I have a desktop computer with 4tb worth of pictures tha

  • Unexpect line performanc​e

    I have two problems here: 1. When I use make a  2D curve, it looks like the connect the last point of my data the the first point, the slash form time 1s to time 0s isn't my expect.(Please see the figure attached) 2.When I want to  use  2 Y Axis, I c

  • Trouble with brushes in photoshop elements 7.0

    My photoshop elements 7.0 worked perfectly fine until about a week ago, when all of my brushes (plug-ins and defaults) started acting strange. The image below shows what it looks like. I'm working with only one layer here (the background), using the

  • PROBLEM WITH RFC DESTINATION

    Hi GURU, I have a problem with the record of RFC destination. When i created RFC destination TCP/IP when i made the tests, it`s ok. But when i used this rfc destination in a  function of ABAP. I have an error. The error is: RfcExecProgram'#Win32 erro