Getting the value of a key pressed

This is a pretty simple question, but one which I can't seem to find the answer to...
How do you determine which key (or keys) have been pressed with the keyboard down event?
My app generates lists of files that match certain criteria, and I'd like the user to be able to Quicklook the files, before deciding which ones to open...
I have it working where the user has to click a button, but I'd like to intercept the spacebar, and activate QL that way.

To clarify, you want something like this:
"if key pressed is "option" then (do something)" ??
For this, I've used two things on a PPC running 10.3 and 10.4.
One is a scripting addition from Jon's Commands, a free download. The specific command is "keys pressed." Although I don't have an Intel machine, I was trying to look ahead and contacted the developer, Jon Pugh, who replied that it was unlikely this would be updated for Intel. (It might work on PPC 10.5, don't know. But it looks like you could try it on your non-Intel machines.)
The other is an application called "Extra Suites." This is not free, but does have quite a few interesting commands, including "keys down." The original version, released some years ago, is not for Intel (don't know about 10.5). but the developer reports that he is trying for an Intel release early this year. You can download the PPC version via Versiontracker or MacUpdate, but the developer's website (http://www.kanzu.com/) was last updated in 2004. I contacted him by a link on that site, which is how I learned of the impending Intel update (and website update, he said). He seemed to be looking for people to test the Intel version, so you might try contacting him.
I may be wrong, but I think the "keyboard down event" that you mention is used in the opposite sense (in a System Events tell block), e.g, 'keystroke "r" using command down' which has the script "press" r, if for some reason you want that.

Similar Messages

  • How to get the value in a hashmap with a key of expression "123-456"?

    Hi all,
    I new to java and having a problem with getting values from a hashmap.here is the code which i wrote
    Map map = new HashMap();
    int m = 123;
    int n = 456;
    String key = String.valueOf(m) + "-" + String.valueOf(n);
        map.put(key, true);
        Now i am trying to get the value and i get an exception
    boolean b = map.get(String.valueOf(m) + "-" + String.valueOf(n));Can someone help me how to pass this expression as key in the hashamp

    Hi corlettk,
    Thanks for your reply. I have defined my map as Map<String, Boolean> selectedIds = new HashMap<String, Boolean>();
                selectedIds.put("123-456", true);           
                int m=123; int n=456;
                                     selectedIds.put(String.valueOf(m) + "-" + String.valueOf(n),true);
                boolean viv = selectedIds.get("String.valueOf(m)-String.valueOf(n)");
                System.out.println(viv);
                My problem is the hashmap key must be set dynamically ("123-456" is just an example) and when i get the value i should be able to pass those varibales in an expression correctly. Please let me know how can i pass an expression like the one above as a hashmap key. Please advise.

  • How can we get the value of the key field in a custom data model using governance API?

    Dear Team,
    How can we get the value of the key field in a custom data model, to be used for manipulation of the change request fields using governance API?
    Any kind of help would be sincerely appreciated.
    Thanks & Regards,
    Tushar.

    Hi Michael,
    Thanks for direction. Let me give more context on this as I'm interested to get more details..One of the issue was to read cross entity field values on UI based on user action and set other entity field behaviour...It is similar to what is being posted here.
    For ex: Reading MTART from Basic Data UIBB in MM MDG UI and set the field properties in some other custom entities say ZZETEST. This cannot be done using UI BADI as it only supports single entity at a time and not cross entity. So alternatively we found a solution where we can enhance existing PLMB feederclass cl_mdg_bs_mat_feeder_form by reading the model and the entity as needed as it it proved that it supports cross entity UI field behaviours and so business requirements.
    This is a workaround for now.
    So the question is How do we achive it using governance API for cross entity field behiaviours.?or what is the right way doing this.
    Can we do that using governance API and its' methods?
    In the Governance API doc you provided below has referring to below external model as part of gevernance API.
    The active or inactive data (before or during the derivation or the check) can be read
    with the external data model interface IF_USMD_MODEL_EXT with the method READ_CHAR_VALUE and
    the corresponding READ_MODE parameter. To avoid unnecessary flushes (derivations), the NO_FLUSH
    parameter should b
    e set to ‘X’.
    Thanks
    Praveen

  • NullPointerException - Cannot get the value from variable f_cashGiven

    In SubCheckout.java (a POS), what I want is when Payment button (f_cashPayment) is pressed, the action "Cash" is performed, get the value from Cash Given (f_cashGiven), do the subtraction and post the value as Cash Return (f_cashReturn). The code is filled in actionPerformed. But I cannot get the value by using f_cashGiven.getValue() from VNumber class. It returns NULL. This should be quite straight forward, but I do not know what is wrong. Please help!
    Enclosed please find the source code of SubCheckout.java and VNumber.java
    This is the code of SubCheckout.java :
    * The contents of this file are subject to the   Compiere License  Version 1.1
    * ("License"); You may not use this file except in compliance with the License
    * You may obtain a copy of the License at http://www.compiere.org/license.html
    * Software distributed under the License is distributed on an  "AS IS"  basis,
    * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
    * the specific language governing rights and limitations under the License.
    * The Original Code is Compiere ERP & CRM Smart Business Solution. The Initial
    * Developer of the Original Code is Jorg Janke. Portions created by Jorg Janke
    * are Copyright (C) 1999-2005 Jorg Janke.
    * All parts are Copyright (C) 1999-2005 ComPiere, Inc.  All Rights Reserved.
    * Contributor(s): ______________________________________.
    package org.compiere.pos;
    import java.awt.*;
    import java.awt.event.*;
    import java.math.BigDecimal;
    import javax.swing.border.*;
    import org.compiere.grid.ed.*;
    import org.compiere.swing.*;
    import org.compiere.util.*;
    *     POS Checkout Sub Panel
    *  @author Jorg Janke
    *  @version $Id: SubCheckout.java,v 1.3 2005/03/11 20:28:22 jjanke Exp $
    public class SubCheckout extends PosSubPanel implements ActionListener
          *      Constructor
          *     @param posPanel POS Panel
         public SubCheckout (PosPanel posPanel)
              super (posPanel);
         }     //     PosSubCheckout
         private CButton f_register = null;
         private CButton f_summary = null;
         private CButton f_process = null;
         private CButton f_print = null;
         private CLabel f_lcreditCardNumber = null;
         private CTextField f_creditCardNumber = null;
         private CLabel f_lcreditCardExp = null;
         private CTextField f_creditCardExp = null;
         private CLabel f_lcreditCardVV = null;
         private CTextField f_creditCardVV = null;
         private CButton f_cashPayment = null;
         private CLabel f_lcashGiven = null;
         private VNumber f_cashGiven = null;
         private CLabel f_lcashReturn = null;
         private VNumber f_cashReturn = null;
         private CButton f_creditPayment = null;
         /**     Logger               */
         private static CLogger log = CLogger.getCLogger(SubCheckout.class);
          *      Initialize
         public void init()
              //     Title
              TitledBorder border = new TitledBorder(Msg.getMsg(Env.getCtx(), "Checkout"));
              setBorder(border);
              //     Content
              setLayout(new GridBagLayout());
              GridBagConstraints gbc = new GridBagConstraints();
              gbc.insets = INSETS2;
              //     --     0
              gbc.gridx = 0;
              f_register = createButtonAction("Register", null);
              gbc.gridy = 0;
              add (f_register, gbc);
              f_summary = createButtonAction("Summary", null);
              gbc.gridy = 1;
              add (f_summary, gbc);
              f_process = createButtonAction("Process", null);
              gbc.gridy = 2;
              add (f_process, gbc);
              f_print = createButtonAction("Print", null);
              gbc.gridy = 3;
              add (f_print, gbc);
              //     --     1 -- Cash
              gbc.gridx = 1;
              gbc.gridheight = 2;
              gbc.fill = GridBagConstraints.BOTH;
              gbc.weightx = .1;
              CPanel cash = new CPanel(new GridBagLayout());
              cash.setBorder(new TitledBorder(Msg.getMsg(Env.getCtx(), "Cash")));
              gbc.gridy = 0;
              add (cash, gbc);
              GridBagConstraints gbc0 = new GridBagConstraints();
              gbc0.insets = INSETS2;
              gbc0.anchor = GridBagConstraints.WEST;
              f_lcashGiven = new CLabel(Msg.getMsg(Env.getCtx(),"CashGiven"));
              cash.add (f_lcashGiven, gbc0);
              f_cashGiven = new VNumber("CashGiven", false, false, true, DisplayType.Amount,
                   Msg.translate(Env.getCtx(), "CashGiven"));
              f_cashGiven.addActionListener(this);
              f_cashGiven.setColumns(10, 25);
              cash.add (f_cashGiven, gbc0);
              f_cashGiven.setValue(Env.ZERO);
              f_lcashReturn = new CLabel(Msg.getMsg(Env.getCtx(),"CashReturn"));
              cash.add (f_lcashReturn, gbc0);
              f_cashReturn = new VNumber("CashReturn", false, true, false, DisplayType.Amount,
                   "CashReturn");
              f_cashReturn.setColumns(10, 25);
              cash.add (f_cashReturn, gbc0);
              f_cashReturn.setValue(Env.ZERO);
              f_cashPayment = createButtonAction("Payment", null);
              f_cashPayment.setActionCommand("Cash");
              gbc0.anchor = GridBagConstraints.EAST;
              gbc0.weightx = 0.1;
              cash.add (f_cashPayment, gbc0);
              //     --     1 -- Creditcard
              CPanel creditcard = new CPanel(new GridBagLayout());
              creditcard.setBorder(new TitledBorder(Msg.translate(Env.getCtx(), "CreditCardType")));
              gbc.gridy = 2;
              add (creditcard, gbc);
              GridBagConstraints gbc1 = new GridBagConstraints();
              gbc1.insets = INSETS2;
              gbc1.anchor = GridBagConstraints.WEST;
              gbc1.gridx = 0;
              gbc1.gridy = 0;
              f_lcreditCardNumber = new CLabel(Msg.translate(Env.getCtx(), "CreditCardNumber"));
              creditcard.add (f_lcreditCardNumber, gbc1);
              gbc1.gridy = 1;
              f_creditCardNumber = new CTextField(18);
              creditcard.add (f_creditCardNumber, gbc1);
              gbc1.gridx = 1;
              gbc1.gridy = 0;
              f_lcreditCardExp = new CLabel(Msg.translate(Env.getCtx(),"CreditCardExp"));
              creditcard.add (f_lcreditCardExp, gbc1);
              gbc1.gridy = 1;
              f_creditCardExp = new CTextField(5);
              creditcard.add (f_creditCardExp, gbc1);
              gbc1.gridx = 2;
              gbc1.gridy = 0;
              f_lcreditCardVV = new CLabel(Msg.translate(Env.getCtx(), "CreditCardVV"));
              creditcard.add (f_lcreditCardVV, gbc1);
              gbc1.gridy = 1;
              f_creditCardVV = new CTextField(5);
              creditcard.add (f_creditCardVV, gbc1);
              gbc1.gridx = 3;
              gbc1.gridy = 0;
              gbc1.gridheight = 2;
              f_creditPayment = createButtonAction("Payment", null);
              f_creditPayment.setActionCommand("CreditCard");
              gbc1.anchor = GridBagConstraints.EAST;
              gbc1.weightx = 0.1;
              creditcard.add (f_creditPayment, gbc1);
         }     //     init
          *      Get Panel Position
         public GridBagConstraints getGridBagConstraints()
              GridBagConstraints gbc = super.getGridBagConstraints();
              gbc.gridx = 0;
              gbc.gridy = 3;
              return gbc;
         }     //     getGridBagConstraints
          *      Dispose - Free Resources
         public void dispose()
              super.dispose();
         }     //     dispose
          *      Action Listener
          *     @param e event
         public void actionPerformed (ActionEvent e)
              String action = e.getActionCommand();
              if (action == null || action.length() == 0)
                   return;
              log.info( "PosSubCheckout - actionPerformed: " + action);
              if (e.getSource() == f_cashGiven) {
                   f_cashGiven.setValue(f_cashGiven.getValue());
                   System.out.println("f_cashGiven"+f_cashGiven.getDisplay());
              //     Register
              //     Summary
              //     Print
              if (action.equals("Cash")) {
                   BigDecimal CashGiven, GrandTotal, CashReturn;
                   System.out.println("Cash given is "+f_cashGiven.getDisplay());
                   CashGiven = (BigDecimal)f_cashGiven.getValue();
                   GrandTotal = (BigDecimal)p_posPanel.f_curLine.getOrder().getGrandTotal();
                   CashReturn = CashGiven.subtract(GrandTotal);
                   f_cashReturn.setValue(CashReturn);
              //     Cash (Payment)
              //     CreditCard (Payment)
         }     //     actionPerformed
    }     //     PosSubCheckoutThis is the code of VNumber.java :
    * The contents of this file are subject to the   Compiere License  Version 1.1
    * ("License"); You may not use this file except in compliance with the License
    * You may obtain a copy of the License at http://www.compiere.org/license.html
    * Software distributed under the License is distributed on an  "AS IS"  basis,
    * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
    * the specific language governing rights and limitations under the License.
    * The Original Code is Compiere ERP & CRM Smart Business Solution. The Initial
    * Developer of the Original Code is Jorg Janke. Portions created by Jorg Janke
    * are Copyright (C) 1999-2005 Jorg Janke.
    * All parts are Copyright (C) 1999-2005 ComPiere, Inc.  All Rights Reserved.
    * Contributor(s): ______________________________________.
    package org.compiere.grid.ed;
    import java.awt.*;
    import java.awt.event.*;
    import java.beans.*;
    import java.math.*;
    import java.text.*;
    import java.util.logging.*;
    import javax.swing.*;
    import javax.swing.text.*;
    import org.compiere.apps.*;
    import org.compiere.model.*;
    import org.compiere.swing.*;
    import org.compiere.util.*;
    *     Number Control
    *      @author      Jorg Janke
    *      @version      $Id: VNumber.java,v 1.41 2005/09/03 01:57:16 jjanke Exp $
    public final class VNumber extends JComponent
         implements VEditor, ActionListener, KeyListener, FocusListener
         /**     Number of Columns (12)          */
         public final static int SIZE = 12;
          *  IDE Bean Constructor
         public VNumber()
              this("Number", false, false, true, DisplayType.Number, "Number");
         }   //  VNumber
          *     Create right aligned Number field.
          *     no popup, if WindowNo == 0 (for IDs)
          *  @param columnName column name
          *  @param mandatory mandatory
          *  @param isReadOnly read only
          *  @param isUpdateable updateable
          *  @param displayType display type
          *  @param title title
         public VNumber(String columnName, boolean mandatory, boolean isReadOnly, boolean isUpdateable,
              int displayType, String title)
              super();
              super.setName(columnName);
              m_columnName = columnName;
              m_title = title;
              setDisplayType(displayType);
              LookAndFeel.installBorder(this, "TextField.border");
              this.setLayout(new BorderLayout());
    //          this.setPreferredSize(m_text.getPreferredSize());          //     causes r/o to be the same length
    //          int height = m_text.getPreferredSize().height;
    //          setMinimumSize(new Dimension (30,height));
              //     ***     Text     ***
              m_text.setBorder(null);
              m_text.setHorizontalAlignment(JTextField.TRAILING);
              m_text.addKeyListener(this);
              m_text.addFocusListener(this);
              //     Background
              setMandatory(mandatory);
              this.add(m_text, BorderLayout.CENTER);
              //     ***     Button     ***
              m_button.setIcon(Env.getImageIcon("Calculator10.gif"));
              m_button.setMargin(new Insets(0, 0, 0, 0));
              m_button.setFocusable(false);
              m_button.addActionListener(this);
              this.add (m_button, BorderLayout.EAST);
              //     Prefereed Size
              this.setPreferredSize(this.getPreferredSize());          //     causes r/o to be the same length
              //  Size
              setColumns(SIZE, CComboBox.FIELD_HIGHT-4);     
              //     ReadWrite
              if (isReadOnly || !isUpdateable)
                   setReadWrite(false);
              else
                   setReadWrite(true);
         }     //     VNumber
          *  Dispose
         public void dispose()
              m_text = null;
              m_button = null;
              m_mField = null;
         }   //  dispose
          *     Set Document
          *  @param doc document
         protected void setDocument(Document doc)
              m_text.setDocument(doc);
         }     //     getDocument
         private String               m_columnName;
         protected int               m_displayType;     //  Currency / UoM via Context
         private DecimalFormat     m_format;
         private String               m_title;
         private boolean               m_setting;
         private String               m_oldText;
         private String               m_initialText;
         private boolean               m_rangeSet = false;
         private Double               m_minValue;
         private Double               m_maxValue;
         private boolean               m_modified = false;
         /**  The Field                  */
         private CTextField          m_text = new CTextField(SIZE);     //     Standard
         /** The Button                  */
         private CButton              m_button = new CButton();
         private MField          m_mField = null;
         /**     Logger               */
         private static CLogger log = CLogger.getCLogger(VNumber.class);
          *      Set no of Columns
          *     @param columns columns
         public void setColumns (int columns, int height)
              m_text.setPreferredSize(null);
              m_text.setColumns(columns);
              Dimension size = m_text.getPreferredSize();
              if (height > size.height)               //     default 16
                   size.height = height;
              if (CComboBox.FIELD_HIGHT-4 > size.height)
                   size.height = VLookup.FIELD_HIGHT-4;
              this.setPreferredSize(size);          //     causes r/o to be the same length
              this.setMinimumSize(new Dimension (columns*10, size.height));
              m_button.setPreferredSize(new Dimension(size.height, size.height));
         }     //     setColumns
          *     Set Range with min & max
          *  @param minValue min value
          *  @param maxValue max value
          *     @return true, if accepted
         public boolean setRange(Double minValue, Double maxValue)
              m_rangeSet = true;
              m_minValue = minValue;
              m_maxValue = maxValue;
              return m_rangeSet;
         }     //     setRange
          *     Set Range with min & max = parse US style number w/o Gouping
          *  @param minValue min value
          *  @param maxValue max value
          *  @return true if accepted
         public boolean setRange(String minValue, String maxValue)
              if (minValue == null || maxValue == null)
                   return false;
              try
                   m_minValue = Double.valueOf(minValue);
                   m_maxValue = Double.valueOf(maxValue);
              catch (NumberFormatException nfe)
                   return false;
              m_rangeSet = true;
              return m_rangeSet;
         }     //     setRange
          *  Set and check DisplayType
          *  @param displayType display type
         public void setDisplayType (int displayType)
              m_displayType = displayType;
              if (!DisplayType.isNumeric(displayType))
                   m_displayType = DisplayType.Number;
              m_format = DisplayType.getNumberFormat(displayType);
              m_text.setDocument (new MDocNumber(displayType, m_format, m_text, m_title));
         }   //  setDisplayType
          *     Set ReadWrite
          *  @param value value
         public void setReadWrite (boolean value)
              if (m_text.isReadWrite() != value)
                   m_text.setReadWrite(value);
              if (m_button.isReadWrite() != value)
                   m_button.setReadWrite(value);
              //     Don't show button if not ReadWrite
              if (m_button.isVisible() != value)
                   m_button.setVisible(value);
         }     //     setReadWrite
          *     IsReadWrite
          *  @return true if rw
         public boolean isReadWrite()
              return m_text.isReadWrite();
         }     //     isReadWrite
          *     Set Mandatory (and back bolor)
          *  @param mandatory mandatory
         public void setMandatory (boolean mandatory)
              m_text.setMandatory(mandatory);
         }     //     setMandatory
          *     Is it mandatory
          *  @return true if mandatory
         public boolean isMandatory()
              return m_text.isMandatory();
         }     //     isMandatory
          *     Set Background
          *  @param color color
         public void setBackground(Color color)
              m_text.setBackground(color);
         }     //     setBackground
          *     Set Background
          *  @param error error
         public void setBackground (boolean error)
              m_text.setBackground(error);
         }     //     setBackground
          *  Set Foreground
          *  @param fg foreground
         public void setForeground(Color fg)
              m_text.setForeground(fg);
         }   //  setForeground
          *     Set Editor to value
          *  @param value value
         public void setValue(Object value)
              log.finest("Value=" + value);
              if (value == null)
                   m_oldText = "";
              else
                   m_oldText = m_format.format(value);
              //     only set when not updated here
              if (m_setting)
                   return;
              m_text.setText (m_oldText);
              m_initialText = m_oldText;
              m_modified = false;
         }     //     setValue
          *  Property Change Listener
          *  @param evt event
         public void propertyChange (PropertyChangeEvent evt)
              if (evt.getPropertyName().equals(org.compiere.model.MField.PROPERTY))
                   setValue(evt.getNewValue());
         }   //  propertyChange
          *     Return Editor value
          *  @return value value (big decimal or integer)
         public Object getValue()
              if (m_text == null || m_text.getText() == null || m_text.getText().length() == 0)
                   return null;
              String value = m_text.getText();
              //     return 0 if text deleted
              if (value == null || value.length() == 0)
                   if (!m_modified)
                        return null;
                   if (m_displayType == DisplayType.Integer)
                        return new Integer(0);
                   return Env.ZERO;
              if (value.equals(".") || value.equals(",") || value.equals("-"))
                   value = "0";
              try
                   Number number = m_format.parse(value);
                   value = number.toString();      //     converts it to US w/o thousands
                   BigDecimal bd = new BigDecimal(value);
                   if (m_displayType == DisplayType.Integer)
                        return new Integer(bd.intValue());
                   if (bd.signum() == 0)
                        return bd;
                   return bd.setScale(m_format.getMaximumFractionDigits(), BigDecimal.ROUND_HALF_UP);
              catch (Exception e)
                   log.log(Level.SEVERE, "Value=" + value, e);
              if (m_displayType == DisplayType.Integer)
                   return new Integer(0);
              return Env.ZERO;
         }     //     getValue
          *  Return Display Value
          *  @return value
         public String getDisplay()
              return m_text.getText();
         }   //  getDisplay
          *      Get Title
          *     @return title
         public String getTitle()
              return m_title;
         }     //     getTitle
          *      Plus - add one.
          *      Also sets Value
          *     @return new value
         public Object plus()
              Object value = getValue();
              if (value == null)
                   if (m_displayType == DisplayType.Integer)
                        value = new Integer(0);
                   else
                        value = Env.ZERO;
              //     Add
              if (value instanceof BigDecimal)
                   value = ((BigDecimal)value).add(Env.ONE);
              else
                   value = new Integer(((Integer)value).intValue() + 1);
              setValue(value);
              return value;
         }     //     plus
          *      Minus - subtract one, but not below minimum.
          *      Also sets Value
          *     @param minimum minimum
          *     @return new value
         public Object minus (int minimum)
              Object value = getValue();
              if (value == null)
                   if (m_displayType == DisplayType.Integer)
                        value = new Integer(minimum);
                   else
                        value = new BigDecimal(minimum);
                   setValue(value);
                   return value;
              //     Subtract
              if (value instanceof BigDecimal)
                   BigDecimal bd = ((BigDecimal)value).subtract(Env.ONE);
                   BigDecimal min = new BigDecimal(minimum);
                   if (bd.compareTo(min) < 0)
                        value = min;
                   else
                        value = bd;
              else
                   int i = ((Integer)value).intValue();
                   i--;
                   if (i < minimum)
                        i = minimum;
                   value = new Integer(i);
              setValue(value);
              return value;
         }     //     minus
          *     Action Listener
          *  @param e event
         public void actionPerformed (ActionEvent e)
              log.config(e.getActionCommand());
              if (ValuePreference.NAME.equals(e.getActionCommand()))
                   if (MRole.getDefault().isShowPreference())
                        ValuePreference.start (m_mField, getValue());
                   return;
              if (e.getSource() == m_button)
                   m_button.setEnabled(false);
                   String str = startCalculator(this, m_text.getText(), m_format, m_displayType, m_title);
                   m_text.setText(str);
                   m_button.setEnabled(true);
                   try
                        fireVetoableChange (m_columnName, m_oldText, getValue());
                   catch (PropertyVetoException pve)     {}
                   m_text.requestFocus();
         }     //     actionPerformed
          *     Key Listener Interface
          *  @param e event
         public void keyTyped(KeyEvent e)    {}
         public void keyPressed(KeyEvent e)  {}
          *     Key Listener.
          *          - Escape           - Restore old Text
          *          - firstChange     - signal change
          *  @param e event
         public void keyReleased(KeyEvent e)
              log.finest("Key=" + e.getKeyCode() + " - " + e.getKeyChar()
                           + " -> " + m_text.getText());
              //  ESC
              if (e.getKeyCode() == KeyEvent.VK_ESCAPE)
                   m_text.setText(m_initialText);
              m_modified = true;
              m_setting = true;
              try
                   if (e.getKeyCode() == KeyEvent.VK_ENTER)     //     10
                        fireVetoableChange (m_columnName, m_oldText, getValue());
                        fireActionPerformed();
                   else     //     indicate change
                        fireVetoableChange (m_columnName, m_oldText, null);     
              catch (PropertyVetoException pve)     {}
              m_setting = false;
         }     //     keyReleased
          *     Focus Gained
          *  @param e event
         public void focusGained (FocusEvent e)
              if (m_text != null)
                   m_text.selectAll();
         }     //     focusGained
          *     Data Binding to MTable (via GridController.vetoableChange).
          *  @param e event
         public void focusLost (FocusEvent e)
         //          log.finest(e.toString());
              //     APanel - Escape
              if (e.getOppositeComponent() instanceof AGlassPane)
                   m_text.setText(m_initialText);
                   return;
              try
                   fireVetoableChange (m_columnName, m_initialText, getValue());
                   fireActionPerformed();
              catch (PropertyVetoException pve)     {}
         }   //  focusLost
          *     Invalid Entry - Start Calculator
          *  @param jc parent
          *  @param value value
          *  @param format format
          *  @param displayType display type
          *  @param title title
          *  @return value
         public static String startCalculator(Container jc, String value,
              DecimalFormat format, int displayType, String title)
              log.config("Value=" + value);
              BigDecimal startValue = new BigDecimal(0.0);
              try
                   if (value != null && value.length() > 0)
                        Number number = format.parse(value);
                        startValue = new BigDecimal (number.toString());
              catch (ParseException pe)
                   log.info("InvalidEntry - " + pe.getMessage());
              //     Find frame
              Frame frame = Env.getFrame(jc);
              //     Actual Call
              Calculator calc = new Calculator(frame, title,
                   displayType, format, startValue);
              AEnv.showCenterWindow(frame, calc);
              BigDecimal result = calc.getNumber();
              log.config( "Result=" + result);
              calc = null;
              if (result != null)
                   return format.format(result);
              else
                   return value;          //     original value
         }     //     startCalculator
          *  Set Field/WindowNo for ValuePreference
          *  @param mField field
         public void setField (MField mField)
              m_mField = mField;
              if (m_mField != null
                   && MRole.getDefault().isShowPreference())
                   ValuePreference.addMenu (this, popupMenu);
         }   //  setField
          *      Remove Action Listner
          *      @param l Action Listener
         public void removeActionListener(ActionListener l)
              listenerList.remove(ActionListener.class, l);
         }     //     removeActionListener
          *      Add Action Listner
          *      @param l Action Listener
         public void addActionListener(ActionListener l)
              listenerList.add(ActionListener.class, l);
         }     //     addActionListener
          *      Fire Action Event to listeners
         protected void fireActionPerformed()
              int modifiers = 0;
              AWTEvent currentEvent = EventQueue.getCurrentEvent();
              if (currentEvent instanceof InputEvent)
                   modifiers = ((InputEvent)currentEvent).getModifiers();
              else if (currentEvent instanceof ActionEvent)
                   modifiers = ((ActionEvent)currentEvent).getModifiers();
              ActionEvent ae = new ActionEvent (this, ActionEvent.ACTION_PERFORMED,
                   "VNumber", EventQueue.getMostRecentEventTime(), modifiers);
              // Guaranteed to return a non-null array
              Object[] listeners = listenerList.getListenerList();
              // Process the listeners last to first, notifying those that are interested in this event
              for (int i = listeners.length-2; i>=0; i-=2)
                   if (listeners==ActionListener.class)
                        ((ActionListener)listeners[i+1]).actionPerformed(ae);
         }     //     fireActionPerformed
    }     //     VNumber

    If getValue() returns null, you need to trace the execution of the code and figure out which sequence of code is leading to the return of null. This method looks complex - a lot of if statements. If you do not have a debugger, put System.out.println statements inside the method to figure out what's going on.

  • How to get the values from popup window to mainwindow

    HI all,
       I want to get the details from popup window.
          i have three input fields and one search button in my main window. when i click search button it should display popup window.whenever i click on selected row of the popup window table ,values should be visible in my main window input fields.(normal tables)
       now i am able to display popup window with values.How to get the values from popup window now.
       I can anybody explain me clearly.
    Thanks&Regards
    kranthi

    Hi Kranthi,
    Every webdynpro component has a global controller called the component controller which is visible to all other controllers within the component.So whenever you want to share some data in between 2 different views you can just make it a point to use the component controller's context for the same. For your requirement (within your popups view context) you will have have to copy the component controllers context to your view. You then will have to (programmatically) fill this context with your desired data in this popup view. You can then be able to read this context from whichever view you want. I hope that this would have made it clear for you. Am also giving you an [example|http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm] which you can go through which would give you a perfect understanding of all this. In this example the user has an input field in the main view. The user enters a customer number & presses on a pushbutton. The corresponding sales orders are then displayed in a popup window for the user. The user can then select any sales order & press on a button in the popup. These values would then get copied to the table in the main view.
    Regards,
    Uday

  • How to Get the values from Dynamic jasp page

    Hi,
    I have a jsp form page wherein i input the data form the user and get these values on the action servlet.
    But now i have added a feature to Add and Delete the Elements using javascript and this creates a dynamic form on the jsp page. I want to Get the values of these all elements at the Action servet.
    Please suggest the solution.
    Thanks,
    JavaQueue

    getParameterMap() returns a Map[1] with all parameters; the parameter name is the key and the value is the value of the parameter in the form of String arrays.
    You have to iterate over the Map and get values as you see fit. Search for a tutorial/ example/ sample for using Maps. I'm sure you'll find loads that will do a better job at explaining.
    [1] http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    ----------------------------------------------------------------

  • How to get the value from a database without submitting a jsp page

    I have a jsp which has a text box depending on the value entered I want to get the value from a database for other two fields with out submitting jsp page. I am using struts.
    Thanks For any assistance provided.

    Alright,here is an example for you for the first case.
    Present.jsp:
    ============
    <html:html>
    <head>
    <title><html:message key="page.title"/></title>
    </head>
    <body>
    <html:form action="ChangeEvent.do">
    <html:hidden property="method"/>
    <!-- Submitting the Form onKeyUp of EmpId field and trying to save the
         state of the Form in the scope of session -->
    Emp Id:<html:text property="empId" size="5"  onkeyup="if(true){this.form.elements[0].value='populateDetails';this.form.submit();}"/>
    Emp Name:<html:text property="empName" size="10" />
    Email Address:<html:text property="email" size="10" />
    <html:submit>Submit</html:submit>
    </html:form>
    </body>
    </html:html>struts-config.xml:
    ==================
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
    <!-- Form bean which stores the properties of all the Form elements -->
    <form-beans>
    <form-bean name="employeeFormBean" type="org.apache.struts.action.DynaActionForm">
       <form-property name="empId" type="java.lang.String"/>
       <form-property name="empName" type="java.lang.String"/>
       <form-property name="email" type="java.lang.String" />   
    </form-bean>
    </form-bean>
    <action-mappings>
    <action path="/ChangeEvent" type="Test.GetChangeAction" name="employeeFormBean" scope="request" parameter="method"> 
    <!-- On successful call of DB the Page has to be forwarded to the same page again by
          uploading updated form bean values. -->
    <forward name="success" path="/Present.jsp"></forward>
    <forward name="failed" path="/error.jsp"></forward>
    </action>
    </action-mappings>
    </struts-config>GetChangeAction.java:
    =====================
    public class GetChangeAction extends DispatchAction{
      public ActionForward populateDetails(ActionMapping mapping,ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
            DynaActionForm dForm = (DynaActionForm)form;
            String empId = dForm.get("empId");     
            // calling Model / Db and then getting back Employee Details
            EmployeeBean eb = ModelUtils.getDetails(empId);
            // Updating form bean by updating values from the Model 
            dForm.set("empName".eb.getEmpName()); 
            dForm.set("email".eb.getEmail());
            return mapping.findForward("success");
    }well to me this should work regardless to any browser but we need to make sure we put in our logic properly.

  • How to get Multiple Values for a key from a session object?

    Hi,
    It might seem dumb but I am facing a problem here with the session object. I'll paste the session object's content from the netbeans "Local Variables" window for clarity -
    Name Type Value
    hsession StandardSessionFacade #66
    session LWSFSession #69
    inherited
    attributes Hashtable #80
    [0] Hashtable$Entry "cart"=>#115
    key String "cart"
    value DummyCart #115
    item null
    submit null
    v Vector
    [0] String Full Metal Jacket
    [1] String As Good As It Gets
    [2] String Tim
    What I want is to get the values "Full Metal Jacket", "As Good As It Gets" and "Tim" from the session obejct?
    The problem I am facing is that if I do a session.getAttribute("cart"), I'll get a single value in return. What will that value be? Will it be "item", "submit" or "v"? And if I want all the values in v above, how can I get them?
    Thanks.

    None of the above.
    HttpSession.getAttribute() will return what you put into it using HttpSession.setAttribute(). In your case, it'll return an Object which you need to cast to DummyCart. Then you can access the data in DummyCart using the API of the DummyCart class.
    hth

  • Get the values of hashmap in another class

    Hi All,
    i already posted this topic yesterday..But i did not get any helpful response..Kindly help me because I am new to java and I need some help regarding hashmap..
    I have a one value object java class which name is HashTestingVO.java
    *******************************************INPUT OF HashTestingVO.java***************************************
    public class HashTestingVO extends PersistentVO implements ILegalWorkFlowACLVO {
    public final static HashMap legalReviewPieceRelatedACLMap = new HashMap();
    legalReviewPieceRelatedACLMap.put("Futhure Path Check","ereview_acl_piece_related_cat1");
    legalReviewPieceRelatedACLMap.put("Send to Legal Review","ereview_acl_piece_related_cat1");
    legalReviewPieceRelatedACLMap.put("Review Precondition","ereview_acl_piece_related_cat1");
    Now i want to get the Hash Map values of this in another class called Testing.java class
    Ex: i need the value like this in Testing.java
    HashTestingVO obj=new HashTestingVO();
    obj.get(Futhure Path Check) -----------> I want to get the value of key1
    Public means you can access it another class..
    But Static means within the class we will use it...

    already posted this topic yesterday..But i did not get any helpful response..Kindly help me because I am new to java and I need some help regarding hashmap..I thing Exposing your dataStructure to any other class is not the right practise.
    You can make the Hashmap object private and nonstatic and provide a getter method in this class to get the value corresponding to any particular key.
    public Object getValue(String key)
      return egalReviewPieceRelatedACLMap.get(key);
    }

  • Not able to get the values from screen field?

    hello
    i am using MIRO and there is a screen name withholding tax and from there i want to retreive the withholding tax code before saving so that i can do some validations on it but how can i retrieve the values.
    when i press f1 there it shows structure not the table and structure contains no value so please help me in this so that i can retreive that value during run time
    thank you

    Hi Vikas,
    you can use this badi MRM_WT_SPLIT_UPDATE, the method will be WHTAX_SPLIT_UPDATE
    in this badi please see the importing and exporting parameters, you will get the  values of withholding tax code  as TE_RBWS in export parameters.
    Please search in google or SCN you will get how to use it.

  • How to get the values returned by a function in a drop down?

    Hi All,
    Can anyone please help in getting the values returned by a function into a drop down? I have a java class file where in i have written a function called getWeeks() which give all the week dates and i want to display these week dates in a drop down box in a JSP page.
    Please help me in this regard.
    Thanks in Advance!!
    Lakshman.

    Hi Lakshman,
    the following code can help you do what you want :
    <hbj:dropdownListBox id="calendar" tooltip="Calendar" selection="<%= selected %>">
    <%
    String[] weeks = myObjectBean.getWeeks();
    for (int i = 0; i < weeks.length; i++) {
    %>
         <hbj:listBoxItem key="<%= i %>" value="<%= weeks<i> %>"/>
    <%
    %>
    </hbj: dropdownListBox>
    The <%= selected %> snippet allows you to pre-select one of the options (provided that the variable 'selected' is equal to one of the listBoxItem keys).
    You can also add onSelect to the tag (e.g. = "setSelectedItem"). It corresponds to a method in the corresponding JSPDynPage class. This means that when you select another item in the dropdown list, the method in your Java class is performed (allowing you to save the selected value and performing actions with it)
    I hope this helped you enough,
    kind regards,
    Frederic
    Edited seven times by: Frederic Taes on Nov 5, 2008 11:24 AM -> the onSelect element was in the hbj tag and in the text with "='setSelectedItem'" next to it and when I tried to post my message, I got a 501 error all the time ! Seems like a SDN bug to me ...

  • How to get the values in separate columns

    Hello Everyone
    I am new to Bex, i have the sales data of 2008,2009,2010. now i have to display the sales order(key figure) for 2008,2009,2010 in separate columns for each customer(dimension) in a single report , can any one help me how to get this done in bex.
    Thanks
    Gupta

    Hi ,
    You can achieve this either creating New Selections or Restricted Key Figures.
    Right click on the structute>>>> New selcection>>> drag the year to right [  Right Click on it >>restrict it with 2008}>>>Drag the respected Key figure.
    So u will get the values 2008 in seperate column.
    COpy the New Selecten that u created and paste on the structure , chage the descriprion and year to 2009.
    do the same for 2010.
    Note:you can also achieve this by creating variable offsets.Check the following link
    http://help.sap.com/saphelp_bw33/helpdata/en/3f/89533e5ff4d064e10000000a114084/content.htm
    Regards,
    Ranganath

  • How to get the Values of A_UMSKZ(Spl GL Ind) in FI_INT_CUS01-INT_ADD_ITEMS

    Hi Friends..
    In Tcode FINT (Item Interest Calculation) , i am  implementing the BADI FI_INT_CUS01 method INT_ADD_ITEMS . using this method INT_ADD_ITEMS i am adding more items into ct_items from table BSID. In my SQL Query   based on the user input in selection screen of FINT (Performance Tab ->Special GL Indicator A_UMSKZ) i want to get the items. But A_UMSKZ is out of scope in Method INT_ADD_ITEMS. How can i get the values of A_UMSKZ.
    Thanks in Advance.
    N.G. Mahender.

    Hi Friends,
    I got the Answer. in Method INT_ADD_ITEMS contains the importing internal Table it_frange. It contains structure selopt_t. This structure contains the data of the field a_umskz.
    i was added the following code to get this.
    Data:
    lwas_selopt_umskz TYPE fintselopt,
      lwa_frange TYPE fint_frange.        
      CLEAR: lwas_selopt_umskz , lwa_frange.
      READ TABLE it_frange INTO lwa_frange WITH KEY fieldname = 'A_UMSKZ'. 
      READ TABLE lwa_frange-selopt_t INTO lwas_selopt_umskz INDEX 1. 
    Warm Regards,
    N.G. Mahender.

  • Get the value of a parameter

    Hello,
       within the event "AT SELECTION-SCREEN ON VALUE-REQUEST FOR <field x>" I have to call a function and need the value of other field (lets say field y), but in spite of the field y has a value it comes blank, If I press enter in the report then the field y does appear with his value.
    Anyone know a way to get this value without having to press enter in the report?
    Thanks very much for your help

    Try using DYNP_VALUES_READ to get the value of the field Y.
    Regards,
    Ravi

  • How to get the value of an outputLabel (part of a header in a table col)?

    Hello,
    i am trying to write some code in a method in a bean that is called when a button is pressed in a page (actually is an ActionListener method), which is part of a Table. I want to get the value of the outputLabel of the column. The jspx part of the page to get the idea follows:
    <af:column id="TrsTransactionsTradeDateColumn" sortable="true" noWrap="true" sortProperty="TradeDate" >
    <f:facet name="header">
    <af:outputLabel value="#{nls['TRSTRANSACTIONS_TABLE_TRADEDATE']}" styleClass="af_column_header-text"/>
    </f:facet>
    <af:selectInputDate id="TrsTransactionsTradeDate" value="#{row.TradeDate}"
    required="#{bindings.TrsTransactionsTradeDate.mandatory}" readOnly="true" >
    <af:convertDateTime pattern="dd/MM/yyyy HH:mm:ss"/>
    </af:selectInputDate>
    </af:column>
    As you see, the header part which is actually an outputLabel, is not actually part of the column object but in a separate facet, and the header property of the column is not used. Also, i can't change that, as this code is produced by generator. Actually i can access the every column of the Table with CoreColumn class, as these are children of the Table, but it does not give me access to the corresponding outputLabel of the column, because it is neither child or property of the column! An extract of the code to show my situation and give an idea follows:
    DCIteratorBinding dcib;
    RowSetIterator rsi;
    HttpServletRequest hq;
    String iterName;
    PrintWriter out = null;
    Row currentRow = null;
    CoreTable tTable;
    String [] attNames, realNames;
    Boolean[] isNum;
    int isFirst = 1;
    List childList, childList2;
    CoreColumn csi;
    // Find the Component-Table and the Real names of the Columns
    tTable = (CoreTable) actionEvent.getComponent().getParent().getParent();
    System.out.println("CoreTableSelectOne:"+tTable.toString());
    System.out.println("CoreTableSelectOne Parent:"+tTable.getParent().toString());
    childList = tTable.getChildren();
    attNames = rsi.getRowAtRangeIndex(0).getAttributeNames();
    realNames = new String[attNames.length];
    isNum = new Boolean[attNames.length];
    System.out.println("attrNames:"+attNames.length);
    System.out.println("childList:"+childList.toString());
    System.out.println("childList size:"+childList.size());
    // The next loop puts in the realNames for each row set column the component column name
    // if the column is rendered otherwise null.
    for (int i = 0; i < attNames.length; i++) {
    System.out.println("attrName:"+attNames);
    realNames[i] = null;
    for (int k = 0; k < childList.size(); k++) {
    if (childList.get(k) instanceof CoreColumn){
    csi = (CoreColumn) childList.get(k);
    System.out.println("csi:"+csi.getSortProperty());
    if (csi.getSortProperty() == attNames[i]){
    childList2 = csi.getChildren();
    System.out.println("csi.childrencount:"+csi.getChildCount());
    System.out.println("csi.getshortdesc:"+csi.getShortDesc());
    System.out.println("csi.getFacetCount():"+csi.getFacetCount());
    csi.getFacet()
    for(int m=0; m<childList2.size(); m++) {
    //System.out.println("childList2.get(m).toString():"+childList2.get(m));
    if(childList2.get(m) instanceof CoreSelectInputDate)
    CoreSelectInputDate csid = null;
    csid = (CoreSelectInputDate)childList2.get(m);
    System.out.println("Label:'"+csid.getLabel());
    System.out.println("csi.getHeaderText()"+csi.getHeaderText());
    realNames[i] = new String(csi.getHeaderText());
    if (csi.isRendered() == false)
    realNames[i] = null;
    System.out.println(csi.getFormatType());
    if (csi.getFormatType() == "number")
    isNum[i] = true;
    else
    isNum[i] = false;
    System.out.println("After loop In attName: "+i);
    // Print the titles
    if (realNames[i] != null) {
    if (isFirst == 1)
    isFirst = 0;
    else
    out.print(";");
    out.print(realNames[i]);
    Part of the output produced follows:
    2008-07-18 18:49:13,699 INFO [STDOUT] iteratorNameTrsTransactionsIterator
    2008-07-18 18:49:13,699 INFO [STDOUT] 1
    2008-07-18 18:49:13,699 DEBUG [com.sun.faces.el.ValueBindingImpl] getValue(ref=bindings)
    2008-07-18 18:49:13,699 DEBUG [com.sun.faces.el.VariableResolverImpl] resolveVariable: Resolved variable:TrsTransactionsPageDef
    2008-07-18 18:49:13,699 DEBUG [com.sun.faces.el.ValueBindingImpl] getValue Result:TrsTransactionsPageDef
    2008-07-18 18:49:13,699 INFO [STDOUT] 2
    2008-07-18 18:49:13,699 INFO [STDOUT] 3
    2008-07-18 18:49:13,699 INFO [STDOUT] 4
    2008-07-18 18:49:13,699 INFO [STDOUT] CoreTableSelectOne:CoreTable[UIXFacesBeanImpl, id=TrsTransactionsTable]
    2008-07-18 18:49:13,699 INFO [STDOUT] CoreTableSelectOne Parent:CorePanelGroup[UIXFacesBeanImpl, id=TrsTransactionsTableGroup]
    2008-07-18 18:49:13,699 INFO [STDOUT] attrNames:56
    2008-07-18 18:49:13,699 INFO [STDOUT] childList:[CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsTradeDateColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLkpBiccodeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLkpBicnameColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLkpInstrumentIsincodeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLkpInstrumentNameColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsBuySellColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsTradeCapacityColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsQuantityColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsUnitPriceTypeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsUnitPriceColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLkpCurrencyIsoSymbolColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsVenuetypeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLkpVenueMicCodeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLkpVenueBicCodeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsCtypeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLkpCounterpartyMicCodeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLkpCounterpartyBiccodeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsCcodeccColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsClienttypeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLpkClientBicCodeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsClientinternalColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsTradeStatusColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsLastUpdateDateColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsCancelDateColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsOrigTrnColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsSourceColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsSourceNumberColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsTransTypeColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsTradeDateOnlyColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsExchangeReasonColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsTransTrnColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsCancSourceNumberColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsCauniqueidColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsRoutingColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsHubSentDateColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsOtherRcaColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsOutOfDateFlagColumn], CoreColumn[UIXFacesBeanImpl, id=TrsTransactionsMultipleFlagColumn], CoreColumn[UIXFacesBeanImpl, id=_id89]]
    2008-07-18 18:49:13,699 INFO [STDOUT] childList size:39
    2008-07-18 18:49:13,699 INFO [STDOUT] 5
    2008-07-18 18:49:13,699 INFO [STDOUT] 6
    2008-07-18 18:49:13,699 INFO [STDOUT] 7
    2008-07-18 18:49:13,699 INFO [STDOUT] 8
    2008-07-18 18:49:13,699 INFO [STDOUT] 9
    2008-07-18 18:49:13,699 INFO [STDOUT] 10
    2008-07-18 18:49:13,699 INFO [STDOUT] attrName:BicId
    2008-07-18 18:49:13,699 INFO [STDOUT] csi:TradeDate
    2008-07-18 18:49:13,699 INFO [STDOUT] csi:LkpBiccode
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:LkpBicname
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:LkpInstrumentIsincode
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:LkpInstrumentName
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:BuySell
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:TradeCapacity
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:Quantity
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:UnitPriceType
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:UnitPrice
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:LkpCurrencyIsoSymbol
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:Venuetype
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:LkpVenueMicCode
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:LkpVenueBicCode
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:Ctype
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:LkpCounterpartyMicCode
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:LkpCounterpartyBiccode
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:Ccodecc
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:Clienttype
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:LpkClientBicCode
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:Clientinternal
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:TradeStatus
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:LastUpdateDate
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:CancelDate
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:OrigTrn
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:Source
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:SourceNumber
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:TransType
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:TradeDateOnly
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:ExchangeReason
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:TransTrn
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:CancSourceNumber
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:Cauniqueid
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:Routing
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:HubSentDate
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:OtherRca
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:OutOfDateFlag
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:MultipleFlag
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:null
    2008-07-18 18:49:13,714 INFO [STDOUT] After loop In attName: 0
    2008-07-18 18:49:13,714 INFO [STDOUT] attrName:TradeDate
    2008-07-18 18:49:13,714 INFO [STDOUT] csi:TradeDate
    2008-07-18 18:49:13,714 INFO [STDOUT] csi.childrencount:1
    2008-07-18 18:49:13,714 INFO [STDOUT] csi.getshortdesc:null
    2008-07-18 18:49:13,714 INFO [STDOUT] csi.getFacetCount():1
    2008-07-18 18:49:13,714 INFO [STDOUT] Label:'null
    2008-07-18 18:49:13,714 INFO [STDOUT] csi.getHeaderText()null
    2008-07-18 18:49:13,714 ERROR (irrelevant)
    Any idea how to achieve to get the value of the corresponding outputLabel ?
    TIA

    Hi,
    the fastes option is to create a JSF binding from the output text to a managed bean and directly access the component. So unless you like parsing the table for this information, it seems unnecessary if you frequently use the information stored in the header
    Frank

Maybe you are looking for

  • Asm disk removed taking too much time to boot

    hi a local machine is configured with ASM by oracleasm with a total disk.As it was a training purpose so i have removed the disk eg /dev/sdb bluntly ie. just removing it from box.now i tried fsck -c -c -f /dev/ in rescue mode its didnot worked even n

  • WebLogic 6.1 sp2 POSIX error?

    get this error on the log, HP-UX 11i, what is fd: and revents: ? anyone have any idea what this error is about? ####<Jan 2, 2003 11:51:11 AM EST> <Error> <HTTP> <cofhvp04> <coep> <ExecuteThread: '19' for queue: 'default'> <> <> <101083> <Connection f

  • No password field

    Hi I have a windows 8.1 pro computer joined on a domain with all that latest patches.  Today I ran the update to windows 10 directly from windows updates (not from a ISO image).  Everything ran well for the install and the computer restarted.  Howeve

  • Failed download for Illustrator_16_Content_LS16.dmg

    Hi, I recently purchased the CS6 suite, but I have not been able to download this particular file as the system says that I've attempted more than 10 downloads. How do I rectify this? Because I don't want to be paying money for a product that I canno

  • Why my confirmation button is disabled?

    Dear expert, Please help on this, after I created the PO and send to the supplier in SRM, I can not create the confirmation of the PO. Thanks very much. Regards, Hayashi