IS TABLE OF ..... Question

Hi, I'm new using PL/SQL and I have this unknowledge problem, I create this function ...
CREATE OR REPLACE FUNCTION Tiempo_Externo() RETURN NUMBER IS
TYPE t_registro_tiempo IS RECORD (
Tiempo_Inicial DATE,
Tiempo_Final DATE
TYPE t_tiempos IS TABLE OF t_registro_tiempo;
BEGIN
--Some Code
My question is how can I insert records in t_tiempos?
Thx in advance
Aldemar

I can manipule this table and its data using sql instructions (INSERT, DELETE, etcNo. It's a PL/SQL table which is not the same thing as a database table. We have to use PL/SQL assignment syntax to change values in a record and the usual collection methods to insert or remove records from a table.
Cheers, APC

Similar Messages

  • The data from my web page insert in SQL table as question marks

    I use Farsi language in my web page for inserting customer data. The data that is inserted in webpage and submitted, showed as ???? in SQL table. A lot of developers say that I should use N' before the Unicode character, but I don't know how I can use it
    in my code. I attached the code. Can someone say me where I should insert the N in my code?
    protected void cmdInsert_Click(object sender, EventArgs e)
    //Checking the validation of required fields
    if (cboCustomerType.Text == "" || cboTitle.Text == "" || SearchableName.Text == "" ||
    FinalName.Text == "" || NationalID.Text == "" || BusinessID.Text == "" || MobilePhone.Text == "")
    lblStatus.Text = "لطفا فیلدهای اجباری را حتما پر کنید";
    return;
    //define ADO.NET objects.
    string insertSQL;
    insertSQL = "INSERT INTO Customers(";
    insertSQL += "CustomerType,CustomerTitle,CustomerFirstName,CustomerLastName,CompanyType,";
    insertSQL += "CompanyName,SearchableName,FinalName,NationalCode,BusinessID,City,Address,PostalCode,";
    insertSQL += "Zone,MobileNumber,WorkPhone1,WorkPhone2,HomePhone,FaxNumber,Email,Website,Note)";
    insertSQL += "VALUES('";
    insertSQL += cboCustomerType.Text + "','";
    insertSQL += cboTitle.Text + "','";
    insertSQL += CustomerFirstName.Text + "','";
    insertSQL += CustomerLastName.Text + "','";
    insertSQL += cboCompanyType.Text + "','";
    insertSQL += CompanyName.Text + "','";
    insertSQL += SearchableName.Text + "','";
    insertSQL += FinalName.Text + "','";
    insertSQL += NationalID.Text + "','";
    insertSQL += BusinessID.Text + "','";
    insertSQL += City.Text + "','";
    insertSQL += Address.Text + "','";
    insertSQL += PostalCode.Text + "','";
    insertSQL += Zone.Text + "','";
    insertSQL += MobilePhone.Text + "','";
    insertSQL += Phone1.Text + "','";
    insertSQL += Phone2.Text + "','";
    insertSQL += HomePhone.Text + "','";
    insertSQL += FaxNumber.Text + "','";
    insertSQL += Email.Text + "','";
    insertSQL += Website.Text + "','";
    insertSQL += Note.Text + "')";
    SqlConnection con = new SqlConnection(connectionString);
    SqlCommand cmd = new SqlCommand(insertSQL, con);
    //try to open the database and execute the insert
    int added = 0;
    try
    con.Open();
    added = cmd.ExecuteNonQuery();
    lblStatus.Text = added.ToString() + "اضافه شد";
    catch (Exception err)
    lblStatus.Text = "Error inserting record.";
    lblStatus.Text += err.Message;
    finally
    con.Close();
    //If the insert succeed, refresh the customer list.
    if (added > 0)
    FillCustomerList();
    Regards,

    Because you're composing the SQL statement with string concatenation, you would put the "N" before the single quote,
    VALUES(N'";
                insertSQL += cboCustomerType.Text + "',N'";
                insertSQL += cboTitle.Text + "',N'"; // ...etc
    However, composing SQL statements with string concatenation is not a suggested practice because it's open to SQL injection (see:
    https://technet.microsoft.com/en-us/library/ms161953(v=sql.105).aspx). A safer way to do this is to use command parameters to represent the values (see SqlCommand.Parameters
    property). If you use parameters, you can specify parameter data type as SqlDbType.NVarchar, which will ensure your text values are passed in as Unicode. Also ensure that the columns in question are defined in the database table definition as Unicode (NVARCHAR
    rather than VARCHAR).
    Hope this helps, Bob

  • Partitioning on a Table - Few Questions, Confusions

    Hello All,
       I've a table with around 300 Million Records. This Table has one Key Column (Auto Incremented by 1 ) and a Unique ID Field.
    Primary Key (Clustered Primary Key) was created on Key Column of this Table.
    Now If I want to partition this table based on UniqueID Field, SQL Server is not allowing me to do it! It throws the error something like "Partitioned Column should present in Primary Key (Clustered Index)"
    Is it mandatory that the partitioned column should definitely be present in the clustered index or primary key of the table if exists.
    Could someone tell me what are the prerequisites to partition a table that already have a primary key on FieldA and Unique Non Clustered Index on FieldB and I'd like to partition the table based on FieldC?
    Thanks in Advance...
    Unknown

    Hi Roger,
    I am a little confused, why do you want to partition a table based on a UniqueID? Partioning is more of a logical thing to do like dividing a table yearly, for ex the table can be divided on a year by year basis which would make more sense as the older data
    can be moved over to slow storage if it's used as often as the new one based on the environment.
    A UniqueID would just be a random number, I am not sure how are you planning to create a partition scheme on this and would that be effective.
    Just to answer your question, it's not mandatory to have a PK column included in the partitioning.
    For Ex, one of the scripts that I wrote
    --CREATE PARTITION FUNCTION PF_test (datetime)
    AS RANGE LEFT FOR VALUES
     ('2010-12-31 23:59:59.999',
     '2011-12-31 23:59:59.999',
     '2012-12-31 23:59:59.999',
     '2013-12-31 23:59:59.999',
     '2014-12-31 23:59:59.999',
     '2015-12-31 23:59:59.999')
    GO
    I would suggest that you watch the below video to have a better understanding:-
    http://technet.microsoft.com/en-US/sqlserver/gg545008.aspx
    Please mark the answer as helpful if i have answered your query. Thanks and Regards, Kartar Rana

  • SRM table CFF_CONT question : huge table, what is that table for ?

    Hello
    We are looking to have more details about table CFF_CONT on a SRM system
    The tolat size of DB is 344 GB
    and only for table CFF_CONT we do have 284 GB, compared to total size this is really huge
    the rest of the DB is only about 60 GB
    What is that table for ?
    Would it be normal to see that table on SRM growing much more than the others ?
    Is that table something that can be clean up ?
    Those questions are poping up becasue we are doing a system copy with sapisnt and R3load
    and we see that this table only is requiring a so huge amount of thime to be exported
    Regards

    By the way ...
    That CFF_CONT table belongs to cFolder components

  • Table design question

    Hello,
    I have a quick question on a table design. I currently have a table that will store approval information on a report. The individual report will need to go through 3 levels of approval before it's considered final. I have considered a few different scenarios on how to design the table but I'm not sure on what is the best choice. Currently I'm using 3 columns that will store each approval. For example,
    Table 1:
    file_id,
    subject,
    summary,
    division_approve,
    program_approve,
    group_approve
    I thought about using one column and simply stepping through a higher numeric value for each approval but found that doesn't work if I want to view items that were approved only at the division_approve level. Does anyone else have any suggestions? Hopefully I provided enough information.....
    Thanks in advance!
    Randy

    yes, better going for higher level of normalisation and desiging more tables:
    tab_aproval ( id,File_id,Approval_authority,rank )
    id      File_id Approval_level rank
    1     1 first_level 1
    2     1 second_level 2
    3     1 third_level 3
    4     2 first_level 1
    5     2 second_level 2
    tab_file_approval
    file_id, subject, summary, id
    1 'doc 1' 'first level done' 1
    1 'doc 1' 'second level done' 2
    1 'doc 1' 'third level done' 3

  • Size of dimention table  fact table ratio  question..

    Hey Guys !!!
    I have  very basic question regarding the ratio of size of dimention table and fact table..
    its mentioned that the ratio of dim table / fact table  sizes should not be greater than 1:20 for performance reasons .. thats OK..
    now lets say if i have fact table with customer dim_id ,some other dimention ids , and revenue (KF) .. with 1 million records ..
    so ideally my customer dimention table should not have more than  200,000 recods (.ie 200,000 different customers ).
    doesnt this put limitation on number of customers in a cube ?
    if so, how do we handle this ?
    please correct me if i am wrong  in interpreting the concept of dimension table.
    thanks in advance
    swapnil

    Hi ASRao ,
    thanks  for replying ...
    you said exactlly what i know  ..
    sorry i didnt put my question in correct prespective ...
    whay i meant was...
    lets say  , i need to have more than specified (1:20 ) number records in dimension table ,it will definately hamper my reporting performance ...
    so, is there any solution to handle this kind of problem ?
    like how would i maintain my efficiency of reporting in this case ?
    thanks in advance

  • Dynamic Table Creation Question

    Can you dynamically add a column to a data table at run time using JSC and JSF? I have a case where I want to add a column to a table based on a selection by the user.

    Hi
    I have been trying to this when I saw your question first time two days back. I tried changing the rowset's query but nothing seems to work. I will try again and I am sure that I can give you something on this if there is any straight solution to this.
    Thanks
    Srinivas

  • Table validation question

    Hi
    I have created 2 tables zposition, zwork.
    The fields in zposition is department and position.
    The fields in zwork is empid, department, position, firstname and lastname.
    I wanted to create a validation that when i insert the data into the zwork, the system will automatically check against the zposition tables for the department and position that was store inside it. How do i do it?

    in ur zwork table where u find the fields department and position..
    in the table fields of zwork just put the cursor on this field say department and click the key button(on the top) it will propose for a check table and in there give the zposition table relavant field department.
    the answer is there in ur question itself ...
    // check against the zposition tables for the department and position--> u need to propose the check table on that field .
    so all in ur are validating the zwork department entry with zposition department field..

  • Margin and Table Cell Question

    Hi,
    The main banner at the top of each page changes it's position
    when I view it in the browser. For example, on this page it is okay
    http://www.foryourbackyard.com.au/products.htm
    Though this page the banner slips down a touch.
    http://www.foryourbackyard.com.au/sheds.htm
    Any ideas welcome.
    Also on this site the table cells seem to have a gap at the
    bottom of the roll over image.
    http://www.d-force.com.au/
    I'm not sure why.
    Thank in advance.
    Ray

    For anybody who might stumble on this in the future looking for an answer to the same or a similar question, I figured this out with the help of Andreas Kiel and Philip Buckley on the Applescript Studio mailing list. Below is the answer.
    Given a data source named "D" and table columns named "bc1" and "bc2" (both of which contain a checkbox style button cell), this is the syntax:
    tell data source "D" --to check the checkboxes
    set content of data cell "bc1" of every data row to true
    set content of data cell "bc2" of every data row to true
    end tell
    tell data source "D" --to uncheck the checkboxes
    set content of data cell "bc1" of every data row to false
    set content of data cell "bc2" of every data row to false
    end tell
    The problem I was having is that I used the name of the button cell itself in the data cell reference rather than the name of the table column.
    Hope someone finds this useful
    St!ff

  • About session abnormal termination, table locked question.

    Hi all,
    i test some table lock,after i run this statement:
    select * from testt for update nowait;
    i abnormal terminate session, then the table testt will be locking until after 20 minutes,
    i checked some document, the parameter of SQLNET.EXPIRE_TIME = 5 in sqlnet.ora file can release that lock, i set with 5,and then test again, but still wait 20 minutes the lock can release, why?

    I've changed this now to use the URL variable. I am used to using that to go from a results page to a details page where the recordset on the details page is used. I hadn't realised that you could just set a link to:
    <a href="addNomination.php?LodgeID=<?php echo($_GET['LodgeID']); ?>">Add Nomination</a>
    where there is no recordset on a page, just for the purposes of passing the variable. (Yeah, I know - this is probably really basic!)
    I do have one last question on this though - my form action is:
    <form method="post" id="form1" action="<?php echo KT_escapeAttribute(KT_getFullUri()); ?>">
    And then the link to a NominationAdded page is in the php code at the top of the AddNomination page:
    $ins_nominations->registerTrigger("END", "Trigger_Default_Redirect", 99, "NominationAdded.php");
    What would be useful would be to pass the URL variable through again, so that on the NominationAdded page I can have a link back to the same Lodge to add another Nomination without finding the Lodge again.
    But I'm not sure what the syntax would be, as it included some PHP within existing PHP, so not just:
    $ins_nominations->registerTrigger("END", "Trigger_Default_Redirect", 99, "nominationAdded.php?LodgeID=echo($_GET['LodgeID'])");
    I assume this must be possible, but not sure of the exact syntax?

  • ADF Faces Core Table, TableSelectOne question

    Greetings
    I am using ADF Faces Core Table to display a list and I have it setup with TableSelectOne, it works great. My question is this, I set required = true on the select button and it works. If I dont select one it no longer submits. My question is how do i get the error message back out I tried adding an af:message tag with from = tableSelectOne1 and I dont get anything back out. Is there a way to get this error message out so I can display it for the end user?
    Thanks
    tro

    Hi,
    Try using af:messages instead, as it displays all messages added to the FacesContext.
    Regards.
    Fábio

  • Dictionary, Table, Counter Question

    Hi,
    I'm trying to create a special customer table (SE11) with the following fields and have question regarding TYPE etc:
    Fields of table
    CUST_ID    
    CUST_NAME
    CUST_DESC
    1. CUST_ID should work as a counter (increment by 1 every time.) What kind of TYPE should I use ?
    (How do i do the increment stuff...)
    2. CUST_DESC should be able to take approx 5 kb of data and be searchable in WHERE clause. What kind of TYPE should I use ?
    3. Is there any advantages of creating/using Data Element instead of Build-in type ?
    //Martin
    Message was edited by: Martin Andersson

    Hi Martin,
    1. SE11 will help you only to create a table, but not to add any special functionality (as far as i have known) the CUST_ID can be made as counter only by programming. while moving data use a variable to get the previous maximum CUST_ID value from the tabel and increment it before you insert the value into the table.
    2. To give long descriptions declare the CUST_DESC as LCHR or LRAW types, i am not sure whether it will hold 5kb of data. Then searching for a particular word will not be a problem  you can use,
    SEARCH <c> FOR <str> <options>.
    <option> in the SEARCH FOR statement can be any of the following:
    ABBREVIATED
    STARTING AT <n1>
    ENDING AT <n2>
    AND MARK
    can be used to find the required word.
    3. I think this is what you meant -  if a data element is created by a domain, the technical attributes of the domain are inherited by data elements and these domains can be used by any number of data elements, besides you can also create data elements by refering to the existing data elements using 'TYPE'.
    Hope this helps.
    Regards,
    Kathirvel

  • Table EABL Question SORT with  reading date ADATTATS and  ADAT

    Hi all,
    I have selction criteria to qery EABL.
    After select ,i have to sort to get  latest 10 records from EABL .
    I  was told if the value of ADATTATS  is null ,i should display ADAT .
    But to select latest 10 records i have need to sort based upon date field..IF date field is null i will not get sort in proper descending order......
    Any suggestions and help ?
    display :for a partcular contract account
    Current meter reading date 1
    previous meter reading date 2
    previous meter reading date 3
    Is there any other field in this table EABL  which could be used for SORT here  for this display.
    Thanks in advance...
    Edited by: Sona on Feb 26, 2008 7:29 PM

    Yes,
    My case is :
    ADATTATS      
    record1 : date1         
    date2        
    null          
    null           
    record5 : date5   
    ADAT 
    record1 :  0
    0
    date3
    date4
    record5 :     0 
    Result is :
    date1
    date2
    date3
    date4
    date5
    I was told only if date is null in ADATTATS  i should go for ADAT.(that means only then value will be in ADAT)The majority of the time there will be a date in ADATTATS.  If an estimate or manual MR is entered, the date will come from ADAT.
    My test table has all null values in ADATTATS ,i hv values only in ADAT in test table.
    Another question :
    Can we change the data in test tables ?
    Testing process to check the billing run ?what r the steps involved ?

  • Hash Table efficiency question

    Hi experts,
    In my program, I want to read in a lot of string and store the occurance of each string. I found that hash table is the best and most efficient option, but the problem is that, hash table only store one item.
    So, I either have to:
    1) store an array object into each hash table entries. ie String[String][Occurance]
    2) create two hash table based on the hash code of the string.
    For 2) I am planning to store all distinct String into one hashtable using the string as the hashcode, then create another hashtable to store the occurance using the String as the hashcode.
    My question is that:
    1)which implementation is more efficient? Constantly creating String array for each entry or create two hashtables?
    2) Is the second implementation possible? Would the hashcode be mapped to different cell in the hashtable even the two hashtable are using the same hashcode and the same size?
    Thank you very much for your help.
    Kevin

    I am wondering what it is you are trying to do, but I am assuming you are trying to find the number of occurrences for a particular word, and then determining which word has the highest value or the lowest value? You can retrieve the initial String value by using the keys() method of the hashtable. You can use it to traverse the entire table and compare the counts there.
    If you really wanna store another reference for that string, create a simple object
    public final class WordCount {
       * The Word being counted.
       * @since 1.1
      private String _word;
       * Count for the Number of Words.
       * @since 1.1
      private int _count;
       * Creates a new instance of the Word Count Object.
       * @param word The Word being counted.
       * @since 1.1
      public WordCount(final String word) {
        super();
        _word = word;
        _count = 0;
       * Call this method to increment the Count for the Word.
       * @since 1.1
      public void increment() {
        _count++;
       * Retrieves the word being counted.
       * @return Word being counted.
       * @since 1.1
      public String getWord() {
        return _word;
       * Return the Count for the Word.
       * @return Non-negative count for the Word.
       * @since 1.1
      public int getCount() {
        return _count;
    }Then your method can be as follows
    * Counts the Number of Occurrences of Words within the String
    * @param someString The String to be counted for
    * @param pattern Pattern to be used to split the String
    * @since 1.1
    public static final WordCount[] countWords(final String someString, final String pattern) {
      StringTokenizer st = new StringTokenizer(someString, pattern);
      HashMap wordCountMap = new HashMap();
      while (st.hasMoreTokens()) {
        String token = st.nextToken();
        if (wordCountMap.containsKey(token)) {
          ((WordCount) wordCountMap.get(token)).increment();
        } else {
          WordCount count = new WordCount(token);
          count.increment();
          wordCountMap.put(token, count);
      Collection values = wordCountMap.values();
      return (WordCount[]) values.toArray(new WordCount[values.size()]);
    }Now you can create your own comparator classes to sort the entire array of Word Count Objects. I hope that helps
    Regards
    Jega

  • Adding a link to a table cell question

    ho can i add a link into a cell containing an image without increasing its size?
    I am trying to make a link out of a table cell containing an image.
    the problem is that the highlight frame around the image increases the size of the cell (and i cant have this since i imported all the small table images from photoshop wich constitute a big image).

    no i am just exporting fragmented gif images from photoshop that i want to assemble again in dreamweaver through a table.
    when i apply the link to one of the cells, dreamweaver increases its size (by 1 or 2 pixels) wich causes border gaps between cells and i cant have that.
    i am using this cell as a button. all i want is to apply a link to a cell containing an image without modifying its size.
    here's the code :
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    body {
        background-color: #000;
    a:link {
        text-decoration: none;
    a:visited {
        text-decoration: none;
        color: #03C;
    a:hover {
        text-decoration: none;
        color: #F96;
    a:active {
        text-decoration: none;
        color: #969;
    a {
        font-size: 0px;
    </style>
    </head>
    <body>
    <table width="1280" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="309"><img src="HomeImages/Home_01.gif" width="309" height="221" /></td>
        <td width="110"><img src="HomeImages/Home_02.gif" width="110" height="221" /></td>
        <td width="111"><img src="HomeImages/Home_03.gif" width="111" height="221" /></td>
        <td width="142"><img src="HomeImages/Home_04.gif" width="142" height="221" /></td>
        <td width="313"><img src="HomeImages/Home_05.gif" width="316" height="221" /></td>
        <td width="262"><img src="HomeImages/Home_06.gif" width="292" height="221" /></td>
      </tr>
      <tr>
        <td><img src="HomeImages/Home_07.gif" width="309" height="95" /></td>
        <td><img src="HomeImages/Home_08.gif" width="110" height="95" /></td>
        <td><img src="HomeImages/Home_09.gif" width="111" height="95" /></td>
        <td><img src="HomeImages/Home_10.gif" width="142" height="94" /></td>
        <td><a href="DemoMenu.html"><img src="HomeImages/Home_11.gif" width="316" height="94" /></a></td>
        <td><img src="HomeImages/Home_12.gif" width="292" height="95" /></td>
      </tr>
      <tr>
        <td><img src="HomeImages/Home_13.gif" width="309" height="121" /></td>
        <td><img src="HomeImages/Home_14.gif" width="110" height="121" /></td>
        <td><img src="HomeImages/Home_15.gif" width="111" height="121" /></td>
        <td><img src="HomeImages/Home_16.gif" width="142" height="121" /></td>
        <td><img src="HomeImages/Home_17.gif" width="316" height="121" /></td>
        <td><img src="HomeImages/Home_18.gif" width="292" height="121" /></td>
      </tr>
      <tr>
        <td><img src="HomeImages/Home_19.gif" width="309" height="91" /></td>
        <td><img src="HomeImages/Home_20.gif" width="110" height="91" /></td>
        <td><img src="HomeImages/Home_21.gif" width="111" height="91" /></td>
        <td><img src="HomeImages/Home_22.gif" width="142" height="91" /></td>
        <td><img src="HomeImages/Home_23.gif" width="316" height="91" /></td>
        <td><img src="HomeImages/Home_24.gif" width="292" height="91" /></td>
      </tr>
      <tr>
        <td><img src="HomeImages/Home_25.gif" width="309" height="142" /></td>
        <td><img src="HomeImages/Home_26.gif" width="110" height="142" /></td>
        <td><img src="HomeImages/Home_27.gif" width="111" height="142" /></td>
        <td><img src="HomeImages/Home_28.gif" width="142" height="142" /></td>
        <td><img src="HomeImages/Home_29.gif" width="316" height="142" /></td>
        <td><img src="HomeImages/Home_30.gif" width="292" height="142" /></td>
      </tr>
      <tr>
        <td><img src="HomeImages/Home_31.gif" width="309" height="94" /></td>
        <td><img src="HomeImages/Home_32.gif" width="110" height="94" /></td>
        <td><img src="HomeImages/Home_33.gif" width="111" height="94" /></td>
        <td><img src="HomeImages/Home_34.gif" width="142" height="94" /></td>
        <td><img src="HomeImages/Home_35.gif" width="316" height="94" /></td>
        <td><img src="HomeImages/Home_36.gif" width="292" height="94" /></td>
      </tr>
      <tr>
        <td><img src="HomeImages/Home_37.gif" width="309" height="124" /></td>
        <td><img src="HomeImages/Home_38.gif" width="110" height="124" /></td>
        <td><img src="HomeImages/Home_39.gif" width="111" height="124" /></td>
        <td><img src="HomeImages/Home_40.gif" width="142" height="124" /></td>
        <td><img src="HomeImages/Home_41.gif" width="316" height="124" /></td>
        <td><img src="HomeImages/Home_42.gif" width="292" height="124" /></td>
      </tr>
      <tr>
        <td><img src="HomeImages/Home_43.gif" width="309" height="109" /></td>
        <td><img src="HomeImages/Home_44.gif" width="110" height="109" /></td>
        <td><img src="HomeImages/Home_45.gif" width="111" height="109" /></td>
        <td><img src="HomeImages/Home_46.gif" width="142" height="109" /></td>
        <td><img src="HomeImages/Home_47.gif" width="316" height="109" /></td>
        <td><img src="HomeImages/Home_48.gif" width="292" height="109" /></td>
      </tr>
      <tr>
        <td><img src="HomeImages/Home_49.gif" width="309" height="600" /></td>
        <td><img src="HomeImages/Home_50.gif" width="110" height="600" /></td>
        <td><img src="HomeImages/Home_51.gif" width="111" height="600" /></td>
        <td><img src="HomeImages/Home_52.gif" width="142" height="600" /></td>
        <td><img src="HomeImages/Home_53.gif" width="316" height="600" /></td>
        <td><img src="HomeImages/Home_54.gif" width="292" height="600" /></td>
      </tr>
    </table>
    </body>
    </html>

  • PartialSubmit and af:table estimatedRowCount question?

    I'm using a commandButton with partialSubmit to submit an executeWithParams operations displayed in an af:table. This works great except for when I include a rendered attribute for the af:table in which case the table never displays. If I remove the partialSubmit, the rendered attribute works as expected. Can someone explain why and is there a way to accomplish using partialSubmit and the af:table rendered functionality? I assume this has something to do with the fact that estimatedRowCount is not getting defined with the partialSubmit but would like to understand better. Thanks
    <af:commandButton id="cmdbutton"
    actionListener="#{bindings.ExecuteWithParams.execute}"
    text="Search for Sponsor Information" partialSubmit="true"/>
    <af:table
    rendered="#{bindings.EnrollFindSponsorView1.estimatedRowCount > 0 ? true : false}"
    partialTriggers="cmdbutton" ...>

    Hi,
    surround the table with a panel and set the partial trigger and rendered property there, this should work.
    Background information: You cannot operate on a component that has rendered set to false. This also includes PPR. So the goal of not showing a table contradicts with PPR
    Frank

Maybe you are looking for

  • Strange icon wont go away

    For a couple days now an icon that is a white envelope with a blackberry symbol in the middle and a white and red exclamation point and been on my home screen. i am not able to open the icon and do no know how to get rid of it! someone please help!

  • How to clear the dhcp leases in Cisco Network Registrar

    Hello, I have a setup with Cisco Network Registrar. We have a few scoops with the lease time set to forever. Now I want to reconfigure the scoops to have a 24h hour leasetime. But before this I would like to clear all the current leases. I have probl

  • Prob creating a new structured data type

    I am trying to create a new structured data type to see it in data type diagram. When i try to right click on structured data type in DATA TYPES, i cant see any option like new structured data type etc. But this is working for distinct as well collec

  • Keyboard won't write czech characters

    Hi, I did update after some time and keyboard won't write czech characters. I set setxkbmap cz and when I push czech character nothing happen. Mostly I'm using vok keyboard which also won't write czech characters. I can't figure out where is problem

  • Just One More Thing (or maybe two) ;-)

    OK, so iTunes 10. I've restored the colour: http://obamapacman.com/2010/09/how-to-add-color-icons-apple-itunes-10-gray-sideb ar-mod/ I've removed the Ping dropdown: http://www.cultofmac.com/how-to-get-rid-of-the-ping-drop-down-menu-in-itunes/606 02 I