Data Table with DBDatasource

Hi,
I have a grid with a DT linked to it. I need to add columns to this DT with DBDatasourse is set in each column. So that, using UDO I can save the data to the Line table.
Please add some sample code for this to be done
Thank You

Hi Vibin,
DataTable and DBDataSource are 2 diffferent datasources.
You cannot bind one to the other.
You can, though, bind them to a matrix.
This is how you bind DBDataSource to matrix :
oMtx.Columns.Item(1).DataBind.Bind("UDOTableUID","Column Name")
Or you can bind them directly in screen painter/B1Studio.
Regards
Edy

Similar Messages

  • Join Master Data table with fact table

    Hello gurus.
    I have a requirement on a characteristic. I have to obtain the description of those values that are not filled with data in the cube, the example looks like this:
    Data in the cube:
    Characteristic 1 |  charactersitic 2 |  value
    AU                           HPDV              200
    TB                           OPPG              500
    TC                           HPDV              900
    TR                           OPMR             400
                                   HPDV              300
                                   OPMR             200
                                   OPPG             100
    Master Data Table:
                                Description
    HPDV    AU       Auditoria  
    OPPG    TB       Servicios Logisticos
    HPDV     TC       Occidente
    OPMR    TR       Oriente
    HPDV     AI        Punta Norte
    OPGS    CV       Escandón
    HPDV    QR       Barquisimeto
    HPDV    MM      Valencia
    HPDV    DT        Barcelona
    I need to display in the query only the description of the characterstic whose data is not in the cube, according to the example the values that are missing in the cube are:
    HPDV     AI        Punta Norte
    OPGS    CV       Escandón
    HPDV    QR       Barquisimeto
    HPDV    MM      Valencia
    HPDV    DT        Barcelona
    How can i achive this ?? 
    Thank you in advance.

    Hi Guillermo,
    I think you are trying to achieve this: To display characteristic values for which no transaction data or only low values exist for the selected period.
    See here for the solution details:
    http://help.sap.com/saphelp_nw04/helpdata/en/3a/d1603d13b5c72ee10000000a114084/content.htm
    Hope this helps...

  • Data table with fixed column with

    I have a data table bound to a row set , and I would like the table to have fixed column widths to avoid unpleasant display shifts when paging through it.
    The column component does not have too many properties I can work with (maybe this can be fixed in a future release??). Therefore I tried setting the style property of the output text object inside the column. The result looks good in the IDE, but reverts to variable column widths in the browser. I even tried setting the style property at runtime, with no luck.
    Unfortunately I can't pad the column header with spaces, because output text has the annoying habit of converting any group of more than one blank space character to one char only (by the way, any remedy to that?). Trying to drop a grid or group panel in place of the column header and pad the column title with invisible (i.e. color: white) output texts did not work either...
    Any ideas??
    Thanks,
    Luca

    I took a look at the html encoder for data table and here's a trick you can use:
    Go to your stylesheet (by default resources/stylesheet.css: open the Resources node in the project navigator and double click on stylesheet.css).
    Let's say you want three columns - so add something like the following to the stylesheet:
    .colwidth1 { width: 200px }
    .colwidth2 { width: 400px }
    .colwidth3 { width: 300px }
    Save the stylesheet (ctrl-S).
    Now, back in the designer, right click and select "Refresh" to ensure that the new stylesheet edits are discovered.
    Then go to the designer surface, and select the data table (make sure it's selected, not one of its children like columns or output texts - if so hit Escape to pop to parent, or just click on it directly in the app outline.)
    Go to the "columnClasses" property in the property sheet - and enter "colwidth1, colwidth2, colwidth3". Note - no dots here. If you have more than 3 columns you would obviously add additional columns here.
    The table should now use the desired column widths - including the browser.

  • HTML Data Table with cell-level inline messages?

    Hi all.
    I'm not suprised by this, but I am wondering if anyone has figured out a slick/elegant way around the "problem"
    Basically, the problem I want to solve is:
    how to get corresponding validation error messages to show up in the data table cell that contains the (editiable) ui component representing the "offending" value?
    The naive first approach would be simply to place an inline message component just before or after the corresponding data table column's row value presentation component.
    But obviously, this won't work, primarily because the inline message component id will not be unique (does not pick up the currentRow to make it unique) asd well as due to the issue of binding the inlineMessage component's "for" attribute to the correct row (as well as column).
    So, the naive first approach results in a thrown exception:
    javax.servlet.ServletException: Duplicate component id: 'form1:personDataTable:firstNameValidationInlineMessage'
    Now, I know I could add "virtual" columns to my data table to hold validation errors so that they correspond to the correct row/columns and I know I can bind the rendered attribute, style etc, for corresponding presentation elements, but then I've basically side-stepped the whole faces message functionality built into the JSF framework.
    Also, if I have to use "virtual" columns, then I've complicated life for myself, since I ordinarily want to bind the data table to a list of bean instances (i.e. we are using hibernate persistence) or even a row set (difficulty setting a column value that is not updateable in data source, i.e. corresponds to no table/column and maybe involves dynamically adding "virtual" column to data cache?).
    Now, I know I can place a message list on the page instead (this is currently what I am doing), and I know I can change the application so that I provide a separate *single row" edit page, both of which provide a semi-adequate alternative.
    I like the first alternative (the one I'm using), because in-place editing of data table rows is so much more compact and elegant, both in terms of presentation and coding.
    Using this first alternative, I am currently adding to the validation error messages the currentRow attrubute so that users can see it an trace back to the corresponding row in the data table to correct the data entry.
    However, everyone, users, project drivers and developers (including myself), are grumbling a bit over such a "hackish" approach.
    Any thoughts? Am I missing something obvious?

    Well I'll be damned!
    What's done in the sample app is, of course, the intuitively obvious choice and is exactly what I started out trying to do the first time round.
    But as I mentioned before, when I first tried it (yes: I'm pretty sure I set the "for" attribute on the inlineMessage components), I got the non-unique component id exception for the inlineMessage component(s) after adding the second (but not the first) row to the page.
    Anyway, after dragging my inlineMessages to the exact same position as those in the AppModel example, now things work fine (except I think I'd like a line break before the message and to change the row/column styles so the values and messages line up properly...the look is rather ugly in the AppModel example when there are validation messages displayed).
    Not sure, but I'm thinking maybe there was an issue with where the inline message markup was placed, my first time through, relative to the data table value bound component and the column header facet?
    I was using the application view drag 'n drop feature the first time round and dragged the inlineMessage component to the spot just below the data table value bound component and hence just above the column header facet. In the AppModel example, OTOH, the inline messages are placed just after the column header facet.
    Of course, I will now try to duplicate the original exception.
    If I can (and it is an issue with placement), I will post back some sort of bug report or RFE. Otherwise, I'll post back declaring what a bone head I've been...;-)
    Anyway, thanks for the quick response, v.
    Campbell

  • Master data tables with unwanted records from transaction data upload

    Hi Friends,
      I have a master data table for infoobject 'C' with compounding characteristics 'A' & 'B'.  I upload this master data with values given below:
        <i><u> A,              B,              C,           Short text,                        Long text</u></i>
           <b>  <b>P,          10,           BBB,         Apple,                              Big Apples
             Q,             20 ,           XYZ  ,       Tomatoes    ,                    Red Tomatoes</b></b>
      When I load data into ODS from a source system, I may not necessarily have data for all these 3 fields in these transaction record.  Example:
      <i><u>     A,                B,             C,             D,            E</u></i>    
         <b> P                -1            FFF</b>          20           30            
         <b> Q                10           GGG        </b> 10           40
       The problem is when I upload the above transaction data, it populates the <b>master data table</b> too with these two new records <b>1 -1 FFF</b> and  <b>2 10 GGG</b>, which I would like to avoid.
       Is there any way?
       Will assign full points to anyone who helps me here.
       Thanks,
       JB

    Hi JB,
    If you want to load transactional data and still want to prevent the population of the master data table, I don't think it is possible, as it is goes aginst the data consistency in the warehouse.
    However, if you can afford not to load transactional data for such cases, you can activate referential integrity check for the infoobject C. Then neither transactional data nor masterdata enter the datawarehouse until you maintain masterdata yourself for the infoobject C.
    hope this helps.

  • How to create dynamic data tables with ADF 10g

    Hi,
    Can anyone provide sample code for creating dynamic data table in adf where column & row will be added dynamically according to the data coming from the Array List of data.
    I appreciate your help here.

    I think you've posted to the wrong forum. This one is for WebLogic Portal questions.
    Try the ADF/DVT forum:
    http://myforums.oracle.com/jive3/forum.jspa?forumID=1565

  • Can I write to a collection or data table with Sienna?

    Hello all,
    First of all, it will be painfully obvious that I am not a developer. I have some knowledge an can do that I want when it come to tracking information with Excel but I'd like to dabble in Sienna and see if I can make a simple little app.
    With Sienna, can the Text Input boxes be used to write to a table in an excel file, so I can then apply Fx to the data and display it in the app?
    For example, a user enters in a number in the app. It get's written to a table, then an fx is applied ( such as  simply subtracting 10 from the inputted value) and the result is displayed to the user.
    Thanks,
    Ryan

    Hi Ryan,
    That is one of the motivations for building Siena and so we are happy to have you, developer or not!
    Is there a specific reason for wanting to write back to Excel, other than for subtraction? Siena is perfectly capable of pulling Excel data, you won't be able to write back to the Excel file, but you can manipulate the imported data within Siena.
    In any case, consider the following example where we use a slider to perform the subtraction and display the results for each column. I used the following sample data from excel - the table the data is contained in is called 'Table8':
    Column1      Column2
    239029       78989
    23147         2374893
    278432793 37893
    238729       382397
    1) Add a Slider, called Slider1
    Set the Min to the lowest value your user will subtract the excel data by, and
    Max to the highest value your user will subtract the excel data by. I picked 10 for my min and 100 for my max
    2) Import the data
    3) Custom Gallery, called Gallery1 - It's the option at the bottom right of the "Galleries" group
    3) Set the Select Gallery1 as a whole and set the 'Items'
    under the 'Data' group to 'Table8'
    4) Click "Add Visual" on the first item in the Gallery and add a Label, called
    Label1. This label will also have its Text automatically set to
    ThisItem!Column1. Change this to ThisItem!Column1 - Slider1!Value.
    5) Click "Add Visual" on the first item in the Gallery again and add a second Label, called
    Label2. This label will also have its Text automatically set to
    ThisItem!Column2. Change this to ThisItem!Column2 - Slider1!Value
    6) Now drag Slider1, back and forth an notice the values both in
    Label1 and Label2 change as the slider is adjusted.
    If there is a need to store the manipulated data, then 
    LoadData() and
    SaveData() expressions could be leveraged within Siena.
    Hope this helps.

  • Spry data table with photo thumbs, that open larger images and more thumbs when clicked

    Hi,  I'm trying to make a page that has a spry table that has car listings, make model etc... i want that info in the table area, with a thumbnail. when you click on the line in the table for a particular car, i want a window to open with thumbnails and larger pic. I have not been able to find how to get the window to open from the table info...it needs to be easily changeable, for instance as cars are sold, to remove old ones and add new ones with pics...I cant find any tutorials that deal with something like that...if you could point me in the right direction i'd appreciate it

    hi
    well, first, I can only get the text information to show up in the table, the pics do not. no link, no pic nothing, just blank. I did the add spry data, chose my xml file, with schema in the file. chose the stacked container with spotlight, which is for pics according to adobe, loads ok. my xml file is this
    <?xml version="1.0" encoding="UTF-8"?>
    <root xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:od="urn:schemas-microsoft-com:officedata">
    <xsd:schema>
    <xsd:element name="dataroot">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="Cars" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
    <xsd:attribute name="generated" type="xsd:dateTime"/>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Cars">
    <xsd:annotation>
    <xsd:appinfo>
    <od:index index-name="PrimaryKey" index-key="ID " primary="yes" unique="yes" clustered="no" order="asc"/>
    <od:tableProperty name="Orientation" type="2" value="0"/>
    <od:tableProperty name="OrderByOn" type="1" value="0"/>
    <od:tableProperty name="NameMap" type="11" value="CswOVQAAAACc6U1USJAMRI0VA+hJZ3tPAAAAALGkyOr3xONAAwEAACAIRQVDAGEA
    cgBzAAAAAAAAAEj6ypGxIwNDnryyCm/b7+IHAAAAnOlNVEiQDESNFQPoSWd7T0kA
    RAAAAAAAAAASmFZWi+DCS7sJb9DZmGcBBwAAAJzpTVRIkAxEjRUD6Elne09NAGEA
    awBlAAAAAAAAAHusgDcg7zdMsa3wpnM6LF0HAAAAnOlNVEiQDESNFQPoSWd7T00A
    bwBkAGUAbAAAAAAAAACPdks6OQxFSpf/dAbd/xBPBwAAAJzpTVRIkAxEjRUD6Eln
    e09ZAHIAAAAAAAAAj6yQFEDYy0utEnEK2WD6qgcAAACc6U1USJAMRI0VA+hJZ3tP
    QwBvAGwAbwByAAAAAAAAAE4fCFmx/CtHtwkTeMlLCmEHAAAAnOlNVEiQDESNFQPo
    SWd7T1YAaQBuACAATgB1AG0AYgBlAHIAAAAAAAAAeTU5LE4tLE2logmOBFG+mgcA
    AACc6U1USJAMRI0VA+hJZ3tPUAByAGkAYwBlAAAAAAAAAOBprfb8f75FuDPsJjSJ
    4DEHAAAAnOlNVEiQDESNFQPoSWd7T0kAbQBhAGcAZQAAAAAAAADHHMzcxn4sTbPP
    g+piA6klBwAAAJzpTVRIkAxEjRUD6Elne09NAGkAbABlAGEAZwBlAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAMAAAABAAAAAAAAAAAAAAAAAAAAAAA
    "/>
    <od:tableProperty name="DefaultView" type="2" value="2"/>
    <od:tableProperty name="GUID" type="9" value="nOlNVEiQDESNFQPoSWd7Tw==
    "/>
    <od:tableProperty name="DisplayViewsOnSharePointSite" type="2" value="1"/>
    <od:tableProperty name="TotalsRow" type="1" value="0"/>
    <od:tableProperty name="FilterOnLoad" type="1" value="0"/>
    <od:tableProperty name="OrderByOnLoad" type="1" value="1"/>
    <od:tableProperty name="HideNewField" type="1" value="0"/>
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ID" minOccurs="1" od:jetType="autonumber" od:sqlSType="int" od:autoUnique="yes" od:nonNullable="yes" type="xsd:int">
    <xsd:annotation>
    <xsd:appinfo>
    <od:fieldProperty name="ColumnWidth" type="3" value="-1"/>
    <od:fieldProperty name="ColumnOrder" type="3" value="1"/>
    <od:fieldProperty name="ColumnHidden" type="1" value="0"/>
    <od:fieldProperty name="TextAlign" type="2" value="0"/>
    <od:fieldProperty name="AggregateType" type="4" value="-1"/>
    <od:fieldProperty name="GUID" type="9" value="SPrKkbEjA0OevLIKb9vv4g==
    "/>
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    <xsd:element name="Make" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar">
    <xsd:annotation>
    <xsd:appinfo>
    <od:fieldProperty name="ColumnWidth" type="3" value="-1"/>
    <od:fieldProperty name="ColumnOrder" type="3" value="2"/>
    <od:fieldProperty name="ColumnHidden" type="1" value="0"/>
    <od:fieldProperty name="Required" type="1" value="0"/>
    <od:fieldProperty name="AllowZeroLength" type="1" value="1"/>
    <od:fieldProperty name="DisplayControl" type="3" value="109"/>
    <od:fieldProperty name="IMEMode" type="2" value="0"/>
    <od:fieldProperty name="IMESentenceMode" type="2" value="3"/>
    <od:fieldProperty name="UnicodeCompression" type="1" value="1"/>
    <od:fieldProperty name="TextAlign" type="2" value="0"/>
    <od:fieldProperty name="AggregateType" type="4" value="-1"/>
    <od:fieldProperty name="GUID" type="9" value="EphWVovgwku7CW/Q2ZhnAQ==
    "/>
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:maxLength value="255"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="Model" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar">
    <xsd:annotation>
    <xsd:appinfo>
    <od:fieldProperty name="ColumnWidth" type="3" value="-1"/>
    <od:fieldProperty name="ColumnOrder" type="3" value="3"/>
    <od:fieldProperty name="ColumnHidden" type="1" value="0"/>
    <od:fieldProperty name="Required" type="1" value="0"/>
    <od:fieldProperty name="AllowZeroLength" type="1" value="1"/>
    <od:fieldProperty name="DisplayControl" type="3" value="109"/>
    <od:fieldProperty name="IMEMode" type="2" value="0"/>
    <od:fieldProperty name="IMESentenceMode" type="2" value="3"/>
    <od:fieldProperty name="UnicodeCompression" type="1" value="1"/>
    <od:fieldProperty name="TextAlign" type="2" value="0"/>
    <od:fieldProperty name="AggregateType" type="4" value="-1"/>
    <od:fieldProperty name="GUID" type="9" value="e6yANyDvN0yxrfCmczosXQ==
    "/>
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:maxLength value="255"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="Yr" minOccurs="0" od:jetType="longinteger" od:sqlSType="int" type="xsd:int">
    <xsd:annotation>
    <xsd:appinfo>
    <od:fieldProperty name="ColumnWidth" type="3" value="-1"/>
    <od:fieldProperty name="ColumnOrder" type="3" value="4"/>
    <od:fieldProperty name="ColumnHidden" type="1" value="0"/>
    <od:fieldProperty name="DecimalPlaces" type="2" value="255"/>
    <od:fieldProperty name="Required" type="1" value="0"/>
    <od:fieldProperty name="DisplayControl" type="3" value="109"/>
    <od:fieldProperty name="TextAlign" type="2" value="0"/>
    <od:fieldProperty name="AggregateType" type="4" value="-1"/>
    <od:fieldProperty name="GUID" type="9" value="j3ZLOjkMRUqX/3QG3f8QTw==
    "/>
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    <xsd:element name="Color" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar">
    <xsd:annotation>
    <xsd:appinfo>
    <od:fieldProperty name="ColumnWidth" type="3" value="-1"/>
    <od:fieldProperty name="ColumnOrder" type="3" value="5"/>
    <od:fieldProperty name="ColumnHidden" type="1" value="0"/>
    <od:fieldProperty name="Required" type="1" value="0"/>
    <od:fieldProperty name="AllowZeroLength" type="1" value="1"/>
    <od:fieldProperty name="DisplayControl" type="3" value="109"/>
    <od:fieldProperty name="IMEMode" type="2" value="0"/>
    <od:fieldProperty name="IMESentenceMode" type="2" value="3"/>
    <od:fieldProperty name="UnicodeCompression" type="1" value="1"/>
    <od:fieldProperty name="TextAlign" type="2" value="0"/>
    <od:fieldProperty name="AggregateType" type="4" value="-1"/>
    <od:fieldProperty name="GUID" type="9" value="j6yQFEDYy0utEnEK2WD6qg==
    "/>
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:maxLength value="255"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="VinNumber" minOccurs="0" od:jetType="text" od:sqlSType="nvarchar">
    <xsd:annotation>
    <xsd:appinfo>
    <od:fieldProperty name="ColumnWidth" type="3" value="-1"/>
    <od:fieldProperty name="ColumnOrder" type="3" value="6"/>
    <od:fieldProperty name="ColumnHidden" type="1" value="0"/>
    <od:fieldProperty name="Required" type="1" value="0"/>
    <od:fieldProperty name="AllowZeroLength" type="1" value="1"/>
    <od:fieldProperty name="DisplayControl" type="3" value="109"/>
    <od:fieldProperty name="IMEMode" type="2" value="0"/>
    <od:fieldProperty name="IMESentenceMode" type="2" value="3"/>
    <od:fieldProperty name="UnicodeCompression" type="1" value="1"/>
    <od:fieldProperty name="TextAlign" type="2" value="0"/>
    <od:fieldProperty name="AggregateType" type="4" value="-1"/>
    <od:fieldProperty name="GUID" type="9" value="Th8IWbH8K0e3CRN4yUsKYQ==
    "/>
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:maxLength value="255"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="Price" minOccurs="0" od:jetType="currency" od:sqlSType="money" type="xsd:double">
    <xsd:annotation>
    <xsd:appinfo>
    <od:fieldProperty name="ColumnWidth" type="3" value="-1"/>
    <od:fieldProperty name="ColumnOrder" type="3" value="7"/>
    <od:fieldProperty name="ColumnHidden" type="1" value="0"/>
    <od:fieldProperty name="Format" type="10" value="$#,##0.00;($#,##0.00)"/>
    <od:fieldProperty name="DecimalPlaces" type="2" value="255"/>
    <od:fieldProperty name="Required" type="1" value="0"/>
    <od:fieldProperty name="TextAlign" type="2" value="0"/>
    <od:fieldProperty name="AggregateType" type="4" value="-1"/>
    <od:fieldProperty name="GUID" type="9" value="eTU5LE4tLE2logmOBFG+mg==
    "/>
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    <xsd:element name="Mileage" minOccurs="0" od:jetType="longinteger" od:sqlSType="int" type="xsd:int">
    <xsd:annotation>
    <xsd:appinfo>
    <od:fieldProperty name="ColumnWidth" type="3" value="-1"/>
    <od:fieldProperty name="ColumnOrder" type="3" value="8"/>
    <od:fieldProperty name="ColumnHidden" type="1" value="0"/>
    <od:fieldProperty name="DecimalPlaces" type="2" value="255"/>
    <od:fieldProperty name="Required" type="1" value="0"/>
    <od:fieldProperty name="DisplayControl" type="3" value="109"/>
    <od:fieldProperty name="TextAlign" type="2" value="0"/>
    <od:fieldProperty name="AggregateType" type="4" value="-1"/>
    <od:fieldProperty name="GUID" type="9" value="xxzM3MZ+LE2zz4PqYgOpJQ==
    "/>
    </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>
    <xsd:element name="Pics" minOccurs="0" od:jetType="anyURI" od:sqlSType="nvarchar">
    <xsd:annotation>
    <xsd:appinfo>
    <od:fieldProperty name="ColumnWidth" type="3" value="-1"/>
    <od:fieldProperty name="ColumnOrder" type="3" value="10"/>
    <od:fieldProperty name="ColumnHidden" type="1" value="0"/>
    <od:fieldProperty name="Required" type="1" value="0"/>
    <od:fieldProperty name="AllowZeroLength" type="1" value="1"/>
    <od:fieldProperty name="DisplayControl" type="3" value="109"/>
    <od:fieldProperty name="IMEMode" type="2" value="0"/>
    <od:fieldProperty name="IMESentenceMode" type="2" value="3"/>
    <od:fieldProperty name="UnicodeCompression" type="1" value="1"/>
    <od:fieldProperty name="TextAlign" type="2" value="0"/>
    <od:fieldProperty name="AggregateType" type="4" value="-1"/>
    </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleType>
    <xsd:restriction base="xsd:string">
    <xsd:maxLength value="255"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    <dataroot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" generated="2010-11-09T16:11:16">
    <Cars>
    <ID>8</ID>
    <Make>Toyota</Make>
    <Model>Corolla</Model>
    <Yr>1992</Yr>
    <Color>Blue</Color>
    <VinNumber>1645kjdjdj</VinNumber>
    <Price>19326.3</Price>
    <Mileage>15362</Mileage>
    <Pics xmlns:xlink="http://www.w3.org/1999/xlink"> <-
        <link xlink:type="simple"                                   <-
          xlink:show="embed"                                        <-
          xlink:actuate="onLoad"                                    <-
          xlink:title="Well! This is an image!"                    <-
          xlink:href="2521299015.jpg">                           <-----this was last attempt also did not work
        </link>
       </Pics>
    </Cars>
    <Cars>
    <ID>9</ID>
    <Make>Toyota</Make>
    <Model>Yaris</Model>
    <Yr>2009</Yr>
    <Color>Blue</Color>
    <VinNumber>lakjladlajkd</VinNumber>
    <Price>12536</Price>
    <Mileage>21365</Mileage>
    <Pics>/images/2521299015.jpg</Pics>               <----this is what I've seen the most as what your supposed to have, also does not work for me
    </Cars>
    <Cars>
    <ID>10</ID>
    <Make>Nissan</Make>
    <Model>Sentra</Model>
    <Yr>1985</Yr>
    <Color>Red</Color>
    <VinNumber>akjlkdjf54454</VinNumber>
    <Price>5326</Price>
    <Mileage>24558</Mileage>
    </Cars>
    </dataroot>
    </root>
    no matter how i have tried formatting the image, adding img src etc...nothing makes the pic show up...i need to get this part to work more than any other. what do i put in the xml file that will make a image show up in the dynamic spry table? I cant add a table outside of the dynamically created one, if i do, how will the pics sort correctly with the spry table?

  • ADF data table with Add,Edit,Delete functionality

    Hi Experts,
    I have a adf page where I need to implement add,edit,delete button. The table was bind with the Webservice obj call.I need to have one single button as "Add" which should add an inline row at end of the table.When I ll double click on the row I should have the in-line edit of the row.And for delete functionality,there should be delete button on each row which should delete the correspond row.Please help me to solve my problem.Please share the code to meif u ve any.my email: [email protected]
    Thanx
    Aswini

    Can you check the below links
    http://andrejusb.blogspot.com/2010/05/crud-operations-in-oracle-adf-11g-table.html
    http://andrejusb.blogspot.com/2009/11/crud-operations-in-jdeveloperadf-11g-r1.html
    ~Abhijit

  • Paging a data table with input text fields

    I've created a datatable with input text fields so that contents can be edited. I have 'save' and 'cancel' buttons on the page so that changes can be saved or abandoned. That seems to work fine.
    However, I have a problem with paging. If I modify an input text field, page to the next page in the datatable and then page back, the modified input text field reverts to the original entry in the database. Does anyone know how I can preserve this change (without issuing a commit) until the user clicks on the save button?
    Here is a snippet of jsp with datatable.
    <h:dataTable binding="#{DocTypeDetail.doctypeMetadataTable}" headerClass="list-header" id="doctypeMetadataTable"
    rowClasses="list-row-even,list-row-odd" rows="5" style="left: 240px; top: 312px; position: absolute"
    value="#{DocTypeDetail.doctypeMetadataTableModel}" var="currentRow">
    <h:column binding="#{DocTypeDetail.column2}" id="column2">
    <h:inputText binding="#{DocTypeDetail.textField1}" id="textField1" value="#{currentRow['name']}"/>
    <f:facet name="header">
    <h:outputText binding="#{DocTypeDetail.outputText5}" id="outputText5" value="Name"/>
    </f:facet>
    </h:column>
    <h:column binding="#{DocTypeDetail.column3}" id="column3">
    <h:inputText binding="#{DocTypeDetail.textField2}" id="textField2" value="#{currentRow['value']}"/>
    <f:facet name="header">
    <h:outputText binding="#{DocTypeDetail.outputText8}" id="outputText8" value="Value"/>
    </f:facet>
    </h:column>
    <f:facet name="header"/>
    <f:facet name="header"/>
    <f:facet name="header"/>
    <f:facet name="header"/>
    <f:facet name="header"/>
    <f:facet name="header"/>
    <f:facet name="header"/>
    <f:facet name="header"/>
    <f:facet name="header"/>
    <f:facet name="header">
    <h:panelGroup binding="#{DocTypeDetail.groupPanel1}" id="groupPanel1" style="display: block; text-align: center" styleClass="list-paging-header">
    <h:commandButton action="#{DocTypeDetail.doctypeMetadataTable_firstPageAction}"
    binding="#{DocTypeDetail.doctypeMetadataTableHeaderFirstButton}" id="doctypeMetadataTableHeaderFirstButton"
    image="resources/paging_first.gif" immediate="true"/>
    <h:commandButton action="#{DocTypeDetail.doctypeMetadataTable_previousPageAction}"
    binding="#{DocTypeDetail.doctypeMetadataTableHeaderPreviousButton}" id="doctypeMetadataTableHeaderPreviousButton"
    image="resources/paging_previous.gif" immediate="true"/>
    <h:commandButton action="#{DocTypeDetail.doctypeMetadataTable_nextPageAction}"
    binding="#{DocTypeDetail.doctypeMetadataTableHeaderNextButton}" id="doctypeMetadataTableHeaderNextButton"
    image="resources/paging_next.gif" immediate="true"/>
    <h:commandButton action="#{DocTypeDetail.doctypeMetadataTable_lastPageAction}"
    binding="#{DocTypeDetail.doctypeMetadataTableHeaderLastButton}" id="doctypeMetadataTableHeaderLastButton"
    image="resources/paging_last.gif" immediate="true"/>
    </h:panelGroup>
    </f:facet>
    </h:dataTable>

    I know by now you must have figured it out. If not you might want to try keeping the backing bean in session instead of request scope.
    Hope that helps,
    HeMan

  • How to  use data table with inputtext

    When i use datatable with input text it is not woking..
    Any one has used..
    Thanks in advance

    Thanks..
    My backing bean is in session scope ..
    This is my jsp.
    <h:dataTable id="dt1" border="1" cellpadding="5" cellspacing="3" rows="2" >
    <f:facet name="header">
    <h:outputText value="Header" />
    </f:facet>
    <h:column>
    <h:outputText value="#{sample.test}"></h:outputText>
    <h:outputText value="#{sample.test1}"></h:outputText>
    </h:column>
    <f:facet name="footer">
    <h:outputText value="The End" />
    </f:facet>
    </h:dataTable>
    When i run the application only header and footer is displayed..
    Is value attribute mandatory for datatable..

  • A data table in one column of a dynamic data table

    Hi , I have to design a dynamic data table(with dynamic columns and data) which looks as the following
    DETAILS      NAME      ROLE NUMBER     CLASS     SECTION
    15     MATHS     SURESH     15     10     A
    20     SCIENCE                    
    25     ENGLISH     
    15     MATHS     SURESH     15     10     A
    20     SCIENCE                    
    25     ENGLISH          
    The data in the column 'DETAILS' should have inner table. The data in this inner table should have hyper links. If there is no inner table infor mation there shold be an image with hyperlink. This data table should also have pagination and sorting features. Please send me some example code for this. Please help me out as i have client demo on monday

    You may find this example useful: [http://balusc.blogspot.com/2006/06/using-datatables.html#NestingDatatables].
    To toggle between a nested datatable and a hyperlink with image just use the rendered attribute. E.g.
        <h:column>
            <h:dataTable rendered="#{!empty dataItem.innerList}">
            </h:dataTable>
            <h:commandLink rendered="#{empty dataItem.innerList}">
            </h:commandLink>
        </h:column>
    ...

  • How can I Add and save new row in data table?

    Hello All,
    I want to add new row in the jsf page with data and save it.
    I have data table with rows from database..
      <h:form id="test">
            <h:dataTable id="hh" value="#{MyBean.dataList}" var="list">
              <h:column>
              <h:outputText value="#{list.name}"/>          
              </h:column>         
              <h:column>
              <h:outputText value="#{list.lastName}"/>          
              </h:column>         
              <h:column>
              <h:outputText value="#{list.phone}"/>          
              </h:column>         
            </h:dataTable>
            <h:commandButton id="sd" action="#{MyBean.addNewRow" value="Add Row" />
            <h:commandButton id="save" action="#{MyBean.updateList" value="Save Data />
          </h:form>
    {code}
    i understand action with save to database, but still I could not find right way to add new row from jsf page.....
    I want add new row, add new name, lastname, and save it....
    Edited by: armen on Feb 20, 2009 12:39 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Thanks, but your example consist from too many parts and I could not join all components for understatnding all proccess.

  • Using Highlight for columns in data tables

    Hi, I'm using the "Highlight" function of SpryEffects in
    combination with the sorting features. My HTML structure is a
    simple data table, with a repeating region on the table row, so it
    pulls in as many rows there are pieces in the attached XML file.
    When I sort by one of the column headers at the top, I want to
    highlight that whole column, so users can see what they're sorting
    by. I'm able to get the first row of the data table highlighted,
    but none of the following rows work. I'm pretty sure the problem is
    that the highlight function only works when you use an id to define
    the element that you want highlighted. If it's in a repeating row,
    it sees many ids on the page, and only applies the highlight to the
    first one. I want to change the id to a class, so I can put
    multiple ones on the page and have it work, but I can't see how to
    do that in the SpryEffects.js file.
    Can anyone tell me if it's possible to do this? Thanks.
    Here's the portion of the .js file:
    function setupHighlight(element, effect)
    Spry.Effect.setStyleProp(element, 'background-image',
    'none');
    function finishHighlight(element, effect)
    Spry.Effect.setStyleProp(element, 'background-image',
    effect.options.restoreBackgroundImage);
    if (effect.direction == Spry.forwards)
    Spry.Effect.setStyleProp(element, 'background-color',
    effect.options.restoreColor);
    Spry.Effect.Highlight = function (element, options)
    var durationInMilliseconds = 1000;
    var toColor = "#ffffff";
    var doToggle = false;
    var kindOfTransition = Spry.sinusoidalTransition;
    var setupCallback = setupHighlight;
    var finishCallback = finishHighlight;
    var element = Spry.Effect.getElement(element);
    var fromColor = Spry.Effect.getStyleProp(element,
    "background-color");
    var restoreColor = fromColor;
    if (fromColor == "transparent") fromColor = "#ffff99";
    var optionFrom = options ? options.from : '#ffff00';
    var optionTo = options ? options.to : '#0000ff';
    if (options)
    if (options.duration != null) durationInMilliseconds =
    options.duration;
    if (options.from != null) fromColor = options.from;
    if (options.to != null) toColor = options.to;
    if (options.restoreColor) restoreColor =
    options.restoreColor;
    if (options.toggle != null) doToggle = options.toggle;
    if (options.transition != null) kindOfTransition =
    options.transition;
    if (options.setup != null) setupCallback = options.setup;
    if (options.finish != null) finishCallback = options.finish;
    var restoreBackgroundImage =
    Spry.Effect.getStyleProp(element, 'background-image');
    options = {duration: durationInMilliseconds, toggle:
    doToggle, transition: kindOfTransition, setup: setupCallback,
    finish: finishCallback, restoreColor: restoreColor,
    restoreBackgroundImage: restoreBackgroundImage, from: optionFrom,
    to: optionTo};
    var highlightEffect = new Spry.Effect.Color(element,
    fromColor, toColor, options);
    highlightEffect.name = 'Highlight';
    var registeredEffect =
    SpryRegistry.getRegisteredEffect(element, highlightEffect);
    registeredEffect.start();
    return registeredEffect;

    Hi Philip, Thanks a lot for puting this enhancement request through.
    Just downloaded the latest Patch upgrading to v 3.1.2-704 and confirmed that this functionality is not available yet.
    Keeping your experience in mind what kind of expectation to you have for the approval and realization of your request?
    Most likely this will take a couple of month – right? Or is there a beta version of 3.2 already available we could use.
    Thanks a lot. Cheers Stefan

  • JSF 1.1 performance, especially UIData and Data Table

    Hi,
    Does anybody have any JSF 1.1 (Sun reference implementation) performance experiences to share? I am currently looking at the data table component and the use of UIData. Initial observations are an incredible amount of memory is churned during rendering the data table, with the following classes culprits:
    java.util.HashMap$KeyIterator
    javax.faces.component.UIComponentBase$ChildrenListIterator
    java.util.AbstractList$Itr
    char[]
    java.util.ArrayList
    javax.faces.component.UIComponentBase$FacetsMapKeySetIterator
    javax.faces.component.UIComponentBase$FacetsMapKeySet
    javax.faces.component.UIComponentBase$FacetsMapValues
    javax.faces.component.UIComponentBase$FacetsAndChildrenIterator
    To render 50 rows with 10 columns (each column only having a simple outputText component) I'm seeing 1.3Mb memory churned and 0.8 seconds processing time.
    To rener 100 rows with same columns and components I'm seeing nearly 2Mb churned and 2 seconds processing time.
    UIData.setRowIndex is a large culprit.
    I'm really after finding out your experiences on JSF performance and its scalability.
    Any help here is appreciated.
    Thanks - JJ

    Hi,
    Does anybody have any JSF 1.1 (Sun reference implementation) performance experiences to share? I am currently looking at the data table component and the use of UIData. Initial observations are an incredible amount of memory is churned during rendering the data table, with the following classes culprits:
    java.util.HashMap$KeyIterator
    javax.faces.component.UIComponentBase$ChildrenListIterator
    java.util.AbstractList$Itr
    char[]
    java.util.ArrayList
    javax.faces.component.UIComponentBase$FacetsMapKeySetIterator
    javax.faces.component.UIComponentBase$FacetsMapKeySet
    javax.faces.component.UIComponentBase$FacetsMapValues
    javax.faces.component.UIComponentBase$FacetsAndChildrenIterator
    To render 50 rows with 10 columns (each column only having a simple outputText component) I'm seeing 1.3Mb memory churned and 0.8 seconds processing time.
    To rener 100 rows with same columns and components I'm seeing nearly 2Mb churned and 2 seconds processing time.
    UIData.setRowIndex is a large culprit.
    I'm really after finding out your experiences on JSF performance and its scalability.
    Any help here is appreciated.
    Thanks - JJ

Maybe you are looking for

  • Error Code -50 and moving folders to a NAS

    I had all of my iTunes files on a NAS (WD MyWorld Book - White Light Edition). The NAS was basically taken over by TimeMachine, so I copied all of my data onto an external LaCie drive which is Mac OS Extended (Journaled). Copying from the NAS to the

  • Changing "Icon size" causes .ARW thumbnail image in folder to disappear and icon to appear

    Is this a bug everyone is getting? Have  .ARW files in a folder and it shows  thumbnail images of the .ARW files, but if I increase or decrease the slider to different sizes (to view better), a icon will appear instead of the . ARW preview image. Out

  • OraOLEDB.Oracle versus msdaora provider for adParamInputOutput

    I'm currently using Microsoft OLE DB for Oracle provided with MDAC2.8 to execute stored procedures in an ASP page. My vbscript procedure contains an adParamInputOutput parameter (see code below - prm pio_session_id). Everything works fine. I pass a v

  • Printing Metallic spot inks

    Apologies if this is posted in the wrong area but.... I have a black and white image that looks nice but the client wants to 'lift it a bit' and has asked for us to use silver as well as black. We've suggested using a silver or mother of pearl type s

  • Gmail outgoing server problems

    I am currently experiencing gmail outbox issues that have only popped up recently. It is also happening to another person I know of. Is anyone else finding the "failed to send smtp.gmail.com" coming up more often lately??? Is there something going on