Problem htmlb

if I try to use the tags htmlb. when they call me the following error page, I'm working on a version of SAP 4.6, etc.
Fehlermeldung: An exception that could not be caught occurred. ( Abbruchsart: RABAX_STATE )

ST22
An exception that could not be caught occurred.                                                                               
Causa dell'errore                                                                               
The exception 'CX_BSP_ELEMENT_EXCEPTION' was raised but was not caught at any  
stage in the                                                                  
call hierarchy.                                                                               
Since exceptions represent error situations, and since the system could        
not react adequately to this error, the current program,                       
'CL_BSP_ELEMENT_RT_ATTR_VALID==CP', had to                                    
be terminated.

Similar Messages

  • Include a css page

    Hi Forum!
    I need to include a css in my htmlb document.
    I write:
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <%@extension name="phtmlb" prefix="phtmlb"%>
    <htmlb:content design="design2003">
      <htmlb:document >
        <htmlb:documentHead title = "Create a customer">
          <htmlb:headInclude/>
           <style type="text/css">
             </style>
       </htmlb:documentHead>
       <htmlb:documentBody>
       <htmlb:form method="post">
    Well, i dont know what i have to insert inside the sytle tag.
    Another way could be insert directly in the documentHead this:
    <link href="CSS/zlrep.css" rel="stylesheet" type="text/css">
    I have tried but anything changes...
    Thanks indeed and regards!
    Mon

    Hi again guys!
    One idea!
    Doing chances, i tried to put this structure:
    <htmlb:page>
    ....my code...
    </htmlb:page>
    in spite of: <htmlb:document>...
    Like a html page.., but i think that i find out the origin of my problem:
    <htmlb:content design ="DESIGN2003">
    Can it be this sentence the problem? Because this is like a style for these elements:
          <phtmlb:containerTitle id                    = "containerTitle"
                                 title               = "Create a customer"
                                 collapsible         = "FALSE"
                                 design              = "TRANSPARENT"
                                 hasContentConnector = "FALSE"
                                 scrollingMode       = "AUTO" >
          <phtmlb:containerContentItem design         = "TRANSPARENT"
                                         border        = "TRUE"
                                         hasPadding    = "FALSE"
                                         scrollingMode = "AUTO" >
    Maybe if i delete this line and insert my css code works...
    Thanks guys for ur answers..
    Regards from Spain,
    Mon
    Message was edited by: Mon

  • Problem with repeating htmlb:tray onExpand event

    I have an htmlb:tray in my bsp application with an onExpand event.  I want a report generated and displayed when the tray is expanded, and this works the first time that I click on the tray icon.  However, if I am still on the same page, close the tray, and then re-open it, the tray expands with empty content.  If I set breakpoints in DO_HANDLE_EVENT, DO_INIT, and DO_REQUEST, nothing is caught.  It is as if no event is raised after the first time that the tray is opened.  If I leave the page and come back, then my process is working again.
    I cannot assume that my users will only open a tray once while on a page.  Is there a trick to get the onExpand event to trigger more than once?  (I have several trays with various reports on the page, and I don't want to pre-generate all of them.)
    Janice Ishee

    Hi,
    You need to use <b>onCollapse Event</b> also. I tested. Its working fine after adding the onCollapse Here is the sample code:
    <b>Layout:</b>
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title=" " >
        <htmlb:form>
          <htmlb:tray id          = "TermReq"
                      title       = "Termination request"
                      width       = "225"
                      onExpand    = "getTermReq"
                      onCollapse  = "dummy"
                      isCollapsed = "<%= query->enab_trmreq %>" >
            <htmlb:trayBody>
              <htmlb:textView text   = "Hello World!"
                              design = "EMPHASIZED" />
              <htmlb:button text    = "Press Me"
                            onClick = "myClickHandler" />
            </htmlb:trayBody>
          </htmlb:tray>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    Event handling:
    EVENT_ID1 TYPE REF TO IF_HTMLB_DATA.
    EVENT_ID1 = CL_HTMLB_MANAGER=>GET_EVENT_EX( REQUEST ).
    CASE EVENT_ID1->EVENT_SERVER_NAME.
      WHEN 'tray'.
      WHEN 'getTermReq'.
        QUERY->ENAB_TRMREQ = ''.
      WHEN 'dummy'.
        QUERY->ENAB_TRMREQ = 'true'.
    ENDCASE.
    Hope this will solve your problem.
    Raja T
    Message was edited by:
            Raja T

  • Problem while populating RFC table into HTMLB tableView control

    Hi, We are trying to populate some data from R/3 into the front end. For this we are using tableView control in HTMLB. But the problem is, one particular field is behaving strangely where as all other fields are displayed correctly. This value is sometimes displayed correctly and sometimes not. The FM if executed at the back end is giving correct result always. In Java there is a single line code i.e. table.getString("FIELD_NAME_IN_RFC");. Please guide us to find out the problem if somebody has already faced this before.

    Hi, We are trying to populate some data from R/3 into the front end. For this we are using tableView control in HTMLB. But the problem is, one particular field is behaving strangely where as all other fields are displayed correctly. This value is sometimes displayed correctly and sometimes not. The FM if executed at the back end is giving correct result always. In Java there is a single line code i.e. table.getString("FIELD_NAME_IN_RFC");. Please guide us to find out the problem if somebody has already faced this before.

  • Problem in HTMLB :(  Very very very URGENT..Please help

    Hello All,
    I have a problem in HTMLB.
    <u>Scenario</u>:
    1. Am implementing a JSP DynPage Portal Component.
    2. Have a class called "BeanOrderDetails", which consists of an Object table and mapped fields like ModelNo, Qty, etc as the Column Names in this class.
    3. The class using JSPDynpage is called "NewOrder.java".
    This class instantiates the above bean class and calls a jsp file calls "NewOrder.jsp".
    4. NewOrder.jsp - uses HTMLB taglib style. consists of a form and set its layout to GridLayout. It further calls another JSP file which consists of all other GUI objects, called "i1_NewOrder.jsp".
    5. i1_NewOrder.jsp - creates instances of GUI Objects like InputField,etc and adds these instances to the GridLayoutCell.
    Question:
    i> I have to create a button called "Add NewLine" such that when the user clicks on it, an empty row should be automatically generated in the above table, which is created as in step 1.
    Where should I add this button and where would the event be handled?
    Please help. URGENT......
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu

    Hi Ritu,
    I had a very similar problem. The default TableViewModel does not support adding rows at runtime. You have to extend the TableViewModel for this - don't worry it is easier as it sounds.
    Look here for the solution which was given to me by Detlev Beutner:
    How to add a row in TableViewModel?
    I hope this helps.
    Best regards
    Francisco

  • HTMLB- Button Event CASE Dyn Nav problem

    Hi,
    I am prototyping a solution in BSP which has a page with two buttons at the bottom, a BACK button and a SUBMIT button which both send the User to different pages, and I can't make the re-directs work.
    I am trying to stick to HTMLB and not get lazy and use HTML.
    I have a page call it page1.htm, at the bottom there is a submit button and back button with htmlb code as follows:
    <htmlb:button       text         = "Back"
                        onClick      = "event_1" />
    <htmlb:button       text         = "Submit Request"
                        onClick      = "event_2" />
    in the EVENT HANDLER for the OnInputProcessing Event I have the following CASE statement:
    CASE event_id.
      WHEN 'event_1':.
      navigation->goto_page( 'default.htm' ).
      WHEN 'event_2':.
      navigation->goto_page( 'submitresult.htm' ).
    ENDCASE.
    the idea is that when the BACK button is pressed the OnInputProcessing event handler will pick this up and using the value of the EVENT_ID which can be either event_1 or event_2 the CASE statement will re-direct the User to the correct page.
    Problem -> it doesn't work.
    Does anyone have any ideas where I am going wrong.
    Thanks for your time,
    Milan.

    Hallo Milan, (interesting name, English?)
    Somehow we are just overlooking something. I quickly built a very small cut-and-paste example.
    Create a new BSP application, and add into it three pages called page1.htm, page2.htm and page3.htm. The source is below. (Note all three has the same event handler:).
    <b><u>onInputProcessing for all three pages</u></b>
    DATA: event TYPE REF TO if_htmlb_data.
    event = cl_htmlb_manager=>get_event_ex( request ).
    IF event IS NOT INITIAL AND event->event_name = 'button'.
      navigation->goto_page( event->event_server_name ).
    ENDIF.
    <b><u>page1.htm</u></b>
    <%@page language="abap" otrTrim="true"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <htmlb:content design="design2003">
      <htmlb:page>
        <htmlb:form>
          <htmlb:button       text          = "Page 2"
                              design        = "NEXT"
                              onClick       = "page2.htm" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    <b><u>page2.htm</u></b>
    <%@page language="abap" otrTrim="true"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <htmlb:content design="design2003">
      <htmlb:page>
        <htmlb:form>
          <htmlb:button       text          = "Page 1"
                              design        = "PREVIOUS"
                              onClick       = "page1.htm" />
          <htmlb:button       text          = "Page 3"
                              design        = "NEXT"
                              onClick       = "page3.htm" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    <b><u>page3.htm</u></b>
    <%@page language="abap" otrTrim="true"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <htmlb:content design="design2003">
      <htmlb:page>
        <htmlb:form>
          <htmlb:button       text          = "Page 2"
                              design        = "PREVIOUS"
                              onClick       = "page2.htm" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    I highly recommend to run this in design2003. You will love that PREVIOUS/NEXT design on the buttons. If this example is not working for you, there are a few other things to be checked. But first try this.
    ++bcm

  • Extended notification by email problems with htmlb:link

    Hi,
    Have problem with link
    using
    <htmlb:link id     ="action"
    reference= "<%= LINK_URL %>" >
    everything is fine till the END
    link is shown OK
    <a class="sapLnk" id="action" href="link" target="blank"> etc.
    but
    when i receive email
    link is with additional "D" char
    can`t get out where it is adding it.
    <a class="sapLnk" id="action" href=D"link"" target=blank"> etc.

    Did some investigation.
    After MHT file goes to SODD table (and all related ones, where page is parsed to HEX)
    In conversion from hex to soli
    all quotes in HTML e.g. " are converted to =3D=22 text =22
    3D is mark of '=' in HEX
    =22 is mark of " in HEX
    and in some part of document display soli table content all these 3D=22 are replaced by related ascii symbol.
    still can`t get why in all code those 3D=22 and =22 are replaced but in href not. Encoder (some where at point of hex-to-soli and vice versa )is adding only D after href in link (<a href="link">text</a>)
    tried to hardcode link without quotes
    e.g.
    <a href=link>text</a>
    encoder added "D" before link and quote after.
    <a href=Dlink">text</a>

  • Problem with htmlb:chart

    Hi to all,
    how can I solve this Problem:
    <b>--- code ---</b>
    data: line type igs_data.
      line-groupid = 'user 1'.
      line-x = '11.03.2004'.
      line-y = 12.
      append line to data.
      line-x = '12.03.2004'.
      line-y = 14.
      append line to data.
      line-groupid = 'user 2'.
      line-x = '10.03.2004'.
      line-y = 10.
      append line to data.
      line-x = '11.03.2004'.
      line-y = 12.
      append line to data.
      line-x = '12.03.2004'.
      line-y = 21.
      append line to data.
    <b>--- end ---</b>
    <b>Result:</b>
    12.03.2004 | <b>*****user 2*****</b> 21
    11.03.2004 | <b>***user 1***</b> 14
    _________ | <b>***user 2**</b> 12
    10.03.2004 | <b>***user 1**</b> 12
    _________ | <b>**user 2**</b> 10
    How can I get the right result for 'user 1' ?
    Thanks in advance

    I just tried the same program and I think it works correctly. You have not defined, what correct solution is. You have just stated end result. I am not sure why you get value 12 for user 1 on day 10.03.2004, but I get value 0 for the same. I think I am missing something here. Not sure.
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title="test " >
        <htmlb:form>
          <%
            data: line type igs_data.
            data: graph_data type igs_data_tab.
            line-groupid = 'user 1'.
            line-x = '11.03.2004'.
            line-y = 12.
            append line to graph_data.
            line-x = '12.03.2004'.
            line-y = 14.
            append line to graph_data.
            line-groupid = 'user 2'.
            line-x = '10.03.2004'.
            line-y = 10.
            append line to graph_data.
            line-x = '11.03.2004'.
            line-y = 12.
            append line to graph_data.
            line-x = '12.03.2004'.
            line-y = 21.
            append line to graph_data.
          %>
          <htmlb:chart data="<%=graph_data%>" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>

  • Problem in including HTMLB library

    Hi,
    I am learning to program using HTMLB.
    I have created object of type DynPage in developer studio and included the library com.sapportals.htmlb.*. Its working absolutely fine.
    But when I tried to include the same library of AbstractPortalComponent object, there was an error., as it is not resolved.
    Can anyone tell me the reason to raise an error when it is AbstractPortalComponent object but error is not raised when the object is of DynPage?
    Thanks,
    Syamala

    Hi Subathra,
    Thank you for the reply.
    I self-solved the problem.
    Yes, your guess is a right one.
    I didnot add jar file.
    Regards,
    Syamala

  • HTMLB: tableview filter problems

    Hi,
    We developed a BSP application in CRM Web_IC. Whenever user goes to this screen, it retrieves the results from SAP CRM table and lists the entries. We used htmlb:tableview with filter attribute set to 'SERVER'. The first row of the entry is used to filter the entries displayed based on wildcard search and redisplay the same.
    We noticed that all this handled by client side eventing (Java Script) and it works okay in our development and testing environment.
    But we got wierd results when it went for user testing. On some of the machines, the page looks refreshed but the list display does not change based on the search. We thought it might be caching problem so we tried with different IE settings, it looks okay for some time on one of the machines but the problem gets repeated after wards. The situation is we cannot afford intermittent problems.
    OS are win'2000 and XP and browser is IE 6 with sp1 and sp2. The problem is not consistent so none of the combinations actually suggested if the problem is related to one area.
    Has anyone experienced similar to above. Any ideas are welcome.
    Message was edited by: Raju Datla

    Thanks Rainer,
    Without making any changes, today majority of the users are did not encounter the problem. I could not check the browser server cache settings as the BSP is using MVC and these fields are missing.
    Thanks and Regards,
    Raju
    I lost how to add points. I remember there was a document on how to add points, which I could not get by search. Could you help me how I can award points to you.
    Sorry for that and Thanks
    Message was edited by: Raju Datla

  • ICWC htmlb:tableview filter problems

    Hi,
    We developed a BSP application in CRM Web_IC. Whenever user goes to this screen, it retrieves the results from SAP CRM table and lists the entries. We used htmlb:tableview with filter attribute set to 'SERVER'. The first row of the entry is used to filter the entries displayed based on wildcard search and redisplay the same.
    We noticed that all this handled by client side eventing (Java Script) and it works okay in our development and testing environment.
    But we got wierd results when it went for user testing. On some of the machines, the page looks refreshed but the list display does not change based on the search. We thought it might be caching problem so we tried with different IE settings, it looks okay for some time on one of the machines but the problem gets repeated after wards. The situation is we cannot afford intermittent problems.
    OS are win'2000 and XP and browser is IE 6 with sp1 and sp2. The problem is not consistent so none of the combinations actually suggested if the problem is related to one area.
    Has anyone experienced similar to above. Any ideas are welcome.

    Hi Sasi,
    Unfortunately I could not get any direct solution to the problem. I chased SAP OSS and SAP direct consultant who was working with us with no solution. Last time, I heard it was sent to htmlb team at SAP. I stopped chasing after that as project gone live and I fixed the problem by putting a search area and button using client side eventing. 
    If you read the source code once the page is displayed, you can see that SAP writes Javascript to handle the search. I copied the code as Javascript function and placed a button to fire this function which handles the filter as normally SAP does.
    Regards,
    Raju

  • Htmlb:formLayout and htmlb:listBox problem

    Hi, i have a problem with the htmlb:formLayout and the htmlb:listBox. When I try to integrate a listbox element in the formLayout
    <hbj:formLayoutRow>
      <hbj:formLayoutCell ...>
        <hbj:listBox .......>
        </hbj:listBox>
      </hbj:formLayoutCell>
    </hbj:formLayoutRow>
    all subsequent row definitions are ignored.
    All the elements are rendered into the same row.
    Any idea how to come around this?
    Regards
    Edmund

    The difference between our two code snippets is, I am using the model as input for the listBox and you are using the listBoxItem. The rest seems to be fine, for me.
    But in my example the button is rendered into the same line into the next column.
    <hbj:documentHead title="Administration"/>
       <hbj:documentBody>
         <jsp:useBean id="RoomsBean" tzpe="com.mgi.portalDev.test.iView.helper.RoomsBean" scope="session"></jsp:useBean>
          <hbj:form id="ContactPersonsAdminForm">
            <hbj:formLayout id="form_rooms" debugMode="false" marginTop="0" marginBottom="0" marginRight="0" marginLeft="0">
              <hbj:formLayoutRow>
                <hbj:formLayoutCell align="center">
                  <hbj:label id="lRoomsListBox" labelFor="rooms" text='XXX'/>
                </hbj:formLayoutCell>
             </hbj:formLayoutRow>
               <hbj:formLayoutRow>
                 <hbj:formLayoutCell align="center" rowspan="10">
                   <hbj:listBox width="145" size="12"
                        id="rooms"
                        model="RoomsBean.model"
                           onSelect="selectRoom"
                           selection="1"/>
                    </hbj:formLayoutCell>
               </hbj:formLayoutRow>
                  <hbj:formLayoutRow>
              <hbj:formLayoutCell align="left">
                 <hbj:button id="delete_room" text='delete' design="STANDARD" disabled="true" onClick="deleteRoom"/>
                    </hbj:formLayoutCell>
               </hbj:formLayoutRow>
             </hbj:formLayout>
    Regards
    Edmund
    P.S.: How can you format your source code in this forum?

  • Problem with htmlb:chart after upgrade

    We just upgraded from BW 3.0, WAS 6.20 to BW 3.5, WAS 6.40.   Testing revealed that my htmlb:chart would no longer work.  I just got a white screen whether using Internet Explorer or Netscape.  After much digging, I found that the values for charttype changed with this upgrade.  Any value before that was COLS* now is COLUMNS*
    This is just a "for your information" in case you run into this.
    Janice

    Thanks for the info!

  • Problem with html table and htmlb radiobutton group

    Hello,
    I wrote this code:
           <table width="100%" border="1">
            <tr>
              <th>
                Valutazione manageriale complessiva dell#anno
              </th>
              <th>1</th>
              <th>2</th>
              <th>3</th>
            </tr>
            <tr>
              <th>
                imprenditività
              </th>
              <htmlb:radioButtonGroup id="PROVA1"
                                       columnCount="3"
                                        mode="LOGICAL_GROUPING">
              <th><htmlb:radioButton id="1" text="1"  encode="TRUE"/></th>
              <th><htmlb:radioButton id="2" text="2"  encode="TRUE"/></th>
              <th><htmlb:radioButton id="3" text="3"  encode="TRUE"/></th>
              </htmlb:radioButtonGroup>
            </tr>
            <tr>
              <th>
                Autorevolezza
              </th>
              <htmlb:radioButtonGroup id="PROVA2"
                                       columnCount="3"
                                        mode="LOGICAL_GROUPING">
              <th><htmlb:radioButton id="1" text="1"  encode="TRUE"/></th>
              <th><htmlb:radioButton id="2" text="2"  encode="TRUE"/></th>
              <th><htmlb:radioButton id="3" text="3"  encode="TRUE"/></th>
              </htmlb:radioButtonGroup>
            </tr>
          </table>
    but the third row (where there is "Autorevollezza/PROVA2") appears out of the table.
    Do yuo now why?
    Regards
    Maria

    you need to put the htmlb:radioButtonGroup Tags within the
    tags
    <tr>
    <td>
    imprenditività
    </td>
    <td>
        <htmlb:radioButtonGroup id="PROVA1" columnCount="3" mode="LOGICAL_GROUPING">
        <htmlb:radioButton id="1" text="1" encode="TRUE"></htmlb:radioButton></td>
    <td><htmlb:radioButton id="2" text="2" encode="TRUE"></htmlb:radioButton></td>
    <td><htmlb:radioButton id="3" text="3" encode="TRUE"></htmlb:radioButton>
         </htmlb:radioButtonGroup></td>
    </tr>
    there is a invisible table rendered by htmlb and the browser does not know what to do when you put that between </tr> and </table> so he ends your table...
    better you use <htmlb:gridLayout> instead of html-tables...
    stefan

  • 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

Maybe you are looking for

  • How do I track down a missing account?

    Hi. I purchased an iTunes music store gift card for my son for Xmas. I thought we'd installed everything correctly and created an account for him, then entered the number on the gift certificate. I distinctly recall seeing him open up the store using

  • I would like to see all the purchases on my itunes account. How do I do that?

    I would like to see all the purchases on my itunes account.  How do I do this?

  • Bank Entry & Report Query

    Hello, If I do the Bank payment entry directly from Journal Entry instead of going thru Outgoing Payment in SAP B1 2007B, What are the problems may occur? Are the both ways right? Which reports I'll not get in case of Journal? Rgds Subrata

  • W520 with 32 bit Windows 7

    Lenovo is no longer selling 32 bit windows with the W520. I have a W510 with Win7 and it's fine, so I am wondering if anyone has tried Win7 32 on a W520 and what the results were? Thanks.

  • Premiere Pro 2014 new install - can't queue exports to AME

    I just installed the new 2014 applications today.  Whenever I try to export media by sending it from Premiere Pro to AME it never gets there. The app launches but the job never shows in the queue (even after a very long wait). This process has worked