New recordsets being added as a command

All of a sudden, when adding a new recordset, Dreamweaver
adds it as a
command instead of regular recordset. It strips out the sql
completely. Here
is the resulting code for a simple state recordset. Is this a
know new
issue? A setting that got changed?
<%
Dim billstates
Dim billstates_cmd
Dim billstates_numRows
Set billstates_cmd = Server.CreateObject ("ADODB.Command")
billstates_cmd.ActiveConnection = MM_site_STRING
billstates_cmd.CommandText = ""
billstates_cmd.Prepared = true
Set billstates = billstates_cmd.Execute
billstates_numRows = 0
%>

I had the same issue (with my FIU email as well) I called apple support and they gave me the following instructions. Seems to be working perfectly fine.
- Go to Apple Mail
- Hit on Preferences, go to Accounts and hit the "+" button
- Select "Add other mail account", and hit continue
- Enter your Full Name, FIU email address, and password (DO NOT HIT CREATE)
- Push down the option key, and while holding down the option key hit "NEXT"
- It will route you to the Incoming Mail Server Info window, here you will type in the Mail Server as: imap.gmail.com. Again type in your user name (complete FIU email) and password. And again, hold down the option key, and while holding down the option key hit "NEXT".
- Then it wil route you to the Outgoing Mail Server. Type in the Outgoing Mail Server as: smtp.gmail.com, and again your email and password.
-Hit Create
Once you see the email account on your Apple Mail sidebar, go to compose a new message and send yourself an email to your FIU email from your FIU email.
This worked for me and synced all my folders. Hope it works for you as well.

Similar Messages

  • Why aren't new contacts being added from incoming texts and/or recent calls loading in main Contacts?

    Everytime I get a text and I click the "Info" button and then "add new contact"... There name appears at the top of the screen and in the caller id/text message screen, however when I go to contacts the new addition isn't loading up.
    Then when I went to Groups and to "Show ALL Contacts" I can see the new additions. However I also see EVER SINGLE email address listed seperately from my Yahoo account. I am so confused. Is there a way to get the new contacts added to display in my contacts list, without it also displaing my Yahoo email contacts?!??!

    When you add new contact you are adding the contact to your default contacts account. Your default contact account is set in Settings > Mail, Contacts, Calendars > Contacts > Default Account. If this account is checked in the Contacts app Groups view, you will see the new contacts in the Contacts app. Otherwise not.
    I suspect your problem is that your default contact account is not set to the account you think it is.

  • I keep getting the message on iTunes that my Shuffle (which is current on updates) needs to be restored.  It is showing up in devices, but when I try to add songs to it, I don't get the little progress bar showing me that the song is being added. ***?

    I updated to the new iTunes last week.  Today I plugged in my 4th generation Shuffle to add some new songs.  The shuffle appears in Devices, but when I try to add songs, I'm not getting the progress bar at the top of the screen, so I'm assuming the song isn't being added.  I tried ejecting the Shuffle and plugging it in again, and I got a message that my iPod needed to be restored before it could be used with iTunes -- even though the screen also said the Shuffle is up to date on the software. I finally gave in and restored it, but I continue to get the same message.  When I eject the iPod and try to play it now, I'm getting nothing, and when it is connected to the usb port, the orange light is continually flashing.  I've been trying to figure this out for about 3 hours now, so if anyone could help me, I'd be eternally grateful!

    The 1st and 2nd gen shuffles do not have an automatic syncing mode, like later shuffles and the "big" iPods.  It is maintained manually (or by using the Autofill feature).
    If the iTunes sidebar (along left side of window) is hidden, from the menu bar, under View, select Show Sidebar.  The shuffle appears in the sidebar, under DEVICES, when connected.
    To add songs to the shuffle...  Show a list of songs in the iTunes window.  For example, you can select Music under LIBRARY (in the sidebar) to show your complete iTunes music library list.  Select a song and drag it to the shuffle in the sidebar.  You can do this with more than one song selected.  Alternately, select the song(s), right-click the selection, and choose the command to Add to Playlist -> [name of iPod].
    To remove songs from the shuffle...  Select the shuffle in the sidebar.  To the right, it's Settings screen is shown.  Toward the top, where it says Settings, click on On This iPod (to the right).  The list of songs on the shuffle is shown below.  Select the song you want to remove and press Delete on the keyboard.  You can do this with more than one song selected. 
    NOTE:  At the bottom of the shuffle's list of songs, there are controls for the Autofill feature.  You can also use Autofill to fill your shuffle from your music library or from a specific playlist.

  • JTable checkboxes doesn't retain their selection when a new row is added!!

    HI,
    My gui has the JTable component which has 5 columns. out of which 4 columns are checkboxes. whenever i select an item from the Jlist and click on the add button it will add a new row in JTable.
    but the problem is whenever a new row is added to the table. the previously selected checkboxes of previous rows are being deselected. But i want to retain the selection of my previous rows even when a new row is added. please help me how to achieve this..i am posting my JTable code here:
    class FunctionTableModel extends AbstractTableModel{
           /** The instances who's attribute structure we are reporting */
        //protected InitModel m_init;
        protected String func_element;
        protected int counter;
        //protected String[] func_array;
        protected Vector func_vector;
        /** The flag for whether the instance will be included */
        protected boolean [] m_Sum;
        protected boolean [] m_Min;
        protected boolean [] m_Avg;
        protected boolean [] m_Max;
        protected boolean [] m_SD;
         * Creates the tablemodel with the given set of instances.
         * @param instances the initial set of Instances
        public FunctionTableModel() {
          counter =0;
             func_vector = new Vector();
         public FunctionTableModel(Vector vec) {
            func_vector = vec;
        public Vector getDataVector(){
            return func_vector;
         * Sets the tablemodel to look at a new set of instances.
         * @param instances the new set of Instances.
        public void setElement(Vector vec) {
               for(int i=0;i<vec.size();i++){
            func_vector.add(vec.elementAt(i));
            counter++;
          fireTableDataChanged();   
          m_Sum = new boolean [counter];
          m_Min = new boolean[counter];
          m_Avg = new boolean[counter];
          m_Max = new boolean[counter];
          m_SD = new boolean[counter];
         * Gets the number of attributes.
         * @return the number of attributes.
        public int getRowCount() {
               return func_vector.size();
         * Gets the number of columns: 3
         * @return 3
        public int getColumnCount() {
          return 6;
         * Gets a table cell
         * @param row the row index
         * @param column the column index
         * @return the value at row, column
        public Object getValueAt(int row, int column) {
          switch (column) {
          case 0:
            return func_vector.elementAt(row);
          case 1:
            return new Boolean(m_Sum[row]);
          case 2:
            return new Boolean(m_Min[row]);
          case 3:
            return new Boolean(m_Avg[row]);
          case 4:
            return new Boolean(m_Max[row]);
          case 5:
            return new Boolean(m_SD[row]); 
          default:
            return null;
        public void removeAll(){
            func_vector.removeAllElements();
            fireTableDataChanged();
         * Gets the name for a column.
         * @param column the column index.
         * @return the name of the column.
        public String getColumnName(int column) {
          switch (column) {
          case 0:
            return new String("Function Selected");
          case 1:
            return new String("Sum");
          case 2:
            return new String("Min");
          case 3:
            return new String("Avg");
          case 4:
            return new String("Max");
          case 5:
            return new String("SD");   
          default:
         return null;
         * Sets the value at a cell.
         * @param value the new value.
         * @param row the row index.
         * @param col the column index.
        public void setValueAt(Object value, int row, int col) {
          if(col == 0){
            counter++;
            func_vector.add(counter,value.toString());
          if (col == 1)
            m_Sum[row] = ((Boolean) value).booleanValue();
          if (col == 2)
            m_Min[row] = ((Boolean) value).booleanValue();
          if (col == 3)
            m_Avg[row] = ((Boolean) value).booleanValue();
          if (col == 4)
            m_Max[row] = ((Boolean) value).booleanValue();
          if (col == 5)
            m_SD[row] = ((Boolean) value).booleanValue();       
         * Gets the class of elements in a column.
         * @param col the column index.
         * @return the class of elements in the column.
        public Class getColumnClass(int col) {
             return getValueAt(0, col).getClass();
         * Returns true if the column is the "selected" column.
         * @param row ignored
         * @param col the column index.
         * @return true if col == 1.
        public boolean isCellEditable(int row, int col) {
          if (col >= 1) {
             return true;
          return false;
        public void removeRow(int row){
            if(row<=func_vector.size()){
                          func_vector.removeElementAt(row);
                counter--;
            fireTableDataChanged();
        }

    hi parvathi,
    i have made changes to my previous code and here's the code:
      class FunctionTableModel extends DefaultTableModel{
           /** The instances who's attribute structure we are reporting */
        //protected InitModel m_init;
        protected String func_element;
        protected int counter;
        protected int counter1;
        //protected String[] func_array;
        protected Vector func_vector;
        /** The flag for whether the instance will be included */
        protected boolean [] m_Sum;
        protected boolean [] m_Min;
        protected boolean [] m_Avg;
        protected boolean [] m_Max;
        protected boolean [] m_SD;
        //protected Vector m_Sum1;
        //protected Vector m_Min1;
        //protected Vector m_Avg1;
        //protected Vector m_Max1;
        //protected Vector m_SD1;
         * Creates the tablemodel with the given set of instances.
         * @param instances the initial set of Instances
        public FunctionTableModel() {
            System.out.println("entered the constr");
          counter =0;
          //counter1=0;
          //m_Sum1 = new Vector();
          //m_Min1 = new Vector();
          //m_Avg1 = new Vector();
          //m_Max1 = new Vector();
          //m_SD1 = new Vector();
          //func_array = new String[];
          func_vector = new Vector();
         public FunctionTableModel(Vector vec) {
            func_vector = vec;
            //setElement(func_vector);
        public Vector getDataVector(){
            return func_vector;
         * Sets the tablemodel to look at a new set of instances.
         * @param instances the new set of Instances.
        public void addRow(Vector vec) {
          //counter++; 
          //func_element = ele;
          //System.out.println("FunctionTableModel- setElement() method");
          for(int i=0;i<vec.size();i++){
            func_vector.add(vec.elementAt(i));
            counter++;  
           //System.out.println("counter ="+counter+new boolean[counter]); 
            //m_Sum1 = m_Sum;
            //m_Min1 = m_Min;
            //m_Avg1 = m_Avg;
            //m_Max1 = m_Max;
            //m_SD1 = m_SD;
            //m_Sum = new boolean[counter];
            //System.out.println("at setElement");
            m_Sum = new boolean[counter];
            //System.out.println(counter);
            m_Min = new boolean[counter];
            //m_Min;
            m_Avg = new boolean[counter];
            //m_Avg1 = m_Avg;
            m_Max = new boolean[counter];
            //m_Max1 = m_Max;
            m_SD = new boolean[counter];
            //m_SD1 = m_SD;
            //counter1++;
          //func_array[counter]=ele;
          //func_vector.add(counter,ele);
          fireTableDataChanged();  
         * Gets the number of attributes.
         * @return the number of attributes.
        //public int getRowCount() {
          //System.out.println("FunctionTableModel- getRowCount() method");
          //return func_vector.size();
         * Gets the number of columns: 3
         * @return 3
        public int getColumnCount() {
          return 6;
         * Gets a table cell
         * @param row the row index
         * @param column the column index
         * @return the value at row, column
        public Object getValueAt(int row, int column) {
          switch (column) {
          case 0:
            return func_vector.elementAt(row);
          case 1:{
            //System.out.println("in case 1");
            //Boolean m_Sum_Value = new Boolean(m_Sum[row]);
            //System.out.println("m_Sum_Value:"+m_Sum_Value.booleanValue());
            return new Boolean(m_Sum[row]);
            //m_Sum1.add(m_Sum_Value);
            //return m_Sum_Value;
          case 2:
            return new Boolean(m_Min[row]);
          case 3:
            return new Boolean(m_Avg[row]);
          case 4:
            return new Boolean(m_Max[row]);
          case 5:
            return new Boolean(m_SD[row]); 
          default:
            return null;
        public void removeAll(){
            func_vector.removeAllElements();
            //m_Sum1.removeAllElements();
            fireTableDataChanged();
         * Gets the name for a column.
         * @param column the column index.
         * @return the name of the column.
        public String getColumnName(int column) {
          switch (column) {
          case 0:
            return new String("Function Selected");
          case 1:
            return new String("Sum");
          case 2:
            return new String("Min");
          case 3:
            return new String("Avg");
          case 4:
            return new String("Max");
          case 5:
            return new String("SD");   
          default:
         return null;
         * Sets the value at a cell.
         * @param value the new value.
         * @param row the row index.
         * @param col the column index.
        public void setValueAt(Object value, int row, int col) {
          if(col == 0){
            counter++;
            func_vector.add(counter,value.toString());
          if (col == 1) {
            m_Sum[row] = ((Boolean) value).booleanValue();
            //System.out.println("m_Sum length "+m_Sum.length);
            //for(int i=0;i<=row;i++)
            //    System.out.println("m_Sum1 "+i+((Boolean)m_Sum1.elementAt(i)).booleanValue());
            //System.out.println("m_Sum1["+row+"] "+ ((Boolean)m_Sum1.elementAt(row)).booleanValue());
            //    System.out.println("m_Sum["+i+"] "+ m_Sum);
    if (col == 2)
    m_Min[row] = ((Boolean) value).booleanValue();
    if (col == 3)
    m_Avg[row] = ((Boolean) value).booleanValue();
    if (col == 4)
    m_Max[row] = ((Boolean) value).booleanValue();
    if (col == 5)
    m_SD[row] = ((Boolean) value).booleanValue();
    * Gets the class of elements in a column.
    * @param col the column index.
    * @return the class of elements in the column.
    public Class getColumnClass(int col) {
    return getValueAt(0, col).getClass();
    * Returns true if the column is the "selected" column.
    * @param row ignored
    * @param col the column index.
    * @return true if col == 1.
    public boolean isCellEditable(int row, int col) {
    if (col >= 1) {
         return true;
    return false;
    public void removeRow(int row){
    if(row<=func_vector.size()){
    func_vector.removeElementAt(row);
    counter--;
    fireTableDataChanged();
    previouslu i was using the setElement method. now i have replaced with the addRow method...
    but anyways...the control is not going to any of these overridden methods...and none of the elements are added to the table. But i comment of all the addRow, getValueAt, getColumnClass methods...then it's adding rows to the table but with only the first column all the remaiing columns are just empty...
    i am fed up with this...if you observe i have commented out somany lines...becoz i am trying to save my boolean array values into a vector..but that was also in vain...
    i appreciate for ur help...
    thanks
    sri

  • Event Receiver:Item is Being Adding Event Recevier Issue

    Hi All,
     * I had written Simple event receviers(Item is Being Adding) to a site at FarmLevel(Farm Solution) and below is the code for it.
    * In below code I am adding the List name to a Column called "Name" ,when Item is being adding the code is getting loop and inserting unwanted data and updating Column "Name" with it instead of updating when item is added
    *Below if u see there is no value in Column "Name" when I insert values "Mark Devis"(Title) and "In Meeting"(Body) columns
    Can any one help me how can I solve the issue
           Code:
    string listitle = properties.List.Title + "" + "is List Name";
    string siteurl = http://sp2010:8080/personal/Sample/;
    using (SPSite mysite = new SPSite(siteurl))
    using (SPWeb myweb = mysite.OpenWeb())
    SPList mylist = myweb.Lists["Announcements"];    
    SPListItem newitem = mylist.Items.Add();
          newitem["Name"] = listitle.ToString();
          newitem.Update();
    Result:
    Samar

    Hello Samar,
    Try to use before/after properties to update item in list on ItemAdding event.
    http://sarveshspn.blogspot.in/2010/05/using-itemadding-and-afterproperties-to_08.html
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/1ed217b1-9441-4fe1-b3aa-68b2768bdfc7/updating-list-item-value-on-the-itemadding-event-handler-of-an-item-receiver-class?forum=sharepointdevelopmentlegacy
    Also make sure that you have at least contributor right in list to edit data.
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Every single website, or link within a website page is being added to my location bar/address bar drop down menu. How can I stop this? This just started happening.

    Every single website url address, or url address within a website page is being added to my location bar/address bar drop down menu.
    I don't want everything added or saved in the location bar. Only urls that I used a lot used to be saved there but now every single url (and url within a url)I visit is being added to it.
    How can I stop this? This just started happening.
    I'm sure it's a simple browser setting but I've checked and nothing gives an option to control this.
    Firefox 3.0.17
    Windows XP
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.17) Gecko/2009122116 Firefox/3.0.17

    A possibility is to open the links via the right-click context menu or a middle-click in a new tab to make sure that Firefox sees them as regular links.

  • I just bought a new iPhone and added 25$ to my iTunes and it won't let me buy anything bc it says I have to type in my security questions answers but I don't rennet them what do I do?

    I just bought a new iPhone and added 25$ to my iTunes and it won't let me buy anything bc it says I have to type in my security questions answers but I don't rennet them what do I do? Please help me I don't want my 25$ to go to waste

    Click here and search the article for '2 out of 3' without the quotes; this generally involves either a message being sent to your rescue email address or contacting the iTunes Store staff directly.
    (74403)

  • How to update a jscrollpane as new tables are added?

    Following is the code of a search form which searches the address based on some search criteria and places the result in the form of table on the panel p3 which has scrollpane sp1. every time the user searches the address a new table adds to the panel but the problem is that as new tables are added to the panel and they get out of the panel the scrollpane does not show the scroll Knob on the scroll bar. please give me the solution that how to update the scrollbar as the new tables are being added to the panel?
    import javax.swing.*;
    import javax.swing.table.DefaultTableCellRenderer;
    import javax.swing.border.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.Statement;
    public class Search extends JFrame implements ActionListener
         Container c;
         Toolkit tk;
         JLabel l1; int y=30;
         JPanel p1,p2,p3;     
         JRadioButton rbByName,rbBySirName,rbByID,rbByCity,rbByState;
         JButton btSearch,btView;
         ButtonGroup bgSearch;
         JTextField txtSearch;
         ImageIcon i1;
         Connection con;
         Statement st1;
         PreparedStatement pst1;
         ResultSet rs1;
         Object[][] data;
         public Search()
              super("Search-Address Management System");
              c=getContentPane();
              tk=Toolkit.getDefaultToolkit();
              //setLocation(150,100);
              setSize(1024,768);
              c.setLayout(null);
              setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
              defineComponents();
              settingBounds();
              addListeners();
              addComponents();
              JScrollBar sb=new JScrollBar();
              JScrollPane sp1=new JScrollPane(p3,JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
              sp1.setBounds(30,300,700,380);
              l1.add(sp1);
              setVisible(true);
         public void defineComponents()
              p1=new JPanel();
              p1.setLayout(null);
              p1.setOpaque(false);
              p2=new JPanel();
              p2.setLayout(null);
              p2.setOpaque(false);
              p3=new JPanel();
              p3.setLayout(null);
              //p3.setOpaque(false);
              i1=new ImageIcon("Images/Main1.jpg");
              l1=new JLabel(i1);
              rbByName=new JRadioButton("First Name");
              rbByName.setOpaque(false);
              rbByName.setForeground(Color.CYAN);
              rbBySirName=new JRadioButton("Last Name");
              rbBySirName.setOpaque(false);
              rbBySirName.setForeground(Color.CYAN);
              rbByState=new JRadioButton("State");
              rbByState.setOpaque(false);
              rbByState.setForeground(Color.CYAN);
              rbByCity=new JRadioButton("City");
              rbByCity.setOpaque(false);
              rbByCity.setForeground(Color.CYAN);
              rbByID=new JRadioButton("ID");
              rbByID.setOpaque(false);
              rbByID.setForeground(Color.CYAN);
              btSearch=new JButton("Search");
              bgSearch=new ButtonGroup();
              txtSearch=new JTextField();
              btSearch=new JButton("Search");
              TitledBorder tb=new TitledBorder("Search Criteria");
              TitledBorder tb1=new TitledBorder("Search");
              p1.setBorder(tb);
              tb.setTitleColor(Color.YELLOW);
              p2.setBorder(tb1);
              tb1.setTitleColor(Color.YELLOW);
         public void settingBounds()
              rbByID.setBounds(20,30,50,20);
              rbByName.setBounds(120,30,100,20);
              rbByState.setBounds(20,70,80,20);
              rbByCity.setBounds(120,70,50,20);
              rbBySirName.setBounds(240,30,100,20);
              p1.setBounds(30,40,400,110);
              p2.setBounds(30,180,400,80);
              //p3.setBounds(30,300,700,380);
              p3.setBackground(Color.BLUE);
              l1.setBounds(0,0,1024,768);
              txtSearch.setBounds(50,210,250,25);
              btSearch.setBounds(320,210,80,25);
              rbByID.setSelected(true);
         public void addListeners()
              btSearch.addActionListener(this);
         public void addComponents()
              p1.add(rbByName);
              p1.add(rbBySirName);
              p1.add(rbByState);
              p1.add(rbByCity);
              p1.add(rbByID);
              c.add(txtSearch);
              c.add(btSearch);
              c.add(p1);
              c.add(p2);
              c.add(l1);
              bgSearch.add(rbByID);
              bgSearch.add(rbByName);
              bgSearch.add(rbBySirName);
              bgSearch.add(rbByCity);
              bgSearch.add(rbByState);
         public void drawtable()
              int i=0,rows=0;
              String[] colNames={"ID","First Name","Last Name","City","State","Operation"};
              String stData=txtSearch.getText();
              try
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   con=DriverManager.getConnection("jdbc:odbc:dsnAddress");
                   if(rbByName.isSelected())
                        pst1=con.prepareStatement("select * from tbaddress where fname=?",ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABLE);
                        pst1.setString(1,stData);
                   if(rbByID.isSelected())
                        pst1=con.prepareStatement("select * from tbaddress where ID=?",ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABLE);
                        pst1.setString(1,stData);
                   if(rbBySirName.isSelected())
                        pst1=con.prepareStatement("select * from tbaddress where LName=?",ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABLE);
                        pst1.setString(1,stData);
                   if(rbByCity.isSelected())
                        pst1=con.prepareStatement("select * from tbaddress where City=?",ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABLE);
                        pst1.setString(1,stData);
                   if(rbByState.isSelected())
                        pst1=con.prepareStatement("select * from tbaddress where State=?",ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABLE);
                        pst1.setString(1,stData);
                   rs1=pst1.executeQuery();
                   rs1.last();
                   rows=rs1.getRow(); // get no. of rows
                   if(rows==0)
                        JOptionPane.showMessageDialog(this,"***No Record Found***",null,JOptionPane.INFORMATION_MESSAGE,null);
                        return;
                   data=new Object[rows][6]; //     makes an empty two dimensional array of
                                                   //     rows and columns to store data
                   rs1.beforeFirst();
                   while(rs1.next())            //     fills the array with data
                        data[0]=rs1.getString("ID");
                        data[i][1]=rs1.getString("Fname");
                        data[i][2]=rs1.getString("LName");
                        data[i][3]=rs1.getString("City");
                        data[i][4]=rs1.getString("State");
                        data[i][5]="View";
                        i++;
              catch(Exception e)
                   System.out.println("ExceptionSearch="+ e);
              MyTableModel tm=new MyTableModel(data,colNames);
              JTable t1=new JTable(tm)
              // Returning the Class of each column will allow different
    // renderers to be used based on Class
    public Class getColumnClass(int column)
    return getValueAt(0, column).getClass();
              JScrollPane sp=new JScrollPane(t1,JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
              sp.setBounds(30,y,600,100);
              p3.add(sp);
              y=y+110;
              ButtonColumn buttonColumn = new ButtonColumn(t1, 5);
         }Edited by: erdeepak on Sep 22, 2008 4:12 AM
    Edited by: erdeepak on Sep 22, 2008 4:24 AM
    Edited by: erdeepak on Sep 22, 2008 4:25 AM
    Edited by: erdeepak on Sep 22, 2008 4:30 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Don't use null layouts. Learn how to use layout managers.
    The basic design of your frame should be something like this:
    JPanel tablePanel = new JPanel( set your desired layout manager here );
    JScrollPane scrollPane = new JScrollPane( tablePanel );Now when you invoke your search code to create a new table the code will be something like:
    JTable table = new JTable(...);
    tablePanel.add( table );
    tablePanel.revalidate();The revalidate() will invoke the layout manager and the new preferred size of the panel will be calculated and then scrollbars will be added if required.
    The key is to use a layout manager and to revalidate the panel containing the tables.

  • Prevent attachments from being added to Meetings

    Is there a way to block attachments from being added to meetings?

    This won't block them all, but it will block any larger than 1 byte:
    New-TransportRule -Name <meaningful name> -MessageTypeMatches 'Calendaring' -AttachmentSizeOver 1 -RejectMessageReasonText 'Attachments are not allowed on Meetings' -RejectMessageEnhancedStatusCode '5.7.1'
    The -MessageTypeMatches and -AttachmentSizeOver are anded together so both need to be valid.  I'd test this a few times before I put it into production, though.

  • Item has already been added. Key in dictionary: '???' Key being added: '???'

    Since 1 week I am unable to access any of the Sharepoint 2010 sites that exist in my farm. The error that is shozn is:
    Item has already been added. Key in dictionary: '???'  Key being added:
    Here is the stacktrace:
    [ArgumentException: Item has already been added. Key in dictionary: '???' Key being added: '???']
    System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) +10065554
    System.Collections.Specialized.StringDictionary.Add(String key, String value) +89
    Microsoft.SharePoint.SPWeb.GetProperties() +563
    Microsoft.SharePoint.Utilities.SPPropertyBag..ctor(GetProperties getProperties, UpdateProperties updateProperties) +62
    Microsoft.SharePoint.SPWeb.get_Properties() +130
    Microsoft.Office.Server.Utilities.PageUtility.GetPagesListName(SPWeb web) +39
    Microsoft.SharePoint.Publishing.PublishingWeb.get_PagesListName() +152
    Microsoft.SharePoint.Publishing.CachedArea..ctor(PublishingWeb area, String id, String parentId, CachedUserResource title, String url, CachedUserResource description, CachedObjectFactory factory) +3914
    Microsoft.SharePoint.Publishing.CachedArea.CreateCachedArea(PublishingWeb area, CachedObjectFactory factory, String parentId) +590
    Microsoft.SharePoint.Publishing.CachedObjectFactory.CreateWebFromUrlNoUpperCase(String url, Guid webIdHint, String urlCaseHint) +555
    Microsoft.SharePoint.Publishing.WebControls.ConsoleUtilities.IsMasterPageGalleryUrlForSite(Uri uri) +117
    Microsoft.SharePoint.Publishing.WebControls.ConsoleVisibleUtilities.ConsoleAppliesInCurrentContext() +41
    Microsoft.SharePoint.Publishing.Internal.WebControls.PublishingRibbon.OnLoad(EventArgs e) +95
    System.Web.UI.Control.LoadRecursive() +66
    System.Web.UI.Control.LoadRecursive() +191
    System.Web.UI.Control.LoadRecursive() +191
    System.Web.UI.Control.LoadRecursive() +191
    System.Web.UI.Control.LoadRecursive() +191
    System.Web.UI.Control.LoadRecursive() +191
    System.Web.UI.Control.LoadRecursive() +191
    System.Web.UI.Control.LoadRecursive() +191
    System.Web.UI.Control.LoadRecursive() +191
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428
    Also, when I am trying to access my homepage on the root sitecollection, I see this error:
    The DataSourceID of 'V4QuickLaunchMenu' must be the ID of a control of
    type IHierarchicalDataSource.  A control with ID 'QuickLaunchSiteMap' could not
    be found.

    Recently have you removed, deleted, changed password of any account used in sharepoint.
    Check in > Security > Manage account
    Check in IIS > Application pool, if any pool is stopped.
    If you have a old copy of web.config files, check if they were modified.
    Was any new solution\wsp deployed in farm
    please share ULS logs, event viewer and fiddler traces.
    If this helped you resolve your issue, please mark it Answered

  • I have been editing a document on my MacBook Pro and iPad, which has the newer versions of Pages. Now, I cannot open on My MacBook. It says I need a newer version of OS. However, I'm not showing a newer version being availabe!!! Can anyone help???

    I have been editing a document on my MacBook Pro and iPad, which has the newer versions of Pages. Now, I cannot open on My MacBook. It says I need a newer version of OS. However, I'm not showing a newer version being availabe!!! Can anyone help???

    That is Pages for iPad v2.0, which Pages '09 v4.3 can't read.
    You need to either stick with the older version of Pages on the iPad or get Pages 5 for the Mac which is only available if you are running OSX 10.9 Mavericks.
    Unfortunately that is not the end of your woes because Apple has made iCloud convert the files to Pages 5 now, and Pages 5 has over 90 features deleted on top of doing a shocking job of converting older Pages files.
    Peter

  • What happened to the nifty "sync" button in iTunes? It syncs as soon as I plug it in, and that's great! BUT! When I go to the iTunes Store and buy new stuff, I can't just 'sync' the device again so my new stuff gets added. Why?

    What happened to the nifty "sync" button in iTunes? It syncs as soon as I plug it in, and that's great! BUT! When I go to the iTunes Store and buy new stuff, I can't just 'sync' the device again so my new stuff gets added. Why?

    Nothing happened to it.
    It is still there.  Maybe it says apply now, not sure, but it is still there.

  • Could not complete the new 3D extrusion from selected layer command because the path is too complex.

    I was trying to do a photo of mine like in this video but its not working help needed. thanks.
    http://www.youtube.com/watch?v=egyLY78H7nE
    When I tried the 3D I got an error message that said (could not complete the new 3D extrusion from selected layer command because the path is too complex.) what does this mean and how can i fix it?

    There was a bug at one time where really simple paths (like a triangle, for example) could cause that error.
    Is your path really simple (I don't plan to go watch the video)?  If so, have you installed the latest update for Photoshop?  That bug may have been fixed already.
    If it's not that, it's possible that if your path is really complex and simply exceeding Photoshop's capability.
    -Noel

  • Issue with the new COPA field added into the BBSEG Structure

    Hello All,
    I have an issue with the new COPA field added into the BBSEG Structure.
    I think its added becuase of test Operationa Conern Created by somebody.
    Can you please let me know how to remove that structure from BBSEG Structure.
    Thanks
    vsr

    Hi Monohar & Ankur,
      Thanks for your answers..
      main issue is suddenly new field called RKE_COPA_KOSTL has  been added to the BBESG Structure..
      Because of this RFBIBL00 Upload is not working. I heard that  this new fields will come by generating Operating Concerns by Transaction KEA0.I found an operating concern which was created as a test in developemt system..
      But I am not sure how to delete that operating concern.Even i am not sure if we delete the Operating Concern ..is it going to delete that field in BBESG Structure or not??
    Please advise me..
    Thanks
    sathi

  • I transferred my music from my pc to my mac, but when i sync my phone it doesn't sync with any new music i added. If i back it up will it erase what's on my iPhone now and only put what's on the mac now (will it erase my apps?)

    I transferred all my music from my pc to my new mac and added new music, but when i try to sync my iPhone with the mac it doesn't sync anything new I put on it. I believe backing it up will solve it , but if I back up my iPhone will it erase what I have on my phone now (apps and other things) and only put the music from the mac now or will it keep what's on my phone and add the new music I put on the mac?

    It's true that it will erase your iPhone music if you sync them with Mac. You can use third party software to transfer music from iPhone to Mac, there are many programs you can choose. In this way, you can selectively move music.

Maybe you are looking for

  • Photoshop 12.0.1 crashes on startup / error for object 0x10734d208

    Hello. Photoshop 12.0.1 / Mac OS X 10.6.4 crashes on startup having run flawlessly hitherto. No new fonts installed, no problem in any other application, CS5 or no. Preferences and cache deleted, no change. Disk Permissions etc. checked / repaired. R

  • Substring doesn't work in KM

    Can anyone explain why following code doesn't work in my KM: <% String viewName = new String (snpRef.getInfo("COLL_NAME")); nameLength = viewName.length(); if (nameLength >30) {      viewName = viewName.substring(0,30); %> It falls with exception: co

  • Schedueld tasks in web-container

    Hi, i have a small application consisting only of a set of JSP's. My problem is: I need to execute a task at schedueld times (e.g. every 5 minutes) and I also want the task to run in the web-container. What is the best way to achieve this? Thanks in

  • To get SMTP Configuration

    Hi, Is there a way to get the SMTP configurations of the Enterprise Portal in web dynpro? I am sending mails through my application and i want my application to use the SMTP details that are already configured for EP. Thanks, Venkat

  • Hard reset Nokia 3120 Classic

    Hello, I have an old Nokia 3120 classic phone which I would like to use as my spare device however when I turn on this device it asks me for a security code, which I didnt set at all. Is there any other way to hard reset this device (other than going