Showing picture in view

Hi,
I have an application which contains a contextual panel. There is a container which opens different views based on button press in contextual panel. When I first load the application I want that a picture should be loaded in the container, but it automatiacally loads a view. Please let me know how can I load the picture on first time laoding of the application.

hi ,
u can use Image UI in ur View and can bind the source property of ur UI with the image strored as mime
right click ur application and then click on create mime object.
with Mime Objects u cn upload doc , jpeg, or giff files from our local system into the webdypnpro system .
You can even try creating the MIME objects in webdynrpo abap .
Right click on ur component->mime object->import
after importing you can see that image into your component as MIME object .Now insert a UI element image into your view layout .
Go to the source property of IMAGE element and select F4 option , u will find a window is opening with some tabs
Select tab COMPONENT IMAGES and component name select your component .
You will find the image which you have imported into this section just select the image and save it.
In the transaction sicf/bc/webdynpro , u cn check your component name there you can view the mime objects created by you .
also refer the SAP online help :
http://help.sap.com/saphelp_crm50/helpdata/en/46/bb182fab4811d4968100a0c94260a5/content.htm
to knw more abt mime repositories.
http://help.sap.com/saphelp_nw04/helpdata/en/f3/1a61a9dc7f2e4199458e964e76b4ba/content.htm
regards,
amit

Similar Messages

  • Aperture stopped showing pictures in viewer and split view

    Suddenly Aperture 3 has stopped showing any pictures in viewer and split view (except for the bottom fim strip) but I can see them all in browser view. I have tried using Aperture Repair and have reset Aperture (using Clean My Mac to delete the user setup files). I also tried creating a new library with just a few files to see if the size of the library was an issue. I also tried opening the libraries in iPhoto and have the same result. I can browse the minatures but not open the larger pictures. 
    The only thing I have yet to try is to delete and reinstall Aperture. But since iPhoto has the same problem, I don't see how that would be the issue.
    Aperture is version 3.5.1, OS is OSX 10.9.2.

    I would have to redo the cleanmymac step but essentially it is like creating a new install before using the app.
    If you do not know, what exactly will be uninstalled, by a general cleaning application, don't use it. That is risky.
    Using a different user account makes no difference.
    That means, you are having a system wide problem. Fixing your Aperture library or settings in your account will probably not help.
    First thing to try, reinstall Aperture.
    And if that does not bring your split view back, reinstall Mavericks. You may have missing caches and necessary configuration files, since iPhoto is having the same problem.
    Did you run CleanMyMac to uninstall other applications, before the problem first occured? Usually it is much safer, to use only the uninstaller, that come with an application. Otherwise, you are risking to uninstall items needed by other applications or the system.
    To reinstall MacOS X 10.9.2, boot into OS X Recovery, see this document:  http://support.apple.com/kb/HT4718

  • How to show picture in switch view ( Creative ZEN Vision:

    Hi
    I have Creative ZEN Vision:M, I try to use music folder of "Switch view" to show picture, right now only one folder is showing picture, the other folders are not able to display pictures, am I need to doing some kind of setup?
    Thanks.

    Just wanted to mention - I bought the IR Remote thinking to make the player useful without navigation keys. Now I feel like I wasted more money instead of shifting to some other player by some other company with better customer service.

  • Aperture shows pictures in browser, not in viewer

    My pictures appear no longer in viewer, only in browser (>20000 pictures, Aperture 3.2.3). (Aperture starts just with the menubar, no window. After trying to import, window appears, but only browser shows the pictures, not viewer)
    I tried already "repair permissions", "repair database", and "delete the user preferences.

    Andreas,
    have you tested, if this is a system wide problem or only occurs when working from your current user account? Try to open Aperture from a different user account, e.g. the guest account.
    If Aperture runs without problems from a different account, then there probably is something wrong in your account, try how Aperture works with a new test Aperture Library.
    if Aperture does not work from a different account, you probably have a system wide problem, either with the Aperture installation, your OS, or your hardware. Then I'd try to reinstall Aperture.
    Regards
    Léonie

  • I am using using IDVD to create slide shows.  When viewed on my computer the pictures are clear and of high quality.  When I burn the slide show to a disk and play it back, the pictures are blurry and of poor quality.

    I am using IDVD to create slide shows.  When viewed on my computer, the pictures are clear and of high quality.  When I burn the slide show to a disk and play it back, the pictures are blury and of poor quality.  Is there a setting that controls the quality of the burn and if there is, where do I find it?  Thank you.

    The Mac software - iPhoto, iMovie, and iDVD are not the best with the Ken Burns effect (zoom in/out effect), so you might want to minimize that effect; also, if your subjects are wearing stripes for instance, that will have an effect if you zoom. There is better software available for slideshows; however, I do not know of any that is free (and does a good job). I've used Photo to Movie for some time; it does a fine job even in HD, but you have to pay for it. I use iDVD extensively, but only to add a menu, theme, special effects, etc. and then to burn it.

  • Thumbnail not showing for artist view on music app

    Ever since iOS 7 (now on iOS 8.1.1), the thumbnails in the artist view of the music app on my iPhone 5 sometimes shows up but not for all artists.
    I have tried restoring iPhone as new phone without restoring a backup (as I thought the backup may include the problem), restarted iTunes and iPhone, restarted MacBook on OS X Lion. Removed music, re-sync'd. Manually added album covers, re-sync'd.
    Al album covers show, but artist view where a promo-type  picture of the artist is usually shown does not work for all artists.
    Would have been more reliable if iOS could have simply used the latest album cover as the artist thumbnail.

    It's a universal glitch with ios5. With any double album (i.e. Greatest Hits Vol.1 and Greatest Hits Vol. 2), the 2nd album is not coming up under "Artist". It's there under "Albums" and "Songs", but NOT "Artists".

  • My video will not show picture only sound? windows 8.1

    I did updates yesterday and now this is happening

    Hello @34jamie,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I have read your post on how your video will not show picture, but the audio will work on your Windows 8.1 computer. Does the video appear and then disappear using media player software? Does this occur when streaming videos on YouTube? Did you perform Windows or HP updates before this issue occured? Does the entire screen go blank, turn a different color or just show blank on the video window you are attempting to view? I would be happy to help you, but first I would encourage you to post your product number for your computer. Below is a is an HP Support document that will demonstrate how to find your computer's product number. 
    How Do I Find My Model Number or Product Number?
    Please re-post with the necessary information, this way I will be able to research this further for you. I look forward to your reply!
    Cheers!
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • Can't open folders to show pictures as large thumbnails permanently.

    Can't open folders to show pictures as large thumbnails permanently.

    Thanks for your reply.
    I'm running Windows 7 on a PC, using Photoshop Elements 7
    It used to be I could open a picture folder from Elements (File>Open) and instruct the files to show themselves as large or extra large icons (View>Large icons), I would then open one or more and edit them, go back to the original folder to open another and still see the files as large icons or whatever I'd chosen before.
    I can no longer do that - as soon as I come back to the folder, all the files have reverted to List view. I then have to go back to the View options. On the other hand, if I open the same folders from Windows Explorer they all show as large icons, as I've chosen to view them, and they remain so for as often as I open the folder.
    I bought a brand new copy of Elements 11 and installed on the same computer (after uninstalling El 7), believing that maybe my copy of Elements 7 was corrupt. But the same conditions obtained with El 11. I un-installed El 11 (didn't like it, too cluttered for me) and have re-installed 7.
    I've picked up a couple of viruses along the way which I get rid of mostly by restoring the system to a previous state. I installed a trial version of Norton while El 7 was working properly and later uninstalled it, believing maybe it had something to do with the subsequent misbehavior of El 7.
    I've noticed a couple of other quirks; after I click File>Open the window with my picture folders opens maximized, it used to be I could re-size it but not any more, even though the mouse pointer turns into double arrows along the edges and corners. Also, when I clicked on Save the pointer immediately defaulted to the Save box, but not so any more.
    Any help would be appreciated.

  • I have an emac OS X 10.4.11. Safari has not been showing pictures.

    I have an emac OS X 10.4.11. Safari has not been showing pictures or icons for two weeks. This AM I downloaded the latest version of Safari for my computer and still have the same problem. Did I click something by accident? I  reported the problem through the Report Bugs option on the drop down menu.

    The following is from a Safari help page:
    If images aren’t displayed
    Reload the webpage
    Choose View > Reload Page, or click the Reload (curved arrow) button in the Safari toolbar.
    Check your preferences
    The option to display images may be turned off. To turn on webpage images:
    Choose Safari > Preferences and click Appearance.
    Select “Display images when the page opens.”
    Try opening a different page
    If images appear on other webpages, the problem may be limited to a particular page. Contact the owner of the website for assistance.
    Check the Develop menu
    If you are developing a website, open the Develop menu and make sure that Disable Images is not selected.

  • Is there any way of dragging and dropping an iCal event showing in week view across to a date in the left sidebar monthly calendar?

    Hi, Im not a frequent forum poster, as most of my questions can be found already answered on them!
    This is a question Ive had for a long time and it amazes me that no-one else seems to ask it. I check at each OS upgrade but its never there...
    Is there any way of dragging and dropping an iCal event showing in week view across to a date in the left sidebar monthly calendar?
    I was able to do this years ago in MS Outlook, and utilized it all the time when I needed to push things back, now I have to open the event and select an new date in the drop-down calendar for each & every event I want to move to a new month at the end of the month.
    If its definitely not possible, how to you ask apple to consider including it - it doesnt seem like a particularly difficult task.
    Thankyou
    Andrew.

    Andrew,
    Is there any way of dragging and dropping an iCal event showing in week view across to a date in the left sidebar monthly calendar?
    No, but you can use cut/paste. Cut (⌘X) the event, then click on the week where you want to move the event, and Paste (⌘V).
    If you have a suggestion for Apple to change that method use: Apple - Mac OS X - Feedback.

  • Problem with Css styles not showing in live view or when i browse

    I am using Mac osx 10.6 and building website with Dreamweaver CS5.  Sometimes div tags i create not showing styles or rendering in live view or when I browse but  showing in design view. I looked in dreamwever faq and they talk about not showing in design view to toggle the display styles. That is not the problem becuase it is check marked and I tried turning off and turning on and made no difference.I am using firefox browser.
    It happened before the other day too. But all of my other pages in this site that i have created the same way building with div tags and css styles. So not sure what the problem is. Maybe someone has a suggestion here.
    Johanna

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Portfolio</title>
    <style type="text/css"></style>
    <link href="css/jbstyles.css" rel="stylesheet" type="text/css" />
    <style type="text/css"></style>
    </head>
    <body>
    <div id="wrapper">
      <div id="mainnav">
        <div id="navbar">
          <ul>
            <li><a href="index.html"><br />
            </a></li>
    <li>
              <ul>
                <li><a href="index.html">          Home</a><a href="about.html">About</a></li>
                <li><a href="portfolio.html">Portfolio</a><a href="contact.html">Contact</a></li>
              </ul>
            </li>
          </ul>
      </div>
        <div id="contentinside">
          <div id="navbar2">
            <ul>
              <li><a href="design.html">Design</a></li>
              <li><a href="multimedia.html">Multimedia</a></li>
              <li><a href="webdesign.html">Web Design</a></li>
            </ul>
          </div>
          <div id="mm1thumb">Content for  id "mm1thumb" Goes Here</div>
          <div id="mm2thumb">Content for  id "mm2thumb" Goes Here</div>
        </div>
        <img src="images/multimsidebar.gif" width="212" height="615" alt="mmsdbr" longdesc="http://multimsidebar" />
      <div id="footer">
        <p> </p>
        <p>Johanna Bresnahan</p>
        <p>Web &amp; Graphic Design - http://www.johannabresnahan.com</p>
        <p> email: [email protected] ....phone....857•991•5717<br />
      </p>
    </div>
    </div>
    <!--end wrapper--></div>
    </body>
    </html> 
    Here is the html code above. not sure how to attach my file so get a visual. This is the first time I have used this forum.
    Johanna

  • Ical events showing in week view as an hour later than the details in event

    Hi all,
    I've just been upgrading my ical / mobileme and I can't figure this out. All time zones are set to London-UK. If I look up appointments in week view all my calendars are colour coded. One particular calendar appears 1hr late with appointments. When I go into the details of this even it show correct time. For example. Kids school looks like it's in for 9:50 in week view but when I go into appointment it reads the correct time of 08:50?
    Any ideas. Thanks

    Andrew,
    Is there any way of dragging and dropping an iCal event showing in week view across to a date in the left sidebar monthly calendar?
    No, but you can use cut/paste. Cut (⌘X) the event, then click on the week where you want to move the event, and Paste (⌘V).
    If you have a suggestion for Apple to change that method use: Apple - Mac OS X - Feedback.

  • Sub folders not showing in Explorer view

    Hi,
    We have a totally standard Sharepoint 2013 installation. We've noticed this week that in some document libraries when opening them up in Explorer view it doesn't display all the sub folders in that library/folder. It's a real pain when users have a folder
    with 20+ documents and want to move them somewhere else and can't because one of the folders aren't showing up. Manually moving them one by one is pretty tiresome.
    If I remove the subfolder in Sharepoint and then recreate the folder in Explorer view that works fine, so it's not that the name is too long. It's not a permission thing since I'm site collection admin. Same issue on Windows 7 and Windws 8. Tried different
    logins. Just can't wrap my head around this issue or what's causing it.
    Any ideas?

    Hi Kristoffer,
    I have seen an attribute for folder object which could control SharePoint folder hide or show in webdav explorer view, you can use PowerShell to output the problematic folder property, see if it the case, then use the PowerShell code to set it's property
    with blank value to make it show in explorer view,
    Use the PowerShell to get the folder object and then check the property value with this code line $folder.Properties["vti_winfileattribs"]
    #folder can be site, library level and folder level
    $folder = (Get-SPWeb http://sp).Folders["shared documents"].SubFolders["folder1"]
    #hide folder
    $folder.Properties["vti_winfileattribs"]="00000016"
    #show folder
    ####$folder.Properties["vti_winfileattribs"]=""
    $folder.Update()
    https://social.technet.microsoft.com/Forums/lync/en-US/9ceafb38-24dc-466c-b497-2cee062b81cf/explorer-view-hidden-folder-attribute?forum=sharepointgeneral
    Thanks
    Daniel Yang
    TechNet Community Support

  • Errors are not showing in Tasks view

    Hello,
    I dont know why errors are not showing in Tasks view after I click Save All Metada, they only show when a Rebuild de project. This start to happen after a few days, can anyone tell me how to fix this?
    Thanks

    Hi Carol,
    After rebuild all compile time dependency and syntax might be checked and something is missing then errors suppose to come.
    If you have doubt you can re install the NWDS...
    Deepak!!!

  • How to Print File as the same as picture/fax viewer ?

    Hallo :
    I wrote a program which can let the specified png file to be printed. (png file is about 17xx * 11xx, output to A4 paper)
    The goal is the print result as the same as the windows built-in picture/fax viewer (by Full Page Fax Print Mode)
    And I don't want the printer dialog to be appeared. So I tried to use java print service to achieve this goal.
    Now I can print the file by printer.
    But comparing to the result which is printed by the windows built-in picture fax viewer(use Full Page Fax Print Mode), my result looks like zoom in, not full page.
    I tried some classes of javax.print.attribute.standard package, but no one worked.
    So I tried to transform the image by myself. And I found a resource : [http://java.sun.com/products/java-media/2D/reference/faqs/index.html#Q_How_do_I_scale_an_image_to_fit]
    It looks like what I wanted. But when I implemented the functionality according to that reference. The result is still the same, still zoom in...
    I must said I am unfamiliar with java 2D. But this is a problem I must solve.
    If the problem can be solved by only setting some classes of javax.print.attribute.standard, it's better.
    But if can't be solved by that way, the transformation method is ok, too.
    So does anyone can help me to solve this problem or pointed where I was wrong ? Thank you very much.
    import java.io.*;
    import java.net.*;
    import java.text.DecimalFormat;
    import java.awt.*;
    import java.awt.geom.*;
    import java.awt.image.ImageObserver;
    import java.awt.print.*;
    import javax.print.*;
    import javax.print.attribute.*;
    import javax.print.attribute.standard.*;
    public class TestImage{
       private void testPrint2() {
         Image img = Toolkit.getDefaultToolkit().getImage(A); // A is png file path
         PrintRequestAttributeSet requestAttributeSet = new HashPrintRequestAttributeSet();
         requestAttributeSet.add(new Copies(1));
         requestAttributeSet.add(MediaSizeName.ISO_A4);
         requestAttributeSet.add(OrientationRequested.PORTRAIT);
         requestAttributeSet.add(MediaTray.MANUAL);
         PrintService[] services = PrintServiceLookup.lookupPrintServices(null, requestAttributeSet);
         if(services.length > 0){
              DocPrintJob job = services[0].createPrintJob();
              try {
                   job.print(new SimpleDoc(new TestPrint(img), DocFlavor.SERVICE_FORMATTED.PRINTABLE , null), requestAttributeSet);
              } catch (PrintException pe) {
                 pe.getStackTrace();
       class TestPrint implements Printable {
         private Image image;
         public TestPrint(Image image) {
              this.image = image;
         public int print(Graphics graphics, PageFormat pageFormat, int pageIndex) throws PrinterException {
              if(pageIndex > 0) {
                  return Printable.NO_SUCH_PAGE;
              Graphics2D g2d = (Graphics2D) graphics;
              //Set us to the upper left corner
              g2d.translate(pageFormat.getImageableX(), pageFormat.getImageableY());
              AffineTransform at = new AffineTransform();
              g2d.translate(0, 0);               
              //We need to scale the image properly so that it fits on one page.
              double xScale = pageFormat.getImageableWidth() / image.getWidth(null);
              double yScale = pageFormat.getImageableHeight() / image.getHeight(null);
              // Maintain the aspect ratio by taking the min of those 2 factors and using it to scale both dimensions.
              double aspectScale = Math.min(xScale, yScale);
              //g2d.drawRenderedImage(image, at);
              g2d.drawImage(image, at, (ImageObserver) this);
              return Printable.PAGE_EXISTS;               
       public static void main(String[] args) {
         new TestImage().testPrint2();
    }Edited by: oppstp on Aug 3, 2010 10:14 AM
    Edited by: oppstp on Aug 3, 2010 10:18 AM

    Thanks for the reply.
    Now my algorithm which I used is when the height of image is smaller than the height of A4 paper and the width of image
    is larger than the width of A4 paper, I will rotate 90 degree of the image first, then I will scale the image.
    Then I can get the approaching result when the width and height of the image are larger than the width and height of A4 paper.
    But there was an additional error. That is when the width of image is larger than the width of A4 paper and
    the height of image is smaller than the height of A4 paper. (like 17xx * 2xx).
    Although the print result template is approaching the picture/fax viewer. But the print quality is so bad.
    The texts are discontinue. I can see the white blank within the text. (the white line are the zone which printer doesn't print)
    First I thought this problem might be DPI issue. But I don't know how to keep the DPI when rotating ?
    (I dumped the rotate image, it rotates, but didn't keep the DPI value)
    Does anyone know how to solve this strange problem ? Thanks a lot.
    Below is my test code (the initial value of transX & transY and 875 are my experiment result)
    import java.io.*;
    import java.awt.*;
    import java.awt.geom.*;
    import java.awt.image.*;
    import java.awt.print.*;
    import javax.imageio.*;
    import javax.print.*;
    import javax.print.attribute.*;
    import javax.print.attribute.standard.*;
    public class TestCol{ 
       private void testPrint2() throws Exception {
          BufferedImage bSrc = ImageIO.read(new File(A)); // A is png file path
          PrintRequestAttributeSet requestAttributeSet = new HashPrintRequestAttributeSet();
          requestAttributeSet.add(new Copies(1));
          requestAttributeSet.add(MediaSizeName.ISO_A4);
          requestAttributeSet.add(OrientationRequested.PORTRAIT);
          PrintService[] services = PrintServiceLookup.lookupPrintServices(null, requestAttributeSet);
          if (services.length > 0) {
             DocPrintJob job = services[0].createPrintJob();
             try {
                job.print(new SimpleDoc(new TestPrint(bSrc), DocFlavor.SERVICE_FORMATTED.PRINTABLE , null), requestAttributeSet);
             } catch (PrintException pe) {
                pe.getStackTrace();
       class TestPrint implements Printable {
          private BufferedImage image;
          public TestPrint(BufferedImage image) {
             this.image = image;
          public int print(Graphics graphics, PageFormat pageFormat, int pageIndex) throws PrinterException {
             if(pageIndex > 0) {
                return Printable.NO_SUCH_PAGE;
             int transX = 10;
             int transY = 35;
             int imgWidth = image.getWidth();
             int imgHeight = image.getHeight();
             Graphics2D g2d = (Graphics2D) graphics;
             //Set us to the upper left corner
             AffineTransform at = new AffineTransform();
             double xScale = 0.0;
             double yScale = 0.0;
             if((double)imgWidth > pageFormat.getImageableWidth()) {
                if(imgHeight > 785) {         
                   // X:image larger, Y:image larger -> scale all > 1, no rotate
                   xScale = pageFormat.getImageableWidth() / imgWidth;
                   yScale = (double)785 / imgHeight;
                } else {       
                   // X:image larger, Y:image smaller -> rotate right 90 degree than scale X
                   // rotate right 90 degree
                   at.translate(imgHeight/2.0, imgWidth/2.0);
                   at.rotate(Math.toRadians(90.0));
                   at.translate(-0.5*imgWidth, -0.5*imgHeight);
                   //at.preConcatenate(g2d.getTransform()); // if add this line, the result is zoom out many times, and the result is  not one page
                   try {
                      // output rotating image for debug
                      BufferedImage bDest = new BufferedImage(imgHeight, imgWidth, BufferedImage.TYPE_INT_RGB);
                      Graphics2D g = bDest.createGraphics();
                      g.drawRenderedImage(image, at);
                      ImageIO.write(bDest, "PNG", new File(B)); // B is output png file path
                   } catch (Exception ex) {
                       ex.printStackTrace();
                   transX = (int)((pageFormat.getImageableWidth() - imgHeight)/2);         
                   xScale = 1.0;
                   yScale = (double)785 / imgWidth;
             } else {
                if(imgHeight > 785) {       
                   // X:image smaller, Y:image larger -> no rotate, scale Y
                   xScale = 1.0;
                   yScale = (double)785 / imgHeight;
                } else {         
                   // X:image smaller , Y:image smaller -> no scale, no rotate
                   xScale = 1.0;
                   yScale = 1.0;
            g2d.translate(transX, transY);
            g2d.scale(xScale, yScale);
            g2d.drawRenderedImage(image, at);
            return Printable.PAGE_EXISTS;     
       public static void main(String[] args) {
          try {
             new TestCol().testPrint2();
          } catch (Exception ex) {
             ex.printStackTrace();
    }Edited by: oppstp on Aug 4, 2010 10:46 AM

Maybe you are looking for