MIDlet List within a list?

How do you make a list within a list? Can anyone give me an example on how to do it?

cherie wrote:
How do you make a list within a list? Can anyone give me an example on how to do it?are you trying to create a tree ?
_list 1
| |_list1_1
| |_list1_2
|_list2
|_list3
something like this?

Similar Messages

  • Calling another midlets mehtod within the same suite

    i hope this is the right board...
    hi all,
    i have a midlet suite containing two midlets and i want to call methods from one midlet within the other midlet. its more than just sharing data (for that i already use the recordstore) so i really must call the method.
    how can i do this?
    simply creating a new instance or calling a static method didn't work here...
    tia
    mmkl

    hi,
    i'am also not so familiar with the pushregistry, but i already tried different samples...
    as far as i know (and tested) the midlet that later is responsible for 'listen' to incomming connections must register itself (or beeing registered in the jad-file, but static registrations is not able to react on already used ports).
    the fact why i'm using two midlets is because my application must connect itself to a servlet and this must be done in a thread seperated from the commandlistener thread. another issue is, that an incoming connection starts the midlet automaticaly.
    my application is primary designed for blackberry's and there the incomming connection forces the midlets display to be shown on the desktop, because of that i need a single midlet for the ui and one for the incomming and outgoing connections without an ui.
    ok, this is the application background, now back to the exception ;)
    i debuged the application as far as possible and the exception occures at
    ListenAndStore listenAndStore = new ListenAndStore();and with stepwise debuging this creation of the second midlet calls
    javax.microedition.lcdui.Displayand within this class, at line 2000 i guess, the exception is raised. i don't konw why this class iss called becaus my second midlet extens only midlet an implements no interface.
    i read somwhere, that every midlet has his own display, but i don't read or know why this should be a security problem :(
    mmkl

  • Calling List from MIDlet

    Hello all,
    i have been working on this code and not able to find the solution................
    i am trying to call a list class from a MIDlet........however it gives me an error........i have highlighted only the error, i got and the line too...........
    MIDLET
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    public class ME extends MIDlet {
    public void startApp() {
    Display display=Display.getDisplay(this);
    display.setCurrent(new Listing(this));
    public void pauseApp() {
    public void destroyApp(boolean unconditional) {
    LIST
    import javax.microedition.lcdui.Alert;
    import javax.microedition.lcdui.AlertType;
    import javax.microedition.lcdui.Display;
    import javax.microedition.lcdui.Command;
    import javax.microedition.lcdui.CommandListener;
    import javax.microedition.lcdui.Displayable;
    import javax.microedition.lcdui.List;
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    * @author Hitesh
    public class Listing extends List implements CommandListener{
    private Display display;
    private List list = new List("Menu:", List.IMPLICIT);
    private Command exit = new Command("Exit", Command.EXIT, 1);
    Alert alert;
    MEmidlet;
    public Listing(ME midlet) {
    super(true); ////////////////////////////////////////////// I'm getting the error here.......saying "Cannot find symbol"
    this.midlet=midlet;
    list.append("New", null);
    list.append("Open", null);
    list.addCommand(exit);
    list.setCommandListener(this);
    throw new UnsupportedOperationException("Not yet implemented");
    public void commandAction(Command c, Displayable d) {
    if (c == List.SELECT_COMMAND) {
    String selection = list.getString(list.getSelectedIndex());
    alert = new Alert("Option Selected", selection, null, null);
    alert.setTimeout(Alert.FOREVER);
    alert.setType(AlertType.INFO);
    display.setCurrent(alert);
    else if (c == exit)
    midlet.notifyDestroyed();
    waiting for response......................................

    ...i gave others as a parameter like.....object and string .....but none worked......I see. You were trying blind shoots. "Try object, try string, try boolean..."
    Blind shoots are good strategy. I use it myself and it often works.
    But sometimes, this way just stucks. My favorite way to get out in that case is to change blind shoots to another strategy, known as RTFM.
    what should be the parameter to pass on here???If you re-read my previous reply, you'll find that words List API make a clickable link.
    - If you click this link, it will bring you to documentation page.
    -- If you read this documentation, you can find a section called Constructor Summary.
    --- If you read this section, you'll see that two words List make clickable links.
    ---- If you click these links, they will bring you to detailed descriptions on what parameters you can pass on here.
    Hope this helps. {color:lightgray} // And if it doesn't, then maybe programming is just not for you? {color}

  • Passing Arguments to MIDlets

    Is there a means for passing arguments to MIDlets when they are launched? Here's my situation. I'm using a Palm VII with Palm OS3.5. It does not support MIDlet http connections using the onboard wireless antenna. A workaround is to create a pqa for the web stuff, and launch the midlet from within the pqa to do the on-board stuff, like persistant storage. Problem is this is no use unless there is a way to pass arguments similar to to passing command line arguments in J2SE. Anyone have any ideas?

    Is there a means for passing arguments to MIDlets when
    they are launched? Here's my situation. I'm using a
    Palm VII with Palm OS3.5. It does not support MIDlet
    http connections using the onboard wireless antenna.
    A workaround is to create a pqa for the web stuff,
    and launch the midlet from within the pqa to do the
    on-board stuff, like persistant storage. Problem is
    this is no use unless there is a way to pass
    arguments similar to to passing command line
    arguments in J2SE. Anyone have any ideas?Hi,
    There is a way to work which is similar to command line arguments as in J2SE in J2ME. There is a method in MIDlet class getAppProperty(String key). This method tries to get the value from jar or jad file using the key. In the jad file you can keep an attrribute like "myatt1" whose value can be set to "testing".
    i.e., myatt1: testing
    Then if you use getAppProperty("myatt1"), it will return you a string which is nothing but "testing".
    Have a good day.
    S.M.Reddy

  • Midlet Signing : Questions

    I've gone through the process of signing a Midlet in an attempt to make it trusted and now have a JAD file that contains the certificate entry and signature entry. However when loading the Midlet on devices it fails the installation, stating security or authorization failure.
    In brief here are the steps taken.
    1. Use J2SE keytool to generate a key pair.
    2. Use J2SE keytool to create a CSR
    3. Send CSR to VeriSign for Certificate generation
    4. Use J2SE keytool to import certificate purchased from VeriSign
    5. Import the J2SE keystore (the based on Alias used in J2SE) into the WTK.
    6. Use WTK JADTool to add certificate to JAD file
    7. Use WTK JADTool to generate a signature and add it to the JAD file.
    Questions
    A. What type of certificate must be requested from VeriSign? They have code signing certifcates, server certificates etc.
    B. What key algorithm must be used during step 1 above for generating a key pair?
    C. Is it necessary to import the J2SE keystore into the WTK if using the JADTool command line to do the signing?
    D. After step 5 above attempting to sign the Midlet from within the WTK gui resulted in nothing being added to the JAD file but also no error message of any kind. Any idea why this would happen?
    E. When using the JADTool in steps 6 and 7 above I referenced the J2SE keystore with the command line options. Is this correct or must it reference the WTK keystore?
    JDK 1.4.2.03 and WTK 2.1 used.
    Thank You
    Ken Carlino

    Hi there,
    I am having the same problem, If you have fixed your problem can you please post the solution on this forum ? I need to sign my midlet, i do not know what type of certificate shall i buy from verisign to sign my midlet. Does verisign cover most phone as CA built on to the devices???

  • I will begin a project with J2me

    I will begin a project with J2me at school.I just have some basic knowledge about J2se,and would you kind enough to give me some advice on how to get the first step?

    start with basic understanding of Midlets, Lists , Forms , CommandListeners and Record Stores.

  • Emulator fails to run for Netbeans

    Using NetBeans 5.5 and NetBeans mobility 5.5 I completely fail to run anything under the emulator.
    I have tried removing all previous NetBeans, wireless toolkits and JVM and reinstalling, to no avail.
    Wireless toolkit 2.5 still works okay, but under NetBEans the emulator phone appears briefly with no midlets listed and then exits.
    Has this anything to do with the emulator failing to find the built Jar files. Everything I am doing is based on defaults. I create the mobile application and allow the system to create the main class. The only think I changed was the destination folder for the project to be different from default.
    Any clues as to how I might fix this.
    All help appreciated,
    Gavan

    This problem is almost certainly caused by aggressive firewall or anti-spyware rules.
    I installed and ran this on a home PC, and was prompted to grant a permission of some kind before it would allow the program to connect to the emulator.
    Unfortunately the message did not repeat. I will update when I figure this out.
    In the mean time iff anyone knows exactly what the emulator may be doing to trigger a security check, I would like to know.

  • How To load or display another java file class!!!

    Master I am newbie just starting to learn about java. I have probelm to make my project for exam. anybody can help me for solve this probe thanks i need that soon.
    I have 3 file's java and the probe is after login i want to go to another file to display.
    - frm_login
    - SMSCENTER
    -SMSCENTERservice
    This the source code:
    -frm_login.java
    /* Indonesia
    * Ady Leo
    * Univeristas Budi Luhur
    import javax.microedition.lcdui.Alert;
    import javax.microedition.lcdui.Command;
    import javax.microedition.lcdui.CommandListener;
    import javax.microedition.lcdui.Display;
    import javax.microedition.lcdui.Displayable;
    import javax.microedition.lcdui.Form;
    import javax.microedition.lcdui.TextBox;
    import javax.microedition.lcdui.TextField;
    import javax.microedition.lcdui.Ticker;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    * @adyleo
    * Jakarta, Indonesian
    * contact me : [email protected]
    * open source , u can use this free, edit this free, dont forget to feedback to me
    public class frm_login extends MIDlet implements CommandListener {
    private Display display;
    private Form formLogin;
    private TextField username;
    private TextField pass;
    private Ticker loginnews;
    private Command cmdKeluar;
    private Command cmdPilih;
    private Command cmdSch;
    private TextBox formAdmin;
    private Ticker ticker3;
    private Command cmdKeluar2;
    private SMSCENTER smscenter;
    private Alert alert;
    public frm_login() {
    display = Display.getDisplay(this);
    formLogin = new Form("LOGIN");
    username = new TextField("username", "", 50, TextField.ANY);
    pass = new TextField("password", "", 50, TextField.PASSWORD);
    loginnews = new Ticker("LOGIN USER");
    cmdKeluar = new Command("Keluar", Command.EXIT, 1);
    cmdPilih = new Command("Login", Command.OK, 2);
    cmdSch = new Command("Check", Command.OK, 3);
    formLogin.setTicker(loginnews);
    formLogin.append(username);
    formLogin.append(pass);
    formLogin.addCommand(cmdKeluar);
    formLogin.addCommand(cmdPilih);
    formLogin.setCommandListener(this);
    formAdmin = new TextBox("Welcome Halim", "Checks Your Flight Schedule", 40, TextField.ANY);
    ticker3 = new Ticker("WELCOME ABDUL HALIM ALHADY");
    formAdmin.setTicker(ticker3);
    formAdmin.addCommand(cmdKeluar);
    formAdmin.addCommand(cmdSch);
    formAdmin.setCommandListener(this);
    alert = new Alert("Error...!!!");
    alert.setTimeout(2500);
    public void startApp() {
    display.setCurrent(formLogin);
    public void pauseApp() {
    public void destroyApp(boolean unconditional) {
    public void commandAction(Command c, Displayable d) {
    if (c == cmdKeluar) {
    destroyApp(false);
    notifyDestroyed();
    } else if( c == cmdPilih ) {
    String PESAN_ERROR = "";
    if (username.getString().trim().equals(""))
    PESAN_ERROR += " Username Atau Password Anda Salah ";
    if (pass.getString().trim().equals(""))
    PESAN_ERROR += " Silakan Coba Lagi!!! ";
    if (username.getString().trim().equals("messi") && pass.getString().trim().equals("lodewijk")) {
    display.setCurrent(formAdmin);
    } else {
    alert.setString(PESAN_ERROR);
    display.setCurrent(alert);
    } else if ( c == cmdKeluar2 ){
    destroyApp(false);
    notifyDestroyed();
    //this the probe i want after i click the cmdSch will action to display another file java.. please help me
    } else if ( c == cmdSch ) {
         smscenter = new SMSCENTER();     
                   display.setCurrent(smscenter);
    -SMSCENTER.java
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    public class SMSCENTER extends MIDlet implements CommandListener {
    Display display;
    SMSCENTERservice form;
    List list;
    Command cmExit;
    public SMSCENTER() {
    display = Display.getDisplay(this);
    public void startApp() {
    list = new List("Sistem SMS Center", List.IMPLICIT);
    list.append("cek detil ", null);
    list.append("cek service ", null);
    list.append("cek surat", null);
    cmExit = new Command("Keluar", Command.EXIT, 1);
    list.addCommand(cmExit);
    list.setCommandListener(this);
    display.setCurrent(list);
    public void pauseApp() {
    public void destroyApp(boolean unconditional) {//KOMPONEN 3
    public void exitMIDlet() {
    destroyApp(false);
    notifyDestroyed();
    public void commandAction(Command c, Displayable s) {//even dari tombol"nya
    if (c == List.SELECT_COMMAND) {
    switch (list.getSelectedIndex()) {
    case 0://jika menu yang pertama yg dipilih maka jalankan
    form = new SMSCENTERservice(this, display, 0);
    display.setCurrent(form);
    break;
    case 1:
    form = new SMSCENTERservice(this, display, 1);
    display.setCurrent(form);
    break;
    case 2:
    form = new SMSCENTERservice(this, display, 2);
    display.setCurrent(form);
    break;
    } else if (c == cmExit) {
    exitMIDlet();
    -SMSCENTERservice.java
    import java.io.IOException;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    import javax.microedition.io.*;
    import java.util.*;
    public class SMSCENTERservice extends Form implements CommandListener, Runnable {
    private Display display;
    private Command cmdBack, cmdKirim;
    private SMSCENTER midlet;
    private TextField tfdetil,tfservice,tfsurat;
    private TextBox arti =new TextBox("","",1024,0);
    private Command cmdInputK = new Command("Input", Command.OK,1);
    private Command cmdKembaliK = new Command("Kembali", Command.BACK,2);
    private Alert alert,alert2,alert3,alert4;
    Object o;
    koneksi konek = new koneksi();
    String url = "";
    private int Index;
    private String messaage, address, pesan;
    private int index;
    private String port;
    public SMSCENTERservice(SMSCENTER midlet, Display display, int index) {
    super("Sistem SMS Gateway");
    this.display = display;
    this.midlet = midlet;
    this.index = index;
    switch (index) {
    case 0:
    append("cek detil");
    tfdetil = new TextField("DETIL SERVICE", "", 160, TextField.ANY);
    append(tfdetil);
    break;
    case 1:
         append("cek service ");
    tfservice = new TextField("SERVICE", "", 160, TextField.ANY);
              append(tfservice);
    break;
    case 2:
    append("cek surat");
    tfsurat = new TextField("SURAT SERVICE", "", 160, TextField.ANY);
    append(tfsurat);
    break;
    cmdBack = new Command("Kembali", Command.BACK, 1);
    addCommand(cmdBack);
    cmdKirim = new Command("Kirim", Command.OK, 1);
    addCommand(cmdKirim);
    setCommandListener(this);
    public void commandAction(Command c, Displayable d) {
         o=c;
    if (c == cmdBack) {
    display.setCurrent(midlet.list);
    } else if (c == cmdKirim) {
    switch (index) {
    case 0:
    url = "http://localhost/service/proses.php?katakunci=detil_service&NomorDetil=" + tfdetil.getString();
    break;
    case 1:
    url = "http://localhost/service/proses.php?katakunci=service&NomorService=" + tfservice.getString();
    break;
    case 2:
    url = "http://localhost/service/proses.php?katakunci=surat_service&NomorSurat=" + tfsurat.getString();
    break;
    public void run() {
    try {
         if(konek.downloadpage(url))
                   arti.setString(konek.b.toString());
                   arti.addCommand(cmdInputK);
                   arti.addCommand(cmdKembaliK);
                   arti.setCommandListener(this);
                   display.setCurrent(arti);
    else
              alert2 = new Alert("warning!", "Masukan kata lebih dahulu....",null, AlertType.INFO);
              display.setCurrent(alert2);
    catch (IOException e)
    Sorry if i am posting not on the good way or worng places, anyway i hope someone can help me just in form login i am sutck...
    I am student just newbie for java programing.
    thnks a lot

    Please reformat that mess with {noformat}{noformat} tags. No-one can read it until you do.                                                                                                                                                                                                                                                                                                                                   

  • How can I display a list of records from a JSP to my Midlet ??

    Hi there !
    I'm new in J2ME. I have been strugling with this problem for weeks now. All I find on the net is some theory and is not helping me much. Here the deal
    I have created a Midlet that shoud display a certain list which is from the remote database. The list comes from a JSP file in the server. When I use the browser I can see the list.
    The problem comes when I have to take the same list and output it in my midlet file. Then finding the selected index of the selecte item of the same list and using it somewhere else.
    I would appreciate it if somone could help me !!
    My head is speaning now !!! If you want me to post my code so one could identidy the proble, I don't mind !! Help please !!

    Here is my Code !!
                 String url = "http://10.2.25.3:8080/CreateAppointment/doctorsList.jsp";
        String dateUrl = "http://10.2.25.3:8080/CreateAppointment/date.jsp";
       String myUsername,myPassword;
       // Custom declaration code starts here
       public CreateAppointment_GUI()
                //Creating a login Form
                loginScreen = new Form("Login");
                //Login form Textfields
                username = new TextField("Username:", null, 200, TextField.ANY);
                password = new TextField("Password:", "Initial text", 200, TextField.ANY|     TextField.PASSWORD);
                loginScreen.append(username);
                loginScreen.append(password);
                //Adding the commands
                loginScreen.addCommand(loginCommand);
                loginScreen.addCommand(cancelCommand);
                loginScreen.setCommandListener(this);
                loginScreen.setItemStateListener(this);
                // Creating my selection list
                String[] selectionList = { "1.Appointments", "2.Add New Patient", "3.Patient Details" };
                listSelectAction = new List("Select Action", List.IMPLICIT, selectionList, images);
                listSelectAction.addCommand(backCommand);
                listSelectAction.addCommand(nextCommand);
                listSelectAction.setCommandListener(this);
             public void startApp() throws MIDletStateChangeException
               display = Display.getDisplay(this);
               display.setCurrent(loginScreen);
            public void pauseApp()
            public void destroyApp(boolean unconditional) throws MIDletStateChangeException
                 notifyDestroyed();
            public void itemStateChanged(Item item)
       void getDoctors(String url) throws IOException {
                    HttpConnection connection = null;
            InputStream is = null;
            OutputStream os = null;
            StringBuffer stringBuffer = new StringBuffer();
            TextBox textBox = null;
            String newStr =null;
            String newStr2=null;
            Vector v = new Vector();
           try {
              connection = (HttpConnection)Connector.open(url);
              connection.setRequestMethod(HttpConnection.POST);
              //connection.setRequestProperty(String key, String value)
              connection.setRequestProperty("IF-Modified-Since","20 Jan 2001 16:19:14 GMT");
              connection.setRequestProperty("User-Agent","Profile/MIDP-2.0 Confirguration/CLDC-1.0");
              connection.setRequestProperty("Content-Language", "en-CA");
              connection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
              os = connection.openOutputStream();
              is = connection.openInputStream();
              int ch;
              while ((ch = is.read()) != -1) {
                stringBuffer.append((char) ch);
                System.out.print((char)ch);
                   }//while
              newStr = stringBuffer.toString();
                    newStr2=newStr.trim();
                    int start = 0;
                    position = newStr2.indexOf("%", 0);
                    while ((position = newStr2.indexOf("%",start)) > -1) {
                      String aName = newStr2.substring(start,position);
                      v.addElement(aName); // store the substring
                      start = position + 1; // so the next time we start checking following the space
              String[] theNames = new String[v.size()]; // create an array big enough to store the strings
              v.copyInto(theNames); // Now theNames is a String array with the list of names
               // now we can create a List using this array:
               listDoctors = new List("Select Doctor", List.IMPLICIT, theNames,null);
               listDoctors.addCommand(backCommand);
               listDoctors.addCommand(nextCommand);
               listDoctors.setCommandListener(this);
          } //try
           finally {
               if(is!= null) {
                  is.close();
               } //if
               if(os != null) {
                  os.close();
               }//if
               if(connection != null) {
                  connection.close();
               }//if
            }//final
         display.setCurrent(listDoctors);
        } //invoke
    public void commandAction(Command c, Displayable d)
                     if (c == loginCommand)
                      myUsername = username.getString();
                      myPassword = password.getString();
                         Thread thread = new Thread() {
                               public void run() {
                                   try {
                                      getDoctors(url);
                                      display.setCurrent(listSelectAction);
                                   }// Try
                                   catch (IOException ioe) {
                                      ioe.printStackTrace();
                                   }// catch
                               }// Public void
                         };//Thread
                          thread.start();
                     else if (c == cancelCommand && d == listSelectAction)
                     else if (c == nextCommand && d == listSelectAction)
                        int selectedAction = listSelectAction.getSelectedIndex();
                            Alert displayNewText =
                            new Alert("Selected","Screens are still being developed", null, AlertType.INFO);
                                displayNewText.setTimeout(1000);
                         if (selectedAction == 0)
                             Thread thread = new Thread() {
                               public void run() {
                                   try {
                                      getDoctors(url);
                                      display.setCurrent(listSelectAction);
                                   }// Try
                                   catch (IOException ioe) {
                                      ioe.printStackTrace();
                                   }// catch
                               }// Public void
                         };//Thread
                          thread.start();
                         if (selectedAction == 1)
                               display.setCurrent(displayNewText);
                         if (selectedAction == 2)
                               display.setCurrent(displayNewText);
                     }//Else
                     else if (c == backCommand && d == listDoctors)
                          display.setCurrent(listSelectAction);
                     else if (c == nextCommand && d == listDoctors)
                             Thread thread1 = new Thread() {
                               public void run() {
                                   try {
                                      getDate(dateUrl);
                                      display.setCurrent(listDate);
                                   }// Try
                                   catch (IOException ioe) {
                                      ioe.printStackTrace();
                                   }// catch
                               }// Public void
                         };//Thread
                          thread1.start();
                     else if (c == backCommand && d == listDate)
                          display.setCurrent(listDoctors);
    }That is my midlet !! Now here is the code for my JSP !!
                        <%@ page import="java.sql.*" %>
    <%@page import="java.util.*,java.text.*" %>
    <%
    String name="";
    String id = "";
    String connectionURL = "jdbc:microsoft:sqlserver://10.2.25.223;DatabaseName=NDOH_PAAB";
    Connection connection = null;
    Statement statement = null;
    ResultSet rs = null;
    %>
    <%
    try
                            Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
                    catch (Exception ex)
                            out.println(ex.toString());
                            connection = DriverManager.getConnection(connectionURL,"remotepaab_user","mohwiti2004");
                            statement = connection.createStatement();
                            String mysql ="SELECT * from physicians";
                            //out.println(mysql);
                            rs = statement.executeQuery(mysql);
    %>
    <%
          while (rs.next()) {
                 name= rs.getString("name");
                 id = rs.getString("id");
                 out.print(name + "%");
                 out.print(id + "%");
    %>
    <%
    %>
    <% rs.close(); %>In the JSP the name variable is the one that has my List. The problem is how do I say in my Midlet = display the list contained in name. Or in id. I need to use both of them "name + id". the id I will use to find out which name a user ha selected !! Not sure how !!!
    Any help would be appreciated !! Thanks !!

  • How to get 'List' view with playlist within Music

    The Music Ap is usually listed along the botton of iPad.
    With in that ap we have menus across the bottom of the screen.
    Within the 'Playlists' music I have thumb nail icon views only.  See below:
    I would like a 'list view' - no icons.  See below
    Where do I change this option?
    Thank you

    Assuming I understand what you are asking, you can't. What you see is what you get. When you open a created play list however, what you get is a simple list of tracks.
    You might investigate some alternate music players in the app store to see if one does what you want.

  • Missing sub-folders in List View within Finder

    I seem to be randomly missing the sub-folder icon from List view within finder.
    Not only is the icon missing but the functionality has gone too.
    Anyone else having this problem in Lion?

    ..same problem here!
    Solution:
    in the View Options: Arrange by has to be set to none
    Message was edited by: Andy_M

  • Adding "Filter Criteria" to the XSLT List View Web Part impact on "Export to Excel" functionality within Document Library

    Hi there,
    XSLT List View displaying all the list items within the Document Library. In order to implement the Search functionality within Document library out of box "Text Filter" web part is configured as explained below. The solution is similar to
    the one suggested at
    http://www.wonderlaura.com/Lists/Posts/Post.aspx?ID=77
    "Text Filter" Web Part added to the page.
    Filter Criteria (i.e., XSLT List View columns) added to the XSLT List View where the filter parameters take the input from the "Text Filter" Web Part .
      3. Both Web Parts (XSLT List View and the Text Filter) are connected.
    When the search criteria is entered into the "Text Filter" Web Part, it is passed to the relevant Columns of the XSLT List View and the documents (List Items) that match the search criteria are shown within XSLT List View.
    Search functionality working as expected.
    Query: Selecting the "Export to Excel" icon from the ribbon generates the excel spread sheet with no data except Column Titles from the Document library. In the investigation it is
    found that adding the 'Filter Criteria' on XSLT List View is causing this bug. When the Filter Criteria is removed, then "Export to Excel" functionality is working as expected.
    But it is mandatory to add "Filter Criteria" to implement the search functionality with in the document library.
    Help: Help/input appreciated on the work around to get the "Export to Excel" functionality work when the "Filter Criteria"
    exist on the XSLT List View.
    Regards,

    Once again thanks very much for your help Scott. very much appreciated.
    In the investigation it is found that removing the 'Filter Criteria' on XSLT List View makes the "Export to Excel" functionality work. But the 'Filter Criteria' is mandatory to get the 'Document Search' functionality.
    I think that due to technical limitations it should be concluded that 'only custom development can make all work, no code solutions using the SharePoint Designer can meet all the requirements.
    If you can think of any alternative solution that could help in resolving the current issue or fix the issue without any custom implementation please inform. Otherwise this issue would be marked as resolved with your suggested response.
    Regards,

  • Can I create a list which counts the number of documents of a specific metadata type by the folder they are stored within?

    Running SP2013 Foundation. My users interact by uploading documents to personal folders within a document library, selecting the type of document they have uploaded via a lookup column and SP list. I have two levels of view in my library, a top level view
    and an in-folder view which contains the metadata and standard document information like version and modified date etc.
    Currently I am able to count the total number of documents that have been uploaded of a particular document type against my document type list, but I would also like to include folder along with document type to thoroughly track document returns by folder
    name. The desired output being a list with a count of document type uploaded by folder name.
    I have tried creating an associated user column at the top level view and also uploading an associated user and folder name list.
    Is this possible and how would I go about this?
    Many thanks for any assistance

    Hello MJH9J,
    Thank you for your question.
    We are currently looking into this issue and will give you an update as soon as possible.
    Thank you for your understanding and support.
    Best Regards,
    Zhengyu Guo
    Zhengyu Guo
    TechNet Community Support

  • How to use List within javaFX(*.fx) script?

    How to use java.util.List within javaFX(*.fx) script?
    The following is my code in Java
    PDBFileReader pdbreader = new PDBFileReader();
              pdbreader.setPath("/Path/To/PDBFiles/");
              pdbreader.setParseSecStruc(true);// parse the secondary structure information from PDB file
              pdbreader.setAlignSeqRes(true);  // align SEQRES and ATOM records
              pdbreader.setAutoFetch(true);    // fetch PDB files from web if they can't be found locally
              try{
                   Structure struc = pdbreader.getStructureById(code);
                   System.out.println("The SEQRES and ATOM information is available via the chains:");
                   int modelnr = 0 ; // also is 0 if structure is an XRAY structure.
                   List<Chain> chains = struc.getChains(modelnr);
                   for (Chain cha:chains){
                        List<Group> agr = cha.getAtomGroups("amino");
                        List<Group> hgr = cha.getAtomGroups("hetatm");
                        List<Group> ngr = cha.getAtomGroups("nucleotide");
                        System.out.print("chain: >"+cha.getName()+"<");
                        System.out.print(" length SEQRES: " +cha.getLengthSeqRes());
                        System.out.print(" length ATOM: " +cha.getAtomLength());
                        System.out.print(" aminos: " +agr.size());
                        System.out.print(" hetatms: "+hgr.size());
                        System.out.println(" nucleotides: "+ngr.size()); 
              } catch (Exception e) {
                   e.printStackTrace();
              }The following is my code in JavaFX(getting errors)
    var loadbtn:SwingButton = SwingButton{
        text:"Load"
        action: function():Void{
            var pdbreader = new PDBFileReader();
            var structure = null;
            try{
                structure = pdbreader.getStructure(filepath.text);
                List<Chain> chains = structure.getChains(0);
                foreach (Chain cha in chains){
                        List < Group > agr = cha.getAtomGroups("amino");
                        List < Group > hgr = cha.getAtomGroups("hetatm");
                        List < Group > ngr = cha.getAtomGroups("nucleotide");
            } catch (e:IOException) {
                e.printStackTrace();
        };I'm using Netbeans 6.5 with JavaFX
    (PDBFileReader, Chain, Structure etc are classes from my own package, already added to the library folder under the project directory)
    Simply put, How to use List and Foreach in JavaFX?

    We can not use Java Generics syntax in JavaFX. But we can use Java Collection classes using the keyword 'as' for type-casting.
    e.g.
    import java.util.LinkedList;
    import java.util.List;
    import javafx.scene.shape.Rectangle;
    var outerlist : List = new LinkedList();
    var innerlist : List = new LinkedList();
    innerlist.add(Rectangle{
        width: 10 height:10});
    innerlist.add(Rectangle{
        width: 20 height:20});
    outerlist.add(innerlist);
    for (inner in outerlist) {
        var list : List = inner as List;
        for (element in list) {
            var rect : Rectangle = element as Rectangle;
            println("(width, height)=({rect.width}, {rect.height})");
    }

  • TS1702 i made an in app purchase and the purchase is listed on my billing statement but the in application purchase is not available within the app?

    i made an in app purchase and the purchase is listed on my billing summary but i cannot access the purchase within the app.  I have tried deleting the game and reloading the app and the purchase, nothing seems to work.

    I've had this with games, I had to contact support via the 'problems with this app' link on the receipt & they refunded my money.

Maybe you are looking for

  • Illustrator files cannot be opened: Could not read the file because an error has occurred.

    I cannot open some files from  Illustrator which contain PNG files placed. When I try to open the file, I get a message saying: "this png contains addtional data for Adobe fireworks, which will be discarded upon save." When I press "ok" I get the sam

  • Automatic clearing for G/L account

    Hi Experts, the program is SAPF124, T-code is F.13. i have one requirment, please provide  valuable solutions.... my object current functionality is the program checks tolerance limit and it will post this amt into perticular account.in this program

  • Sales order creation using webdynpro in ABAP

    Plz give the process how to create sales order creation using webdynpro in ABAP. if not possible plz let me know how to create in JAVA. It is very urgent. I hope i will get it very soon. Thanks all Sai

  • New release strategy / Old PReqs

    Hi, New release strategy has been configured to be active only for purchase requisitions with account assignment cat. F (PReqs coming from work order). In the other words every time when Preq is automatically created from work order new release strat

  • Hardware: 1 box or 2

    Hi, 9iAS release 2, any OS Does anyone have any experience of the differences in performance between using a single server to host the infrastructure and mid-tier, or splitting between 2 servers. Thanks, Jon