Custom combobox problem

Hi,
With the help of JDC i am able to finish the work of creating the customized comobo but I'm stuck at the edge.
I have a customized comobobox, which can show multiple columns in its combo popup, but only one item of column should be shown as selected in combo, This i achieved when combobox status is editable. but not working when combo is non editable.
kindly see( can execute too ) the code and let me know where i'am going wrong.
public class TestCoeusComboBox2 extends javax.swing.JFrame {
/** Creates new form TestCoeusComboBox2 */
public TestCoeusComboBox2() {
initComponents();
private void initComponents() {
jPanel1 = new javax.swing.JPanel();
//jPanel1.setLayout( new java.awt.GridLayout(2,4,10,10));
jPanel1.setLayout( new java.awt.FlowLayout());
java.util.Vector people = new java.util.Vector();
for( int i= 0 ; i< 15 ; i++ ){           
people.add(new ComboBoxBean(""+i,"Yaman kumar-"+i));
javaEditable = new javax.swing.JLabel("java-Editable");
javaNonEditable = new javax.swing.JLabel("java-NON Editable");
coeusEditable = new javax.swing.JLabel("Coeus - Editable ");
coeusNonEditable = new javax.swing.JLabel("Coeus - NON Editable");
coeusComboEditable = new CoeusComboBox(people,true);
coeusComboEditable.setPopupSelectionBackground(Color.yellow);
coeusComboEditable.setPopupBackground(Color.white);
coeusComboNonEditable = new CoeusComboBox(people,false);
coeusComboNonEditable.setPopupSelectionBackground(Color.gray);
coeusComboNonEditable.setPopupBackground(Color.white);
javaComboEditable = new javax.swing.JComboBox(people);
javaComboEditable.setEditable(true);
javaComboNonEditable = new javax.swing.JComboBox(people);
javaComboNonEditable.setEditable(false);
addWindowListener(new java.awt.event.WindowAdapter() {
public void windowClosing(java.awt.event.WindowEvent evt) {
exitForm(evt);
jPanel1.setPreferredSize(new java.awt.Dimension(1000, 200));
jPanel1.add(javaEditable); jPanel1.add(javaComboEditable);
jPanel1.add(javaNonEditable); jPanel1.add(javaComboNonEditable);
jPanel1.add(coeusEditable); jPanel1.add(coeusComboEditable);
jPanel1.add(coeusNonEditable); jPanel1.add(coeusComboNonEditable);
getContentPane().add(jPanel1, java.awt.BorderLayout.CENTER);
pack();
/** Exit the Application */
private void exitForm(java.awt.event.WindowEvent evt) {
System.exit(0);
* @param args the command line arguments
public static void main(String args[]) {
new TestCoeusComboBox2().show();
private javax.swing.JPanel jPanel1;
private CoeusComboBox coeusComboEditable;
private CoeusComboBox coeusComboNonEditable;
private javax.swing.JComboBox javaComboEditable;
private javax.swing.JComboBox javaComboNonEditable;
private javax.swing.JLabel javaEditable;
private javax.swing.JLabel javaNonEditable;
private javax.swing.JLabel coeusEditable;
private javax.swing.JLabel coeusNonEditable;
* @(#)CoeusComboBox.java 08/29/2002, 5:06 AM
import java.awt.*;
import javax.swing.*;
import javax.swing.plaf.basic.*;
import javax.swing.plaf.metal.*;
import javax.swing.event.*;
import java.util.Vector;
import javax.swing.border.*;
public class CoeusComboBox extends JComboBox {
private boolean editable = false;
private Color popupSelBackground ;
private Color popupBackGround;
* Initializes the properties of CoeusComboBox as it needs to set custom Renderers
* and Editors for CoeusComboBox
private void initProperties(){       
CoeusComboBoxRenderer renderer= new CoeusComboBoxRenderer();
CoeusComboCellEditor editor = new CoeusComboCellEditor();
setBorder(new LineBorder(Color.black,1));
setRenderer(renderer);
setEditor(editor);
//setEditable(true);
/** Creates a new instance of CoeusComboBox */
public CoeusComboBox() {
super();
setUI(new StateComboBoxUI());
initProperties();
* Constructor with default ComboBoxModel
public CoeusComboBox(ComboBoxModel aModel) {
super(aModel);
setUI(new StateComboBoxUI());
initProperties();
* Constructor with default items that are shown in popup when the combo is selected
public CoeusComboBox(final Object[] items) {
super(items);
setUI(new StateComboBoxUI());
initProperties();
* Constructor with default items that are shown in popup when the combo is selected
* @param items An array of elements that are shown in popup
* @param editable Status of ComboBox, If true the combobox value can be modified.
public CoeusComboBox(final Object[] items, boolean editable) {
super( items);
this.editable =editable;
setEditable(editable);
setUI(new StateComboBoxUI());
initProperties();
* Constructor with default items that are shown in popup when the combo is selected
* @param items a Vector of combobox items.
public CoeusComboBox(Vector items) {
super(items);
setUI(new StateComboBoxUI());
initProperties();
* Constructor with default items that are shown in popup when the combo is selected
* @param items A vector of items that are shown in popup
* @param editable Status of ComboBox, If true the combobox value can be modified.
public CoeusComboBox(Vector items, boolean editable){
super( items);
this.editable = editable;
setEditable(editable);
setUI(new StateComboBoxUI());
initProperties();
* Sets combobox Popup Background Color
* @param color background color of Combobox popup.
public void setPopupBackground( Color color){
this.popupBackGround = color;
* Sets combobox Popup Selection Background Color
* @param color Selected Item background color of Combobox popup.
public void setPopupSelectionBackground( Color color){
this.popupSelBackground = color;
* Sets the Status(Editable/NonEditable) of combobox, Based on which the combo
* value can be changed. Default is not editable
* @param flag If true the combobox is editable.
// public void setEditable( boolean flag){
// editable = flag;
* An inner class to set the Default renderer for CoeusComboBox. As this combobox
* can show multiple columns in combo popup, so add number columns to this panel, like
* that as many as number panel will be added to panel as many items available in combobox.
* that is rendered in every cell.
class CoeusComboBoxRenderer extends JPanel implements ListCellRenderer {
private JLabel left;
private JLabel right;
private JLabel middle;
* Constructor to set the layout and border for this panel.
public CoeusComboBoxRenderer() {
//setLayout(new GridLayout(1, 2,0,0));
BoxLayout boxLayout =new BoxLayout(this,BoxLayout.X_AXIS);
setLayout( boxLayout);
setBorder(BorderFactory.createEmptyBorder(3, 3, 3, 3));
left = new JLabel();
middle= new JLabel();
right = new JLabel();
add(left);
add(middle);
add(right);
* An overridden method to render this component in desired cell.
public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
if (isSelected) {
if(popupSelBackground == null ){
popupSelBackground = list.getSelectionBackground();
setBackground(popupSelBackground);
setForeground(list.getSelectionForeground());
} else {
if( popupBackGround == null){
popupBackGround = list.getBackground();
setBackground(popupBackGround);
setForeground(list.getForeground());
if( value instanceof ComboBoxBean ){
ComboBoxBean comboBoxBean = (ComboBoxBean) value;
left.setText(comboBoxBean.getCode());
middle.setText(" ");
right.setText(comboBoxBean.getDescription());
return this;
}// end of CoeusComboBoxRenderer class
* An inner class to set the editor of CoeusComboBox when it gets focus and about to be
* selected by the user
class CoeusComboCellEditor extends javax.swing.plaf.basic.BasicComboBoxEditor {
public CoeusComboCellEditor() {
super();
System.out.println(" editable "+editable);
editor.setEditable(true);
//editor.setBackground(editorSelBackground);
}// end of CoeusComboCellEditor
}// end of CoeusComboBox
* @(#)StateComboBoxUI.java 08/20/2002 9:21 AM
import javax.swing.plaf.basic.*;
import javax.swing.*;
public class StateComboBoxUI extends BasicComboBoxUI{
* Creates the ComboBox popup that is displayed when the implemented combobox is selected.
* As in Basic LAF the combobox does not provide the horizontal scrollbar for popup this
* method is overridden with that property.
protected ComboPopup createPopup(){
BasicComboPopup popup = new BasicComboPopup(comboBox){
protected JScrollPane createScroller() {
return new JScrollPane( list, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,
ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED );
}//end of method createScroller
return popup;
}//end of method createPopup
* The Class is used to populate any combo box
public class ComboBoxBean implements java.io.Serializable{
private String code;
private String description="";
/** Default Constructor */
public ComboBoxBean() {
/** Constructor with parameters */
     public ComboBoxBean(String code, String description) {
               this.code = code;               this.description = description;
* This method gets the Code
* @return String code
public String getCode() {
return code;
* This method sets the Code
* @param String code
public void setCode(String code) {
this.code = code;
* This method gets the Description
* @return String description
public String getDescription() {
return description;
* This method sets the Description
* @param String description
public void setDescription(String description) {
this.description = description;
public String toString(){
return getDescription();

Gregor,
          As an alternative way i did take "selectedItem" away from MXML and used it on "creationComplete". But not i am running in to different problem which i am going to open as new discussion.
Between i have documented this issue on my blog @ http://www.srinivaskusunam.com/2009/05/13/flex-combobox-selecteditem-problem/
Thanks,
Srini

Similar Messages

  • Adding custom combobox to my scene7 tab in contentfinder

    I am trying to add custom combobox by extending the OOB scene7 contentfinder in CQ. But for some reason, I am not seeing my combo box (id and selected value) getting passed in the  request header as query parameter. Following is the js code I am using, has anyone worked on such a customization?
    =================================================
    CQ.Ext.ns("MyClientlib");
    MyClientlib.ContentFinder = {
        TAB_S7_BROWSE : "cfTab-S7Browse",
        S7_QUERY_BOX: "cfTab-S7Browse-Tree",
        CONTENT_FINDER_TAB: 'contentfindertab',
        S7_RESULTS_BOX: "cfTab-S7Browse-resultBox",
        addPageFilters: function(){
            var tab = CQ.Ext.getCmp(this.TAB_S7_BROWSE);
            var queryBox = CQ.Ext.getCmp(this.S7_QUERY_BOX);
            queryBox.add({
                "xtype": "label",
                "text": "Select Path",
                "cls": "x-form-field x-form-item-label"
            var metaCombo = new CQ.Ext.form.ComboBox({
            typeAhead: true,
            triggerAction: 'all',
            lazyRender:true,
            mode: 'local',
            store: new CQ.Ext.data.ArrayStore({
                id: "cfTab-s7Browse-metaDataStore",
                fields: [
                    'myId',
                    'displayText'
                data: [[1, 'Name'], [2, 'Keywords'], [3, 'Description']]
            valueField: 'myId',
            displayField: 'displayText',
                listners: {
                    select: function (combo, record, index) {
                                        var store = CQ.Ext.getCmp(this.S7_RESULTS_BOX).items.get(0).store;
                                                                                              store.setBaseParam("mFilter",CQ.Ext.getCmp(" cfTab-s7Browse-metaDataStore").getValue());
                                                                // CQ.S7.setSearchQualifiers(store);
                                        store.reload();
                        queryBox.add(metaCombo);
                  var cfTab = queryBox.findParentByType(this.CONTENT_FINDER_TAB);
        queryBox.add(new CQ.Ext.Panel({
                border: false,
                height: 40,
                items: [{
                    xtype: 'panel',
                    border: false,
                    style: "margin:10px 0 0 0",
                    layout: {
                        type: 'hbox'
                    items: [{
                        xtype: "button",
                        text: "Search",
                        width: 60,
                        tooltip: 'Search',
                        handler: function (button) {
                            var params = cfTab.getParams(cfTab);
                            cfTab.loadStore(params);
                        baseCls: "non-existent",
                        html:"<span style='margin-left: 10px;'></span>"
                        xtype: "button",
                        text: "Clear",
                        width: 60,
                        tooltip: 'Clear the filters',
                        handler: function (button) {
                            $.each(cfTab.fields, function(key, field){
                                field[0].setValue("");
            queryBox.setHeight(230);
                  queryBox.doLayout();
            var form = cfTab.findByType("form")[0];
            cfTab.fields = CQ.Util.findFormFields(form);
    changeResultsStore: function(){
            var queryBox = CQ.Ext.getCmp(this.S7_RESULTS_BOX);
            var resultsView = queryBox.ownerCt.findByType("dataview");
            var rvStore = resultsView[0].store;
            rvStore.proxy = new CQ.Ext.data.HttpProxy({
                url: CQ.S7.getSelectedConfigPath() + "/jcr:content.search.json",
                method: 'GET'
    (function(){
        var INTERVAL = setInterval(function(){
            var c = MyClientlib.ContentFinder;
            var tabPanel = CQ.Ext.getCmp(CQ.wcm.ContentFinder.TABPANEL_ID);
            if(tabPanel){
                clearInterval(INTERVAL);
                c.addPageFilters();
                //CQ.Ext.Msg.alert('meta','CQ.Ext.getCmp("cfTab-s7Browse-metaDataStore").getValue()');
                c.changeResultsStore();
        }, 250);
    =================================================

    Hi Aanchal,
    i have posted exactly the same problem a few months ago, and no one answered me.
    I couldn't find any documentation on how to add custom GP parameters in the universal worklist, in the examples on customizing the UWL XML they always refer to parameters from the r/3 webflow, never GP.
    I really can't believe that nobody ever tried to do this and faced this problem!
    Please let me know if you find something..
    Regards,
    Marco.

  • Customer Service Problems

    After fighting with Verizon customer service over two service issues without any possibility of resolution I am canceling my account. 
    I’m doing this reluctantly because as a long-term shareholder of Verizon I would like to see the company succeed and keep profitable.  Yet I am appalled by the cavalier, disrespectful, obstructionist treatment from your staff in dealing with customer service problems.  When you were just the telephone company and operated as a monopoly in a regulated industry, you had to take customer issues seriously.   Now that you are an unregulated telecommunications giant it seems that you don’t feel the need to respond to your customers.  Someone in your company needs to hear this and put a stop to these destructive business practices. 
    In brief, the first issue involved arranging a service call for interruption of internet service.  The entire process kept me on the phone for a total of 3 hours over several days.  I have given up my land line and use a cell phone exclusively.  Verizon’s communication systems and staffing levels caused me to wait on hold for 10-15 for each person that I spoke to. Then each conversation averaged 10 minutes.   In addition, I was transferred to different departments but  I did not understand the reason for the transfers.  Then the pattern of hold-talk-transfer began again.  Several times my calls were dropped necessitating more repeats of the hold-talk-transfer pattern.  Some of your staff were South Asian and they either garbled or misunderstood English, thus prolonging the conversation beyond the average of 10 minutes.    During that time I incurred cell phone charges of $.45/ minute.   
    After the service was restored I called Verizon customer service and asked for a service credit to compensate me for those out-of-pocket expenses over and above 30 minutes which I consider to be a reasonable amount of time to arrange a service call.  They denied any responsibility for the amount of time it took to arrange the service call or the amount of time to complain about their service.  I was not happy with the outcome so I requested to speak with someone who was a decision maker and had authority to negotiate a settlement.  I also asked to have them communicate with me through email.  I was told that communicating through email was not possible.  These calls followed the same pattern of hold-talk-transfer averaging 30 minutes each.  I repeated myself to 3 or 4 people who wrote down my complaint before I got to a manager who had decision making authority.  The manager denied any responsibility for the amount of time it took to arrange the service call and would not authorize a service credit.  
    The second issue involved billing.  I signed up for auto-pay to have my monthly bill deducted directly from my bank account.  Verizon’s computer system deducted the bill twice, overdrawing my account.  I incurred a bank overcharge fee.   The same pattern of hold-talk-transfer began for this complaint as well.  The customer service staff refused to take responsibility for this error as well.  Their solution required me to spend more time and incur extra expenses.  I had to repeat myself to 3 or 4 complaint takers before I reached the same manager who denied my first request.  He denied any responsibility for this billing problem too.    I had to have my bank retrieve the money under a fraud compliant.
    Verizon is one of the largest *communications* corporations in the world.  If your internal systems can't handle customer service calls in a reasonable amount of time, then there is a problem.  If your customer service staff is unwilling to take responsibility for such inadequacies and solve the issues that emerge from them, then there is a problem.  If a customer has to contact the CEO of the company to try to resolve two service related issues, then there is a problem.  When all of those actions prove inadequate, then there is a *communications* problem.
    Customer service has flagged my account and put me down as a “problem” customer.  Instead of offering even a token settlement, they are prepared to stonewall me by maintaining that the company is just not at fault and that they tried to solve the problems but I wouldn’t cooperate or accept their solutions.   Early on in the process, if someone told me that Verizon messed up just a little, but still couldn’t compensate me, I would have accepted that, albeit reluctantly, and dropped the matter.
    This is not the way I do business and I resent it when others don’t feel the need to honor any kind of code.  I grew up working in my family’s retail liquor store.  From the time I was a kid I learned four customer service lessons that I’ve carried over into my adult life:
    Admit when you are wrong and try to make up for the mistake.
    Never argue with a customer over small things.
    Listen to the compliant and don’t just dismiss it out-of-hand
    Try to make things right even though you may not be directly responsible for problem.
    For my two problems, Verizon customer service staff didn’t even come close to following these common sense rules.   I’ve learned that if you ask their customer service people they will repeat back to you some type of business code that they say they operate under.  But their behavior tells a different story.
    Unfortunately when I spoke with {edited for privacy} of the Executive Presidential Appeals office, I was taken somewhat aback by his manner and demeanor, which was coarse and inappropriate for a customer service discussion, and which I found personally offensive.  He and members of his staff agreed to send me emails specifying which part of the Terms of Service they based their decisions on.  To date I have not received the communications they promised.
    Is this the image of your company that you want the public to see? Are you willing to just shrug off these complaints as an isolated case that is too small to concern yourself about?  I’m afraid the answer will be yes.  Not only do you feel that you are too big to fail, but you are too big to care.   Customer service means solving problems not manufacturing bad will and resentment.  
    My purpose in writing this note has been twofold: to make one last effort to solve my problem and to hope that someone will take note about the issues about customer service practices that are harmful to the company. I'd be happy to speak with someone with real authority to deal
    with my issues but have no interest in repeating my past experiences.
    It's too bad that this had to happen since the solution could have been so easy and simple.
    I plan to publish some form of this letter and distribute it to the public. 
    Solved!
    Go to Solution.

    Therefore, I request to please clear this unacceptable due balance, and contact Experian to removed and clarified the mistake in my credit report. 
    RE:  Cancellation fee charged on internet DSL service charged by mistake. {edited for privacy}
    A $65 balance remain for a cancellation fee on internet DSL service, by Verizon New York mistake.
    In February of 2010, I set up my phone and TV in a vacation plan but keep my internet service active. After a month I had a vacation plan, suddenly without notification, my internet service was suspended and a cancellation fee was issued.
    My final statement was $ 24.47. I cleared a check from Verizon.
    I contacted Verizon online to request connect my internet service and discuss the issue on the cancellation fee. The response was that I should pay the internet cancellation fee, and paid a new activation.
    After fighting with Verizon customer service over the unacceptable fee charge service issue without any possibility of resolution I cancel my home phone which was in a vacation plan. 
     Later I kept receiving the statement with this cancellation fee every month. I called and discussed the issue more than 6 times during the next 6 months, The entire process kept me on the phone for a total of 2 hours over several months. The costumer representatives responded that the issue was in an investigation.
    Later,  a Collector company start chasing me to get the $65 paid. Phone number: {edited for privacy}, Inclusive, they made an offer to reduce the amount if I accept to pay or contact Verizon to request a clarification.
    By the end of the year, I contacted Verizon costumer services one more time but the representative stated that the account is not visible anymore.
    Convinced that the problem on this account was resolved, the second week of November, I called Verizon to reestablish my account with a new home phone number and Internet DSL connection.
    The answer was that  following Verizon policy I was unable to get a new account if a balance remain.
    After I explained the events, a manager (non-identified) who spoke to me by phone told me that Verizon will investigate the issue and I should wait for approval.
    On November 16, my account was confirmed approved and clear of debt, therefore, Verizon welcome me back with Home phone and internet DSL Service and confirmation on my online registration.
    New number:{edited for privacy} ; Email:{edited for privacy}
    Also, during the months of January and February 2010, Verizon New York, made other charges mistakes in my account (See details below) that have been resolved with an apologize and a refund.
    Events that prove the lack of training and support Verizon customer and billing service have.
    Chronology of the emails exchanged between Verizon Ecenter and myself after I requested investigation with the charges.
    01/10/10   I have contacted Verizon customer support regarding of a mistake in my internet service statement.Tracking # 430824. Reference: Duplicate charges for Internet Security suites service.
    1/12/10 Verizon eCenter responded. Angela. ' Apologized for the inconvenience. 'The cancellation and credit will appear on the next bill'.
    2/08/10 Verizon eCenter responded. Cheniqua. 'I have issued a credit of $6.52 for a Verizon internet security suite charges'; your internet charges
    2/04/10 I have contacted Verizon customer support in regard of clarification in my Direct TV  statement.
    Tracking # {edited for privacy}. Reference: Balance from Direct TV due to my recently requesting vacation plan.
    2/06/10 Verizon eCenter responded (John) Verizon Bill statement: February 26 = $6,73 paid
    2/06/10 I have contacted Verizon customer support in regard of a mistake in my home phone statement.
    Reference: By mistake, international fee in my home phone (inactive line/vacation plan) was charged.
    Tracking # {edited for privacy}
    2/08/10 Verizon eCenter responded. (Linnette) 'I apologize for the error'. 
    A credit for the international plan has been applied to your account and will appear on the next statement.'
    2/08/10 Verizon eCenter responded (Cheniqua) 'The regional essential calling plan does not qualify for a discount during vacation suspension. Which prove that my home phone was in a vacation plan.
     2/15/10 I have contacted Verizon customer support in regard of a non-notified, neither requested suddenly suspension on my internet DSL service and charged a cancellation fee for this suspension.
    Tracking # {edited for privacy}
    2/16/10 Verizon eCenter responded (Michael)  I am sorry for the inconvenience you have experienced. 
    Please contact our Consumer Sales and Solutions Center directly at 1-800-Verizon or (800) 837-4966 
    Monday through Friday between 8:00 AM to 6:00 PM Local Time. 
    2/16/10 Verizon eCenter (Sue)  responded : I am sorry for the inconvenience you have experienced. 
    I understand your frustration and concern regarding canceling your internet service in error. In order to provide you with the best customer service, please contact our Consumer DSL Sales and Solutions department directly at (800) 567-6789 and a representative will be happy to assist you.
    I stand on my decision of not pay for someone else mistakes.
    Your actions have damaged my integrity as a good costumer and citizenship.
    Without doubt after this problem get clearly resolved, you will lose this good costumer, get a negative feedback and I am planning to publish this letter at every web forum available.

  • Combo of T61 and customer support problems

    My main problem is that my T61 freezes up.  It came with a 2 gig ram, sbbb Intel core 2 duo t7500 processor, 1 gig turbo memory window's ultimate 32 bit os and an 80 gig hard drive. This problem has been going on intermittently (odd) since I  received the laptop brand new.  I may or may not be able to move the cursor over the screen when it is frozen.  It does not high light anything, control-alt-delete does not work, nothing responds.  I have to manually hold down the power button to turn the system off.  
    The different things it has done, and not all during the same occurrence:  blue screen with white writing, black screen with white writing, black screen oxc 000000f-selected entry could not be loaded because application is missing or corrupt, the memory was dumped (I had used rescue and recovery backup disks then because I did not know if something was corrupt in the original software that came loaded on it), sometimes it checks the c-drive after being manually shut down, sometimes it does not, problem with window's registry (only did that maybe twice), and corrected master file table, corrected bit map (after checking c). Sometimes it freezes and gives no error messages during restart.  I do not have anything loaded on this system that is not compatible with vista nor anything that exceeds the ram. 
    When I had to use my rescue and recovery disks because everything crashed, I called tech support.  They told me I needed to update my drivers-especially my video driver.  I tried to tell them that I had been going to the lenovo website for driver updates, using pc doc, updating bios, doing a registry cleanup, defraging the hd, and of course window's updates.  So he gave me a link on lenovo's website for another update.  During that call, I told the guy that the recovery disks that came with the laptop loaded XP on my system.  He sent me out vista recovery disks-vista business, not ultimate, and it was freezing up on vista and xp-no matter what program I was using.  The next time I called, lenovo had my computer shipped back and replaced the corrupt 2 gig ram.  It came back with the same software it left with, so I know my hard drive had not been wiped.  On the third call I was told to update my drivers, check the hard drive using bios, that it was my web browser, remove the battery....  By this time I was wondering about technical service which leads me to my other issue.
    I called the month after my warranty ran out, because I thought I had an established history of problems with this $1600+ laptop that has not worked right, and I was told that the warranty had run out, they would not honor it, records after 30 days were wiped-so there went my established history.  Now someone please tell me why a computer company would not keep records of customers warranty work requests?  Especially during the warranty period.  I was then given the number to out of warranty claims who told me it was out of warranty (duh) and she gave me the number to entitlement.  They called me the next day, which was nice but unfortunately I was not expecting their call and did not have all my info available.  Entitlement told me that someone from tech support would call me within the hour.  My computer proceeded to freeze up-so I left it frozen while waiting for tech support to call.  They did not so I called them, was told my warranty was out of date and I was transferred to another number.  Now this entire time I had been polite in my requests and conversations, my family had even alerted them to  a billing error that would have caused another customer some problems.  The tech I was transferred to was extremely rude the entire time.  I was not given the opportunity to explain my situation-which was what entitlement said the call would be about.   I requested mediation, he told me someone would call me within two days, then he proceeded to hang up on me.  No one has called.
    I would appreciate some assistance, in my computer problems and how to get in touch with the right person about customer service.  Thank you.

    obviously you have suffered a lot with the laptop os not working properly, have you tried to disable the turbo memory, sometimes that cause alot of trouble. 
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • JTable with custom combobox

    Hi
    I been trying to create a JTable with a custom combobox, that is in a column the lists contained within each combobox is unique. I tried using a renderer, even though the combo appears I cannot select the combo for editing. Any suggestions on how to get the combo working properly would be appreciated thanks.

    It's been a few years since I did something like this, but my recollection is that you should implement the TableCellEditor interface and have the getTableCellEditor method return your custom combo box. Then, either override getCellEditor in your JTable to return your custom TableCellEditor or (better) call tableColumn.setCellEditor for the column you're interested in, passing an instance of your TableCellEditor. I suggest you return the same JComboBox from your implementation of getTableCellEditor every time, and either replace the underlying model or have a custom model in which you can easily switch the contents on-the-fly.
    Having done this in the past, I remember that it's quite easy to leak stuff - I wouldn't advise making a new JComboBox every time.
    Regards,
    Huw

  • Custom DataGrid problems with Comboboxes

    I am using a custom datagrid with comboboxes and
    colorpickers. I found this code on the web and adapted it to work
    with my code. The only problem is that if you pull down a combobox
    and then click somewhere outside without selecting anything, it
    seems to erase the data in the dataprovider arraycollection and so
    'value' in the set data method becomes null.

    This is not a bug if I understand you properly. I believe most people would wish anything which is obtained via the tv to be backed up, which is why the content is transferred. If you want it to remain available on the tv you will need to sync it back to it.

  • Custom Rule - Problem in passin values From Rule Container to WF Container?

    Hi Guys,
    I am having hard time passing values back from my custom rule. I have created a custom rule to determine the agents in PFAC which takes in the Person number as import element of container. It determines the Manager as agent and I am passing Managers Person Number back to workflow. If he dont approve the Request then it will be passed to his boss. In this case I will pass this imported Mangers Person number back to rule so that his boss will be determined as agent. I  have created ZRULE function module. I am passing value back from Rule container to Workflow Container using following code.
    swc_set_element ac_container 'SUPERPERNR'  lf_super_pernr.
    I have created a element SUPERPERNR on rule container and workflow container as well .The problem is in the Rule container I am not able to create SUPERPERNR as export parameter. The tick mark is grayed out and there is no option for setting it as export.
    My question is do I have create a Export element on Rule container or Not? If i just write the code
    ( swc_set_element ac_container 'SUPERPERNR'  lf_super_pernr ) will it set the value in WF container? In my case it is not setting. I have to bind the values from rule container to WF container and if My rule container element is not allowing me to click the tick mark as export how can i pass value of of rule container back to WF Container?
    Please help me guys.
    Thanks,
    Manish.

    Hi Manish,
         Same scenario I have developed in my system. This all steps I did in my system.
    1) Created a Z function module which takes import parameter (Parameter name = 'EMP') in the
        format 'US100123'.
    2) This in turn fetches back the supevisor or boss as an export parameter (Parameter name = 'BOSS') in
         the format 'US100245'.
    3) This function module is attached to a BUS object(SWO1).
    4) While attaching this function module to BUS object you need not do any manual coding it is done
        automatically.
    5) Implement, release and generate this BUS object.
    6) Create a new variable in your workflow (Parameter name = 'ZSUPERVISOR') for storing the value
        which is returned by the Z method.
    7) Create a new task.
    8) Put in your BUS object name, then your Z method name, select background processing checkbox.
    9) Press save, it will ask for transfer of missing elements, select yes.
    10) Then you will see a green button below your Z method name click on it.
    11) Top portion contains your Z method variables, below to it you have the import parameter window in
          this window you should have &EMP& -> &EMP&., below to import parameter window you have
          export parameter window in this window you should have &BOSS& <- &BOSS&. (This is method
          binding).
    12) Now click on enter button then click on back button it will generate the task binding automatically
         just press yes.
    13) Now click on binding exist button.
    14) Here you have the Workflow container variables as well as the system container variables.
    15) In the import parameter window left portion is for your workflow variables and right portion is for your 
          method variables. In my case i had sent workflow initiator and fetched his supervisor. The Import
          parameter binding was &WF_INTIATOR& -> &EMP&. and the export parameter binding part was
          &ZSUPERVISOR& <- &BOSS&.
    16) Save the task and run the workflow.
    Regards.
    Vaibhav Patil.

  • Customer Replication problem from R/3 to CRM

    The scenario is: We have upgraded R/3 to 4.7 and the logical system names have changed. CRM is still the same one ( 4.0 ).
    Everything works fine. If I create an order it goes to R/3 and If I change an existing customer in CRM or R/3 it get replicated into the other system.
    But if I create a new customer in R/3, it does not go to CRM.
    All the tables are ok with the correct logical name and RFCs are working fine. Serial numbers are ok too and Delta download is active. I do not know what else I can check.
    Did you have any similar situation? Any ideas of what I could check?
    Any input is highly appreciated.
    Thanks!

    Hi Ankur & Michael
    your points did help me to rectify the problem. here was another solution i did try and it worked out.My problem was in table CRMPAROLTP, in the field CONSUMER. It seems that 4.7 does not need to have this field filled. So I remove the entry and the information flows.
    PS. I had awarded the points for both of you.
    Thanks
    SP

  • Apple customer support problem 1st gen Time Capsule

    Not sure there is any real point to this since Apple doesnt seem to really engage in these forums.  However, I recently had a 1st gen. Time Capsule die per the well-documented power supply failure problem.  After some prodding I was able to get Apple to replace the unit though it was a handful of days out of the replacement window.
    Unfortunately the Apple  "genius" did not include my full business address on the shipping label and the unit has been in Fed-Ex limbo for nearly a week.  I have of course since provided Fed-Ex with the full address of my company office.  However, they will not revise the shipment info without Apple's authorization. I have left 4 voicemails for the Apple "genius" requesting they update my address so the unit can be delivered.  So far nothing, nada, zip... I'm glad my own staff are merely engineers, not geniuses.
    To add massive insult to injury, today I received a reminder email from Apple that they have a $500 hold on my credit card and have not received the defective unit back.   Really? no sh*t!  I've not received the replacement unit or return label due to Apple's negligence...hello...welcome to automated email ****.  Of course, there is no reply address ANYWHERE to be found on Apple's website.
    So, I'm sitting here with a dead network, $500 balloons on my credit card and no way to correct the delivery address on the replacement TC.
    Hey Apple, ***? 
    This is not the Apple I know and love.  If I wanted Dell quality service I'd have saved the money and bought a Dell.  I hope this is not the start of a long slow slide back into the Apple of the 1990s.

    Agreed that an outright trainwreck such as this is atypical.  However, I am noticing an overall steady decline in customer service at the local Apple stores as well.  The "geniuses" at the Pleasanton Apple store are downright rude and unhelpful.  That is why I even bothered with phone support this time. 
    I think the phone support attitude is what started me off on the wrong foot.  This unit has a well documented power supply defect for which Apple issued a TSB and even reimbursed people who had to replace the unit due to the power supply failure.  When mine failed, I was actually told by the front line genius - "well, it lasted 2 years, that's pretty good".   That is a Dell/Gateway/Compaq/General Motors attitude.   A $500 router should last more than 2 years.  Cisco enterprise level routers last forever.  Several years ago the white iMacs had a power supply problem.  Mine failed 4 years after purchase and Apple cheerfully fixed it without question or issue.  They had it back to me in less than a week.
    My expectations for support are commensurate with the price of Apple's products.  It is a luxury high-end brand. For perspective: This router costs more than a complete Gateway desktop computer system. 
    When you buy a BMW you expect a certain level of service, When you buy a GM expectations are lowered along with the price of entry. I don't expect to ever have to chase down keystone cop problems like this.  My time is far too valuable for that.  This is why I buy Apple computers and not Gateway computers.
    Is it typical? maybe not.  Is it foreshadowing what is to come now that the company is back in the hands of the bean counters that nearly ran it into the ground last time?   Maybe.

  • Custom command problems on Mac OS X

    I am seeing a problem with custom context commands in our custom connector that is also reproducible with the sample FTP connector shipped with the SDK.  I am using Adobe Drive 3.2.0.41 on Mac OS X 10.8.2
    For my test I am connecting to a FTP server and attempting to run the "File Properties" command from a file's Adobe Drive menu in Finder.  When I first start Drive and connect, the command works and the "File Properties" dialog appears as expected.  However, if I disconnect, reconnect, then browse back to the file and attempt the command again, the File Properties dialog does not appear.  The Finder window does kind of "grey out" as if another dialog is about to be shown, but it never is. I don't see any kind of error messages in the CS5ServiceManager logs. 
    If I disconnect, close Drive, kill the AdobeDriveCS5 and CS5ServiceManager processes with Activity Monitor, and then restart Drive and reconnect, the custom commands work again.
    Has anyone else experienced these kinds of problems with custom commands on Mac OS after a disconnect/reconnect cycle?
    Thanks,
    Brian

    Our only other environment we could set up was on Mac OS 10.7.5, and we could not reproduce the issue.  Based on that it would appear to be something new with Mac OS 10.8.

  • Mac OS / classpath / custom event problem

    I'm having a bit of trouble with a particular classpath
    anomaly, and I have a feeling that it might be a Mac thing.
    Not sure if anyone else can reproduce this, but I managed to
    make a custom event and a class that extends the EventDispatcher
    once. Since then, Flash has refused to admit that any class
    associated with a custom event exists - mostly producing the error
    1046. Even after you take out any references to the event
    dispatcher or a custom event, the class is ignored.
    All my classes are kept in a single 'Packages' folder with
    sub folders that I include in the import statement (I've
    triple-checked the classpath settings, the import statements, and
    the classes themselves - I have probably a hundred or so other
    classes that are fine, and all referenced in the same way, some
    that extend EventDispatcher, some that don't.
    I come across this a few times now - once I was able to fix
    it by putting the .as file in the same folder as my first custom
    event, but this no longer works.
    I'm running Mac OS X 4.11 on two computers - both have the
    same trouble.
    I've tried copying the classes to other folders and changing
    the package/import path accordingly - no go.
    Even stranger, if you copy and paste to a new .as file, and a
    different package folder, the problem persists in that Flash claims
    the revised Package statement (to reflect the new location) does
    not reflect the position of the file - when it clearly does.
    I haven't had this problem with any other home-grown class -
    only those that reference a custom event.
    It sounds like it should be pilot error, and I've spent a
    long time trying to spot a silly mistake. But as this problem has
    recurred a few times now, I'm beginning to think it isn't me.
    Anybody else experience similar classpath problems with AS3
    on a Mac? Anybody have any suggestions?

    I am also a newbie and my answer could be wrong.
    But from the looks of it, You are Unable to load performance pack.
    The solution is "Please ensure that libmuxer library is in :'.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
    I hope BEA or someone can tell you the file name of libmuxer. And make sure it is in the Folder where the script is searching/looking.
    Good luck.
    fred

  • CUSTOM REPORT PROBLEM - REP-1213

    I am a student trying to complete a project. I developed a
    "custom" report form which uses 5 tables to generate the report.
    I have entered the 'fields' at various locations on the report
    form and when I run the report I get the following error message:
    "REP-1213: Field 'client_id' references column 'CLIENT_ID' at a
    frequency below its group."
    I have presented this problem to my instructor who does not have
    a solution to resolve this problem for me. Is there a solution
    for this? Or ... does Oracle not allow for 'custom designing'
    of reports? How does someone develop a custom made invoice or
    other report for a client without encountering these problems?
    Anybody's assistance in this matter would be greatly appreciated.
    BO
    null

    Here is some information that may be of help. This is straight
    from Oracle. read the part on FREQUENCY ERRORS carefully.
    You may also retrieve this document from:
    otn home page --> support --> technicial bulletions -->
    sql*reportwriter --> 9006913.61
    P.S. reportwriter frames have kicked manny asses!!
    Good luck.
    Document ID: 9006913.61
    Title: Understanding Frames
    Revision Number 0
    Product: Oracle Reports
    Platform: GENERIC
    Abstract: This document provides a better
    understanding
    of frames and the layering concept.
    Also
    discusses frequency errors.
    Keywords: REPEATING;FRAME;VARIABLE;FIXED;EXPAND;
    CONTRACT;FREQUENCY;
    INTRODUCTION
    There are two types of frames: Repeating frames and non-repeating
    frames.
    Each is a visual representation of actual 3GL code that underlies
    the action
    of fetching and printing the rows selected from tables.
    Non-repeating frames
    act as containers and can be mapped back to the pseudocode: BEGIN
    and END.
    Repeating frames are representations of the Fetch Cycle and can
    be mapped to
    the pseudocode: WHILE NOT END OF TABLE and END WHILE.
    Graphically, frames are stacked one atop the other. This may not
    be
    immediately apparent. It is difficult to distinguish which frame
    is beneath
    another. A quick way to see the three-dimensional layering is to
    change the
    color of the frames. Make each frame a different color. This
    will create a
    three-dimensional effect as frames above will partially obscure
    those beneath
    it. You will also notice the layering structure when using the
    object
    navigator in Reports V2.5
    NON-REPEATING FRAMES
    Non-repeating frames are not record-related. They print as often
    as the
    object in which they are enclosed, or to which they are attached
    by an anchor.
    They do not have a print direction.
    REPEATING FRAMES
    Repeating frames are place holders for records. Repeating frames
    print once
    for each record of a group and control record-level formatting.
    Reports will
    generate one repeating frame for each group when you create a
    default layout.
    Reports will place containers of columns inside of the frames.
    Each repeating
    frame retrieves only one row in its fetch cycle for any one
    repetition. Until
    it is constrained by another frame, it will repeat itself until
    the while loop
    condition can no longer be satisfied.
    VERTICAL AND HORIZONTAL SIZING
    The Vertical Sizing of a repeating frame will default to FIXED if
    all the
    objects in the repeating frame are fixed. If the repeating frame
    encloses an
    object (e.g. field, frame) that grows, then the vertical sizing
    defaults to
    VARIABLE or EXPAND.
    FIXED
    If the Vertical Size of the frame is FIXED then the object's
    height is the
    same on each logical page, regardless of the size of the objects
    or data
    within it. Truncation of data may occur. The height of the
    object in the
    layout editor is the actual height of the object at runtime. No
    special
    symbol is indicated on the frame in the layout editor.
    VARIABLE
    If the frame's Vertical Sizing Attribute is VARIABLE and there is
    nothing
    below it, it collapses. For example, if it normally is four lines
    long and
    only one row is returned, then it will not print three blank
    lines but will
    actually collapse the output to one line. If you drag the
    position of the
    fields downward, the space above will not collapse because of the
    IMPLICIT
    ANCHOR. The object will expand or contract vertically to
    accommodate the
    objects or data within it. The height shown in the layout editor
    has no
    effect on the object's height at runtime. The vertical sizing
    attribute
    functions as if you used a combination of contract and expand. A
    diamond
    symbol is indicated on the frame in the layout editor.
    EXPAND
    If the frame's Vertical Sizing Attribute is set to EXPAND, it
    will begin at a
    minimum size defined by the frame, and will expand as necessary
    to accommodate
    more data or lines that exceed the length of the column. An
    equal sign symbol
    is indicated on the frame in the layout editor.
    CONTRACT
    If the frame's Vertical Sizing Attribute is set to CONTRACT, the
    vertical size
    of the object decreases if the formatted objects or data within
    it are short
    enough, but it cannot increase to accommodate larger data.
    Truncation may
    occur. A circle is indicated on the frame in the layout editor.
    FREQUENCY ERRORS
    You may receive frequency errors when a repeating frame is moved
    or deleted,
    thus changing the layering of the frames. Often, users may
    attempt to correct
    this error by adding the deleted frame back, but this does not
    fix the
    problem. The existence of the frame is not enough, even it is
    does not
    overlap other objects in the layout. The frame must also be in
    the right
    position within the hierarchy. In addition to recreating the
    deleted frame,
    you must push the new frame to the right layer using the ARRANGE
    option on the
    Layout menu.
    If you move an object outside its native frame, then you must
    enclose it
    within a repeating frame to group it within the same loop.
    Oracle Worldwide Customer
    Support
    null

  • Customized KeyboardFocusManager problems with JOptionPane-Dialogs

    Hi,
    I have a problem I'm not able to solve: With Java 1.4.2 unter Linux, as well as all newer Java Versions (1.4, 1.5, 1.6) under Windows, dialogs created by JOptionPane.showXXXDialog do not react to keyboard events like <Tab> any more when using a customized KeyboardFocusManager. Java 1.5 and 1.6 under Linux work fine.
    Here is what I did:
    I have a JFrame and want some customized focus control when navigating through the Frame with <Tab>. Therefore I've implemented a class
    public class EfaFrameFocusManager extends DefaultKeyboardFocusManagereand said in the main JFrame:
    EfaFrameFocusManager myFocusManager = new EfaFrameFocusManager(this,FocusManager.getCurrentKeyboardFocusManager());
    FocusManager.setCurrentKeyboardFocusManager(myFocusManager);The constructor of my EfaFrameFocusManager stores the JFrame (this) and the original KeyboardFocusManager (2nd arg) for later use. Within my own FocusManager, I've implemented the method
    public void processKeyEvent(Component cur, KeyEvent e)which is checking whether the desired Frame (efaFrame) is currently active or not. If it is active, it's performing my customized operations which is working well. If it is not active (e.g. because a dialog created with JOptionPane.showConfirmDialog() is open), it should perform default actions. So I said within processKeyEvent:
    if (!efaFrame.isActive()) { // efaFrame is the previous "this" arg
      fm.processKeyEvent(cur,e); // fm is the previously stored CurrentKeyboardFocusManager
      return;
    }Instead of invoking processKeyEvent on the original KeyboardFocusManager fm, I also tried super.processKeyEvent(cur,e);, but without any change in behavior.
    As I said before, this is working well under Java 1.5 and 1.6 with Linux.
    However, it is not working unter Windows (any Java version I tried, including 1.4, 1.5 and 1.6) and also not unter Linux with Java 1.4. With these combinations, dialogs created by JOptionPane.showXXXDialog(...) do not respond to the <Tab> key. I do see that my own FocusManagers processKeyEvent method is invoked, and I also see that it invokes the one of the original FocusManager, but the Dialog doesn't react.
    What am I doing wrong?
    Nick.

    I have a JFrame and want some customized focus control when navigating
    through the Frame with <Tab>. sounds like you should be doing this via a FocusTraversalPolicy
    http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html#customFocusTraversal

  • Custom Tag -- Custom Component problems with iframes

    I have a "project" component that originally iterated over a list of models and created/renderered the corresponding (and fairly complex) interactive UI components for those models. On the client-side, the output from these were then organized neatly into "tabs" via CSS ... all on one page. Since these UI Components are so hefty, when any iteraction was done on one of them, the whole page had to re-render and things got just plain slow. To get around this limitation, I decided to have my "project" component no longer create the UI components himself, but instead generate an IFRAME that points to a page that will generate a single component. This way, any iteraction will just cause that single IFRAME to refresh.
    Due to the fact that an IFRAME can only be populated by using the src attribute, I have created a page that contains a JSF View (<faces:view>) and inside is a single custom tag of mine (<mine:displayView>). Let's call this page singleDisplayView.jsf. I create iframes that point to singleDisplayView.jsf with different request params for each (singleDisplayView.jsf?modelName=Foo, singleDisplayView.jsf?modelName=Bar, etc.)
    The displayView tag has one attribute called requestQueryString and I use the tag like so:
    <t:displayView requestQueryString="<%=request.getQueryString()%>" />The displayView tag's class is DisplayViewTag. In DisplayViewTag::setProperties(UIComponent uiComponent) method, I get the model name out of the request map and set this property on the UIComponent.
    The problem is that I'm noticing that as the main page (that contains these frames) loads, setProperties() is only being called twice. After that, the components created by subsequent iframes just seem to be using the modelName from the second frame.
    Is there a syncronization issue I don't understand?
    Any ideas?
    Any help would be much appreciated.
    Thanks in advance,
    Mark

    On a possibly related note, I read this in an article of the JSF application lifecycle:
    In the first phase of the JSF lifecycle -- restore view -- a request comes
    through the FacesServlet controller. The controller examines the request and
    extracts the view ID, which is determined by the name of the JSP page.Could it be that the lifecycle is trying to reuse components from a single view, since all these iframes are pointing to the same page?

  • Custom Tag Problem With iPlanet

    Hi,
    I've followed the instructions for creating Custom Tags located at: http://docs.iplanet.com/docs/manuals/enterprise/41/rn41sp9.html#18776. I'm using the examples provided and am still getting the:
    org.apache.jasper.JasperException: Unable to open taglibrary /jsps/test-tags.jar : com.sun.xml.tree.TextNode
    error. I've followed the instructions "Make sure you have the DOCTYPE in your taglib.tld..." but I still get the error.
    iPlanet 4.1 Enterprise on Windows 2000
    Any ideas?
    Thanks in advance.

    Hey i am also getting the same error, please let me know if u had solved this problem. i have copied the error message below
    [25/Feb/2002:15:00:46] info ( 260): JSP: JSP1x compiler threw exception
    org.apache.jasper.JasperException: Unable to open taglibrary /jsps/test-tags1.jar : in is null
         at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:708)
         at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:119)
         at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:190)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1048)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1022)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1018)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:173)
         at com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:230)
         at com.netscape.server.http.servlet.NSServletEntity.update(NSServletEntity.java:149)
         at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:453)
    [25/Feb/2002:15:00:46] warning ( 260): Internal error: Failed to get GenericServlet. (uri=/web/jsps/test-tags.jsp,SCRIPT_NAME=/web/jsps/test-tags.jsp)

Maybe you are looking for