Please Help(How to get RadioButtons in tree View)

Hi.
Sub/Requirement: How to implement RadioButtons in tree view with/without using xml file.
I have a requirement like this i want to display RadioButton in tree view.
I implemented tree same as which is given in sampleApplications.
In this sampleApplications they implemted tree by using xml file.
I also implemented tree by Generating xml file. In this xml file i get the values from the database. I am using <netui:tree > tag.
Is it possible to implement tree without using xml file. I need to generate tree Dynamically.
Please any one help me to come out with this solution.

The issue here is while you are retrieving all the details, you are consistently overwriting them in the request.setAttribute() call before you get to the JSP to display them.
Do you actually have a class/object called Student?
That object should have attributes for classes, subjects, teachers (all of which are lists apparently)
public class Student{
  String name;
  List classes;
  List subjects;
  List teachers;
  // appropriate getter/setter methods
}Then you load each student, and populate its individual lists.
That lets you pass the list of students, each student having its own lists for display.
Hope this helps,
evnafets

Similar Messages

  • I keep getting asked to agreed to the new terms and conditions and can not accept them please help, how to get rid of it?

    I need help please I have my i phone, im setting the icloud and it keeps telling me to accept the new terms and conditions but the page wont populate for me to accept it, im getting annoying with it the pop up us making me crazy plase help.

    Try these...
    1)  Press the Accept Button Twice...
    2)  Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...

  • Please help how to get return array from rpg program on java code?

    Hi
    I have created a rpg program that returns 2 parameter 1 is the id and another one is list of array, when I called this program I passed two programparameter from my java code (see the code below) but when i checked what value would be return it is returned only first value of array. how will i get all array values ?
    please suggest me regarding this issues I amn't so much aware on java & AS400.
    try
    ProgramParameter[] parmList = new ProgramParameter[2];
    AS400Text p1 = new AS400Text(10);
    AS400Text p2 = new AS400Text(30);
    try
    parmList[0] = new ProgramParameter(10);
    parmList[1] = new ProgramParameter(30);
    parmList[0].setParameterType(ProgramParameter.PASS_BY_REFEREN CE);
    parmList[1].setParameterType(ProgramParameter.PASS_BY_REFEREN CE);
    parmList[0].setInputData(p1.toBytes("Pune"));
    parmList[1].setInputData(p2.toBytes(" "));
    catch(Exception ex)
    ProgramCall pgm = new ProgramCall(o);
    pgm.setProgram("/QSYS.LIB/XXX/XXX.PGM",parmList);
    if (pgm.run())
    byte s[] = parmList[1].getOutputData(); // HERE I got only first value of returning array.
    parmList[1].getOutputDataLength();
    //String sts = ((String) (new AS400Text(10,o).toBytes(s[0])));
    else
    AS400Message[] messageList = pgm.getMessageList();
    for (int msg = 0; msg < messageList.length; msg++) {
    catch(Exception ex)
    AS400Message[] messageList = null;
    finally
    o.disconnectAllServices();
    Reply With Quote

    Try this :
    try
    ProgramParameter[] parmList = new ProgramParameter[2];
    AS400Text p1 = new AS400Text(10);
    AS400Text p2 = new AS400Text(30);
    AS400Array arrP2 = new AS400Array(p2, 4);
    try
    parmList[0] = new ProgramParameter(10);
    parmList[1] = new ProgramParameter(30);
    parmList[0].setParameterType(ProgramParameter.PASS_BY_REFEREN CE);
    parmList[1].setParameterType(ProgramParameter.PASS_BY_REFEREN CE);
    parmList[0].setInputData(p1.toBytes("Pune"));
    parmList[1].setInputData(arrP2.toBytes({"","","",""}));
    catch(Exception ex)
    ProgramCall pgm = new ProgramCall(o);
    pgm.setProgram("/QSYS.LIB/XXX/XXX.PGM",parmList);
    if (pgm.run())
         Object[] objArr =  (Object [])arrP2.toObject( parmList[1].getOutputData() );
         for(int i =0; i<objArr.length;i++){
                System.out.println( " SKU " + i +" : " + objArr.toString());
    else
    AS400Message[] messageList = pgm.getMessageList();
    for (int msg = 0; msg < messageList.length; msg++) {
    catch(Exception ex)
    AS400Message[] messageList = null;
    finally
    o.disconnectAllServices();

  • Please Help: How to get Image under JDK 1.1

    Hi all out there!
    The following is my problem:
    I need to get an image under JDK1.1.
    What I want to do is get a graphics-object from
    it and draw some stuff onto it. Afterwards I want
    to save it to some file (gif, png). The latter part is
    no problem. But I couldn't find a concrete subclass
    under JDK1.1. I know of BufferedImage in JDK1.2
    but that doesn't help too much since I'm restricted
    to JDK1.1.
    Anyone who can help me with this?
    Greetinx
    Valentin

    hi,
    what about Toolkit.getDefaultToolkit().getImage(String)regards

  • [PLEASE HELP] How to get Microsoft Outlook Rules to work on my Z10

    Hi, 
    My organization recently started deploying Z10 for work. We use Mircosoft Outlook 2010 and I receive many e-mails throughout the day that I filter by setting up rules. 
    These Outlook rules do not seem to transferr over to my Z10 e-mail account as I am being constantly flooded with these "junk" e-mails. 
    I've tried to change the folder sync settings, but that doesn't seemt to rectify the problem. 
    I have Software Release 10.2.0.429 and OS Version 10.2.0.1803
    Does anyone in this community know about this problem and if there's a solution? 
    Thanks so much. 
    - Kyle 

    DoubleK wrote:
    Hi, 
    My organization recently started deploying Z10 for work. We use Mircosoft Outlook 2010 and I receive many e-mails throughout the day that I filter by setting up rules. 
    These Outlook rules do not seem to transferr over to my Z10 e-mail account as I am being constantly flooded with these "junk" e-mails. 
    I've tried to change the folder sync settings, but that doesn't seemt to rectify the problem. 
    I have Software Release 10.2.0.429 and OS Version 10.2.0.1803
    Does anyone in this community know about this problem and if there's a solution? 
    Thanks so much. 
    - Kyle 
    Unfortunately Outllok rules only work within Outlook itself.
    One way that I have found to partially work is to use the IMAP server (if available in your organisation) from both the computer and the device(s), and to keep Outlook running while you are gone, and then the rules works for most of them
    Using the Playbook and the Z10 and the Z30 and loving them
    Martin

  • Please Help,how do i get my iphone 4 to play all my songs from icloud, it is currently only playing just a smal number of songs from my library which is stored in icloud.

    Please Help,how do i get my iphone 4 to play all my songs from icloud, it is currently only playing just a smal number of songs from my library which is stored in icloud.

    There are a number of OS X apps, many free, that will save your messages, allowing to view and print them. 
    http://www.softwarebbs.com/wiki/How_to_transfer_SMS_from_iPhone_to_Mac,_backup_i Phone_SMS_message_on_Mac
    Google, for other options
    Your "other" of 6 GB may include corrupted data or file sytem errors. If after removing the messages there is still >2GB, you will need to restore the phone in iTunes, first using a backup (made after deleting the messages) and if needed as a new iPhone.
    iTunes: Restoring iOS software

  • For updation of IOS 7.1.1 passcode required,I forget my passcode please help how can I get my passcode

    Hello,
    I forget my passcode please help how can I get my it

    You will need to try to restore your iPad from the same computer that you most recently synced to.
    Read this: http://support.apple.com/kb/ht1212
    If you can't do the restore then you will need to try Recovery Mode.
    Read this: http://support.apple.com/kb/ht1808
    Follow the instructions very carefully.

  • I have iOS 6 on my iPhone. i have linked my contacts with facebook and yahoo, which has doubled or triplicated some of the contacts. how can i integrate them into one? please help. it is getting on my nerves. thanks :)

    I have iOS 6 on my iPhone. i have linked my contacts with facebook and yahoo, which has doubled or triplicated some of the contacts. how can i integrate them into one? please help. it is getting on my nerves. thanks

    click on the contact which you want to integrate, click the edit button scroll down u will find a option called link contacts use it to link it to the duplicate contact

  • Hi, would you please help me to get red of hips of emails that I am receiving from this site? I want to delete my profile. How can I do it?

    Hi, would you please help me to get red of hips of emails that I am receiving from this site? I want to delete my profile. How can I do it?

    Read Frank Caggiano's User Tip here: Stopping emails from ASC

  • HT3630 How to creat an app-enabled accessories for iPhone? Please help me to get an answer..

    How to creat an app-enabled accessories for iPhone? Please help me to get an answer..

    To get hardware interfaces and API's via hardware you
    need to join the MFi program.  That info is here:
    https://developer.apple.com/programs/mfi/
    To get the additional software to be able to download
    and test code on any iDevice, you must join the
    iOS Developer Program.  That info is here:
    https://developer.apple.com/programs/ios/
    Both programs require fees and NDA agreements,
    especially hardware as most vendors that supply
    components development tools will not sell you any
    of their tools unless you are a member of the MFi
    program.

  • My ipad2 is asking old id password, when i go to forget password link for that id then I am not getting any mail to reset the same. Please help how can i remove or change the old id.

    my ipad2 is asking old id password, when i go to forget password link for that id then I am not getting any mail to reset the same. Please help how can i remove or change the old id.

    You cannot remove or change the old ID. This is Find My iPhone Activation Lock. You need to recover the credentials for the Apple ID originally used to activate the iPad.
    Check your spam and junk folders.

  • How to get the current tree element (node/childnode/childnode/...) ?

    Hello!
    I'm trying to create a kind of a navigation tree for my application.
    It should represent some elements of an XML structure and some other nodes for other options.
    The binding with the context is not a problem, I can create the tree up to all the levels I want to.
    The problem now is, that I don't know, how to get the "current tree element", when there is any action.
    For example:
    public void onActionSelect(...) {
    String test = wdContext.currentTreeNodeElement().getText();
    wdThis.wdGetContext().currentContextElement().setSelectedElement(test);
    With this method I can get the text of the "first level nodes". If I want to get the "second level node", I can do
    String test = wdContext.currentTreeNodeElement().currentChildElement.getText();
    ..and for the next levels so on.
    Isn't there any general method to get the information of the selected element without knowing before, whether it is a nodeElement or a nodeElement.currentChildElement or a nodeElement.currentChildElement.currentChildElement, ...?
    Greetings,
    Ramó

    Hi,
    if you following that pdf ,
    i think your not implemented the below code in DomodifyView method
    if (firstTime) {
          IWDTreeNodeType treeNode = (IWDTreeNodeType) view.getElement("TheNode");
          /* The following line is necessary to create parameter mapping from parameter "path" to parameter "selectedElement".
    Parameter "path" is of type string and contains the string representation of the tree element (its corresponding context element to be exact)
    that raised the onAction event. Parameter "selectedElement" is of type IWDNodeElement (or extends it) and is defined as parameter in the event handler
    that handles the onAction. The parameter mapping defined here translates the String "path" into the corresponding context element that then can
    be accessed within the event handler
          treeNode.mappingOfOnAction().addSourceMapping("path", "selectedElement");
          /* The following line is necessary to create parameter mapping from parameter "path" to parameter "element".
    Parameter "path" is of type string and contains the string representation of the tree element (its corresponding context element to be exact)
    that raised the onLoadChildren event. Parameter "element" is of type IWDNodeElement (or extends it) and is defined as parameter in the event handler
    that handles the onLoadChildren. The parameter mapping defined here translates the String "path" into the corresponding context element that then can
    be accessed within the event handler
          treeNode.mappingOfOnLoadChildren().addSourceMapping("path", "element");
    please cross check once.
    Thanks,
    Ramesh

  • Programming help - how to get the read-only state of PDF file is windows explorer preview is ON?

    Programming help - how to get the read-only state of PDF file is windows explorer preview is ON?
    I'm developing an application where a file is need to be saved as pdf. But, if there is already a pdf file with same name in the specified directory, I wish to overwrite it. And in the overwrite case, read-only files should not be overwritten. If the duplicate(old) file is opened in windows (Win7) explorer preview, it is write protected. So, it should not be overwritten. I tried to get the '
    FILE_ATTRIBUTE_READONLY' using MS API 'GetFileAttributes', but it didn't succeed. How Adobe marks the file as read-only for preview? Do I need to check some other attribute of the file?
    Thanks!

    Divya - I have done it in the past following these documents. Please read it and try it it will work.
    Please read it in the following order since both are a continuation documents for the same purpose (it also contains how to change colors of row dynamically but I didnt do that part I just did the read_only part as your requirement) 
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0625002-596c-2b10-46af-91cb31b71393
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0155eb5-b6ce-2b10-3195-d9704982d69b?quicklink=index&overridelayout=true
    thanks!
    Jason PV

  • I bought a used iphone from a friend and I am not able to use it in Ethiopia. It is carrier blocked. Can you please help how could I unlock my iphone 4?.

    I bought a used iphone from a friend and I am not able to use it in Ethiopia. It is carrier blocked. Can you please help how could I unlock my iphone 4?.

    Unlikely as you do not meet there requirements for unlocking.
    Have your friend the provided the phone contact them.  Based on your statements I am concluding he was or still is an AT&T customer, that is one of the requirements of getting the device unlocked.

  • Hi can somebody please help me to get Apple phone support stop calling me to tell me that i NOT awnsering the phone!!!!

    Hi can somebody please help me to get Apple phone support stop calling me to tell me that i NOT awnsering the phone!!!!

    The battery capacity on a 5S is a little better but be sure to read the special notes on conserving battery power on these phones.   Here are two in particular.
    17 Tips to Extend iPhone Battery Life (Updated for iOS 7)
    How to improve iPhone battery life, what to do if your iPhone battery is running low - How to - Macworld UK
    Regards,  71

Maybe you are looking for

  • Vendor Return process in case of Import Goods (Excisable)

    Can anyone provide me the complete process details with configuration in case of Return of Import Goods to Vendor? The scenario is we have received the goods from an overseas Vendor by availing the benefit of CVD and we have made payment to the Vendo

  • In iPhoto, I can see the thumbnails but not the full-size photos

    In iPhoto, I can see the thumbnails along the bottom but I can't see the full-size photos - I just see a black screen. What should I do?

  • Simultaneous analog output

    I am using PCI-6052 with (LabVIEW) .Where two analog outputs are available ,DAC0 and DAC1.I want to simultanouly output the different waveforms on each Channel at the same time.Time is important. I tried it with two DAQ assistance vi's setting each c

  • Angular JS and coded UI

    Hi  our website is developed using angularJS and HTML5 . I am trying to record a coded UI for the login. Recording is good and code is generated properly, however when i run the script, it presses the login button but login is not successful. Infact

  • Itunes - how do i get # artists (ex: 311, 3 doors down) to come b4 letters?

    My itunes just messed up in the last few minutes and i cant figure it out. The artists with numbered names (such as 311, 3 doors down, 30 seconds to mars) used to come before the lettered artists starting with A. Now the numbers are the last on the l