Problem in VO execution----Please help me urgent

Hi,
I have One region(ASNOpptyReviewRN).this region is a tab in the main page(OpptyPG).For the region i am using one VO(OppReviewVO).
When i came to this page i am writing the code in the process request to execute the VO based on the condition..so i can get the data on the page.
First time VO is getting executed and data is coming in the page.if there is no data then i have the requirement to insert or update the fields in the region.
So everything is working fine first time..or if i not insert anything new row...it is working fine all the time.
But the problem is...after insert a new row and if i come to home page(not OpptyPG) and if i go to the ASNOpptyReviewRN the vo is getting executed but it is not showing the data on the page..
This is happenig only when i insert a new row and i come back to that page..
Please Help me..its urgent.. i am pasting the Processrequest and Amimpl code here...
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModule am=pageContext.getApplicationModule(webBean);
String BidNumber=(String)pageContext.getTransactionTransientValue("ASNOpptyDetNbr");
String reviewdBy=pageContext.getParameter("ReviewedBy");
String reviewdDate=pageContext.getParameter("ReviewedDate");
String versionNum=pageContext.getParameter("VersionNumber");
String effortWithoutCont=pageContext.getParameter("EffortWithoutContingency");
String contEffort=pageContext.getParameter("ContingencyEffort");
String reviewFlag=pageContext.getParameter("ReviewFlag");
String expiryDate=pageContext.getParameter("ExpiryDate");
String comments=pageContext.getParameter("Comments");
Serializable[] parameters={BidNumber,reviewdBy,reviewdDate,versionNum,effortWithoutCont,contEffort,reviewFlag,expiryDate,comments};
pageContext.writeDiagnostics(this, "Inside ifff Bharat", 1);
am.invokeMethod("insertBidReviewRow",parameters);
and the method in the am is
public void insertBidReviewRow(String BidNumber,String reviewdBy,String reviewdDate,String versionNum,String effortWithoutCont,String contEffort,String reviewFlag,String expiryDate,String comments) throws SQLException,
ParseException
String msg1="Hi i am inside bidreview"+BidNumber+reviewdBy+reviewdDate+versionNum+effortWithoutCont+contEffort+reviewFlag+expiryDate+comments;
logMessages(msg1);
Number bidnum=new Number(BidNumber);
OpportunityBidReviewVOImpl vo;
vo = getOpportunityBidReviewVO1();
vo.setWhereClause(null);
vo.setWhereClauseParams(null);
vo.setWhereClause("BID_ID=:1");
vo.setWhereClauseParam(0,bidnum);
vo.executeQuery();
int rowCount=vo.getRowCount();
String msg8="Hi no of row count:-.."+":-- "+rowCount;
logMessages(msg8);
if(rowCount==0)
String msg2="Hi iam inside bidreview:- Before fetch...";
logMessages(msg2);
vo.setMaxFetchSize(0);
Row row=vo.createRow();
String msg3="Hi iam inside bidreview:- After create....";
logMessages(msg3);
vo.insertRow(row);
String msg4="Hi iam inside bidreview:- insert row....";
logMessages(msg4);
row.setNewRowState(Row.STATUS_INITIALIZED);
vo.setCurrentRow(row);
String msg5="Hi iam inside bidreview:- insert row....";
logMessages(msg5);
OpportunityBidReviewVORowImpl opptybidreviewVo = (OpportunityBidReviewVORowImpl)vo.getCurrentRow();
opptybidreviewVo.setBidId(bidnum);
opptybidreviewVo.setReviewedBy(reviewdBy);
//opptybidreviewVo.setReviewedDate(reviewdate);
opptybidreviewVo.setVersionNumber(versionNum);
opptybidreviewVo.setEffortWithoutContingency(effortWithoutCont);
opptybidreviewVo.setContingencyEffort(contEffort);
opptybidreviewVo.setReviewFlag(reviewFlag);
//opptybidreviewVo.setExpiryDate(expirydate);
opptybidreviewVo.setComments(comments);
String msg6="Hi iam inside bidreview:- after all....";
logMessages(msg6);
String msg7="vo is cleared";
logMessages(msg7);
else
String msg7="Hi iam inside bidreview:- already existing.....";
logMessages(msg7);
Thanks in advance
Edited by: 842238 on Jul 1, 2011 7:07 AM

Hi Kristoper,
No..that Vo is based on some EO..why i am using the row.setAttribute() is...the bid number is coming from some other page...and i need to insert it in table..
and except the bid number..other values are coming from the page...
Thank you

Similar Messages

  • Problem in Code..Please help..urgent...:(

    Hello All,
    Please refer to the below code:
    package com.sap.NewOrderAssignment;
    import java.io.Serializable;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.Locale;
    import java.util.GregorianCalendar;
    import com.sapportals.htmlb.*;
    import com.sapportals.htmlb.enum.TableColumnType;
    import com.sapportals.htmlb.table.DefaultTableViewModel;
    import com.sapportals.htmlb.table.TableColumn;
    public class BeanOrderDetails implements Serializable
    { public Date toDay, orderDate;
    public String toDayAsString;
    public IListModel deliveryAddress;
    public TextEdit address;
    public DefaultTableViewModel orderLines;
    public Locale locale;
    public String poNumber, model, qty;
    public Object colTitle[] = {"Model","Description","Qty (pcs)","AD Price","Net Price","Total amount","Indication ETA","12 NC","Part Del","GIM","# A-box","Pcd/A-box"};
    public BeanOrderDetails()
    { Calendar cal = new GregorianCalendar();
    toDay = cal.getTime();
    String year = String.valueOf(cal.get(Calendar.YEAR));
    String month = String.valueOf(cal.get(Calendar.MONTH)+1);
    String day = String.valueOf(cal.get(Calendar.DAY_OF_MONTH));
    toDayAsString = year"-"month"-"day;
    deliveryAddress = new DefaultListModel();
    deliveryAddress.setSingleSelection(true);
    deliveryAddress.addItem("1", "Delivery Address1");
    deliveryAddress.addItem("2", "Delivery Address2");
    deliveryAddress.addItem("3", "Delivery Address3");
    //company address
    address = new TextEdit("Company Address");
    address.setRows(4);
    address.setCols(40);
    String line1 = "KPIT Cummins Infosystems Ltd.";
    String line2 = "MIDC, Hinjewadi";
    String line3 = "Pune, India";
    address.setText(line1line2line3);
    address.setEnabled(true);
    //Table creation
    Object data[][] = {{"HQ8894","Sensotec Dry Rota Shaver","500","1,512.00","1,498.00","749.00","08-08-2005","885889401710","N","Y","","50"}};
    orderLines = new DefaultTableViewModel(data, colTitle);
    TableColumn columnModel = orderLines.getColumnAt(1);
    TableColumn columnDesciption = orderLines.getColumnAt(2);
    TableColumn columnQty = orderLines.getColumnAt(3);
    TableColumn columnADPrice = orderLines.getColumnAt(4);
    TableColumn columnNetPrice = orderLines.getColumnAt(5);
    TableColumn columnTotalAmunt = orderLines.getColumnAt(6);
    TableColumn columnETA = orderLines.getColumnAt(7);
    TableColumn column12NC = orderLines.getColumnAt(8);
    TableColumn columnPartDel = orderLines.getColumnAt(9);
    TableColumn columnGIM = orderLines.getColumnAt(10);
    TableColumn columnABox = orderLines.getColumnAt(11);
    TableColumn columnAmountInBox = orderLines.getColumnAt(11);
    TableColumn columnPcsBox = orderLines.getColumnAt(12);
    columnModel.setType(TableColumnType.INPUT);
    columnModel.setWidth("150");
    columnQty.setType(TableColumnType.INPUT);
    columnDesciption.setWidth("300");
    public void setLocale(Locale l)
    { locale = l;
    public Locale getLocale()
    { return locale;
    public void setOrderDate(Date od)
    { orderDate = od;
    public Date getOrderDate()
    { return orderDate;
    public void setOrderLines(DefaultTableViewModel mm)
    { orderLines = mm;
    public DefaultTableViewModel getOrderLines()
    { return orderLines;
    public void setAddress(String adr)
    { address.setText(adr);
    public void setTextEditAddress(TextEdit adr)
    { address = adr;
    public TextEdit getTextEditAddress()
    { return address;
    public String getAddress()
    { return address.getText();
    public void setDeliveryAdresses(IListModel model)
    { deliveryAddress = model;
    public IListModel getdeliveryAddresses()
    { return deliveryAddress;
    public void setPoNumber(String pon)
    { this.poNumber = pon;
    public String getPoNumber()
    { return this.poNumber;
    public void setModel(String m)
    { this.model = m;
    public void setQty(String quantity)
    { this.qty = quantity;
    public void getNewRow()
    { Object data[][] = { {"","Sensotec Dry Rota Shaver ABC","","1,512.00","1,498.00","749.00","08-08-2005","885889401710","N","Y","","50"}};
    this.setQty("");
    this.setModel("");
    TableColumn columnModel = orderLines.getColumnAt(1);
    TableColumn columnDesciption = orderLines.getColumnAt(2);
    TableColumn columnQty = orderLines.getColumnAt(3);
    TableColumn columnADPrice = orderLines.getColumnAt(4);
    TableColumn columnNetPrice = orderLines.getColumnAt(5);
    TableColumn columnTotalAmunt = orderLines.getColumnAt(6);
    TableColumn columnETA = orderLines.getColumnAt(7);
    TableColumn column12NC = orderLines.getColumnAt(8);
    TableColumn columnPartDel = orderLines.getColumnAt(9);
    TableColumn columnGIM = orderLines.getColumnAt(10);
    TableColumn columnABox = orderLines.getColumnAt(11);
    TableColumn columnAmountInBox = orderLines.getColumnAt(11);
    TableColumn columnPcsBox = orderLines.getColumnAt(12);
    columnModel.setType(TableColumnType.INPUT);
    columnModel.setWidth("150");
    columnQty.setType(TableColumnType.INPUT);
    columnDesciption.setWidth("300");
    The above code creates a table. It actually maps the various fields as the TableColumn.
    Question:
    I have added a button which appears below this table.
    Name of button = AddNewLine
    Now, when this button is clicked, a new empy row should appear in the table.
    My stmts in method - getNewRow() are not working.
    Please help me do so.
    Please help...its kinda urgent.
    Thanks and Warm Regards,
    Ritu R Hunjan

    Hi Ritu,
             First up all I don't see any code where exactly you have added a button in the table.
             Secondly as a general thing,looking on to ur scenario you have initialize the table on the event of clicking the button ie)in ur getNewRow() just initialize your code for building an empty row of the table.
    Regards,
    guru

  • I have problem in my project, please Help me, urgent

    have problem in my project.
    When i start using project, i recive a errore in flash player
    if it possible troubleshooted for me
    Problem file

    The problem is that you have left paper on the floor near the
    wastebasket.
    Please you have to do a little of the work yourself.
    First, post a topic that has a title regarding your problem.
    That way people who know about that problem will be more likely to
    take a look.
    Second, don't just say you have a problem and receive and
    error. Shay what kind of problem and tell us what the error says.
    Third. Most people won't download a file from any random
    stranger off the net. So don't expect that is going to explain it.
    Fourth, even if the file does explain it, why should a
    stranger have to do all the steps that you should have done?
    Fifth, do a little work yourself, what have you tried to fix
    it?
    Sixth. Just because it is urgent to you doesn't mean it is
    urgent to everybody else.
    So try some of these things and post back.

  • Javafx deployment in html page(please help me urgent)

    i used the following method to deploy javafx in an html page.
    javafx file is:
    package hello;
    import javafx.scene.*;
    import javafx.stage.Stage;
    import javafx.scene.text.Text;
    import javafx.scene.text.Font;
    import javafx.scene.paint.Color;
    import javafx.scene.effect.DropShadow;
    Stage {
        title: "My Applet"
        width: 250
        height: 80
        scene: Scene {
            content: Text {
                x: 10  y: 30
                font: Font {
                     size: 24 }
                fill: Color.BLUE
                effect: DropShadow{ offsetX: 3 offsetY: 3}
                content: "VAARTA"
    I save the file as HelloApplet in a 'hello' named folder in my D:
    after that i downloaded from internet html code as
    <html>
        <head>
            <title>Wiki</title>
        </head>
        <body>
            <h1>Wiki</h1>
            <script src="dtfx.js"></script>
            <script>
                javafx(
                    archive: "HelloApplet.jar",
                    draggable: true,
                    width: 150,
                    height: 100,
                    code: "hello.HelloApplet",
                    name: "Wiki"
            </script>
        </body>
    </html>now i typed in DOS prompt as javafxc.exe HelloApplet.fx & i got the class files .
    _The main problem which is coming is how to create HelloApplet.jar file which is used in the html page without which the html page is not displaying the javafx script. Please help me urgently i am in the middle of my project & stuck up due to JAVAFX                   i am using WIndowsXP & javafx-sdk1.0 when i am typing jar command inside hello package it is displaying invalid command.in DOS prompt. If there is any other method to deploy javafx in html page then specify it also.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Crossposted: [http://forums.sun.com/thread.jspa?threadID=5323288].
    Please don't crosspost without notifying others. It is rude in terms of netiquette. Stick to one topic.

  • Developer 6 Timer Problem... Please help

    Hi all,
    I have installed Developer 6(Oracle Product) on my system. I am facing a strange problem whenever I try to use Create_Timer built in. The cursor moves to starting of the Item being modified as soon as the space bar is pressed (timed for timer expiration). If I remove the Built-in the problem is resolved.
    Please help urgently.
    Regards
    Anand

    Upgrade to the latest patch and the problem shoudl go away - this issue was fixed I think in 6.0.8.13+
    You can also try setting Keey Cursor position to Yes on the item.

  • TS1538 I have tried everything but I can't connect my iphone to my laptop. It says that apple mobile device failed to be installed. I have read everything on the internet and did everything but still am facing the same problem. Can you please help me.

    I have tried everything but I can't connect my iphone to my laptop. It says that apple mobile device failed to be installed. I have read everything on the internet and did everything but still am facing the same problem. Can you please help me.

    Again without stating the trouble shooting steps you have taken, its hard to direct you with any information.
    Try a different port on the computer.
    Does the iphone beep when u plug it up. ?
    Plug iphone into computer and give it 3 to 4 minutes to see if it connects and is running slow.,
    Delete the apple mobile device from your computer.
    Upgrade itunes to newest version.
    Is you USB cord defective ?
    Any USB 3.0 on your system ? .
    Delete or Disable  any antivirus program on your computer ?
    I will tell u the problem is your computer not the phone.
    We could do this for hours.

  • HT201363 Hello I forgot my Security question of my Apple ID ? I don't kow what should I do and how to solve this problem ? could you please help  ?

    Hello I forgot my Security question of my Apple ID ? I don't kow what should I do and how to solve this problem ? could you please help  ?

    You need to ask Apple to reset your security questions; ways of contacting them include phoning AppleCare and asking for the Account Security team, clicking here and picking a method for your country, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (104569)

  • I made upgrade for IOS to 7.04 but my iphone is second hand and when iphone need to make activation ,i don't have the apple ID so my iphone didn't work from this time so please help me urgent

    I made upgrade for IOS to 7.04 but my iphone is second hand and when iphone need to make activation ,i don't have the apple ID so my iphone didn't work from this time so please help me urgent.

    There isn't one.
    amrzaky wrote:
    I can't contact with previous owner s i need another solutoin
    The Apple ID and Password that was Originally used to Activate the iDevice is required.
    If you cannot get this information from the seller
    Removing a device from a previous owner’s account
    You need to return the Device for a refund, as you will not be able to re-activate it.

  • HT1926 i've tried so many times but the problem still exists! please help!!

    i've tried so many times but the problem still exists! please help!!

    Could you describe what your problem is, please?

  • What to do when iTunes cannot sync my iPad 3. Problem Event Name: BEX (Please Help)

    What to do when iTunes cannot sync my iPad 3. Problem Event Name: BEX
    Please Help to solve...

    Hi Ahmed,
    In iTunes, go to the Store in the left menu, select iTunes Store, wehn it opens, make sure you are on the home screen (icon of a house in the menu bar) and from the righthand side, select Account.
    Next you will see all of your account information. Just a little don, you will find: Apple ID overview, there it says, Authorised computers; click on the button to deauthorise.
    And you should be done.
    Grtz, Carl.

  • No sound for incoming calls but it works using speaker and earpiece. I can't hear anything but the other party can hear me clearly. I was told it's hardware problem. Would anyone please help? Thanks

    No sound for incoming calls but it works using speaker and earpiece. I can't hear anything but the other party can hear me clearly. I was told it's hardware problem. Would anyone please help me? Thanks

    This is an annoying problem for many people. Most likely your dock connector (on the bottom where you plug in your phone) is dirty or screwed up and is probably just coincidence that it happened after you updated. Some people have had success cleaning the port with a dry clean tooth brush. There is a long discussion going on at the thread I linked below. Good luck...
    https://discussions.apple.com/thread/2475631

  • Problem with Accessing Deployed Servlets Please help, very urgent.

    Inspite of going through lots of Docs. I am not able to access the JSP which is deployed using JDeveloper 3.2 in the browser? What should be the URL and where should I place the JSP and the related files in the Apache Server (Specific directory)?
    Please help, this is very Urgent.
    Could I get some sites where I can get detailed description of how to deploy and access Servlets and JSPS using JDeveloper 3.2 for OAS 9i?
    Thanks in advance,
    Regards,
    Kavita.
    null

    Hi Kativa,
    In answer to your first question: In most apache installs, you want to place all your JSPs under the Apache/htdocs directory. This htdocs directory becomes the root directory of your HTTP request, so, for example, to access the file
    Apache/htdocs/mydir/myJSP.jsp
    you'd point your browser to
    server:port/mydir/myJSP.jsp]http://server:port/mydir/myJSP.jsp
    As to your second question: Do you mean Oracle 9iAS? If so, look at this HOWTO: http://technet.oracle.com:89/ubb/Forum2/HTML/006398.html
    JDeveloper 3.2 does not support deployment to OAS (the predecessor to iAS), but there was no OAS 9i.
    null

  • Problem in HTMLB..Please Help...urgent....:(

    Hello All,
    Please refer to the below code:
    package com.sap.NewOrderAssignment;
    import java.io.Serializable;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.Locale;
    import java.util.GregorianCalendar;
    import com.sapportals.htmlb.*;
    import com.sapportals.htmlb.enum.TableColumnType;
    import com.sapportals.htmlb.table.DefaultTableViewModel;
    import com.sapportals.htmlb.table.TableColumn;
    public class BeanOrderDetails implements Serializable
    {     public Date toDay, orderDate;
         public String toDayAsString;
         public IListModel deliveryAddress;
         public TextEdit address;
         public DefaultTableViewModel orderLines;
         public Locale locale;
         public String poNumber, model, qty;
         public Object colTitle[] = {"Model","Description","Qty (pcs)","AD Price","Net Price","Total amount","Indication ETA","12 NC","Part Del","GIM","# A-box","Pcd/A-box"};
         public BeanOrderDetails()
         {     Calendar cal = new GregorianCalendar();
              toDay = cal.getTime();
              String year = String.valueOf(cal.get(Calendar.YEAR));
              String month = String.valueOf(cal.get(Calendar.MONTH)+1);
              String day = String.valueOf(cal.get(Calendar.DAY_OF_MONTH));
              toDayAsString = year"-"month"-"day;
              deliveryAddress = new DefaultListModel();
              deliveryAddress.setSingleSelection(true);
              deliveryAddress.addItem("1", "Delivery Address1");
              deliveryAddress.addItem("2", "Delivery Address2");
              deliveryAddress.addItem("3", "Delivery Address3");
              //company address
              address = new TextEdit("Company Address");
              address.setRows(4);
              address.setCols(40);
              String line1 = "KPIT Cummins Infosystems Ltd.";
              String line2 = "MIDC, Hinjewadi";
              String line3 = "Pune, India";
              address.setText(line1line2line3);
              address.setEnabled(true);
              //Table creation
              Object data[][] = {{"HQ8894","Sensotec Dry Rota Shaver","500","1,512.00","1,498.00","749.00","08-08-2005","885889401710","N","Y","","50"}};
              orderLines = new DefaultTableViewModel(data, colTitle);     
              TableColumn columnModel = orderLines.getColumnAt(1);
              TableColumn columnDesciption = orderLines.getColumnAt(2);
              TableColumn columnQty = orderLines.getColumnAt(3);
              TableColumn columnADPrice = orderLines.getColumnAt(4);
              TableColumn columnNetPrice = orderLines.getColumnAt(5);
              TableColumn columnTotalAmunt = orderLines.getColumnAt(6);
              TableColumn columnETA = orderLines.getColumnAt(7);
              TableColumn column12NC = orderLines.getColumnAt(8);
              TableColumn columnPartDel = orderLines.getColumnAt(9);
              TableColumn columnGIM = orderLines.getColumnAt(10);
              TableColumn columnABox = orderLines.getColumnAt(11);
              TableColumn columnAmountInBox = orderLines.getColumnAt(11);
              TableColumn columnPcsBox = orderLines.getColumnAt(12);
              columnModel.setType(TableColumnType.INPUT);
              columnModel.setWidth("150");
              columnQty.setType(TableColumnType.INPUT);
              columnDesciption.setWidth("300");
         public void setLocale(Locale l)
         {     locale = l;
         public Locale getLocale()
         {     return locale;
         public void setOrderDate(Date od)
         {     orderDate = od;
         public Date getOrderDate()
         {     return orderDate;
         public void setOrderLines(DefaultTableViewModel mm)
         {     orderLines = mm;
         public DefaultTableViewModel getOrderLines()
         {     return orderLines;
         public void setAddress(String adr)
         {     address.setText(adr);
         public void setTextEditAddress(TextEdit adr)
         {     address = adr;
         public TextEdit getTextEditAddress()
         {     return address;
         public String getAddress()
         {     return address.getText();
         public void setDeliveryAdresses(IListModel model)
         {     deliveryAddress = model;
         public IListModel getdeliveryAddresses()
         {     return deliveryAddress;
         public void setPoNumber(String pon)
         {     this.poNumber = pon;
         public String getPoNumber()
         {     return this.poNumber;
         public void setModel(String m)
         {     this.model = m;
         public void setQty(String quantity)
         {     this.qty = quantity;
         public void getNewRow()
         {     Object data[][] = { {"","Sensotec Dry Rota Shaver ABC","","1,512.00","1,498.00","749.00","08-08-2005","885889401710","N","Y","","50"}};
              this.setQty("");
              this.setModel("");          
              TableColumn columnModel = orderLines.getColumnAt(1);
              TableColumn columnDesciption = orderLines.getColumnAt(2);
              TableColumn columnQty = orderLines.getColumnAt(3);
              TableColumn columnADPrice = orderLines.getColumnAt(4);
              TableColumn columnNetPrice = orderLines.getColumnAt(5);
              TableColumn columnTotalAmunt = orderLines.getColumnAt(6);
              TableColumn columnETA = orderLines.getColumnAt(7);
              TableColumn column12NC = orderLines.getColumnAt(8);
              TableColumn columnPartDel = orderLines.getColumnAt(9);
              TableColumn columnGIM = orderLines.getColumnAt(10);
              TableColumn columnABox = orderLines.getColumnAt(11);
              TableColumn columnAmountInBox = orderLines.getColumnAt(11);
              TableColumn columnPcsBox = orderLines.getColumnAt(12);
              columnModel.setType(TableColumnType.INPUT);
              columnModel.setWidth("150");
              columnQty.setType(TableColumnType.INPUT);
              columnDesciption.setWidth("300");
    The above code creates a table. It actually maps the various fields as the TableColumn.
    <b><u>Question:</u></b>
    I have added a button which appears below this table.
    Name of button = AddNewLine
    Now, when this button is clicked, a new empy row should appear in the table.
    <i><b>My stmts in method - getNewRow() are not working.</b></i>
    Please help me do so.
    Please help...its kinda urgent.
    Thanks and Warm Regards,
    Ritu R Hunjan

    Hi Ritu,
             First up all I don't see any code where exactly you have added a button in the table.
             Secondly as a general thing,looking on to ur scenario you have initialize the table on the event of clicking the button ie)in ur getNewRow() just initialize your code for building an empty row of the table.
    Regards,
    guru

  • Please help me urgently (Problem in using delete statement)

    Hello,
    I want to run delete query where table name should come from a variable .I have written the following procedure but its not working .Could you please help me
    DECLARE
    processtemplatename VARCHAR2(64);
    CURSOR T1Cursor IS
    select Process_template_name from ProcessTemplate
    where PROCESS_template_ID in
    ( select PROCESS_template_ID from PROCESSINSTANCE
    where process_instance_id in
    (select process_instance_id from processinstance where STATUS = 'PI_COMPLETED' OR STATUS = 'PI_REMOVED' ));
    BEGIN
    OPEN T1Cursor;
    LOOP
    FETCH T1Cursor INTO processtemplatename;
    EXIT WHEN T1Cursor%NOTFOUND;
    DELETE FROM processtemplatename WHERE process_instance_id in
    ( select process_instance_id from PROCESSINSTANCE where STATUS = 'PI_COMPLETED' OR STATUS = 'PI_REMOVED' );
    END LOOP;
    CLOSE T1Cursor;
    END;
    I am getting the error
    ERROR at line 19:
    ORA-06550: line 19, column 27:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 19, column 15:
    PL/SQL: SQL Statement ignored
    even when i used
    DECLARE
    processtemplatename VARCHAR2(64);
    BEGIN
    processtemplatename := 'example1';
    DELETE FROM processtemplatename WHERE process_instance_id in
    ( select process_instance_id from PROCESSINSTANCE where STATUS = 'PI_COMPLETED' OR STATUS = 'PI_REMOVED' );
    END;
    I am still getting the same error message
    Thanks,
    Salam.

    And BTW you do not need that clumsy CURSOR c.. OPEN c.. FETCH c INTO... CLOSE c etc. It is "reserved" for more complex cases when you cannot use:
    <pre>
    FOR P IN
         select Process_template_name
              from ProcessTemplate
              where PROCESS_template_ID in
                   (select PROCESS_template_ID
                        from PROCESSINSTANCE
                        where process_instance_id in
                             (select process_instance_id
                                  from processinstance
                                  where STATUS = 'PI_COMPLETED'
                                       OR STATUS = 'PI_REMOVED'
    LOOP
         EXECUTE IMMEDIATE
              'DELETE FROM ' || P.Process_template_name ||
                   ' WHERE process_instance_id in
                        (select process_instance_id
                             from PROCESSINSTANCE
                             where STATUS = ''PI_COMPLETED'' OR STATUS = ''PI_REMOVED''
    END LOOP;
    </pre>

  • Urgent !  Exception problem ... Please Help!

    Question: What is the value of the variable output for foo(1)?
    I've got different numbers from the answer ... Please help!
    public class Test1{
         public static String output = "";
         public static void foo(int i){
              try{
                   if(i == 1){
                        throw new Exception();
                   output +="1";
              catch(Exception e){
                   output += "2";
                   return;               
              finally{
                   output += "3";
              output += "4";
              public static void main(String args[]){
                   foo(0);
                   foo(1);     
         }

    It is what it is. If running this code gives you a different answer than what the book says, then either the book is wrong, or you're not running the same code as what's in the book.
    You can confirm or eliminate the latter quite easily, just by reading carefully.

Maybe you are looking for

  • Time to replace.....

    Those 2 G4's Apple is using to run host Forums!

  • Integration Broker Application Messages Issue

    Hi Gurus, We are having an issue with the Integration Broker Application Messages. Here's the issue, when we run Dynrole it process Application Messages. All messages go to Done status, but checking the instance, the Footer comes first, where the hea

  • WPC transports

    after i transport WPC content, it does not work in the QA or the PRD system. in qa no links are working and i cant open the files. also, i cant seem to change the order of the navigation nodes as that entry is not showing in the context menu. i have

  • P2 Card Data Final Cut Express

    Soooo... I have an external HD with a bunch of P2 Card data on it. How can I import this into Final Cut Express HD? If I go to Card 1 -> Contents -> Clip -> there are files that end in .xml and when I open them it says pick a translator document file

  • Alv error: error "The system is configured incorrectly "

    hi, I am getting the following error while doing alv in webdynpro. error "The system is configured incorrectly " The error occurred on the application server CDNSRV_CDN_00 and in the work process 0 . The termination type was: RABAX_STATE i have embee