Display image in detail groups in jheadstart 11.1.1.3.35

Hi, I've been trying to make a project that should display one picture in one of the detail groups. but when i generate the jheadstart definition editor and run the project, it shows an empty box for the image (image is not loaded).
I've seen the source code and every thing seems right and when i use that detail group as a master group the image display just fine.
is jheadstart 11g have a problem for displaying image in detail groups? because I've heard this option works in 10g pretty fine.
please help me how i can fix this problem and i have to say my project deadline is coming :(

We are not aware of such a problem.
To really check whether it is related to a detail group, can you temporarily make the detail group a top-level group, generate and run your application to see whether the problem goes away?
Make sure you first uncheck the Same Page checkbox before you drag and drop the detail group to become a top group.
There is a known ADF issue that when you upload a new image, the new image is only shown when you restart the session.
Steven Davelaar,
JHeadstart Team.

Similar Messages

  • Displaying image in ABAP report "Urgent"

    Hi Everyone
    My requirement is as follows...
    On Material Master there is an image stored in document management system.
    In a report we need to display the material details plus the image from DMS system.
    I heard that there is some function module in this area.
    Can anyone pls help how can i achieve this....
    Kindly help as soon as possible.
    Thanks
    Regards
    Naveen

    Hi Naveen,
    Hope the report is ALV..
    Re: How do I insert a logo in ALV using Function Modules?
    http://www.sapdevelopment.co.uk/reporting/alv/alvgrid.htm
    Steps for uploading Logo :-:
    1. Goto the transaction OAER
    2. Enter the class name as 'PICTURES'
    3. Enter the class type as 'OT'
    4. Enter the object key as the name of the logo you wish to give
    5. Execute
    6. Then in the new screen select Standard doc. types in bottom window
    Click on the Screen icon
    Now, it will ask for the file path where you have to upload the logo
    7. Now you can use this logo in REUSE_ALV_COMMENTARY_WRITE
    Here you go !!
    *& Form TOP_OF_PAGE
    text
    FORM F_TOP_OF_PAGE.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
    IT_LIST_COMMENTARY = IT_LISTHEADER
    i_logo = Logo name
    I_END_OF_LIST_GRID =.
    ENDFORM. "TOP_OF_PAGE
    <b>Reward points if this helps.
    Manish</b>

  • Problem with "Uncommited changes" when viewing certain rows in detail group

    Hi Guys,
    When I try to view an row in a detail group I get a popup box saying that there's uncommitted changes. This will happen even when there's no changes in the master group. It will also happen for all rows in the detail group except for the first row listed.
    e.g.:
    Master Group is department
    Detail group is employees
    The detail group will display:
    Employee 1
    Employee 2
    Employee 3...
    If I select to view the details for employee 1 it will go to the form view without any problems, if I select any other row (2,3,4..) I get a popup box warning that there's uncommitted changes on the current page.
    If I go into the form view of employee 3 (confirming that there's uncommitted changes on the current page as I do) and then use the breadcrumbs to go back to the department screen then Employee 3 is the only detail group row I can go into without getting the uncommitted changes popup.
    How is it possible that different rows in a detail group can cause this popup to happen?
    I am using JDev 10.1.3.2
    and the pages where generated by JHS 10.1.2.26
    Is it possible that when the radio button that is used to select a detail group is changed that this is showing up as an uncommitted change in the javascript?
    I need a fix for this urgently so a fast response would be greatly appreciated
    Bar

    Im using a custom method to stack the detail groups and Im missing the line that adds the radio button to the ignore list:
    #if (${JHS.service.generateJavaScript})
    <afh:script text="addToIgnoreChangedFields(['${group.name}:${group.name}Table:selected']);" id="${group.shortName}IgnoreChangedFields"/>
    #end
    is there a certain place to add this in the template?

  • Display image in view

    Hi,
    My requirement is to create a  web dynpro application where the first view contains all images stored in ECC along with one button (Display image). When the user clicks on the button Display image then another view should display the image on the screen.
    I have created View1 with a table,which display the details of the table STXBITMAPs in it,when i select a row and press a button second view is displayed with a UI conatiner of type IMAGE.
    Basiccaly when button on view1 is pressed, I get the value of the TDNAME field via lead_selection method and set this value to a global attribute, whch inturn is copied into second view and bonded to the SOURCE attribute of the UI element.
    My problem is , that global attribute is being updated probley and value have been passed to second view..but Image is not being displayed on the screen.
    Can anyone help me out in this.
    Thanks in advance.
    Pooja

    You don't necessarily have to move your images from STXBITMAPS to the MIME repository.  You can display any image - not just those in the MIME repository, by placing the content in the ICM Cache.  This creates a temporary URL for any content.  So you just need to read the binary content of the image from STXBITMAPS into a XSTRING variable.  From there you can use this code sample to put the content in the cache and generate a URL:
    ****Create the cached response object that we will insert our content into
      data: cached_response type ref to if_http_response.
      create object cached_response
        type
          cl_http_response
        exporting
          add_c_msg        = 1.
    *  cached_response->set_compression( options = cached_response->IF_HTTP_ENTITY~CO_COMPRESS_IN_ALL_CASES ).
    try. " ignore, if compression can not be switched on
          call method cached_response->set_compression
            exporting
              options = cached_response->co_compress_based_on_mime_type
            exceptions
              others  = 1.
        catch cx_root.
      endtry.
    ****set the data and the headers
      data: l_app_type type string.
      data: l_xstring type xstring.
          cached_response->set_data( me->gx_content ).
          l_app_type = 'image/x-ms-bmp'.
      cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                         value = l_app_type ).
    ****Set the Response Status
      cached_response->set_status( code = 200 reason = 'OK' ).
    ****Set the Cache Timeout - 60 seconds - we only need this in the cache
    ****long enough to build the page and allow the IFrame on the Client to request it.
      cached_response->server_cache_expire_rel( expires_rel = i_cache_timeout ).
    ****Create a unique URL for the object
      data: guid type guid_32.
      call function 'GUID_CREATE'
        importing
          ev_guid_32 = guid.
      concatenate i_path '/' guid '.' i_format into r_url.
    ****Cache the URL
      cl_http_server=>server_cache_upload( url      = r_url
                                           response = cached_response ).

  • Display Image in Power View and Power BI

    Hi all,
    I need to create a report in power view where i need to display images in tile. I have found one solution to do so, to store the images as a binary data in data model table using the following link
    http://www.sharepointanalysthq.com/2014/09/adding-data-bound-images-to-power-view-with-power-query/comment-page-1/#comment-87049
    I tried this but still not able to show the images.
    Please anyone can help me with solution in detail.
    Thanks,
    Piyush Jain

    Hi Piyush,
    are you storing your Data in an Excel Power Pivot model?
    Make sure to follow step marking the column containing the Pictures as Data Type Binary.
    Are you using jpeg or another picture format?
    Best,
    Mark

  • Displaying image from database in report

    I need to include a picture (company logo) in numerous reports. This logo will be stored in an MS SQL Image field in a table (this bit I have already sorted out).
    What I'm wondering is, what is the best way to retrieve this image from the database? Do I just include it in the view the report runs off? I'm hesitant to do this, as the view may return back hundreds of records, which means (I think) it will be sending the image along with it hundreds in time.
    In short:
    1) What is the best way to pass an image to a report.
    2) If I include the Image field in a view which returns back hundreds of line, will the image be returned also hundreds of time, causing network congestion/performance issues?
    3) If so (2), is there a way of sending the image only once, no matter how many rows are in the returned view?
    Thanks.

    Hi Shanon,
    We can display the image by making it a local copy on your machine.
    If it is possible to  get the image saved on local copy.
    If we place the image in detail section then it would return one record.
    As the image is from Database, so it would hit the database very time when you refresh the report and place it in Report Header or report fotter.
    So, place your logo as an OLE object in report and would reduce processing time.
    Regards,
    Naveen.

  • Detail Group Problem

    Hello All,
    I have a DB that uses intermediate tables a lot. An intermediate table is one that breaks up a many-to-many relationship between two tables; by putting a table between them that uses the primary keys from both tables.
    E.g. EMPLOYEE and PROJECT tables: Many Employees work on One Project; or One Employee works on Many Projects.
    Here's the JHeadstart problem (9.0.4, Struts/UIX): Using the XML Application Editor, I created a Group called EMPLOYEE (select-form) and added some Lookups to it. I then added a Detail Group called EMPLOYEE_PROJECT and set it up as a table on a separate page. The application compiles without errors, but when I bring up the application and click on the "Employee-Project" tab, I receive the following error:
    JBO-27122: SQL Error. "Select EMPPROJ.empid, EMPPROJ.projid, FROM EMPLOYEE_PROJECT empproj WHERE (EMPPROJ.empid =: 1) ORDER BY EMPPROJ.empid, EMPPROJ.projid"
    The error comes from the WHERE clause, specifically the "=:1" part. SQL Worksheet calls the error a bad bind variable when I run the query in it. What's funny, is that the Master Detail page had Employee Number 5 up; so the query should have had the employee ID of 5, not 1. No matter which employee I bring up on the master view, I still get the same WHERE clause with the "=:1" error.
    I tried adding other intermediate tables to the Master Employee detail group and get the same results.
    Anyone see this before?
    I suspect there's a JHeadstart setting somewhere related to the Master Detail, but I'm stumpred as to what it is.
    Any thoughts or opinions would be appreciated.

    Tracy-Paul,
    Are you using JDeveloper 9.0.3.3 or 9.0.3.4?
    If so, you are probably running into BC4J bug 3214032. In the JHeadstart 9.0.4.5 release notes the following info is included:
    3214032: JBO-27122: SQL error during statement preparation and ORA-1722 INVALID NUMBER IF PARENT VO ROW IN VIEW LINK REORDERS ATTRS. This bug can occur if you are using the BC4J libraries of JDeveloper 9.0.3.3 or 9.0.4.0 (or 9.0.5 Preview) and in one of your View Objects the Primary Key attribute(s) have a different index number than the Primary Key attribute(s) in the corresponding Entity Object. For example: in the Entity Object the primary key is the first attribute, but in the View Object the primary key is the last attribute. If this occurs, a workaround is to change the order of the View Object attributes.
    So, you can try to reorder your attributes, or to use the BC4J libraries of JDeveloper 9.0.3.2.
    We have been in close contact with BC4J product development about this bug, and they promised to publish a one-off patch for this bug on metalink as soon as possible. So keep your eye on metalink, you can also read the bug report there.
    Steven Davelaar,
    JHeadstart Team.

  • How to display images in forms

    What are the steps to display images (say logo) in forms when running on web ?
    null

    Further check the following.
    There should be a temp directory(ex /webtemp/ declared in your application server. This directory is used to store the images temporarily.
    Please read the documentation titled "Configuring the Oracle Developer Server" for further details.
    null

  • Displaying image in Dashabord and Answers

    I have already put the image to the following folders:
    C:\OracleBI\web\app\res\s_oracle10\images
    And
    C:\OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10
    The presentation service was restarted.
    The report refers to the image as : fmap:images/your_namename.gif
    The dash refers to the image as : fmap:impages/your_gif.gif
    However the image is not displayed (only a red cross is available in the) in the report /dashboard.
    can anyone please help.. thanks!

    Hi check the below link, i have updated the step in detail
    Re: Add new image in Conditional Column Format
    Contents:
    Try the two solution for this, go to
    *1. This will use to call the images using fmap keyword*
    <directory>:\OracleBI\web\app\res\s_oracle10\images
    And
    <directory>:\OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\images
    folder copy your images (gif/jpg) in both the folders (images must be copied in both folders with same name).
    Restart the ocj4_admin and BI presentation services.
    You can refer the image by giving the following format fmap:images/youimagename.gif
    *2. This will use to display images in the images browser*
    <directory>:\OracleBI\web\app\res\s_oracle10\meters
    And
    <directory>:\OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\meters
    Step i) Create a folder in the above two path with same name (i have taken MyImages)
    Step ii) Copy your images in one subfolder like below (i have created a subfolder called setA)
    <directory>:\OracleBI\web\app\res\s_oracle10\meters\MyImages\setA
    And
    <directory>:\OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\meters\MyImages\setA
    Step iii) Leave one image in the MyImages folder with the name of index.gif. This will show in the left side legend of the image browser.
    Now restart your oc4j_admin and bi presentation services.....
    h1. Note:_
    Must clear the browser cache and temprory internet files. Sometimes the changes are not get reflected even the services are restarted.
    Hope this helps, let me know if you need more

  • Displaying image in report

    I'm new to CF Report Builder and having trouble determining
    how to get a dynamic image to display in the detail band. The query
    for the report correctly returns the image file name, but the
    following expression doesn't display the image although the path is
    correct.
    IIf(query.image NEQ "", DE("../images/smProds/" &
    query.image), DE("None"))
    When I run the report, I get just .. in the space where the
    image should display if one is available and the text "None" if the
    field is empty. I found a tutorial on Report Builder that suggested
    using similar code, but it didn't provide an actual example. Using
    their code produced the same lack of results.
    I've tried various versions of this with no success yet. Am I
    missing something about how to include an image in the report? A
    static image in the report uses the same basic path information. Of
    course that image name and path aren't being generated from an
    expression, it is just an inserted image and it shows up in the
    header and footer bands as expected.
    Thanks for any guidance.

    Thanks for the response. Sadly yes, the path is correct. I've
    tried both the relative path and the full path (e.g.
    ../images/theimage.jpg and
    http://mysite.com/images/theimage.jpg)
    . Putting either address into a browser will return the correct
    image if I'm in the right location.
    So, I can get this expression: IIf(query.image NEQ "",
    DE("../images/smProds/" & query.image), DE("None")) to display
    the correct path, but what I really need is the image located at
    that spot to display in the report. What is happening is that
    report builder is returning the string, but not the image. When I
    looked at the tutorial it implied that the image would be displayed
    rather than the string.
    Is there something in report builder that determines whether
    the actual image is displayed? A property setting that I'm missing?
    Or maybe the expression iteself is wrong i.e. it is doing exactly
    what it should (display the string) and a different expression
    format is required to get the image iteself. For example, flagging
    some text as a hyperlink to the image? Not sure how you would pass
    the image name value in that case.
    Appreciate your suggestions.

  • Report to display proces order details

    Hi Frnds,
      I need to create a report for displaying process order details like process order,  Line (Resource), material, product group,batch and Order movement data (movement type,qty ). I tried to get Item level materials from AFPO..but it contains only header level material.
    Now my question is that in which table can i get order movement data for all header and item level materials.
    I will wait for ur reply..
    Thanks in advace..
    Rgds
    ravindra

    Try with 0PUR_C01 and 0PUR_C03
    Jayasudha

  • JDeveloper 11g Using jsp to display images

    I am converting a 10.1.3.3 application to 11.1.1.3
    It has 2 web modules. One is an ADF administrator module and the other is a public web that displays information including images stored as blobs.
    This public module has a simple technology scope, only html, java, jsp and servlets. It is a hand me down from a few technologies ago and ran well on 10.1.3.3
    To display images it uses a jsp acting as a servlet which is referenced inside other jsps. Since moving to 11g the images no longer display. If I use a java class servlet it works
    however I have to use the full url, e.g. http://mydomain:myport/web/Sevlet?.... which means I have to update the details for each deployment.
    I can use <h:graphicImage but this means I have to include JSF and use expression language to fill in the servlet parameters.
    I don't know what has changed to cause it to fail. Weblogic?
    The Libraries and Classpath include
    JSP Runtime
    Servlet Runtime
    JSTL 1.2
    The servlet jsp is as follows remembering it works in 10.1.3.3
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ page import="javax.naming.Context" %>
    <%@ page import="java.io.*" %>
    <%@ page import="userinterface.util.ByteArray" %>
    <%@ page import="userinterface.online.ImageUIHelper" %>
    <%@ page import="userinterface.online.ImageUIHelperValue" %>
    <%
         String dataObjectId = "";
         String regionId = "";
         boolean getObjectImage=false;
         boolean getRegionImage=false;
         // determine which type of image to retrieve
         if (request.getParameter("dataObjectId") != null)
              dataObjectId = request.getParameter("dataObjectId").toString();
              getObjectImage=true;
         } else if (request.getParameter("regionId") != null)
              regionId = request.getParameter("regionId").toString();
              getRegionImage=true;
         if (getObjectImage==true || getRegionImage == true)
              try
                   ImageUIHelper imageHelper = new ImageUIHelper();
                   ImageUIHelperValue vo = null;
                   if (getObjectImage)
                        vo = imageHelper.doReadObjectImage(new Integer(dataObjectId));
                   } else if (getRegionImage)
                        vo = imageHelper.doReadRegionImage(new Integer(regionId));
                   if (vo != null && vo.getImage() != null)
                        // determine the mimetype
                        String mimeType="image/png";
                        if (vo.getFilename().toLowerCase().endsWith(".gif"))
                             mimeType = "image/gif";
                        else if (vo.getFilename().toLowerCase().endsWith(".jpg"))
                             mimeType = "image/jpg; charset=windows-1252";
                        else if (vo.getFilename().toLowerCase().endsWith(".png"))
                             mimeType = "image/png";
                        else if (vo.getFilename().toLowerCase().endsWith(".bmp"))
                             mimeType = "image/bmp";
                        response.setContentType(mimeType);
                        response.setHeader("pragma", "no-cache");
                        ServletOutputStream os = response.getOutputStream();
    os.write(vo.getImage().getBytes());
                        os.flush();
                        os.close();
              } catch (Exception ex)
    A simple test harness follows. The actual pages substitute the java values using <%= uri %> as below
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%
    String uri = "http://localhost:7101/publicweb/img/ImageServlet?imageType=dataObject&dataObjectId=822";
    String uri2 = "ImageServlet.jsp?dataObjectId=822";
    String uri3 = "ImageServlet.jsp?dataObjectId=694";
    %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    <title>testServlet</title>
    </head>
    <body>
    <table cellspacing="2" cellpadding="3" border="1" width="100%">
    <tr>
    <td width="20%">Checking Servlet</td>
    <td width="80%"><img src=<%= uri %>
    id="imge"
    width="400px" alt="Image" />
    </td>
    </tr>
    </table>
    </body>
    </html>

    i responded to your duplicate message 4 days ago:
    is it possible to insert and retrieve images from sql server using actionscript.
    you'll need server-side script to query your database and you can use the flash urlloader class to call your script.
    also  is it possible to create a flash scrolling gallery based on images  stored in a database and everytime an image is added it is displayed in  the gallery.
    load the data using the urlloader class and  then load the images.  periodically query the database for new images if  there's no direct way for flash to know a new image was added.

  • Problem in displaying images

    Dear JSP/Servlet experts,
    I have problem in displaying images on a JSP page. I stored all the images names in a database and
    try to retrieve them based on the user selection. When the JSP page is load for the first time the
    following error occur but the images are displayed correctly:
    2002-08-07 04:40:15 - Ctx( /simple ): IOException in: R( /simple + /images/cover150.jpg + null) Connection aborted by peer: socket write error
    2002-08-07 04:40:15 - Ctx( /simple ): IOException in: R( /simple + /images/cover154.jpg + null) Connection aborted by peer: socket write error
    2002-08-07 04:40:15 - Ctx( /simple ): IOException in: R( /simple + /images/cover152.jpg + null) Connection aborted by peer: socket write error
    2002-08-07 04:40:15 - Ctx( /simple ): IOException in: R( /simple + /images/cover151.jpg + null) Connection aborted by peer: socket write error
    2002-08-07 04:40:15 - Ctx( /simple ): IOException in: R( /simple + /images/cover156.jpg + null) Connection aborted by peer: socket write error
    Here is the code to display the images(the getCover() method will return cover150.jpg, cover151.jpg.... )
    and the images are stored in /simple/images folder
    <td><a href="<img src="/simple/images/<%= b.getCover() %>" alt="details"></td>

    try this
    <img src=/simple/images/<%=b.getCover() %>
    vasanth

  • How to display image in database using html or php

    i've try already to work this thing but i can't do it. anyone that can help me or give me any example or reference to resolve my problem to retrieve or display image(blob) from database. hope that all of you help me

    Using JHeadstart, you can display a BLOB column from the database in HTML, by way of ADF. Check out the JHeadstart Tutorial at http://www.oracle.com/technology/products/jdev/tips/muench/jhstutorial/index.html to get started, then do the same for your own database tables that include the BLOB column. JHeadstart will take care of rendering it as a file upload or image, depending on the display type you set at the attribute level.
    Hope this helps,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • How to adjust location of Details Group in NewsDisplayCollectionRenderer?

    I am customize NewsBrowser layout for the news display.
    I tries to move the Detail Command Group (i.e. Send To   Details   Give Feedback) to the "bottom left" of the news, since I configured the NewsDisplayCollectionRenderer (the default Collection Renderer for NewsBrowser) to 3 rows and 2 columns. Which parameter I should change to move the Detail Group location? as I know it is not part of the xml resource renderer can do.
    Do I need to import the layout java class (right now is SimpleLayout) to change that?
    My another question is where is the location of all the Java Classes that implements the Renderer?
    Thanks for advice.
    Kent

    Hi Kent,
    let's start with the second question:
    Configuration - Content Management - User Interface - Mapping - Collection Renderer (or Resource Renderer or Layout Controller or whatever you like).
    If you want the implementation class of the SimpleLayoutController, this is for example com.sapportals.wcm.rendering.layout.cm.SimpleLayoutController. Use any nice search tool like WinRAR or within NWDS/Eclipse ClassLocator to find the implementation. In this case it would be under within km.appl.ui.flex.control_core.jar to be found under ...\irj\root\WEB-INF\portal\portalapps\com.sap.km.cm.ui.flex\private\lib
    About the first question, of which I'm unsure if i got it right: You want the commands appear on the left side instead of the right?! For this you'd have in fac to change the resource renderer implementation. See http://help.sap.com/saphelp_erp2004/helpdata/en/04/4c628bdff4f94f9b0934d0d926fa51/frameset.htm for an overview why at least the layout controller is definitely not responsible for that.
    Check com.sapportals.wcm.rendering.resource.cm.XMLResourceRenderer, method render(), Component "action".
    Hope it helps
    Detlev

Maybe you are looking for

  • Logical system change history

    Hi gurus I need to find out WHO changed the logical system in one of our clients, this happened in the past, we changed to the right one this past weekend so its working now. I have checked "SLG1", but i cant find anything but the change we made... A

  • Oracle JDBC Driver to J2EE

    I'm trying to install an Oracle JDBC driver to connect my application with my oracle database server, but I'm having some problems. I downloaded the drive classes from the Oracle website, but now now I need to know how to configure my j2ee server to

  • Slipstream 2.0  functionalities in SAP  NetWeaver 7.3  EHP 1

    Hi Experts, i read about [slipstream 2.0|http://www.youtube.com/watch?v=TOdlYJw7WYc]. I ask one of the developers for a demoversion, but he told me, that SAP will inculde the funcionalities in SAP BPM. Some of it in NetWeaver 7.31 ( but he couldn't c

  • HT4759 Problems with calendar sync.

    I want to sync my calendars between Outlook 2010, iPhone 4, and my iPad.  I am using iCloud for this.  Events sync between iPhone and iPad.  And from Outlook to IPad/iPhone.  But an event entered into iPad/iPhone will not appear in Outlook.  Why?

  • Assign PP/DS Alerts to Users (Alerts Monitor)

    HI Gurus, I have configured Overall Profiles for Alert Determination in the Background using PP/DS alerts. Is there a way i can automaticall assign this alert to other users? Or the users should just assign it to themselves? Thanks in advance! Nap