Same image appears in all rows in jsp read only table :(

ok this is the the problem: let say i have a table IMAGES (ID NUMBER, PIC ORDSYS.ORDIMAGE) and i want to show the table in web with all images... and let say that every row have a different image loaded in db...
if i want to create an UIX page to show the content all i need to do is just to drag and drop the view as readonly table from data control pallet and when i run the app all images are listed...
but in JSP instead of different images listed i got one image in all of the rows... and when i change the row currency (click on next or preview) all images in all rows change to the image of current row.... and i dont want that...
i want to be able to show apropriate image in every row...
image is shown using adf renderer just like here: http://www.oracle.com/technology/sample_code/products/jdev/10g/StreamingMedia.zip
but that sample code have the same problem, atleast on my system... instead of differnet images in differnet rows i see the same image in all rows (image from the current row)
any help?
thank you in advance :)

ok guys i found the solution thanks to steve muench and his "upload text file and image example" on his weblog..
thanks steve :)
insted of:
<adf:render model="bindings.Pic"/>
it should be
<adf:render model="Row.Pic"/>

Similar Messages

  • HT203421 I have recently purchased some apps from the app store and after downloading them, the icon that appears in the dock changes to a different icon. It is now the same icon appearing on all newly downloaded apps.  Does anyone know what is happening

    I have recently purchased some apps from the app store and after downloading them, the icon that appears in the dock changes to a different icon. It is now the same icon appearing on all newly downloaded apps.  Does anyone know what is happening here? Even updating an older game app resulted in the original game icon changing to the new identical icon that all new apps are appearing with.  This new icon is like a page with a ruler, pencil and paintbrush. Any tips on how to stop this or how to revert to the icon as it appears on the app store would be appreciated.

    https://discussions.apple.com/thread/6132949?tstart=0

  • UIX - Changing read-only-table row colors

    Hi
    I have the requirement to alternate the background-row-color in an UIX read-only-table dependent on a value in the row.
    Can anybody point me in the right direction of a solution please?
    I'm familiar enough with the styles in the XSS style sheets, and using EL to dynamically change attributes of a UIX web page when rendered. However in the default <table> UIX tag generated by JDeveloper when dragging a data control onto a UIX web page, there doesn't appear to be a <row> tag for changing the background colour?
    Any help appreciated
    I'm using JDeveloper 9.0.5.2.
    Cheers,
    CM.

    I don't know if this works in JDeveloper 9.0.5.2, but there's a solution at least for JDevloper 10.1.2. You have to define a different styleClass (a CSS) for each column, depending on a condition. This solutions works as well together with row banding:
    <column>
      <columnHeader>
        <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.MyView,'Seats')}" text="Seats"/>
      </columnHeader>
      <contents>
        <rowLayout width="100%" styleClass="${ui:cond(uix.current.IsLocked == 'J', 'OraTableCellLocked', '')}">
          <contents>
            <cellFormat>
              <contents>
                <textInput model="${ui:defaulting(uix.current.Seats, ' ')}" columns="10" readOnly="true"/>
              </contents>
            </cellFormat>
          </contents>
        </rowLayout>
      </contents>
    </column>The styleClass "OraTableCellLocked" has to be defined in the file "base-desktop.xss". An example ("Locked" cells are displayed with a red background):
       <style selector=".OraTableCellLocked">
        <includeStyle name="TableCellDataText"/>
        <includeStyle name="TableCellDataVerticalAlign"/>
        <!--<includeStyle name="TableCellDataBackgroundColor"/>-->
        <includeStyle name="TableCellDataBorderColor"/>
        <property name="background-color">#FFA4A4</property>
      </style>Hope this helps, although the original is very old.
    Regards,
    Georg

  • Sorting a newly-added row within an ADF Read-Only Table

    I'm having a bit of trouble with a situation where I'm adding a new row to the data set behind an ADF Read-Only Table (I'm using 10g), but the new row is popping to the top rather than sorting in according to the sort order. I know this is the default behavior, and I was looking at section 23.4.4 in the Developer's Guide (http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/web_tables_forms.htm#insertedID4 - which is actually for 11g), which advises programmatically queuing a SortEvent after the commit, and implementing a handler to execute the sort.
    The problem I'm having, though, is that my commit and the table I need to refresh are on different pages. I've tried adding a CoreTable binding (masterDetail1) for the table to the backing bean for the add page and doing this in the saveButton_action() method:
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding =
    bindings.getOperationBinding("Commit");
    Object result = operationBinding.execute();
    ArrayList<SortCriterion> masterDetail1SortCriteria = new ArrayList<SortCriterion>();
    SortCriterion discAsc = new SortCriterion("Disc", true);
    SortCriterion trkAsc = new SortCriterion("Trk", true);
    masterDetail1SortCriteria.add(discAsc);
    masterDetail1SortCriteria.add(trkAsc);
    masterDetail1.setSortCriteria(masterDetail1SortCriteria);
    ...but I get a NullPointerException as soon as I try to refer to masterDetail1. I've also tried creating a SortEvent but I'm not sure how to actually queue it or if that'll even work if I don't have a usable reference to the table.
    Any thoughts on how I can do this or on a better way to refresh the table so that the newly-added item falls into the existing sort?
    Edited by: gdmitchell on Jul 19, 2010 2:40 PM
    Edited by: gdmitchell on Jul 19, 2010 2:41 PM

    Hi,
    you cannot reference a table that is located on a different page from a managed bean of another page and expect its JSF binding to be non-null. As soon as a page is moving out of focus, its server side component tree is cleared and the managed bean (if its in request scope) dismissed
    Frank

  • Offline media image appears in all my transitions

    Help!! I have an that appears in all my transitions and effects, how do i get rid of it.

    Yes thank you. Every time i add a transition e.i page peel, instead of peeling to next clip i get an image that is offline, after the effect ends the next clip begins.

  • HOW TO SELECT ALL ROWS IN A MULTI SELECT TABLE!!!!!

    Hello
    I have a table with tableSelectMany component. how can I set the page to initially select all rows when first opened?????

    efffffttttttt? are you saying you will do an electronic funds funds funds funds funds transfer transfer transfer transfer transfer transfer to anyone who answers?
    What version of JDeveloper are you using - that is quite important in order to be able to give you an answer.
    What also might be useful is "please" and "thank you" instead of SHOUTING IN ALL CAPS THAT YOUR QUESTION IS IMPORTANT. Realizing that you asked this question over a weekend when most people dont sit and read the forum...
    You have a habit of saying all your questions are URGENT!!!!!! which is generally considered, um...., impolite.

  • Should the Edit in Browser link appear when Office Web Apps is read only?

    Hi,
    We have deployed an Office Web Apps farm in read only mode for licensing reasons.
    There is a binding between SharePoint 2013 and the Office Web Apps farm, everything is working well, except the option to Edit Office documents using Office Web Apps is quite prominent on the ECB menus and document previews.
    Is anyone able to advise whether this is expected behaviour? When the link is clicked a friendly error message states that licensing doesn't support editing, which is correct. I'm just trying to see if the user experience can be improved by a setting that
    we've missed somewhere along the line.
    Thanks in advance.

    Hi,
    Per my knowledge, if you have configured Office Web Apps for SharePoint, the Edit in Browser option will appear in the ECB menu regardless of the licensing of the Office Web Apps.
    So I recommend to use CSS code to hide the Edit in Browser option if you do not want the user to use it.
    Edit the page of the document library view page, and then add a Content Editor web part to the page.
    After that add the code below to the Content Editor web part:
    <style>
    a[Title="Edit in Browser"]{
    display:none !important;
    </style>
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Sapscript Issue . Same line appears in all the line

    Hi All ,
    By using the logic below , i am able to find the 4 diffrenet line item in my window .
    Now i am getting the same line in all the lines in sapscript.
    Pls suggest , how to avoid this .
    In  my final table it_excdtl , all diffrent line item are shown ( shown while debugging )
    Thanks & Regards
    Kiro
    below is the code
    CLEAR WA_EXCDTL .
    Loop at it_excdtl INTO WA_EXCDTL.
    IF WA_excdtl-menge NE 0.
    wa_excdtl_amt_unit = ( WA_excdtl-exbed / WA_excdtl-menge ).
    WA_EXCDTL_ED_UNIT = ( WA_excdtl-ecs / WA_excdtl-menge ).
    WA_EXCDTL_CVD_UNIT = ( WA_excdtl-exaed / WA_excdtl-menge ).
    modify it_excdtl from wa_excdtl.
    ENDIF.
    PERFORM write_form2.
    FORM write_form2 .
    loop at it_excdtl.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    element = 'EMAIN2'
    function = 'APPEND'
    function = 'SET'
    type = 'BODY'
    window = 'MAIN2'
    IMPORTING
    PENDING_LINES =
    EXCEPTIONS
    element = 1
    function = 2
    type = 3
    unopened = 4
    unstarted = 5
    window = 6
    bad_pageformat_for_print = 7
    spool_error = 8
    OTHERS = 9
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDLOOP.
    ENDFORM. " WRITE_FORM2

    ok guys i found the solution thanks to steve muench and his "upload text file and image example" on his weblog..
    thanks steve :)
    insted of:
    <adf:render model="bindings.Pic"/>
    it should be
    <adf:render model="Row.Pic"/>

  • Newly created images will not display in Firefox 8 for Mac. Same images appear in other browsers. Why?

    1. Specific new images are uploaded but will not display in Firefox 8 on my Mac with OS 10.6.8. (Does appear in other browsers, e.g., Chrome and Opera, and appears on Firefox 8 for PC.) Also, other images on the page display.
    2. I have cleared cache, cookies, etc., in Recent History, and restarted both application and computer.
    3. I've tried creating GIF, JPG and PNG, but none show on the page in Firefox on my Mac. I can see the offending image in other browsers such as Chrome on the same computer, and on Firefox on PC. Offending pages are in both PHP and HTML: http://www.brookfieldcivic.org/advertisers.php and http://www.brookfieldcivic.org/advertising_freedom_montessori.html
    Image links: http://www.brookfieldcivic.org/images/advertisers/freedom.png and http://www.brookfieldcivic.org/images/advertisers/Freedom_Montessori_bizcard.jpg

    You can use these steps to check if images are blocked:
    *Open the web page that has the images missing in a browser tab.
    *Click the website favicon ([[Site Identity Button]]) on the left end of the location bar.
    *Click the "More Information" button to open the "Page Info" window with the Security tab selected (also accessible via "Tools > Page Info").
    *Go to the <i>Media</i> tab of the "Tools > Page Info" window.
    *Select the first image link and scroll down through the list with the Down arrow key.
    *If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.

  • Dynamic Table -  same data repeating in all rows

    Hi Satya,
          I am creating the PDF form using WebDynpro java application, and the form should be stored in local disk. The user should be able to fill and save the data in the table at any time.
    Note : The table used in PDF form is a dynamic table, an empty row will be added, when ADD button is clicked, the row will be deleted when DELETE button is clicked.
    The javascript code udes are,
    For adding a row,
    xfa.form.PDFDataSource.Subform1.Table1.Row1.instanceManager.addInstance(1);
    For deleting a row,
    Subform1.Table1.Row1.instanceManager.removeInstance(this.parent.index);
    I have done the data binding to the fields of the table. I am able to save the data in local disk.
    The problem is, when I click ADD button, a new row is created but with the same data in previous row. even if I create 10 rows, all have same data. If I try to change any data any where in the table, it reflects in all the rows.
    Can you give me a solution?
    Regards,
    Prabhakar.

    Thanks. Actually yesterday night I could not do the thorough testing so just waiting for your confirmation.
    Actually if you open my PDF in Adobe Life Cycle Designer and check the data binding you will get the answer.
    Special care should be taken in designing the context for table attribute.
    The attribute type singletone also plays a important role. I have this doubt from the beginning when you have reported this problem for the first time but finally you marked it as solved so i thought there might be some other issues but again when you reported that again i did some analysis.
    Now coming to final solution :
    For designing a table in adobe interactive form you have consider following
    You have to design the view context upto three level, I am explaining you the properties
    PDFDataSource (Parent Level1) -  Cardinality 1:1 - Signetone -True - This is assigned to datasource
    TableList (Parent Level2) - Cardinality (1:1) -  Signetone -True
    TableWrapper(Parent Level3) - Cardinality (0:n) -  Signetone -True
    TableData (Parent Level4) - Cardinality (0:1) -  Signetone - false (This is the main point)
    Then under TableData value node, you have to put all your table attributes. 
    This Value Node name can be anything but hierarchy should be same as I have mentioned above.
    Please try out these steps and get back to me if you have any doubt.
    Cheers
    Satya

  • Is there a way to control how a background images appear on all browsers?

    I have created a site that includes a fixed background image so that the only thing that scrolls is the main container that holds all the content. But I don't want it tiled. I want this one image to fill the entire screen behind the container. Is this possible to control from my end (by settings or by sizing the image in a certain way) or is this something that I can't control at all?

    This http://www.onextrapixel.com/2012/03/02/using-css-background-size-responsively/ may help

  • How can I retrieve all row information from a database table.

    I have a jsp file which calls info from columns in a table. My question, is how can I edit it so that it retrieves all the rows?
    I tried using resultset SalesInfo.next() which only retrieves the last row value and resultset SalesInfo.first() which only retrieves the first row value.
    Here is my code
    public ResultSet SalesInfo;
    public void getSalesInfo()
              try
                   Statement stmt = db.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
                   SalesInfo = stmt.executeQuery("SELECT sales_id,cust_id,product_id, quantity from sales;");
                   SalesInfo.first();
                   setCartsales_id (SalesInfo.getString("sales_id"));
                   setCartcust_id (SalesInfo.getString("cust_id"));
                   setCartProduct_id(SalesInfo.getString("product_id"));
                   setCartquantity (SalesInfo.getString("quantity"));
              catch(SQLException e )
                   setCartsales_id(e.toString());
                   e.printStackTrace();
    Also I apologise for not having the proper code format as I had a problem with my keyboard.

         public class SalesDB{
        public static synchronized Vector getSalesDetail(Connection connection) throws SQLException{
            String query = "SELECT * from Sales;"
           Statement statement = connection.createStatement();
            ResultSet results = statement.executeQuery(query);
            Vector sale_details = new Vector();
            while(results.next() == true){
         SaleInfo saleInfo = new    SaleInfo(results.getString("sales_id"),results.getDouble("cust_id"),results.getString("product_id"));
                sale_details.add(saleInfo);
            results.close();
            statement.close();
            return sale_details;
    }

  • Selecting all rows currently visible in the table

    Hi ,
        we need to add the "Select all" functionality for the a table used in one of the screens. The examples I have found for this would select all the elements of the node bound to the table. However, we need to select only those elements which are presently visible on the screen, which would change if the user presses the previous or next button.
    Please guide me on how it can be possibly done .
    Edited by: Dhruwat Bhagat on Dec 28, 2007 11:45 AM

    Hi Dhruawat,
                        Modify the example functionality SelectAll like this:
    Create visRow context attribute of type int. Bind this to firstVisibleRow property of table.
    Check visibleRowCount value (default is 5)
    //for loop on the table node
    for(int i=visRow ;i<(visRow + visibleRowCount value );i++)
    select the element;
    // end of for loop
    regards,
    Siva

  • All valid disks are read-only after installing UJ-835 firmware update

    Hello everyone,
    I've just installed the firmware update for my SuperDrive. When I insert a DVD that is blank and writeable, my PowerBook does not ask me to prepare for a Burn as it used to.
    When viewing in Disk Utility, the DVD is marked as non-writeable. In an iMac, the Finder will ask if I want to prepare for a burn when I insert the same blank DVD.
    I tried other disks of other brands, yet the same problem. The disks are fine on the other Macintosh. The disks should be blank.
    What can I do? How do I back out the firmware update?
    Thanks in advance!!
    Lyndsey
    PowerBook G4 12"   Mac OS X (10.4.6)  

    Originally, I was trying to burn with Maxell DVD+R disc. I have since tried Verbatim DVD-R and Kodak DVD-R. All DVDs do not appear in the finder, I cannot use my SuperDrive to back up to DVD! When I insert the DVD, the SuperDrive spins up, then down and then nothing happens.
    I am able to back up limited bits onto CDs, they seem to work ok.
    Anyone have any advice? How do I pull the firmware update out? Will a System Restore do the trick?
    PowerBook G4 12"   Mac OS X (10.4.6)  

  • How to make dock appear in all monitors, and keep new windows to same monit

    I've got an unusual setup: two screens at my desk, and another one in front of a recliner nearby so that it is not physically adjacent to the other two. This means that when the cursor moves off the side of two of the monitors and goes to the third one, I can't see it. I don't want to mirror all the displays because half the time I use the two adjacent ones from the desk, and sometimes I just want to use the one separate one. Can someone tell me if it's possible to
    1) make the same dock appear in all monitors? I want access to the dock no matter which monitor I'm looking at. Is there a utility or hack that will give me a dock in each screen?
    2) any way to have apps open and create new windows in whatever monitor I'm currently working? it's very annoying that sometimes I run a app and it throws up a window in the monitor I'm not looking at. Any way to keep it to the set of two or to the 3rd one, depending on which I'm using at the time?
    thank you!
    Mike

    Hi Mike, Might have a look at the bottom of this page for Dock-It 2.6.1 for Mac OS X 10.5.x and earlier...
    http://www.macupdate.com/info.php/id/8288/dock-it
    As far as the other problems, I'd try Mirroring #1 & #3.
    Move Off-Screen Windows to the Main Screen...
    http://zach.in.tu-clausthal.de/software/
    http://www.macosxhints.com/article.php?story=2007102012424539
    http://www.jonathanlaliberte.com/2007/10/19/move-all-windows-to-your-main-screen /

Maybe you are looking for

  • Add 90 days to a date field.

    Hi All, I have a form page in which i have a field called date. The requirment is like this whenever i come to this form page the date field should 1st check the sysdate and add 13 weeks or 90 days to it and display it there. It should be like this w

  • Question for SQL execution plan, strange..

    HI, all We meet a strange problem for a execution plan. First, we have a StoreProc, it runs around less than 20 secs. One day, it runs more than 5 mins (Execution plan 1). I checked all the index (fragmentation is low and Scan density is high), and r

  • Import schemas using data pump

    Hi I have taken full schema export dump using exp .. (expdp username/password directory=dump dumpfile=scott.dmp schams=scott) When i try to import this dump into another schema , i am getting the error user scott doesn't exist.. How to over come this

  • Apple TV loosing Signal with TV

    After about a year of using Apple TV all of a sudden it started cutting out.  The picture then comes back and cuts out again and so on.   Tried upgrading, didn't fix it.  So can an Apple TV device break?  Was working and now, not so much !!!

  • Unable to hide Refresh link in "No Result" view in BISE1 10.1.3.2.1 version

    Hi experts, I am using Business Intelligence Standard Edition One 10.1.3.2.1 version. I am unable to hide the Refresh link in No Result view, I have checked all the blogs and forums related to this problem. They have asked to use the following script