I need help on displaying parallel arrays

I have created 3 one dimentional arrays and need to pass that array to a method and within the method the program should be able to accept an input from the user. The input should be matched with an array subscript value. I after, I need to display only the array subscript values of the matching input and the subscript values of 2 more parallel arrays
I need to be able to display only the values of the matching subscripts
like be able to display the subscript [3]which is a match with the input and the subscript [3] from the other 2 arrays.
Can someone please help me?

I have created 3 one dimentional arrays and need to
pass that array to a method and within the method the
program should be able to accept an input from the
user. one array, or all arrays? either way do you have problems in passing them into a method? if so are you famililar with parameter passing and java syntax?
The input should be matched with an array
subscript value. traverse the subscript and do this:
for(int i=0; i<=myarray.length; i++)
if (myarray[i] = intergerPassed)
//do whatever
//eg. System.out.println("matched on "+i);
//or System.out.println("other arrays have values at this subscript"+ myarray2[i]+" and "+myarray3);
I after, I need to display only the
array subscript values of the matching input and the
subscript values of 2 more parallel arrays
I need to be able to display only the values of the
matching subscripts
like be able to display the subscript [3]which is a
match with the input and the subscript [3] from the
other 2 arrays.
Can someone please help me?

Similar Messages

  • Need help on displaying the callers name on ip phone with cme using external directory

    Hello Guys,
    Need help on displaying the callers name on ip phone with cme while using external directory
    Thank you,
    Khaja

    Thanks for your help,
    Does it 100% work with CME. We use SIP and 2ring for external directory?  Thanks you.

  • Hi guys need Help with Displaying Splash Screen?!!?

    Hi Guys.
    Sorry for the last incomplete post my mistake!
    I need help displaying a splash screen as an advertisment or something before i have my main application run.
    Here is the code i wrote (it works as if it were a seperate application)
    package MajourProject;
    import java.awt.AWTException;
    import java.awt.Dimension;
    import java.awt.Robot;
    import java.awt.Toolkit;
    import javax.swing.ImageIcon;
    import javax.swing.JLabel;
    import javax.swing.JOptionPane;
    import javax.swing.JProgressBar;
    import javax.swing.JScrollPane;
    import javax.swing.JWindow;
    * @author Matt
    public class SplashScreen extends JWindow
        public SplashScreen()
            int UpTime = 20000;
            Start(UpTime);
        public void Start(int UpTime)
            ImageIcon ii = new ImageIcon("src/1.jpg");
              JScrollPane jsp = new JScrollPane(new JLabel(ii));
                    JProgressBar Bar = new JProgressBar();
              getContentPane().add(jsp);
              setSize(853,303);
              centerScreen();
              setVisible(true);
                   try
                                Thread.sleep(20000);
                               dispose();
                   catch(Exception IE)
            private void centerScreen()
                    Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
                    int x = (int) ((d.getWidth() - getWidth()) / 2);
              int y = (int) ((d.getHeight() - getHeight()) / 2);
              setLocation(x, (y-100));
           public static void main(String [] args)
                 new SplashScreen();
    }but i now have a problem as i already have a main application done as i wrote this seperately. I now need to combine the two together. So what i did was in my Main Application wrote:
    Splash_Screen SS = new Splash_Screen();it then runs my Splash Screen class which i re-wrote to look as such:
    package MajourProject;
    import java.awt.AWTException;
    import java.awt.Dimension;
    import java.awt.Robot;
    import java.awt.Toolkit;
    import javax.swing.ImageIcon;
    import javax.swing.JLabel;
    import javax.swing.JOptionPane;
    import javax.swing.JProgressBar;
    import javax.swing.JScrollPane;
    import javax.swing.JWindow;
    * @author Matt
    public class SplashScreen extends JWindow
        public SplashScreen()
            int time = 15000;
            Start(time);
        public void Start(int UpTime)
            ImageIcon ii = new ImageIcon("src/1.jpg");
              JScrollPane jsp = new JScrollPane(new JLabel(ii));
                    JProgressBar Bar = new JProgressBar();
              getContentPane().add(jsp);
              setSize(853,303);
              centerScreen();
              setVisible(true);
                   try
                                Thread.sleep(20000);
                                dispose();
                   catch(Exception IE)
            private void centerScreen()
                    Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
                    int x = (int) ((d.getWidth() - getWidth()) / 2);
              int y = (int) ((d.getHeight() - getHeight()) / 2);
              setLocation(x, (y-100));
    }it obviously runs the default constructor which then runs the other methods in the class but it doesn't seem to show can anybody help me to find out whats wrong? It seems to be there just before the main application launches but only for a split second. And when i am waiting while the thread is sleeping the area i have defined the Content pane for he cursor goes to the loading icon! I don't know if this makes any sence to you but if you can help me it would be most apreciated.
    Thanks.

    SpearOne wrote:
    Hi Encephalopathic
    why would it work if i put it in it's own application surely it wouldn't be caused by this thread.sleep?? everything after it is in fact put to sleep. In its "own" application, nothing happens after it is displayed.
    if it is the problem then could you please give me some code to add quickly to test??
    import java.awt.Dimension;
    import java.awt.Toolkit;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.ImageIcon;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JProgressBar;
    import javax.swing.JScrollPane;
    import javax.swing.JWindow;
    import javax.swing.Timer;
    public class SplashScreen extends JWindow
      private static final String IMAGE_PATH = "src/1.jpg";
      private static final int UP_TIME = 15000;
      public SplashScreen()
        Start();
      public void Start()
        ImageIcon ii = new ImageIcon(IMAGE_PATH);
        JScrollPane jsp = new JScrollPane(new JLabel(ii));
        //JProgressBar Bar = new JProgressBar();
        getContentPane().add(jsp);
        setSize(853, 303);
        centerScreen();
      private void centerScreen()
        Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
        int x = (int) ((d.getWidth() - getWidth()) / 2);
        int y = (int) ((d.getHeight() - getHeight()) / 2);
        setLocation(x, (y - 100));
      public static void main(String[] args)
        final JFrame frame = new JFrame("Main Frame");
        frame.setPreferredSize(new Dimension(300, 200));
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.pack();
        frame.setLocationRelativeTo(null);
        final SplashScreen splash = new SplashScreen();
        splash.setVisible(true);
        Timer swingTimer = new Timer(UP_TIME, new ActionListener()
          public void actionPerformed(ActionEvent e)
            splash.dispose();
            frame.setVisible(true);
        swingTimer.setRepeats(false);
        swingTimer.start();
    }

  • Need help on "Displaying items for Library System"

    Hi folks, i am currently new to this forum and I need help on this problem ASAP.
    I currently doing

    Sorry, I accidentally hit the enter button so i start again.
    I currently doing a online Library system and I hve been assign the task of doing the "search items" use case.
    The situation is like this, my system retrieves 50 items based on the user selection and displaying them on a page.
    The problem is I do not know how to seperate the items cos I don wan to display everything on the page, wat i wan is like displaying first 20 items on the page and when the user click the "next" link, the next 20 items will be display on the same page.
    My teacher ask me to use custom tags(WHICH I NEVER LEARN BEFORE) so
    please give me advise or related links as soon as possible cos I have to hand in the project in two weeks time.

  • Need help in displaying a region in  a page

    Hi,
    I'm looking for the following scenario.
    Scenario:_
    2 Regions "region_ABC" , "region_XYZ" are dragged and dropped on EM page "PAGE_1". When the "PAGE_1" is displayed first time only the region "region_ABC" will be displayed. When a specific radio button of the "region_ABC" is selected another region "region_XYZ" needs to be displayed in that page "PAGE_1".
    I tried to use the Partial Triggers which didn't work. Please provide valuable suggestion/pointers.
    Thanks in advance
    -Sukumar

    Hi Sukumar:
    This is the typical case for you to use "Control Flow Case".
    You need to create a Bounded task flow say: task-flow1. In this task flow, region_ABC and region_XYZ will be 2 Views in it. Then drag and drop a "Control Flow Case" onto this task-flow1.xml between view: region_ABC and view: region_XYZ. The outcome of the "Control Flow Case" can be anything you like in literal: "ABC2XYZ". Next, go to your region_ABC.jsff file, click on the radio button, and go to its property editor. In the "Action" attribute, put "ABC2XYZ" there.
    You drag and drop the task-flow1 onto your EM page "PAGE_1".
    That's it!
    Good luck,
    Alex

  • Need help to display content in a KM folder

    I need to develop a component which will accept a KM folder name as an input field from UI (for eg : \documents\folder1) and will display all the subfolders and files inside that KM folder along with its details. Need info on how i can implement this and if anyone has already done something similar please help.
    Regards
    Shabeer
    Edited by: Mohammed Shabeer on Mar 18, 2009 5:31 AM

    Hi
    You can achieve this using KM API's.
    Assuming your folder location is  /documents/xxx. chekc the sample code below.
    IUser user = request.getUser(); //You can use cmadmin service as alternate option//
    String location = "/documents/xxx";
    IResourceContext resourceContext = new ResourceContext(user);
    RID rid = RID.getRID(location);
    IResource resource = ResourceFactory.getInstance().getResource(rid,resourceContext);
    ICollection collection = (ICollection) resource;
    IResourceList resourceList = collection.getChildren(); //Gives list of files and folders inside the KM location//
    for(int i=0;i<resourceList.size();i++) {
      IResource res = resourceList.get(i);
      //Get the required info from the resource object and display
    For further details, check the link below
    http://help.sap.com/javadocs/NW04S/current/km/index.html
    Regards,
    Yoga

  • Just coming from Win and need Help with bootcamp/parallels+general osx stuf

    Well I absolutely love my Mac. I'm just having some problems affording it financially, but when I compare this new MacBook Pro to other like computers, there's a very very small difference in the hardware, and Im usually building laptops that are similiar to this for around 2k anyways. So I'm not 100% sure if I'll keep this or not, and maybe settle for cheaper PC that's under 1.5k (because Apple charges you a 10% open box fee) and buy a mac when I'm in a better position, or just keep this and see what I can do.
    But a few of the things that are making me miss a PC might push me toward a cheaper PC. And so maybe someone here can help me out before I make a decision.
    First off, is there anything that's the equivalent to a disk defragmentor for OSX?
    Second, is the graphics card really powerful in this Macbook 15 inch 2.4 ghz (the newest one)
    Im also having a problem with this keyboard and my favorite game. Basically I need to hold down certain keys (control, alt, shift and space) in order to use skills. But for some reason when I hold down any of these buttons, it only reads it once. So I have to push it every time I'd say, want to heal myself or hit a monster... and that might not seem like a lot but if you play a game for 1 hour + (I'd usually play around 4 hours) it's going to absolutely kill my fingers and make playing the game take a lot longer.
    Now I'm using parallels (the only way to play my game) and whenever I try to install a new KB, because I've found out that the way a KB is wired will determine whether or not you can spam a key or not (Like a cheap USB one wont work, but a more expensive logitech one allows you to) but it either
    1) Crashes Parallels and my Win VM
    or
    2) It sets up whatever kb I use to be used with Mac OSX's drivers which means no matter what the KB is, ctrl alt space and shift cant be spammed.
    I'm also unable to use FRAPS, a PC video capturing program used for games while running parallels. My FPS constantly dips to 0 which lags me in the game, and I can't find a good recording program thats OSX side and that works while Parallels is running (I emailed parallels about what vid they used in their demo but no response)
    Now if use bootcamp, will I have nothing to worry about? Will all of the hardware act like it should act natively on a PC? As in will my nVidia graphics card act like it normally would on a PC instead of it being some kind of virtualized hardware or something like on parallels?
    Thanks for the help guys... 2 weeks to decide on whether or not I keep th is laptop....
    Wii code: 2053-8430-7334-7335
    MGO Name: Crim, [BBB]Crim, Pacifist, Kaze, oSoiFong, A NOOB.

    The graphics card is a higher performance GPU than the X1600 in the previous MBP models. As for "really powerful" you don't provide any basis for comparison. Visit the ATI site to find out the specifications for the model.
    Well I understand that much. I just mean as far as a graphics card in general goes, is it strong enough to support a variety of games (both PC and Mac)? This is my first computer without a crappy intergrated graphics card which could barely handle games from the late 1990s.
    As for keyboard shortcuts I'm not sure if you're referring a Mac or a PC game. However, this reference may help. If the game is a Mac version you'll need to contact the game's developer about any problems with how to use the game on a Mac. If you read the Parallels documentation it will explain how to generate any special keyboard characters when in Windows.
    Umm it's not that. Like I first figured out this problem with all electronics in general when I was a kid playing with one of those press and speak books. What I found out was that, let's pretend there were 3 buttons. One was cow going moo, one was a cat meowing and one was a dog barking. If you held down the Cow button and pressed the Cat button, the cow would still Moo. If you held down the Cow and press the dog button, the cow would still moo. However if you pressed and held the cat button, then pressed the cow button the cat would stop meowing, and the moo would override it.
    That same principle applies to keyboards from what I've seen. I know there are some keyboards where I can use the control button and the alt button at the same time, and some keyboard I can't use. I can't blame the game, because there ARE keyboards that work the way I want it to. And I'm not talking about keyboard shortcuts. Pressing Control+Alt isn't a shortcut in a game, just two different commands. Like one is jump, one is attack. In the game you can Jump and Attack with some keyboards, some keyboards only let you jump or attack.
    Another example is if I put my jump key on the letter "a" and if I hold a, I jump over and over until I let go. but if I put jump to my space bar, I jump once then stop. For some reason it won't repeat keys while in a game. Same goes for other buttons, ctrl, shift, and alt.
    Does that make things a little more clear?
    but what I'm going to do is try my mac keyboard on a PC and see if it has the same limitations.
    If Parallels is crashing either you have a faulty installation, your OS X installation is corrupted, or you have not allocated sufficient RAM for the VM. You need at least 2 GBs of installed RAM to use virtualization software and should allocate at least 384 MBs or RAM to Windows XP and 512 MBs to Vista. If you have only 1 GB of RAM installed your system won't be very stable when you try to run Parallels with Windows on 384 or 512 MBs of RAM.
    I have the newest 15 inch which has gigs. And I've tried setting Parallels to both 1 and 512 (windows xp) and I worded the problem wrong. Parallels doesnt crash, parallels runs fine. What happens is Windows XP gets the blue screen of death whenever I try to install a usb device. Since I can't find a logitech keyboard that has drivers/software for a mac, I tried using a Windows one and tried installing it on my XP... and thats when I got the BSOD
    Parallels uses all the native Mac hardware via the virtualization software. No special Mac drivers are required nor special Windows drivers.
    If you cannot run a Windows program in Parallels it's not a problem with OS X. Complain to Parallels.
    It's not that a program isn't running. It's running fine, it's just my FPS gets really low. What I'm trying to figure out is if my graphics card isn't good enough in general, or if it's not good enough to handle parallels and osx and a game with a video capture all at once.
    Boot Camp runs Windows natively on the hardware just as if you were using any other dedicated Windows hardware. "Will I have nothing to worry about?" I don't know. Boot Camp provides the necessary Windows drivers for all currently produced Intel Macs. You can install Windows XP with Service Pak 2 or Vista. Read the Boot Camp documentation to find out more.
    Well I meant will I have nothing to worry about as in, will my graphics card be as effective on my bootcamped win XP as it would be if it was a native XP laptop, or will it be slightly less effective since it was based for a mac intel computer... does that make sense or do I need to reword it?

  • Need help in displaying error message on the same screen

    Hi Experts,
    I have written a report which gets called from IW52 by clicking one of the action items. Now in my report when I am trying display an error message it is getting displayed at the bottom of a blank screen. My requirement is to display it at the bottom of the IW52 screen, so that user can rectify the error.
    Please help.
    Regards,
    Sambaran Ray.

    Hi,
    Probably you need to find a way to enhance the standard code.
    But make one thing sure that the code (included bu you) gets fired only when that specific report is being executed. Else it may harm the standard functionality.
    Hope this helps you.
    Regards,
    Tarun

  • Need help in displaying an Image in a JLabel

    Hi everyone,
    I am using a JLabel to display images on a particular screen. I am facing some problem while doing so..
    On my screen there are images of some garments. When the users select colors from a particular list, i should color this garment images and load it on the screen again with the colors. I have a floodfill class for filling the colors in the images. The problem I am facing is I am able to color the image properly with my floodfill class but when displaying the image on the same jlabel, the image gets distorted somehow.
    Everytime I color the image, I create an ImageIcon of the image and use the seticon method from the JLabel class. First I set the icon to null and then set it to the imageicon created. here is the code I use.
    If 'image' is the the image i have to load
    ImageIcon imgicon = new ImageIcon(image);
    jlabel.setIcon(null);
    jlabel.setIcon(imgicon);I am setting the icon to null because I have not found any other method to clear the previous image from the jlabel.
    Can anyone who has worked on images before and faced a similar situation help me with this?? Is there some other container I can use besides the JLabel to display the images perhaps?
    Thanks in advance.....
    Bharat

    And the thing is when I first go into that screen with the selected colors it is displaying the images perfectly.
    It is only giving problems when I pick different colors on the screenit really sounds like the problem is in your floodfill class.
    I have no idea what's in floodfill, but if you were e.g. using a JPanel and paintComponent,
    you would need to have as the first line in paintComponent()
    super.paintComponent(..);
    to clear the previous painting.
    if not, you would be just drawing over the top of the previous paintComponent(), and if the calculation of the
    painting area is not 100% exact, you may get the odd pixel not painted-over, meaning those pixels will display
    the old color.

  • Need help in displaying a feed within my flex app

    Hello guys,
    I was hoping that someone can push me in the right direction. I am looking to display our feed within our Flex Application. I am using some of the sample from tour de flex
    This is what I have so far:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
         xmlns:s="library://ns.adobe.com/flex/spark"
         xmlns:mx="library://ns.adobe.com/flex/mx"
         width="960" height="850">
         <fx:Script>
         <![CDATA[
              import flashx.textLayout.conversion.TextConverter;
              import flashx.textLayout.elements.TextFlow;
              import spark.utils.TextFlowUtil;
              XML.ignoreWhitespace = false;
         ]]>
         </fx:Script>
         <fx:Style>
              @namespace s "library://ns.adobe.com/flex/spark";
              @namespace mx "library://ns.adobe.com/flex/mx";
              @namespace components "components.*";
              s|WindowedApplication {
                   background-color:#000000;
                   background-alpha:"0.9";
              s|ButtonBar s|ButtonBarButton:upAndSelected,
              s|ButtonBar s|ButtonBarButton:overAndSelected,
              s|ButtonBar s|ButtonBarButton:downAndSelected,
              s|ButtonBar s|ButtonBarButton:disabledAndSelected {
                   chromeColor: #00529c;
                   color: #FFFFFF;
              s|ButtonBar {
                   chromeColor: #053867;
                   color: #FFFFFF;
         </fx:Style>
         <fx:Declarations>
              <!-- Place non-visual elements (e.g., services, value objects) here -->
              <!--<s:HTTPService id="srv" url="http://feeds.feedburner.com/standforisrael/iWIn?format=xml" />-->
              <fx:XML id="srv" source="http://feeds.feedburner.com/standforisrael/iWIn?format=xml" />
         </fx:Declarations>
         <s:ButtonBar dataProvider="{myViewStack}" y="175" height="35" width="700" />
         <mx:ViewStack id="myViewStack" borderStyle="none" x="0" y="209" width="700" height="500">
              <s:NavigatorContent id="home" label="Home">
              </s:NavigatorContent>
              <s:NavigatorContent id="about" label="About Us">
              </s:NavigatorContent>
              <s:NavigatorContent id="rabbi" label="Rabbi Eckstein">
              </s:NavigatorContent>
              <s:NavigatorContent id="rabbiCom" label="Rabbi's Commentary">
              </s:NavigatorContent>
              <s:NavigatorContent id="programs" label="Our Blog">
                   <s:RichText id="rt5" width="280"
                        textFlow="{TextFlowUtil.importFromXML(srv)}" />
              </s:NavigatorContent>
         </mx:ViewStack>
    </s:WindowedApplication>
    Now when I run this I get a prompt that is telling me that if the program is already running to stop the program... I have no idea what program it is that i'm running that would prompt that type of dialogue box.
    I also get these errors:
    Unexpected processing instruction encountered and will be ignored. Found: type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css" IFCJ.mxml /IFCJ/src Unknown Flex Problem
    Unexpected processing instruction encountered and will be ignored. Found: type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl" IFCJ.mxml /IFCJ/src Unknown Flex Problem
    Is there anything that I am not doing right here?
    Any help would really be appreciated,
    Thank You

    I did try HTTPService but the problem that I was seeing was that I would need to push the information into a datagrid and that really doesn't help me witth presentation of the blog posts.
    What if I create a custom component that takes the RSS feed and parses it into sections like so:
    Title
    Description
    Link
    Where lets say the title is like so:
    [Bindable]
                public var title:String; <-- this is where I get stuck
    <s:Label x="0" y="80"
            text="{title}"/>
    I would like to also have that title wrapped in a url so that when the person is looking at our RSS they can click either the title or the read more link
    What else can i do?

  • Need help in displaying XML in JSP

    Hi there,
    i'm a newbi in XML and Java - I have the following prob, think for most of u nothing very difficult (or better thought so, I've posted this question in different forums here, but nobody answers :)
    I get an XML response from a search engine, now I want to display the search result in a jsp.
    The result is stored in the session [I hope I figured out correctly ;)]
    with the following command ->
    this.pageContext.getSession().setAttribute(SEARCHRESULT, dSearchResult);
    [its from the java class, which generates the result]
    Result example ->
    <?xml version="1.0" encoding="UTF-8"?>
    <FindSearchResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xml/SearchResult.xsd">
    <Result Hits="2" Name="OfficeLand_en_US">
    <Items>
    <Item Score="250">
    <Field FieldNo="0" Name="ProductID">KqvAqAB1Tq0AAADnFthtpZvC</Field>
    <Field FieldNo="1" Name="CatalogCategoryID">gh0KAAFvj3wAAADiW8SMtr6o</Field>
    </Item>
    <Item Score="250">
    <Field FieldNo="0" Name="ProductID">4rwKAAFvtNYAAADiwdCMtr6o</Field>
    <Field FieldNo="1" Name="CatalogCategoryID">gh0KAAFvj3wAAADiW8SMtr6o</Field>
    </Item>
    </Items>
    <HitDistribution>
    <Hit Hits="75" Score="0"/>
    <Hit Hits="2" Score="250"/>
    </HitDistribution>
    </Result>
    </FindSearchResult>
    How many 'Field' elements exist, depends on the query.
    The result example is a response, which is send to my JSP page. It is stored in an variable under the name SEARCHRESULT (it's the result of a query in a search engine).
    My JSP page is the page, which should display the searchresult.
    So i need to know, how to programm something in my JSP page to check the SEARCHRESULT to display not the whole xml file. I just want to display all Items (compare with result example) -> The name of each existing FieldNo, the Score and the HitDistribution.
    Please help me :)

    hi there,
    first create a xml schema for the xml you will be receiving.
    use jaxb or castor with the schema and create a class.
    in your jsp unmarshal the xml result you are getting with the class
    generated by either jaxb or castor. the class will have methods that return you the required elements.
    get to know xml schema better and just a pass thru of jaxb or castor will solve the problem.
    vedha_g

  • Need help in displaying multiple attachments in a OAF Page

    Hi,
    I need to display attachemts of requisition line in a OAF Page(Notification Detials Page)and the attachments can be more than one.My custom VO returns it as a single string like url1, url2.. etc.
    I need to show them as seperate links.
    I tried using the Item Style as LINK.But it is not working.It is prefixing the server url before the View Attribute and creating a single link.
    Any help in this regard will be appreciated.Thanks in advance.
    Srini

    Hi skeerthi,
    If you are using the core attachments table (FND_ATTACHED_DOCUMENTS and the like), you can have a look on the Developer's Guide on chapter 4: Implementing Specific UI Features, section "Attachments", there is a seeded region available for displaying multiple attachments.
    If you are not, then i'd recommend refactoring :D... Just kidding, it would be nice to use the core feature, but if the table is custom, and the links are stored separated by commas, you will have to write controller code to implement that. That can be done by:
    1) Creating an Application module method that uses StringTokenizer to tokenize the attribute String (use getViewObject().getCurrentRow().getAttribute() to get the comma-separated value) and return that to the controller
    2) In the controller, receive the StringTokenizer and for each token, use the api createWebBean() to create an OALinkBean and add it to a layout region using addIndexedChild() api.
    This way you will dinamically create a Link for each attachment. If your layout region is, for example, tableLayout, you can create a rowLayout for each token, then create a Link, add the link to the row layout and finally add it to the tableLayout. By doing so, you will create a table-style attachment region.
    Hope it Helps
    Thiago

  • Need help in displaying Rows to Columns

    Hi,
    I am facing problem in displaying Rows to Columns
    I am using pivot function:
    select *
    from
    (select vendor_name
    from tablea)
    pivot
    (count(vendor_name)
    for vendor_name in ('a,b,'c'));
    its working fine showing vendor_name and count
    but when i want to display the output as:(How to include the Salalry column in the query?)
    Name:{a b c}
    Sal Total:(400,600,800}
    Any help will be needful for me

    Not sure what you mean:
    select  *
      from  (select deptno,sal from emp)
      pivot(sum(sal) for deptno in (10,20,30))
            10         20         30
          8750      10875       9400
    SQL> SY.

  • Need Help in displaying data labels at the top of the bars in CFCHART

    Hi,
    I have a cfchart with two line series and one bar. I want to display the data values at the top of the bar and the line series. Below is the XML I am using:
    <cfsavecontent variable="chartStyle">
    <?xml version="1.0" encoding="UTF-8"?>
    <frameChart is3D="false" isMultiline="true">
              <frame xDepth="12" yDepth="11" outline="black" stripColor="light_gray">
                   <background maxColor="black"/>
              </frame>
    <yAxis scaleMin="0" scaleMax="30">
                   <labelFormat pattern="###"/>
    <parseFormat pattern="###"/>
    <labelStyle orientation="Horizontal"/>
    <titleStyle font="Arial-11-bold" isMultiline="false"><![CDATA[
    #Vehicles       ]]>
    </titleStyle>
    </yAxis>
    <yAxis2 scaleMin="0" scaleMax="30">
                   <labelFormat pattern="###"/>
    <parseFormat pattern="###"/>
    <labelStyle orientation="Horizontal"/>
    <titleStyle font="Arial-11-bold" isMultiline="false"><![CDATA[
    Profitability       ]]>
    </titleStyle>
    </yAxis2>
    <dataLabels foreground="black" font="Arial-12-bold"/>
    <legend allowSpan="true" equalCols="false" halign="Center" isMultiline="true" placement="Bottom"><decoration style="None"/></legend>
    <elements place="Stacked" drawOutline="false">
    <series index="1" place="Stacked">
    <dataLabel style="value"/>               
    </series>     
              <series index="2" place="Stacked">
    <!--- <![CDATA[#summaryQuery.quotes[i]#+#summaryQuery.orders[i]#]]> --->
    </series>     
    <series index="3" place="Stacked">
    <!--- <![CDATA[#summaryQuery.quotes[i]#+#summaryQuery.orders[i]#]]> --->
    </series>
    <series index="0" place="Stacked" shape="Line" isSecondAxis="true">
    <dataLabel style="value"/>
              </series>
    <series index="1" place="Stacked" shape="Line" isSecondAxis="true">
    <dataLabel style="value"/>
              </series>
    </elements>
              <table>
                   <heatmap isEnabled="false" minLevel="0.0" maxLevel="0.0"/>
              </table>
              <popup background="white" foreground="black"/>
              <paint isVertical="true" min="26" max="76"/>
              <insets right="5"/>
    </frameChart>
    </cfsavecontent>
    Can anyone please tell me what is the mistake i am doing.
    Thanks in advance,
    Jeevan Pulugu.

    Hi,
    Probably you need to find a way to enhance the standard code.
    But make one thing sure that the code (included bu you) gets fired only when that specific report is being executed. Else it may harm the standard functionality.
    Hope this helps you.
    Regards,
    Tarun

  • Need help for displaying key and description in Dropdown (ABAP WEBDYNPRO)

    Hi Experts,
    I am using dropdown as a table field. For this dropdown I want to display the value as well as description.
    In ALV table when we create a dropdown dynamically in table field, there is a method SET_KEY_VISIBLE in class CL_SALV_WD_UIE_DROPDOWN_BY_KEY.
    But I think we cannot use similar method for normal dropdown field in table.
    Is there any way we can display both value and description in dropdown value set ?
    Please help.
    Regards,
    Anand

    Hi,
    I think there is no such option. You need to consider one variable type string and while populating the
    valueset fill this variable by concatenating the value and description and assign it the key and value
    pair of the valueset.
    DATA:
      lt_value_set_ctry      type table of wdr_context_attr_value, " Country/Service Location
      lv_str type string.
        loop at lit_country into ls_country.
          concatenate ls_country-value ls_country-text into lv_str separated by space.
          ls_value_set-value = lv_str.
          ls_value_set-text  = lv_str.
          append  ls_value_set to lt_value_set_ctry.
          clear ls_value_set.
        endloop.
          lr_node_info->set_attribute_value_set( name = 'COUNTRY'
                     value_set = lt_value_set_ctry ).
    Consider this lit_country is a text table for countries.
    Regards,
    Lekha.

Maybe you are looking for

  • How to install and use DBXML package in Ubuntu Server 8.04 64bit

    Hi all. I used to install and use DBXML in Ubuntu Desktop 8.04 32bit. Now I want to use on Ubuntu Server 8.04 64bit. This is code for my installation (I use DBXML 2.2.13) env CFLAGS="-O0" sh buildall.sh enable-java with-xerces="xerces-c-src" with-ber

  • Loosing all the photos during the upgrade from 4 to 6?

    i-Photo- from 4 to 6 My trusty e-mac ( G-4 1gig) blew out it's optical drive so yesterday i had a new 16X installed. I needed to upgrade my OS to run iLife 06 and the new optical drive. My old configuration (OS 10.10 was running iPhoto4. OS 10.4.6 is

  • QuickLook does not show Word .doc files.

    In the past two days, QuickLook has stopped showing the contents of older Word documents (.doc or 97-2004). It still works for the current file type, .docx. The icons just show the old "W" and page logo and that's all that comes up in QL. If I save a

  • 3.1EA2 Sqldeveloper Updates Fail to install

    When using the Search for Updates, I get an error trying to download and install the CVS module. The error states "An error occurred downloading updates. Click back to return to previous page and retry installation, or Cancel to close wizard. Server

  • HT201317 missing all of icloud photos on my ipad

    i had icloud photos on my ipad now they are missing entirely. i'm missing a photo of my dad who died earlier this year and its important that i figure out how to get those photos back