If the values are same then post it as a

Hi all

item Qty

-----       ---

ABCD 2

ABCD 2

XYZ 3

IF the two element is the same then display a (consider as a single value)

I mean 2 items should display ex :-abcd, xyz

I'm IN THE LOOP FOR of CURSOR help

v_tab (i): = c_rec.item_id;

v_tab. Delete;

Thank you

Hi all, found the solution...

abc heart

is

in this added slider group so we get 2 values (1,2) If values are like 1,1,2

CDE news

is

We get 3 values as 1,1,2

ABC (parameters) FOR loop

FOR LOOP

i: = i + 1;

x_tab (i): = id

END LOOP;

.....

.....

.....

x_tab. Delete;

commit;

end of loop

If we did not add internal cursor, what I mean is that it holds (x_tab (i)) 2 first values (either same or not) and the following values is also stored in 2 values, I need 3 values

Tags: Database

Similar Questions

  • In the column of table when the values are grater that maximum linear axis it does not show the bar

    Hi guys,.

    In the column of table when the values are grater than there maximum linear axis it does not show the Bar.But I want to display the bar up to the maximum limit of the axis is linear without changing the limit max.

    Consider following the example:

    The values are 80 90 200 300

    and here is the result:

    Left: when I don't put maximum property of linear axis.

    Right: when I put in maximum property of linear axis to 200.

    Untitled.jpg

    Law 4th bar is not visible because the value of this bar is 300 which is excedding maxium. But I want the 4th bar to appear identical to 3 bar.

    How can I do this?

    Thanks in advance.

    Then you should change the value of Y to the maximum value.

    Another option, you should consider is changing the Render item column to reflect that the value is greater than the specified maximum value.

  • After deactivation of elements using Javascript, the values are missing when the...

    .. .page is submitted.

    Friends,

    I have my page apex in the attribute of the HTML Body with some Javascript functions I wrote to determine the following:

    < pre > onLoad = "RadioGroupEnableDisable ('P213_COMPLETED', true); disableStartEndDate(); "< / pre >


    These disable a group of radio buttons and two text fields and work as expected, the values in the controls, I can't change the values and the values are changed properly when I navigate to the next record.

    However

    When I try to edit a field that allow entry and try to save the changes when the page is submitted, I have an error message stating that the required fields are null (these are the same fields that I disabled).

    Is this expected behavior? or I'm doing something very wrong?

    Any help will be very appreciated!

    Hello

    Disabled items are not submitted. It's standard HTML.
    What is your problem

    BR, Jari

  • Search and replace values in the text field before the values are stored in DB

    Hello
    There is a question - answer and text box text field - in my application. Problem is, some of the answers are stored with the apostrophes to the DB and I have a problem while recovering in the DB. I need to replace the single quotes 1 with 2 apostrophes. The values are stored in the DB when you click on the submit button.

    So, I'm using the following javascript code:
    italics
    < script type = "text/javascript" >
    function test().
    {
    var str = "& P2_S1.";
    document. Write (Escape (STR));
    }
    < /script >
    italics
    I need to call this javascript function, when the user clicks on the button submit, but BEFORE the values are stored in the DB. How can I get this done?

    Please let me know.

    Hi Suzi,

    Just use

    begin
    update test set S1=replace(:P2_S1, '''', '''''') where name=:APP_USER;
    end;
    

    as you did in your SELECT statement.

    But I shake also why you want to do? Where do you have problems with the apostrophe?

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

  • The values are duplicated in Proportion?

    Hi guys,.

    Could you please help me understand this issue?
    The following rule is included in the definition of void

    If UDEmpresa = "Dol_Comp" then
    HS. TRANS ' is #Pos_Net_Comp1.C2 #. Dolar_comp C3 #conv.» "I #[ICP no] ', ' has #Pos_Net.C2 #Base.C3 #Conv.I #[ICP no]", "a TCC_Adj #", "
    HS. TRANS ' is #Pos_Net_Comp2.C2 #. Dolar_comp C3 #conv.» «I #[ICP no] ', ' a #Pos_Net_neg.» C2 #base. C3 #conv. «I #[ICP no] "," a TCPComp2 # ", «»
    On the other
    HS. Claire "was #Pos_Net_Comp1.C2 #Cost_Adjs.
    HS. TRANS "has #Pos_Net_Comp1.C2 #Cost_Adjs.C3 #Conv.I #[ICP no] ', ' has #Pos_Net.C2 #Base.C3 #Conv.I #[ICP no]", "a TCC_Adj #", "
    HS. Claire "was #Pos_Net_Comp2.C2 #Cost_Adjs.
    HS. TRANS "was #Pos_Net_Comp2.C2 #Cost_Adjs.C3 #Conv.I #[ICP None] ', ' a #Pos_Net_neg.» C2 #base. C3 #conv. «I #[ICP no] "," a TCPComp2 # ", «»
    End If

    What I've noticed, is that all the values of Pos_Net_Comp # are duplicated in Proportion, even in basic entities. This rule runs twice (in node parent and proportion currency) and this is the reason for all the duplicate values?
    Please, advice!
    Thank you!

    Void translate runs only once, taking the values of and writes the results translated to the . As long as your data is correct in there is no need to consider further the definition of void.

    Void Consolidate, on the other hand, takes data from [Total Parent] and by default writes in [percentage]. Eliminations, by default, are written in the [removal] node.

    Sub calculation can run in [disposal] and [percentage] after running Sub consolidate.

    If I had to guess what is originally given double [percentage], I would say that the hard look on your consolidation rules. Keep in mind that HS. Con accumulates the values, then maybe you have this function performed twice on the same data.

    -Chris

  • Manual search - when start us research by removing the value manally, same results for future research in the next page.

    Hi guys OAF.

    Created a page of manual search with several buttons below. After entering search criteria and click on the first button, it shows the records in a separate page where I perform trade operations. The second page, I have a "back to the main search" link that takes me to the first page of search.

    Now, if I remove the value of any field of text input by clicking X mark the end of the field, or pressing the button remove the key board and try searching again, same values are to come in the next page as if I did not remove the value.

    Data on the next page is mainly with the help of setWhereClause. And here is the code I wrote.

    public void issueQuery (String OrderNum)

    {

    If ((OrderNum! = null) & & (!("".)) Equals (OrderNum.Trim ()))

    {

    setWhereClause ("ORDER_NUMBER =: 1");

    setWhereClauseParams (null); Always reset

    setWhereClauseParam (0, OrderNum);

    }

    executeQuery();

    }

    Please advice, what has gone wrong or its something Oracle behavior?

    Thank you

    Bideau

    I got the answer, it is resolved after the setwhereclause reset each time.

  • The values are not displayed in the user interface

    Hello.

    I use jdev 11.1.1.5

    I need to refersh tha table

    I had created a TPTrialBal EO with corresponding VO. I had dragged and dropped it as an adf:table

    I had also created an adf:button named build., when I click on this button, some values are inserted into the TPTrialBal I need to show the value inserted in the user interface.,.
    How can I do this.,.

    could someone help me pls

    After update of data in the table add patialTrigger to the table component.
    You can do it by doing this. In the behavior section property table contains call partial property triggers here you
    adjustable from which component partial triggers this component, you can select your command button.

  • Displaying an Enum value and the name of the element when the values are not sequential

    Hello

    I use Enum and controls indictators successfully with shared and modbus variables.

    For example:

    Name of the element Value

    Off:                0

    Start 1

    On                2

    Œuvres enum Setup, I don't need to look for a cheat sheet to convert the name of the element in its value, I see the name of the item in my order/indicator.

    My new variables, I'm currently managing look like this:

    Name of the element Value

    Code 0 x 201

    Beginning Code 0 x 202

    Code 0 x 001

    Any ideas how I can display the value and the name of the element on a façade. (for a control and indicator)

    For enumerations, it seems that the item values must go 0,1,2,3,4,5

    I found the solution:

    http://digital.NI.com/public.nsf/allkb/79BA4505AE8C755E86256FB2000140B0

    use a ring of text and deselect the sequential box

  • Options/life private/history/custom-East remember the value. Why then are there "no element" in the library?

    I want to see my story! 24 FF is set to don't forget to browse, download, search, and train!
    No evidence she library!

    You were right, cor-el, places.sqlite has been altered.

    I add the add-on for the maintenance of the premises . But he did that tell me that the file has been corrupted.

    After closing Firefox, I deleted all the places.sqlite files.
    I restarted Firefox and everything is good. Again, I have my favorites and lost only the info tabs more visited, according to me, filling will support in that I continue to navigate with Firefox.

    Thanks to each of you for your comments.

  • Instead of trigger is running, but the values are not inserted into the view

    I created a view
    create or replace view as select e.department_id, e.last_name, d.department_name employee e, Department d where e.department_id = d.department_id;

    create or replace trigger trgg instead of inserting it on vns for each line
    declare
    The CNT number;
    Start
    Select count (*) in the cnt of employees where department_id =:new.department_id;
    If cnt = 0 then
    insert into employees (department_id, last_name) values(11,'nandu');
    end if;
    Select count (*) in the cnt of the Department where department_id =:new.department_id;
    If cnt > 0 then
    insert into dept (department_name) values('wrestling');
    end if;
    end;
    /
    This is the code required. .plz answer the right
    create or replace view
    vns as
    select e.department_id,e.last_name,d.department_name
    from employees e,departments d
    where e.department_id=d.department_id;
    
    create or replace trigger trgg
    instead of insert on vns
    for each row
    declare
    cnt number;
    begin
    select count(*) into cnt from employees where department_id=:new.department_id;
    if cnt=0 then
    --insert into employees(department_id,last_name) values(11,'nandu');
    insert into employees(employee_id,email,hire_date,job_id,department_id,last_name)
                   values(207,'[email protected]',sysdate,'AC_MGR',11,'nandu');   --- Values you have to choose!!
    end if;
    select count(*) into cnt from departments where department_id=:new.department_id;
    if cnt>0 then
    insert into departments(department_id, department_name) values(11, 'wrestling');  -- department_id is needed
    end if;
    end;
    /
    
    -- testing with existing dept id = 10
    
    insert into vns(department_id) values(10);
    
    SQL> select * from departments where department_id = 11;
    
    DEPARTMENT_ID DEPARTMENT_NAME                MANAGER_ID LOCATION_ID
    ------------- ------------------------------ ---------- -----------
               11 wrestling
    

    Requirement, you must be knowing well
    Show you how the trigger must be according to your point of view and logic inside the trigger or you recreate in order to avoid the required values in the trigger body.

    Thank you!

  • Misssing MSINSTALLER cannot add new software until the values are reset.

    Tried to install new software: IE...    QuickBooks

    Printer drivers / scanner etc...

    HP Pavilion DV5000 w / Windows XP Media edition currently installed (SP n ° 3).

    Has worked with Plumchoice for more than 8 hours online for this problem.  Removed some items that were hidden in my Webroot Spysweeper and all I get is a faster computer.     I had an event log with a missing HKEY, who was replaced by their reimage software but still has problems installation, he was told that the registry needs to be rebuilt or to destroy the operating system and start over...  WHAT CAN I DO?

    Hi DonaldWhite355,

    Follow the steps in the article.

    http://support.Microsoft.com/kb/2438651

  • I use Encore CS6. When I try to burn a BluRay disc I get the error: "" code: 3, create sequence stc cannot write file M2S "." This error is only when in the project are more then a (menu or chapter or timeline)

    How can I fix this error?

    This error is probably from multiple sources and it has no uniform solution reported. It can be drive or media. It can be permissions. A reinstall of the still has set at least a situation. Reduce the size of the bitrate/project can avoid the error. Make sure that you still run 'as administrator'.

    (If you get this when you try to burn a disc, test the workflow to the point of actually burning a disc by one) construction of an image and b) burning with another software like ImgBurn to Toast for Mac or PC.

  • Select only records where the column values are not all equal to zero

    Hi everyone, it seems so easy, but it has left me speechless on the research in a way that is clean, easy to achieve. I know when someone replies, I'm going to kick me. So, let's assume this is what I have:
    with mytable as (
    select 'Type 1' as itemtype, 'JAN' as monthname, 0 as theval from dual union all
    select 'Type 1' as itemtype, 'FEB' as monthname, 1 as theval from dual union all
    select 'Type 1' as itemtype, 'MAR' as monthname, 5 as theval from dual union all
    select 'Type 1' as itemtype, 'APR' as monthname, 1 as theval from dual union all
    select 'Type 1' as itemtype, 'MAY' as monthname, 4 as theval from dual union all
    select 'Type 1' as itemtype, 'JUL' as monthname, 0 as theval from dual union all
    select 'Type 1' as itemtype, 'AUG' as monthname, 0 as theval from dual union all
    select 'Type 1' as itemtype, 'SEP' as monthname, 1 as theval from dual union all
    select 'Type 1' as itemtype, 'OCT' as monthname, 7 as theval from dual union all
    select 'Type 1' as itemtype, 'NOV' as monthname, 1 as theval from dual union all
    select 'Type 1' as itemtype, 'DEC' as monthname, 2 as theval from dual union all
    
    select 'Type 2' as itemtype, 'JAN' as monthname, 0 as theval from dual union all
    select 'Type 2' as itemtype, 'FEB' as monthname, 0 as theval from dual union all
    select 'Type 2' as itemtype, 'MAR' as monthname, 0 as theval from dual union all
    select 'Type 2' as itemtype, 'APR' as monthname, 0 as theval from dual union all
    select 'Type 2' as itemtype, 'MAY' as monthname, 0 as theval from dual union all
    select 'Type 2' as itemtype, 'OCT' as monthname, 0 as theval from dual union all
    select 'Type 2' as itemtype, 'NOV' as monthname, 0 as theval from dual union all
    select 'Type 2' as itemtype, 'DEC' as monthname, 0 as theval from dual
    )
    select
      itemtype,
      sum (case monthname when 'JAN' then theval else 0 end) as JAN,
      sum (case monthname when 'FEB' then theval else 0 end) as FEB,
      sum (case monthname when 'MAR' then theval else 0 end) as MAR,
      sum (case monthname when 'APR' then theval else 0 end) as APR,
      sum (case monthname when 'MAY' then theval else 0 end) as MAY,
      sum (case monthname when 'JUN' then theval else 0 end) as JUN,
      sum (case monthname when 'JUL' then theval else 0 end) as JUL,
      sum (case monthname when 'AUG' then theval else 0 end) as AUG,
      sum (case monthname when 'SEP' then theval else 0 end) as SEP,
      sum (case monthname when 'OCT' then theval else 0 end) as OCT,
      sum (case monthname when 'NOV' then theval else 0 end) as NOV,
      sum (case monthname when 'DEC' then theval else 0 end) as DEC
    from mytable
    group by itemtype
    order by itemtype
    I need an external application around it or something which will select only 'Type 1'... that is, if all months are each equal to zero, do not include the record in the result set.

    In summary to get a total of zero is not an option, because I could have-15 and + 15 in different columns, in which case, the recording should be displayed.

    Something as simple as... 'not the case (oct = 0 and 0 nov and dec = 0...) at the end is all it seems to me necessary. I thought to add a case for each column clause, but that seems not very effective. Ideas?

    Thanks in advance!
    Mark

    Edit... I know not what follows will work using the MINUS operator, but my actual query is really huge, and I don't want to have to write it twice...
    {code}
    Select
    ItemType,
    sum (case monthname when "JAN" then Val else 0 end) such as JAN,.
    sum (case when monthname 'FEB', then Val 0 otherwise end) by Feb.
    sum (case when monthname 'MAR', then Val 0 otherwise end) like MARS,
    sum (case monthname when "APR" then Val else 0 end) as APR.
    sum (case when monthname 'MAY', then Val else 0 end) either.
    sum (case when monthname "JUN", then Val 0 otherwise end) as JUN.
    sum (case monthname when "JUL" then Val else 0 end) as JUL,.
    sum (case monthname when "AUG" then Val else 0 end) as AUG.
    sum (case monthname when "MS" then Val else 0 end) as MS.
    sum (case monthname when "OCTS" then Val else 0 end) OCT.
    sum (case monthname when "NOV" then Val else 0 end) as NOV.
    sum (case monthname when 'DEC' then Val else 0 end) as DEC
    FROM MyTable
    Group of itemtype

    less

    Select
    ItemType,
    Jan, Feb, mar, Apr, may, June, July, August, Sept, oct, nov, dec
    de)
    Select
    ItemType,
    sum (case monthname when "JAN" then Val else 0 end) such as JAN,.
    sum (case when monthname 'FEB', then Val 0 otherwise end) by Feb.
    sum (case when monthname 'MAR', then Val 0 otherwise end) like MARS,
    sum (case monthname when "APR" then Val else 0 end) as APR.
    sum (case when monthname 'MAY', then Val else 0 end) either.
    sum (case when monthname "JUN", then Val 0 otherwise end) as JUN.
    sum (case monthname when "JUL" then Val else 0 end) as JUL,.
    sum (case monthname when "AUG" then Val else 0 end) as AUG.
    sum (case monthname when "MS" then Val else 0 end) as MS.
    sum (case monthname when "OCTS" then Val else 0 end) OCT.
    sum (case monthname when "NOV" then Val else 0 end) as NOV.
    sum (case monthname when 'DEC' then Val else 0 end) as DEC
    FROM MyTable
    Group of itemtype
    )
    where (oct = 0 & nov = 0 and dec = 0 and jan = 0 and 0 = Feb and mar = 0
    apr = 0 and may = 0 and = 0 jun and Jul = 0 and aug = 0 and Ms = 0
    )
    order of itemtype
    {code}

    Change again... OK, I guess that I am answering my own question here, but I think that by using a WITH to write the main request once clause and then selecting * twice using the MINUS operator between where the second query is where (oct = 0, etc.) is what I need. If anyone has better suggestions, please let me know! Here's the logic of nickname for what I come up with to date...

    {code}
    WITH mainquery as (select all)
    Select * from mainquery
    less
    Select * from mainquery where (oct = 0, nov = 0, etc...)
    {code}

    Thanks again!
    Mark

    Published by: user455268 on March 1, 2012 19:13

    Published by: user455268 on March 1, 2012 19:16

    Hello

    You can do it with a HAVING clause:

    select
      itemtype,
      sum (case monthname when 'JAN' then theval else 0 end) as JAN,
      sum (case monthname when 'FEB' then theval else 0 end) as FEB,
      sum (case monthname when 'MAR' then theval else 0 end) as MAR,
      sum (case monthname when 'APR' then theval else 0 end) as APR,
      sum (case monthname when 'MAY' then theval else 0 end) as MAY,
      sum (case monthname when 'JUN' then theval else 0 end) as JUN,
      sum (case monthname when 'JUL' then theval else 0 end) as JUL,
      sum (case monthname when 'AUG' then theval else 0 end) as AUG,
      sum (case monthname when 'SEP' then theval else 0 end) as SEP,
      sum (case monthname when 'OCT' then theval else 0 end) as OCT,
      sum (case monthname when 'NOV' then theval else 0 end) as NOV,
      sum (case monthname when 'DEC' then theval else 0 end) as DEC
    from mytable
    group by itemtype
    HAVING      MIN (theval)     != 0
    OR      MAX (theval)     != 0
    order by itemtype
    ;
    

    If the values are all 0, then the MIN and MAX will be 0.
    If the MIN or MAX is not 0, the values are all 0.

    This assumes that the combination (itemtype, monthname) is unique, because it is in your sample data.
    If this is not the case, start with a subquery that GROUPs BY itemtype, monthname, so that when you get to the main request, this combination will be unique.

  • AF:inputListOfValues sets the value of the first item in the result set when using enter key or tab and component value autosubmit = true

    I use JDev 11.1.1.6 and when I type in a value in an af:inputListOfValues element and press enter or the tab key, it will replace the value I entered with the first element in the set of results LOV. If enter a value, simply click on the component af:inputListOfValues it works correctly. If I use the popup and find a value it works properly as well. I have a programmatic view object that contains a single transitional attribute (this is the view object that is used to create the list of the components of the value of) and then I have another object from view based on entities which defines one of its attributes in a list of the attribute value. I tried to use a base object view of entity to create the LOV to and everything works as expected, so I don't know if this is a bug when using programmatic view objects or if I need more code in the VOImpl. In addition, it seems after that first of the value being replaced by the first value in the result set that it will work correctly as well. Here are some excerpts of important code.

    Also, it seems that this does not work only if the text entered in the component af:inputListOfValues would have only a single game, returned in the result set. For example, given the result defined in code: Brad, Adam, Aaron, Fred, Charles, Charlie, Jimmy

    If we get into Cha, the component works as expected

    If we register A, the component works as expected

    If we get Jimmy, the component does not work as expected, and returns the first value of results IE. Brad

    If we get Fred, the component does not work as expected, and returns the first value of results IE. Brad

    I also checked that I get the same behavior in JDev 11.1.1.7

    UsersVOImpl (programmatic view with 1 transitional attribute object)

    import java.sql.ResultSet;
    
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.List;
    
    import oracle.adf.share.logging.ADFLogger;
    
    import oracle.jbo.JboException;
    import oracle.jbo.server.ViewObjectImpl;
    import oracle.jbo.server.ViewRowImpl;
    import oracle.jbo.server.ViewRowSetImpl;
    
    // ---------------------------------------------------------------------
    // ---    File generated by Oracle ADF Business Components Design Time.
    // ---    Wed Sep 18 15:59:44 CDT 2013
    // ---    Custom code may be added to this class.
    // ---    Warning: Do not modify method signatures of generated methods.
    // ---------------------------------------------------------------------
    
    public class UsersVOImpl extends ViewObjectImpl {
    
        private static ADFLogger LOGGER = ADFLogger.createADFLogger(UsersVOImpl.class);
        private long hitCount = 0;
    
        /**
         * This is the default constructor (do not remove).
         */
        public UsersVOImpl () {
        }
    
        /**
         * executeQueryForCollection - overridden for custom java data source support.
         */
        protected void executeQueryForCollection (Object qc, Object[] params, int noUserParams) {
    
             List<String> usersList = new ArrayList<String>();
             usersList.add("Brad");
             usersList.add("Adam");
             usersList.add("Aaron");
             usersList.add("Fred");
             usersList.add("Charles");
             usersList.add("Charlie");
             usersList.add("Jimmy");
    
             Iterator usersIterator = usersList.iterator();
             setUserDataForCollection(qc, usersIterator);
             hitCount = usersList.size();
             super.executeQueryForCollection(qc, params, noUserParams);
    
        } // end executeQueryForCollection
    
        /**
         * hasNextForCollection - overridden for custom java data source support.
         */
        protected boolean hasNextForCollection (Object qc) {
    
             Iterator usersListIterator = (Iterator)getUserDataForCollection(qc);
             if (usersListIterator.hasNext()) {
         
                 return true;
    
             } else {
    
                 setFetchCompleteForCollection(qc, true);
                 return false;
    
             } // end if
    
        } // end hasNextForCollection
    
        /**
         * createRowFromResultSet - overridden for custom java data source support.
         */
        protected ViewRowImpl createRowFromResultSet (Object qc, ResultSet resultSet) {
    
             Iterator usersListIterator = (Iterator)getUserDataForCollection(qc);
             String user = (String)usersListIterator.next();
             ViewRowImpl viewRowImpl = createNewRowForCollection(qc);
    
             try {
    
                 populateAttributeForRow(viewRowImpl, 0, user.toString());
    
             } catch (Exception e) {
    
                 LOGGER.severe("Error Initializing Data", e);
                 throw new JboException(e);
    
             } // end try/catch
    
             return viewRowImpl;
    
        } // end createRowFromResultSet
    
        /**
         * getQueryHitCount - overridden for custom java data source support.
         */
        public long getQueryHitCount (ViewRowSetImpl viewRowSet) {
             return hitCount;
        } // end getQueryHitCount
    
        @Override
        protected void create () {
    
             getViewDef().setQuery(null);
             getViewDef().setSelectClause(null);
             setQuery(null);
    
        } // end create
    
        @Override
        protected void releaseUserDataForCollection (Object qc, Object rs) {
    
             Iterator usersListIterator = (Iterator)getUserDataForCollection(qc);
             usersListIterator = null;
             super.releaseUserDataForCollection(qc, rs);
    
        } // end releaseUserDataForCollection
    
    } // end class
    
    

    <af:inputListOfValues id="userName" popupTitle="Search and Select: #{bindings.UserName.hints.label}" value="#{bindings.UserName.inputValue}"
                                                  label="#{bindings.UserName.hints.label}" model="#{bindings.UserName.listOfValuesModel}" required="#{bindings.UserName.hints.mandatory}"
                                                  columns="#{bindings.UserName.hints.displayWidth}" shortDesc="#{bindings.UserName.hints.tooltip}" autoSubmit="true"
                                                  searchDesc="#{bindings.UserName.hints.tooltip}"                                           
                                                  simple="true">
                              <f:validator binding="#{bindings.UserName.validator}"/>                       
    </af:inputListOfValues>
    
    
    
    

    I found a solution to this problem. It seems that, when using a view object programmatic that has a transient as its primary key attribute, you need to override the methods in the ViewObjectImpl so that he knows how to locate the line related to the primary key when the view object records are not in the cache. That's why it would work properly sometimes, but not always. Here are the additional methods that you must override. The logic you use in the retrieveByKey would be on a view view object database object and would be different if you had a primary key consisting of multiple attributes.

    @Override
    protected Row[] retrieveByKey (ViewRowSetImpl viewRowSetImpl, Key key, int i) {
        return retrieveByKey(viewRowSetImpl, null, key, i, false);
    }
    
    @Override
    protected Row[] retrieveByKey (ViewRowSetImpl viewRowSetImpl, String string, Key key, int i, boolean b) {
    
        RowSetIterator usersRowSetIterator = this.createRowSet(null);
        Row[] userRows = usersRowSetIterator.getFilteredRows("UserId", key.getAttribute(this.getAttributeIndexOf("UserId")));
        usersRowSetIterator.closeRowSetIterator();
        return userRows;
    
    }
    
    @Override
    protected Row[] retrieveByKey (ViewRowSetImpl viewRowSetImpl, Key key, int i, boolean b) {
        return retrieveByKey(viewRowSetImpl, null, key, i, b);
    }
    
  • Why sit used ' £ ' sign next to the value?

    Why the pound sign usually sit beside the value-"Sub cost of funeral" sit above the value up and yet all the sharps and the values are fine.

    Also, why by choosing the section "Funeral" and by adding "St Sebastians Non-res (£4791,10)" from "cemetery fees" from the drop-down list only make £4791,1 instead of £4791,10 in "Total disbursements for a funeral. Its lack the last digit? It's also the same in the "Total cost of the funeral.

    http://www.milesmemorials.com/estimator.html

    You must add two numbers first and then convert it into a string:

    document.catwebformform22057.Grand_Total.value = (total_funeral + total_disbursements) .toFixed (2);

    --

    Kenneth Kawamoto

    http://www.materiaprima.co.UK/

Maybe you are looking for