Problems with Student List Part 1

i have tried a lot of things to make this program run, but it doesn't.. so guys, i really need your help.. the following codes are to be saved as: StudentList.java, Student.java, Person.java, MyListArray.java and MyList.java.. the program will run through compiling and running StudentList.java.. this program adds Student Lists.. the problem is that it does not delete and insert item lists after is has been displayed.. so guys, i hope you can help me with this one..thanks in advance
* @(#)StudentList.java
* @author
* @version 1.00 2009/1/13
import java.util.*;
public class StudentList extends MyListArray
     public static void menu()
          String [] menu = {"...Student List...",
                                "1. Create List",
                                "2. Add Student",
                                "3. Delete Student",
                                "4. Insert Student",
                                "5. Display Student",
                                "6. Quit"};
          for(int i = 0; i < menu.length; i++)
               System.out.println(menu);
     public static void main(String[] args)
          MyListArray list = null;
          Scanner con = new Scanner(System.in);
          String idno = null;
          String familyName = null;
          String givenName = null;
          String mi = null;
          String course = null;
          int option = 0;
          Student t = null;
          Student s = null;
          while(option != 6)
               menu();
               System.out.print("Select item from above: ");
               option = con.nextInt();
               switch(option)
                    case 1: System.out.println("Create List");
                              System.out.print("Enter size: ");
                                   int size = con.nextInt();
                                   list = new MyListArray(size);
                                   break;
                    case 2: System.out.println("Add Student");
                              System.out.print("ID Number: ");
                                   idno = con.next();
                              System.out.print("Family Name: ");
                                   familyName = con.next();
                              System.out.print("Given Name: ");
                                   givenName = con.next();
                              System.out.print("Middle Intitial: ");
                                   mi = con.next();
                              System.out.print("Course: ");
                                   course = con.next();
                              list.addItem(new Student(idno,familyName, givenName, mi, course));
                              break;
                    case 3: System.out.println("Delete Student");
                              System.out.print("Enter ID Number: ");
                                   idno = con.next();
                                   s = new Student();
                                   s.setIdNo(idno);
                                   list.deleteItem(s);
                                   break;
                    case 4: System.out.println("Insert Student");
                              System.out.print("ID Number: ");
                                   idno = con.next();
                              System.out.print("Family Name: ");
                                   familyName = con.next();
                              System.out.print("Given Name: ");
                                   givenName = con.next();
                              System.out.print("Middle Intitial: ");
                                   mi = con.next();
                              System.out.print("Course: ");
                                   course = con.next();
                              s = new Student(idno, familyName, givenName, mi, course);
                              System.out.print("Insert at ID Number: ");
                                   idno = con.next();
                                   t = new Student();
                                   t.setIdNo(idno);
                                   list.insertItem(t,s);
                                   break;
                    case 5: System.out.println("Student List");
                              System.out.println("" + list);
* @(#)Student.java
* @author
* @version 1.00 2009/1/13
public class Student extends Person
          private String idno;
          private String course;
     public Student(String idno, String familyName, String givenName, String mi, String course)
          super(familyName, givenName, mi);
          this.idno = idno;
          this.course = course;
     public Student()
          super();
          this.idno = "___";
          this.course = "___";           
     public String toString()
          return idno + " " + getFamilyName() + " " + getGivenName() + " " + getMi() + " " + course;
Edited by: jen_nard on Jan 23, 2009 4:33 AM
Edited by: jen_nard on Jan 23, 2009 4:36 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

hi, i have added some methods in my program..but still, it does not work correctly..
* @(#)StudentList.java
* @author
* @version 1.00 2009/1/13
import java.util.*;
public class StudentList extends MyListArray
     public static void menu()
          String [] menu = {"...Student List...",
                                "1. Create List",
                                "2. Add Student",
                                "3. Delete Student",
                                "4. Insert Student",
                                "5. Display Student",
                                "6. Quit"};
          for(int i = 0; i < menu.length; i++)
               System.out.println(menu);
     public static void main(String[] args)
          MyListArray list = null;
          Scanner con = new Scanner(System.in);
          String idno = null;
          String familyName = null;
          String givenName = null;
          String mi = null;
          String course = null;
          int option = 0;
          Student t = null;
          Student s = null;
          while(option != 6)
               menu();
               System.out.print("Select item from above: ");
               option = con.nextInt();
               switch(option)
                    case 1: System.out.println("Create List");
                              System.out.print("Enter size: ");
                                   int size = con.nextInt();
                                   list = new MyListArray(size);
                                   break;
                    case 2: System.out.println("Add Student");
                              System.out.print("ID Number: ");
                                   idno = con.next();
                              System.out.print("Family Name: ");
                                   familyName = con.next();
                              System.out.print("Given Name: ");
                                   givenName = con.next();
                              System.out.print("Middle Intitial: ");
                                   mi = con.next();
                              System.out.print("Course: ");
                                   course = con.next();
                              list.addItem(new Student(idno,familyName, givenName, mi, course));
                              break;
                    case 3: System.out.println("Delete Student");
                              System.out.print("Enter ID Number: ");
                                   idno = con.next();
                                   s = new Student();
                                   s.setIdNo(idno);
                                   list.deleteItem(s);
                                   break;
                    case 4: System.out.println("Insert Student");
                              System.out.print("ID Number: ");
                                   idno = con.next();
                              System.out.print("Family Name: ");
                                   familyName = con.next();
                              System.out.print("Given Name: ");
                                   givenName = con.next();
                              System.out.print("Middle Intitial: ");
                                   mi = con.next();
                              System.out.print("Course: ");
                                   course = con.next();
                              s = new Student(idno, familyName, givenName, mi, course);
                              System.out.print("Insert at ID Number: ");
                                   idno = con.next();
                                   t = new Student();
                                   t.setIdNo(idno);
                                   list.insertItem(t,s);
                                   break;
                    case 5: System.out.println("Student List");
                              System.out.println(" " + list);
* @(#)Student.java
* @author
* @version 1.00 2009/1/13
public class Student extends Person
          private String idno;
          private String course;
     public Student(String idno, String familyName, String givenName, String mi, String course)
          super(familyName, givenName, mi);
          this.idno = idno;
          this.course = course;
     public Student()
          super();
          this.idno = "___";
          this.course = "___";           
     //setters
     public void setIdNo(String idno)
               this.idno = idno;
     public void setCourse(String course)
          this.course = course;
     //getters
     public String getIdNo()
          return idno;
     public String getCourse()
          return course;
     public boolean equals(Object obj)
          boolean okey = false;
          if(obj instanceof StudentList)
               Student s = (Student)obj;
               if(s.getIdNo().equals(idno))
                    okey = true;
          return okey;
     public String toString()
          return idno + " " + super.toString() + " " + course;

Similar Messages

  • Problems With Student List Part 2 (Continuation)

    * @(#)Person.java
    * @author
    * @version 1.00 2009/1/13
    public class Person
         private String idno;
         private String course;
         private String familyName;
         private String givenName;
         private String mi;
        public Person(String familyName, String givenName, String mi)
             this.familyName = familyName;
             this.givenName = givenName;
             this.mi = mi;         
        public Person()
             this("Sample","XXX", "X");
        //setters
        public void setIdNo(String idno)
              this.idno = idno;
        public void setCourse(String course)
             this.course = course;
        public void setFamilyName(String f)
             familyName = f;
        public void setGivenName(String givenName)
             this.givenName = givenName;
        public void setMi(String mi)
             this.mi = mi;
        //getters
        public String getIdNo()
             return idno;
        public String getCourse()
             return course;
        public String getFamilyName()
             return familyName;
        public String getGivenName()
             return givenName;
        public String getMi()
             return mi;
    * @(#)MyListArray.java
    * @author
    * @version 1.00 2009/1/13
    public class MyListArray implements MyList
         public Object[] list;
         private int count;
         //constructor     
         public MyListArray(int size)
              list = new Object[size];
              count = 0;
         public MyListArray()
              this(10);
         public boolean isFull()
              return count == list.length;
         public boolean isEmpty()
              return count == 0;          
         public boolean isElement(Object key)
              boolean found = false;
                   for(int i = 0; i < count; i++)
                        if(list.equals(key))
                             found = true;
                             break;
                   return found;
    public void insertItem(Object key, Object item)
                   for(int i = 0; i < count; i++)
                        if(list[i].equals(key))
                             for(int j = count - 1; j >= i; j--)
                                  list[j+1] = list[j];
                             list[i] = item;
                             count++;                          
                             break;
    public void deleteItem(Object key)
                   for(int i = 0; i < count; i++)
                        if(list[i].equals(key))
                             for(int j = i; j < count; j++)
                                  list[j] = list[j + 1];
                             count--;
                             break;
    public void addItem(Object item)
         if(!isFull())
              list[count++] = item;
         else
              System.out.println("List is full.");           
    public String toString()
         StringBuffer sb = new StringBuffer();
              for(int i = 0; i < count; i++)
                   sb.append(list[i]);
                   if(i < (count - 1))
                        sb.append("\n");
              return sb.toString();

    hi, i have added some methods on the program
    * @(#)Person.java
    * @author
    * @version 1.00 2009/1/13
    public class Person
         private String familyName;
         private String givenName;
         private String mi;
        public Person(String familyName, String givenName, String mi)
             this.familyName = familyName;
             this.givenName = givenName;
             this.mi = mi;
        public Person()
             this("Sample","XXX", "X");
        public void setFamilyName(String f)
             familyName = f;
        public void setGivenName(String givenName)
             this.givenName = givenName;
        public void setMi(String mi)
             this.mi = mi;
        public String getFamilyName()
             return familyName;
        public String getGivenName()
             return givenName;
        public String getMi()
             return mi;
    * @(#)MyListArray.java
    * @author
    * @version 1.00 2009/1/13
    public class MyListArray implements MyList
         private Object[] list;
         private int count;
         //constructor     
         public MyListArray(int size)
              list = new Object[size];
              count = 0;
         public MyListArray()
              this(10);
         public boolean isFull()
              return count == list.length;
         public boolean isEmpty()
              return count == 0;          
         public boolean isElement(Object key)
              boolean found = false;
                   for(int i = 0; i < count; i++)
                        if(list[i] == (key))
                             found = true;
                             break;
                   return found;
        public  void addItem(Object item)
             if(!isFull())
                  list[count++] = item;
             else
                  System.out.println("List is full.");              
        public void insertItem(Object key, Object item)
             if(!isFull())
                  if(isElement(key))
                       for(int i = 0; i < count; i++)
                            if(list.equals(key))
                             for(int j = count - 1; j >= i; j--)
                                  list[j+1] = list[j];
                             list[i] = item;
                             count++;
                             break;
              else
                   System.out.println("Item not found.");                
         else
              System.out.println("List is full.");           
    public void deleteItem(Object item)
         if(!isEmpty())
              if(isElement(item))
                   for(int i = 0; i < count; i++)
                        if(list[i].equals(item))
                             for(int j = i; j < count - 1; j++)
                                  list[j] = list[j + 1];
                             count--;
                             break;
         else
              System.out.println("List is empty.");           
    public String toString()
         StringBuffer sb = new StringBuffer();
              for(int i = 0; i < count; i++)
                   sb.append(list[i]);
                   if(i < count - 1)
                        sb.append("\n");
              return sb.toString();
    public static void main(String[] args)
         MyList m = new MyListArray(5);
              m.addItem(new Integer("1"));
              m.addItem(new Float("1.2"));
              m.addItem(new Double("3.0"));
              m.addItem(new Long("5"));
              m.addItem(100);
              System.out.println(m);
              m.deleteItem(new Float("1.2"));
              System.out.println(m);
              m.insertItem(new Double("3.0"),"Saren");
              System.out.println(m);

  • HT2729 Can't transfer National Gallery of Art podcast George Bellows Part 2 to iPod. However no problem with George Bellows Part 1

    System won't transfer National Gallery of Art podcast George Bellows Part 2 to my iPod. No problem with George Bellows Part 1 though.
    Any ideas?

    Oh, forgot about this. Navigate to the podcast menu. Highlight the name of the podcast. Don't press select, press play. This should play all of the podcasts in the correct order (or, at least it worked on the 3rd gen Nano with some version of the firmware).

  • Having problem with reading list in safari

    i am having problem with reading list in safari some time it work sometimes gets hang....

    Might be a cache issue ...
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.

  • Problem with ALV list

    Hi friends,
                  I have created one program with alv list, but i am unable to add one header and footer, also i have to add one logo to the program. Plese some one tell me a easy procedure to add a header, footer and also a logo. If you can show me one with example that would be very helpful.
    This is my program, plz add the necessary parts.
    *& Report Y_BOM2_ALV
    REPORT y_bom2_alv LINE-SIZE 350 LINE-COUNT 350.
    *& Include YINCLUDE1
    TABLES : mast, stko, stpo.
    TYPE-POOLS : slis.
    DATA : BEGIN OF iall OCCURS 10,
    matnr LIKE mast-matnr,
    werks LIKE mast-werks,
    stlan LIKE mast-stlan,
    stlal LIKE mast-stlal,
    stlst LIKE stko-stlst,
    posnr LIKE stpo-posnr,
    idnrk LIKE stpo-idnrk,
    menge LIKE stpo-menge,
    meins LIKE stpo-meins,
    ausch LIKE stpo-ausch,
    lgort LIKE stpo-lgort,
    END OF iall.
    DATA : i_repid LIKE sy-repid,
    i_lines LIKE sy-tabix.
    DATA : int_fcat TYPE slis_t_fieldcat_alv.
    SELECTION-SCREEN BEGIN OF BLOCK a1 WITH FRAME TITLE title1.
    PARAMETER : p_werks LIKE mast-werks.
    SELECT-OPTIONS : s_matnr FOR mast-matnr.
    SELECTION-SCREEN END OF BLOCK a1.
    INITIALIZATION.
    title1(50) = ' Bill Of Material Input Screen '.
    *& Include YINCLUDE2
    START-OF-SELECTION.
    SELECT mastmatnr mastwerks maststlan maststlal stko~stlst
    stpoposnr stpoidnrk stpomenge stpomeins stpo~ausch
    stpo~lgort INTO TABLE iall FROM stpo INNER JOIN stko ON
    stpostlnr = stkostlnr INNER JOIN mast ON
    stpostlnr = maststlnr WHERE mast~werks EQ
    p_werks AND mast~matnr IN s_matnr.
    IF sy-subrc <> 0 OR p_werks EQ ' ' OR s_matnr EQ ' '.
    CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
    EXPORTING
    titel = 'ERROR MESSAGE ( INPUT ERROR / WRONG INPUT ) '
    textline1 = ' PLANT / MATERIAL Invalid or Empty '
    textline2 = ' Plese enter plant no / material no again '
    start_column = 20
    start_row = 5.
    EXIT.
    ENDIF.
    CLEAR i_lines.
    DESCRIBE TABLE iall LINES i_lines.
    IF i_lines LT 1.
    WRITE: /
    'No materials found.'.
    EXIT.
    ENDIF.
    END-OF-SELECTION.
    i_repid = sy-repid.
    *& Include YINCLUDE3
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = i_repid
    i_internal_tabname = 'IALL'
    i_inclname = i_repid
    CHANGING
    ct_fieldcat = int_fcat
    EXCEPTIONS
    inconsistent_interface = 1
    program_error = 2
    OTHERS = 3.
    IF sy-subrc <> 0.
    WRITE: /
    'Returncode',
    sy-subrc,
    'from FUNCTION REUSE_ALV_FIELDCATALOG_MERGE'.
    ENDIF.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    i_callback_program = i_repid
    it_fieldcat = int_fcat
    i_save = 'A'
    TABLES
    t_outtab = iall
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    WRITE: /
    'Returncode',
    sy-subrc,
    'from FUNCTION REUSE_ALV_LIST_DISPLAY'.
    ENDIF.

    Hi Tapodipta,
    See below example and modify ur code according to ur requirement..
    REPORT  ZTEST_ALV_CHECK        .
    TYPE-POOLS: SLIS.
    DATA: X_FIELDCAT TYPE SLIS_FIELDCAT_ALV,
          IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
          L_LAYOUT type slis_layout_alv,
          x_events type slis_alv_event,
          it_events type SLIS_T_EVENT.
    DATA: BEGIN OF ITAB OCCURS 0,
          VBELN LIKE VBAK-VBELN,
          POSNR LIKE VBAP-POSNR,
         END OF ITAB.
    SELECT VBELN
           POSNR
           FROM VBAP
           UP TO 20 ROWS
           INTO TABLE ITAB.
    X_FIELDCAT-FIELDNAME = 'VBELN'.
    X_FIELDCAT-SELTEXT_L = 'VBELN'.
    X_FIELDCAT-TABNAME = 'ITAB'.
    X_FIELDCAT-COL_POS = 1.
    APPEND X_FIELDCAT TO IT_FIELDCAT.
    CLEAR X_FIELDCAT.
    X_FIELDCAT-FIELDNAME = 'POSNR'.
    X_FIELDCAT-SELTEXT_L = 'POSNR'.
    X_FIELDCAT-TABNAME = 'ITAB'.
    X_FIELDCAT-COL_POS = 2.
    APPEND X_FIELDCAT TO IT_FIELDCAT.
    CLEAR X_FIELDCAT.
      x_events-NAME = SLIS_EV_END_OF_PAGE.
      x_events-FORM = 'END_OF_PAGE'.
      APPEND x_events  TO iT_EVENTS.
      CLEAR x_events .
      x_events-NAME = SLIS_EV_TOP_OF_PAGE.
      x_events-FORM = 'TOP_OF_PAGE'.
      APPEND x_events  TO iT_EVENTS.
      CLEAR x_events .
      x_events-NAME = slis_ev_end_of_list.
      x_events-FORM = 'END_OF_LIST'.
      APPEND x_events  TO iT_EVENTS.
      CLEAR x_events .
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
      EXPORTING
        I_CALLBACK_PROGRAM       = SY-REPID
        IS_LAYOUT                = L_LAYOUT
        IT_FIELDCAT              = IT_FIELDCAT
        it_events                = it_events
      TABLES
        T_OUTTAB                 = ITAB
      EXCEPTIONS
        PROGRAM_ERROR            = 1
        OTHERS                   = 2.
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    FORM TOP_OF_PAGE.
    * BREAK-POINT.
      WRITE: / 'TOP_OF_PAGE'.
    ENDFORM.
    FORM END_OF_LIST.
    * BREAK-POINT.
    "here you can use this for footer
      WRITE: / 'FOR FOOTER'.
    ENDFORM.
    FORM END_OF_PAGE.
    * BREAK-POINT.
      WRITE: / 'END_OF_PAGE'.
    ENDFORM.
    Go through the link as well..
    Re: ALV  Footer
    Hope it will solve ur problem..
    <b>Reward points if useful..</b>
    Thanks & Regards
    ilesh 24x7

  • Is there a way to fix ipod touch screen display problem with song list?

    I was wondering if anybody has had this problem? I have an ipod touch 64gig 5th gen for probably about 2 years. I hardly use it because I have it as a back up ipod until primary one dies. This is the first time I came across this problem. Upon turning on device, the first artist/song list I choose displays correctly. Once I start choosing any other artist/song list afterwards, the display for the 1st artist/song list re-appears. If the song list is only a single song to 3-4 songs it will display correctly. Any other song list I choose that consist more than 5 songs, the first artist/song list re-appears on screen like the display is messed up.
    For example: Upon turning on device, I choose Aaliyah with a list of 9 songs displaying.
    Upon trying to select a different artist and song, for example I choose Nachtmar with a  list of 20 songs.
    The Aaliyah with the list of 9 songs re appears in place of the song list I am attempting to choose. The songs play and it works, but the display is incorrect. Why is it doing this? Does anybody have this problem? I have tried resetting and it has currently been updated. I have came across this problem just very recently a couple of days ago. I have had a couple of hard resets requiring to erase all data in the past and I don't want to go that way again because I have about 3,500 songs. I have never experience this problem before in the past. I just want it to display the current list of songs. It's inconvenient having to type in every song while playing in the car instead of being able to easily pick an individual song.

    I have this problem too and it drives me crazy. When I view my ipod, I don't want to see a list of the first 8 songs in my ipod library. I just want to see the current song playing. It's like the ipod display goes into some type of "sleep" mode while your music plays,and the display defaults to show the first few songs in your ipod touch library, even though none of those songs are currently being played. I have to take the time to either flip the ipod over a couple of times in order for that list to disappear just to see the current song playing.
    This is an example of what I see on my display after the current song begins playing. These are the first songs in my ipod library. To get rid of this view, I have to either shake the ipod or flip it over a couple of times and the current song is now displayed, allowing you to see the current song, also allowing you access to the arrows to either fast forward or playback/reverse. On the display, the songs are in a grid or table format (unable to show that here).
    Acoustic Soul
    Aaliyah
    Adventers on the Wheels
    Adventures in Paradise
    After Tonight
    Will Downing

  • Simple problem with a list initialization.

    hello ! i have a class Contact and i would like to make a list of lists of Contact variables .. but when i try to run my code , it says "IndexOutOfBoundsException: Index: 0, Size: 0" . I know that every list of the list must be initialized .. but i don't know how .
    here is the declaration of the List
    static  List<List<Contact>> lolContact=new ArrayList<List<Contact>>();and i know that i should do something like :
    lolContact.get(0)=new ArrayList<Contact>();to initialize every list of the list but i don't know how . please help

    badescuga wrote:
    and i know that i should do something like :
    lolContact.get(0)=new ArrayList<Contact>();
    Couple of problems with that.
    1. You can never do methodCall() = something in Java. The result of a method call is not an L-value.
    2. You're trying to assign a ContactList to a Contact variable. Basically, you're trying to do
    Contact c = new ArrayList<Contact>();3. Even if you changed it to
    Contact c = lolContact.get(0);
    c = new Contact();it would not put anything into the list. That would just copy the first reference in the list and stick it into variable c, so that both c and the first list item point to the same object (remember, the list contains references, not objects--no object or data structure ever contains an object in Java), and then assigns a completely different reference to c, forgetting about the one to the object pointed to by the list. It would not affect the list in any way.
    4. You can't do get(0) until you've first put something into the list.

  • Problem with Linked List

    i have make a database with linked list for a School student counselor.
    The to be store is
    student name, ID, Counseling Date, Progress
    In there there will be record for a student and the Date and progress has to be stored for 4-weeks as the counseling is on weekly basis. These data items will be multivalued(what u say in Databases) how i can store this repetitive data in linked list for one student.

    By capsulating the data in objects and adding the objects to a linked list.

  • Problem with contact list in email w/ 3.0

    After upgrading to 3.0 I'm having a problem with the "To" in emails. I start typing in a name in the "To" field and it does not bring up matching entries in my contact list (it used to do so with the previous version SW).
    I have to try to send the email at which time an error message comes up. I have to cancel the send, delete the name in the "To" field and type the name in again. The second time it brings up the contact list and eveything works fine.
    Anyone else having this problem?

    Jackson_Bill wrote:
    What IDE are you using and what platform?Read first.
    Moh Bob wrote:
    I'm using J2ME platform SDK 3.0
    db

  • Problems with Smart List in Forms.

    Hi,
    I set Smart List in my Account Dimension.
    In HP Documentation (9.2 and 9.3.1) I read that is posible to allow or not allow a user using Smart List for a specific member of account through a form option.
    I already used this option in HP 9.2, but in 9.3.1 it do not exist this option in dataform, even so in 9.3.1 documentation says that it's posible.
    I wanna Know if someone have used this option in 9.3.1.
    I have been thinking in re install Planning or duplicate member that I need use sometimes with Smart List and sometimes writing a number.
    Any idea???
    Thanks

    tbian wrote:
    John,
    That is true, it states that there is an option to turn Smart List off and on for any data form. It does state within the admin guides but I don't see the option when I edit the data forms.
    Am I missing something?
    Best Regards,
    Tammy Bian CarlileI think the documentation is saying you can either have all the forms displaying smart lists or the other choice is not to have them, this is defined by using the evaluation order.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Problems with some web parts when using XSLT

    I have a page on which I have several web parts. Some web parts are custom while others are OOB and only XSLT is applied on them.  
    I am using 2 WFEs with NLB. Problem is when I do iisreset on one of the WFE then the OOB web parts with XSLT start giving error. You know the standard error "corelation ID....bla bla bla". Anyway the error automatically goes away after a 2, 3 minutes.
    So basically if I do iisreset or stop the iis, and then load that page, then all custom web parts load fine except those OOB web parts with XSLT. And then they too start working fine after 2, 3 minutes if I reload page.  
    What could be the reason for that? Looks like some service on which XSLT depends take time to load!? And once that service is loaded then they start working fine?  Or it could be due to distributed cache or something!?

    Hi  Frank,
    Which version of the SharePoint 2010 did you use?
    In June 2011 CU code was added to the DataFormWebPart (which is used to display list data) that if an XSLT transform took longer than 5 seconds, a StackOverflowException was thrown. This was done to avoid
    a potential Denial Of Service attack on SharePoint if crafted XML could be sent that would continually clog up the XSLT, thereby stopping pages from rendering.
    In August 2011 CU the transform "timeout" was reduced from 5 seconds to 1.
    So, any list with XSLT that takes longer than 1 second to parse in an XSLT transform goes *boom*.
    After you perform an IIS reset , the cache of the page was cleared and you encountered the error. Once the page is cached, there is no error.
    You can try to set up XSLT Timeout with the following PS commands:
    $farm = Get-SPFarm
    $farm.XsltTransformTimeOut = 5
    $farm.Update()
    Reference:
    http://social.msdn.microsoft.com/Forums/sharepoint/de-DE/44cfd798-be7a-4436-8786-bd44049e7def/sp2010-column-filter-causing-unable-to-display-web-part-error-and-a-stack-overflow-exception?forum=sharepointgeneralprevious
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Problem with the 3d part of photoshop CS5

    Dear everybody,
    im trying to follow a PS tutorial on the web, which is quite good i think (http://psd.tutsplus.com/tutorials/3d/create-a-shiny-earth-with-photoshop-3d-layers/comment -page-1/#comments) , but i run upon a problem which is next:
    At part 11, he tells me to: 'The weather seems to be too cloudy, because we can see the clouds that are on the other side through the transparent areas. Making the material one sided will fix that problem. Uncheck Two Sided.
    As you can see, he can uncheck that, because he is in CS4 i think. But in CS5 you can not uncheck that, although, i can't.
    Can someone please tell me/explain to me where i can uncheck that? Because i really can't find it.
    Thanks in advance.
    Jordi

    Hi Jordi,
    The option to light both sides of a material was removed in CS5. Having said that there are a few other ways to achieve the effect presented in the tutorial. The quickest way is to go to 3D> Render Settings... and check 'Remove Backfaces' in the Face Style options. What is happeing is the inside and outside surfaces are getting rendered, and since the cloud 3D layer is effectively 'in front' of the earth 3D layer you are seeing more than wanted. By removing the backface, you no longer render the inside surface.
    Another method is too merge the 3D layers so the clouds become a shell that covers the earth. Doing it this way you can also light and shade the earth with the clouds and not need to use the Layer Styles drop shadow method.
    Hopefully that makes sense.
    regards,
    steve

  • Problem with the List/Album List/Cover Flow/Grid view buttons

    Is anyone else having this problem?
    I have each playlist/media in different views. I have my music in List view, my podcasts, TV shows, and certain playlists in Album List view, and my movies and music videos in grid view. But now, any view that I select makes it the same for each playlist/media and I have to manually change it everytime I go to one of those lists. I figure this is a glitch with 10.5.3. Anyone else experiencing this?

    I'm also having that problem.
    It seemed to happen after iTunes 10.5 updates.
    I like my music in album list view and my apps in grid form.  However, now it's just one view for all lists.  Any fixes for this or is this a bug that needs to be ironed out by Apple?

  • RH8 for HTML: Problem with Multilevel List in published topic(s)

    I have discovered that working with the multilevel list and reapplying it (changing a level 2 to a level 1, for example) inserts numerous <span style margin> tags that don't show up in RH design view nor in an IE view of the published content, but the published help renders badly in Firefox (like a "justified" paragraph style that inserts broad spacing between words).
    The bad thing is that broad spacing is added to a command where no spaces should be, which looks fine in IE, but renders like this in Firefox:
    sqlplus XBRLDB/[email protected]:1521/ubmatrix
    @C:\xbrl_database\database\Oracle\       verify_registration        _v1_0        _1        .sql
    The "source" for published content looks like this:
    <p class="CodeSample" style="margin-left: 24px;">sqlplus XBRLDB/[email protected]:1521/ubmatrix
    @C:\xbrl_database\database\Oracle\<span style="margin-left: 40px;">verify_registration</span>
    <span style="margin-left: 40px;">_v1_0</span><span style="margin-left: 40px;">_1</span>
    <span style="margin-left: 40px;">.sql</span></p>
    How do I prevent the <span> tags from getting added to the RH project files? How do I remove them using the RH interface?
    Why are they getting added in such wierd places?
    PS: I have kept the paragraph style Numlist (which is how I define numbered procedures). I just apply the multilevel list to paragraphs tagged with this style. It's been working OK, except for the newly discovered problem above.
    I'm using Verdana family and the numbers look good. I've only looked at the published HTML which looks like this: I
    <p class="Numlist">1<span style='font:6.0pt "Times New Roman"'><font size="1" style="font-size:6pt;">        </font></span>Do this</p>
    looks like this in a broser view:
    1 Do this
    Is this the 'expected' HTML code for numbered procedures (all this to precede a paragraph with a number), or is there a more efficient way to render numbered/mutilevel lists?

    Hi there
    I just created a small video that may be helpful for this.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Problem With Song List In Ipod Movies

    Let's Say I have In My I Pod 5 songs Of Bon Jovi, If Those 5 Song Don't Have An Album Title, They All Apear In When I Press The Artist and then All. If I have More Then One title , let's say two of the five songs have different titles, the titles appear when I press the artist and if I press All, all the songs apear. [b]BUT If I Have Two songs With Same Title and the other songs don't have an album title ( meaning in all the five songs there is one album title, but not in all of them) When I press On the IPod the artist name, only those two songs apear and above it's written the album title and the other songs without the album title do not appear
    how do I fix this, and what is the problem?
    Ipod   Windows XP  

    There are usually two things that contribute to songs not appearing under Artist on the iPod, both due to information either in or missing from the Get Info>Info tab against the song in iTunes. 1) the song is marked as part of a compilation or 2) it is missing an album name.
    If the tracks are ticked in the Get Info>Info tab as part of a compilation, they will not appear under Artist on the iPod. Highlight a song in iTunes that you know is not appearing correctly on your iPod. Right click on it and choose Get Info and click the Info tab (alternatively choose Get Info from the File menu), if "Part of a Compilation" is marked untick it and afterwards update your iPod, you should find it now appears as normal. Compilations are stored in a separate folder in iTunes so the songs don't appear inside the normal Artist>Album folder which may be why this happens.
    Also if tracks are missing an Album name in the Info tab, this information needs to be filled in. The no album one is a bit quirky as the songs will appear under certain circumstances but the simplest remedy is just add None or Miscellaneous in place of a title. See this link for more detail: I don't see some of my songs when browsing by artist on my iPod

Maybe you are looking for

  • ITunes doesn't connect to the store (no error message, just blank page)

    Hi everyone! I'm having troubles with my iTunes for windows XP. It doesn't connect to the music store, it doesn't display any error message and the loading bar stops to a half and then iTunes remains with the blank page, going no further. When I run

  • InDesign 5.5: Strange Printing Transparency Issues

    Hi guys, long time reader, first time poster. This forum has helped with a lot of problems, so thanks, and hopefully you can help with this one. I'm working on a multiple-spread page for a client that is giving me some strange issues when it's printe

  • JDBC Driver for Personal Oracle 7.0

    I have Personal Oracle 7.0 setup on my PC. I need to install JDBC driver for it. Where Can I get it? Thanks.

  • Playing AVIs in Quicktime on Intel Mac

    I have Quicktime Reader 7.1 and it works fine on my Intel based iMac. Except that now I am trying to import AVI movies taken on my camera and it quits every time I try to open a file. The equivalent files run perfectly well on my Power PC Mac that si

  • ITunes store can't purchase?

    When i try to purchase on iTunes it tells me it cannot be completed and to check my account. I updated my credit card info but it still won't let me purchase. what should i do?