Can't add a blank row entry on to a navigation list  dependable listbox

Hi All
Need some help please!
I am trying to build two dependable selectOnechoice list boxes. i adopt Frank's method and built the top level list box as navigation list.
my problem is I can't set a unselectedlabel property for this top level list box. I tried to set a the unselectedlabel property in page definition, but when the page rendered , the list has always got one row selected as default, instead of a blank row.
Is there anyway that I can fix this?
Thanks a lot

Hi,
this is because a navigation list is based on an iterator and the iterator always has a selected row.
Frank

Similar Messages

  • How can I add a blank value in a standard drop down list

    Hello,
    I have a requirement to add a blank value into the standard drop down list of for i.e. the search criteria
    "created on" -> (values are: yesterday/today/last week etc).
    The problem is, that this field has always the default value "yesterday" but our customer wants to have a blank field as default.
    Can anybody provide me steps how can I add this blank value ?
    Many thanks in advance

    Hi Bernard,
    thanks for your reply.
    Its for quotation.
    Could you give me still some further detail steps, please ?
    Many thanks
    Andreas

  • Need to add a blank row to a table when checkbox selected

    Hi ALL,
    I have a custom page having 2 check boxes and few fields , i am doing search operation by entering one checkbox checked and few other fields and data displaying in table region.
    my requirement is when i select second check box and click one button as add new row it should create a blank row in the table, means table should  availabe with a blank row so that user can insert data,
    please help me on thsi
    Thnaks

                 Hi there ,
                 If you 're working with advance table then you have an default option to create a blank row , please through topic 'add another row '
                 in jdev guide .
                 If you are working the regular table region then you might follow the below code suggested .
                 Create a new item of the type button ( not submit button ) and handle the event in PFR of your controller class
                String addRow=pageContext.getParameter(EVENT_PARAM);   //  "addRow " is an event attached to table
                if("addAnotherRow".equals(addRow))  
                      am.invokeMethod("AddRow");
              In AMimplementation class :
       public void AddRow()
        OAViewObject headerVO = (OAViewObject)getsdaPacelineWorkupHeaderUpdateVO1();
        sdaPacelineWorkupHeaderUpdateVORowImpl rowh = (sdaPacelineWorkupHeaderUpdateVORowImpl)headerVO.getCurrentRow();
        rowh.getPacelineHeaderId();
        OAViewObject lineVO = (OAViewObject)getsdaPacelineWorkupLineUpdateVO1();
        Row lineRow = lineVO.createRow();
        Row lineRo = lineVO.last();
        lineRow.setAttribute("PacelineHeaderId",rowh.getPacelineHeaderId());   
        lineRow.setNewRowState(Row.STATUS_INITIALIZED);
        lineVO.last();
        lineVO.next();
        lineVO.insertRow(lineRow);
        lineVO.setCurrentRow(lineRow);
        lineVO.setCurrentRow(lineVO.last());
      Note : Replace your vo name in place of sdaPacelineWorkupHeaderUpdateVO1()
       Please let me know if you have any questions .
      Regards ,
    Keerthi

  • How to add a Blank row ?

    Hello Experts
    I probably have a very simple question - but i just need to kno :
    What is an option if i want to leave a blank row as a seperator between data sets in my report output ?
    I have to report on the portal and this would be a BI 7.0 Query.
    Please suggest
    Regards
    Shweta

    well - I was looking for an option to use the query designer to do this. so i created a structure in the rows and added a Key figure to it and after that i wanted to blank out the values by using cell definition and saying hide results there.
    However ; i see some issues here
    1. the cell definition box on my query is grayed out - any idea why ?
    2. what if i want to add key figures in columns - since i am using them in a structure in the rows - i can not use them in columns - but actually - i will want key figs in columns - so then the alternative that i am using is not feasible - so what can i do then ?
    I don't think i will use WAD or web template.
    what do you suggest ?
    Regards
    Shweta

  • How to add a blank row into a datatable

    i hava adatatable which contains the datas from database.i need to add a new data so that i need a blank row which contain the same number of columns in the existing datatable.
    Pls Help..

    sorry i am a beginner in jsf..
    In the crud Example i saw a code in MyCrudBean.java.i wrote the code like that but the same stage only one row is coming i cant add n items .
    * Department.java
    * Created on Nov 22, 2007, 4:43:12 PM
    package datatable;
    import Item.DeptDatabase;
    import com.sun.rave.web.ui.appbase.AbstractPageBean;
    import com.sun.webui.jsf.component.Body;
    import com.sun.webui.jsf.component.Form;
    import com.sun.webui.jsf.component.Head;
    import com.sun.webui.jsf.component.Html;
    import com.sun.webui.jsf.component.Link;
    import com.sun.webui.jsf.component.Page;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.util.ArrayList;
    import java.util.List;
    import javax.faces.FacesException;
    import javax.faces.component.html.HtmlDataTable;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.sql.DataSource;
    public class Department extends AbstractPageBean {
    Connection con = null;
    PreparedStatement StmtRateSel = null;
    ResultSet rs = null;
    private List<DeptDatabase> list = new ArrayList();
    private int addCount = 1;
    private HtmlDataTable myDataTable;
    private static final int DEFAULT_TABLE_ROWS = 10;
    // <editor-fold defaultstate="collapsed" desc="Managed Component Definition">
    * <p>Automatically managed component initialization. <strong>WARNING:</strong>
    * This method is automatically generated, so any user-specified code inserted
    * here is subject to being replaced.</p>
    private void _init() throws Exception {
    private Page page1 = new Page();
    public Page getPage1() {
    return page1;
    public void setPage1(Page p) {
    this.page1 = p;
    private Html html1 = new Html();
    public Html getHtml1() {
    return html1;
    public void setHtml1(Html h) {
    this.html1 = h;
    private Head head1 = new Head();
    public Head getHead1() {
    return head1;
    public void setHead1(Head h) {
    this.head1 = h;
    private Link link1 = new Link();
    public Link getLink1() {
    return link1;
    public void setLink1(Link l) {
    this.link1 = l;
    private Body body1 = new Body();
    public Body getBody1() {
    return body1;
    public void setBody1(Body b) {
    this.body1 = b;
    private Form form1 = new Form();
    public Form getForm1() {
    return form1;
    public void setForm1(Form f) {
    this.form1 = f;
    // </editor-fold>
    * <p>Construct a new Page bean instance.</p>
    public Department() {
    public void deptsave() throws SQLException{
    connection();
    StmtRateSel      = con.prepareStatement("execute prcPnsDepartmentIns");
    rs = StmtRateSel.executeQuery();
    con.close();
    @Override
    public void init() {
    // Perform initializations inherited from our superclass
    super.init();
    // Perform application initialization that must complete
    // before managed components are initialized
    // TODO - add your own initialiation code here
    // <editor-fold defaultstate="collapsed" desc="Managed Component Initialization">
    // Initialize automatically managed components
    // Note - this logic should NOT be modified
    try {
    _init();
    } catch (Exception e) {
    log("Department Initialization Failure", e);
    throw e instanceof FacesException ? (FacesException) e: new FacesException(e);
    // </editor-fold>
    // Perform application initialization that must complete
    // after managed components are initialized
    // TODO - add your own initialization code here
    * <p>Callback method that is called after the component tree has been
    * restored, but before any event processing takes place. This method
    * will <strong>only</strong> be called on a postback request that
    * is processing a form submit. Customize this method to allocate
    * resources that will be required in your event handlers.</p>
    @Override
    public void preprocess() {
    * <p>Callback method that is called just before rendering takes place.
    * This method will <strong>only</strong> be called for the page that
    * will actually be rendered (and not, for example, on a page that
    * handled a postback and then navigated to a different page). Customize
    * this method to allocate resources that will be required for rendering
    * this page.</p>
    @Override
    public void prerender() {
    * <p>Callback method that is called after rendering is completed for
    * this request, if <code>init()</code> was called (regardless of whether
    * or not this was the page that was actually rendered). Customize this
    * method to release resources acquired in the <code>init()</code>,
    * <code>preprocess()</code>, or <code>prerender()</code> methods (or
    * acquired during execution of an event handler).</p>
    @Override
    public void destroy() {
    * <p>Return a reference to the scoped data bean.</p>
    * @return reference to the scoped data bean
    protected SessionBean1 getSessionBean1() {
    return (SessionBean1) getBean("SessionBean1");
    * <p>Return a reference to the scoped data bean.</p>
    * @return reference to the scoped data bean
    protected RequestBean1 getRequestBean1() {
    return (RequestBean1) getBean("RequestBean1");
    * <p>Return a reference to the scoped data bean.</p>
    * @return reference to the scoped data bean
    protected ApplicationBean1 getApplicationBean1() {
    return (ApplicationBean1) getBean("ApplicationBean1");
    private void connection() {
    try{
    Context ctx = new InitialContext();
    System.out.println("context"+ctx);
    if(ctx == null )
    throw new Exception("Boom - No Context");
    DataSource ds = (DataSource)ctx.lookup("BiteRiteJNDI");
    if (ds != null) {
    con = ds.getConnection();
    System.out.println("connnn"+con);
    catch(Exception e)
    {System.out.println(e);}
    public void addDataItem() {
    while (addCount-- > 0) {
    DeptDatabase myNewDataItem = new DeptDatabase();
    //myNewDataItem.setEditMode(true);
    list.add(myNewDataItem);
    //log(myDataList);
    // Reset counter and go to last page.
    addCount = 1;
    // log(myDataList);
    // Reset counter and go to last page.
    //addCount = DEFAULT_ADD_COUNT;
    pageLast();
    System.out.println("in add itm");
    // list.add(new DeptDatabase());
    public List getListtt(){
    return list;
    public HtmlDataTable getMyDataTable() {
    if (myDataTable == null) {
    myDataTable = new HtmlDataTable();
    myDataTable.setRows(DEFAULT_TABLE_ROWS);
    return myDataTable;
    private static void log(Object object) {
    System.out.println("bejoy"+new Exception().getStackTrace()[1].getMethodName() + ": " + object);
    public void pageLast() {
    System.out.println("in Page last");
    int count = myDataTable.getRowCount();
    System.out.println("count"+count);
    int rows = myDataTable.getRows();
    System.out.println("rows"+rows);
    if (rows != 0) { // Prevent ArithmeticException: / by zero.
    System.out.println("not equals zero");
    myDataTable.setFirst(count - ((count % rows != 0) ? count % rows : rows));
    log(new Integer(myDataTable.getFirst()));
    public void setListtt(List<DeptDatabase> list) {
    this.list = list;
    * CRUD table: set datatable.
    * @param myDataTable The datatable.
    public void setMyDataTable(HtmlDataTable myDataTable) {
    this.myDataTable = myDataTable;
    jsp
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    Document : Department
    Created on : Nov 22, 2007, 4:43:11 PM
    Author : Administrator
    -->
    <jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
    <webuijsf:page binding="#{Department.page1}" id="page1">
    <webuijsf:html binding="#{Department.html1}" id="html1">
    <webuijsf:head binding="#{Department.head1}" id="head1">
    <webuijsf:link binding="#{Department.link1}" id="link1" url="/resources/stylesheet.css"/>
    </webuijsf:head>
    <webuijsf:body binding="#{Department.body1}" id="body1" style="-rave-layout: grid">
    <webuijsf:form binding="#{Department.form1}" id="form1">
    <h:dataTable binding="#{Department.myDataTable}" id="myDataTable" value="#{Department.listtt}" var="dataItem">
    <h:column>
    <f:facet name="header">
    <h:outputText value="Departments"/>
    </f:facet>
    <h:inputText value="#{dataItem.department}"/>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="StockItem"/>
    </f:facet>
    <h:inputText value="#{dataItem.stockItem}"/>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="StockUnit"/>
    </f:facet>
    <h:inputText value="#{dataItem.stockUnit}"/>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="MaxStock"/>
    </f:facet>
    <h:inputText value="#{dataItem.maxStock}"/>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="MinStock"/>
    </f:facet>
    <h:inputText value="#{dataItem.minStock}"/>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="ReorderLevel"/>
    </f:facet>
    <h:inputText value="#{dataItem.reorderlevel}"/>
    </h:column>
    </h:dataTable>
    <h:commandButton action="#{Department.addDataItem}" value="Add"/>
    </webuijsf:form>
    </webuijsf:body>
    </webuijsf:html>
    </webuijsf:page>
    </f:view>
    </jsp:root>
    i dont know wats the problem??
    pls send a sample code to add n items

  • Can't add new Address Book entries from Mail

    I can no longer add new contacts to the Address Book directly from Mail. I can go through the motions (right clicking on an email address brings up the appropriate options), but no new entry shows up in the Address Book. When I try to repeat the action, I can no longer "add" the entry, but instead it gives me the option of finding that entry. When I do that, it opens up the Address Book, but just defaults to the first entry. If I close and reopen Mail, it defaults back to the option of adding the entry again (as opposed to 'finding' it). Has anyone else seen this? (FYI, I can manually add entries to the Address Book just fine.)

    fredfx wrote:
    This IS a brand new system install and update. (less than 2 weeks).
    This hasn't worked since I did the new system install.
    That does not change my advice, whether you take it is up to you.

  • How can I add a new row in a JTable dynamically?

    Dear Sir(s)
    I want to add a new row in a Jtable as I press enter key the time focus is on the last cell of the row? pls help

    TomDooley wrote:
    Hello,
    ...I write directly to a cvs file ...my loop slows down to 0.2 Hz
    Writing a series of 5 values to a file should not take so long. There is probably something wrong in the way you are saving your data. May be you should post a simplified version of your vi, so we could see how to improve your code.
    CC
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • How can I add a song that's playing to a play list easily

    How can I add a song to a playlist whilst the song is playing?  I was sown in a store have forgotten.

    There is a short cut.  I just cant remember what it is.

  • Can we add fields in MM17 which are not in the list

    Hi Folks,
    Pls help me on below.
    I want to add below fields in a variant in MM17
    Planned price 1 - MBEW-ZPLP1
    Planned price 2 - MBEW-ZPLP2
    Planned price 3 - MBEW-ZPLP3
    But these fields are not available in the List.
    how can i add them ?

    HI
        Only it is possible what ever the fields and tables available in the transaction.Cannot add any other additional fields which ever not in the transaction.
    Thanks
    Ganesh

  • Can I add my windows vaio to my i chat buddy list?

    I have a sony vaio with a camera and would like to add it to my buddy list Is this possible. I have bonjour installed on the pc but don't know how to access it any help would be great.

    Verizon can only add devices to a plan that have a VZW modem installed already.  If it was not designed for the VZW network then you will have to consider a Jetpack or some other mobile broadband device to connect to VZW for you first.
    For a list of currently supported tablets:
    http://www.verizonwireless.com/b2c/device/tablet?&zipRdr=y
    To check the compatibility of your non-supported tablet with the VZW plans:
    http://www.verizonwireless.com/b2c/nso/enterDeviceId.do

  • How can I add a new row into an array bases on a1D array

    Hello,
    I build a FieldPoint application with LabView 7.1 RealTime. I've a measurement loop with 1Hz sample rate. I sample 5 channels and put them into a 1D array. Presently I write directly to a cvs file but this I've to cahnge because my loop slows down to 0.2 Hz.
    I want to sample my data the hole day (86400 loops) and save them inside of an array. When the time is over I want write the hole array (table) to the file.
    How I can do this or hoow I can add my 1D array to a new row in my 2D array?
    Thanks
    Thomas
    Thomas

    TomDooley wrote:
    Hello,
    ...I write directly to a cvs file ...my loop slows down to 0.2 Hz
    Writing a series of 5 values to a file should not take so long. There is probably something wrong in the way you are saving your data. May be you should post a simplified version of your vi, so we could see how to improve your code.
    CC
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • How to add a blank row in a report structure ?

    Hi,
    I have a report which uses a structure in both the rows and the columns. It also using cell definitions to define some cells in the report.
    What I want to do is to format the report a bit more and insert a blank line at various points in the row structure.
    Can this be done and if so how?

    Are you creating report on InfoCUbe or ODS?
    Are you aware of any characteristics for which value will never be ZERO in the Dataprovider?
    If yes, then remove the formula and create the selection with description .(dot) and restrict that characteristics by #. That would pullout space for all the KFs.
    - Danny

  • How can i add a new row in System Matrix passing itemcode and quantaty

    Hi All,
    I have to add new lines in the matrix system only through the itemcode and item quantity. I tried several ways without success. Maybe the following code help to explain what I'm trying to do.
    Someone already inserted rows in the matrix system? Can someone show me how I can do. This example is in C# but if someone has in VB I will apreciate.
    FormUID = SBO_Application.Forms.ActiveForm.UniqueID;
                f = SBO_Application.Forms.Item(FormUID);
                try
                    SAPbobsCOM.Recordset oRS;
                    oRS = ((SAPbobsCOM.Recordset)oCompany.GetBusinessObje
    SAPbobsCOM.BoObjectTypes.BoRecordset));
                    oItem = f.Items.Item("38");
                    oMatrix = ((SAPbouiCOM.Matrix)(oItem.Specific));
                    oEditText = ((SAPbouiCOM.EditText)oMatrix.Columns.Item(3).Cells.Item(oMatrix.RowCount - 1).Specific);
                    string Codigo = oEditText.Value; //Select the item number to use in strQuery
                    strQuery = "SELECT U_ART_COM FROM [@SB1EVOL_COMPOSTOS] where
    U_ART_PRI='" + Codigo.ToString();
                     oRS.DoQuery(strQuery);
                    if (oRS.RecordCount > 0)
                        oRS.MoveFirst();
                        numart = oRS.RecordCount;
                        f.Freeze(true);
                        for (j = 1; j <= numart; j++)
                            try
                                ItemCodeTXT = oRS.Fields.Item(0).Value.ToString();
                                oEditText = ((SAPbouiCOM.EditText)(oMatrix.Columns.Item(3).Cells.Item(oMatrix.RowCount).Specific));
                                oEditText.Value = ItemCodeTXT.ToString();
                                f.Update();
                                oRS.MoveNext();
                            catch (Exception oEx)
                                f.Freeze(false);
                                f.Update();
                                MessageBox.Show(oEx.Message + " j = " + System.Convert.ToString(j));
                        j = 0;
                        f.Freeze(false);
                        f.Update();
    In this example i try to add rows in Invoice matrix.
    Thanks in advance.
    Edited by: Luís Filipe Duarte on Jun 26, 2009 4:14 PM
    Edited by: Luís Filipe Duarte on Jun 26, 2009 4:17 PM

    Viva Vitor,
    Antes de mais obrigado pela resposta.
    È esse mesmo o meu objectivo. Passo a explicar qual é o objectivo deste desenvolvimento. O que se pretende é que quando um utilizador escreva o código de um artigo numa linha da matrix de um documento de venda o add-on vai ler esse artigo e de seguida consultar uma tabela de utilizador que ja esta criada para validar se esse artigo tem outros artigos associados, e se tiver, entao o addon tem que os escrever nas linhas imediatamente a seguir. Eu queria mesmo, era escrever qual era o artigo e qual a respectiva quantidade. Eu consigo encontrar qual o artigo que o utlizador escreve e qual os artigos associados. O meu problema acontece quando tendo adicionar as novas linhas.
    Com o codigo que se segue podes ver que estou a atribuir a uma EditText o codigo do artigo a escrever. O problema é se correr em modo debug consigo ver que a aplicação chega a essa linha 
    oEditText.Value = ItemCodeTXT.ToString();
    e volta para trás, ou seja entra num loop e nao sai daqui.
    if (oRS.RecordCount > 0)
                        oRS.MoveFirst();
                        numart = oRS.RecordCount;
                        f.Freeze(true);
                        for (j = 1; j <= numart; j++)
                            try
                                ItemCodeTXT = oRS.Fields.Item(0).Value.ToString();
                                oEditText = ((SAPbouiCOM.EditText)(oMatrix.Columns.Item(3).Cells.Item(oMatrix.RowCount).Specific));
                                oEditText.Value = ItemCodeTXT.ToString();
                                f.Update();
                                oRS.MoveNext();
                            catch (Exception oEx)
                                f.Freeze(false);
                                f.Update();
                                MessageBox.Show(oEx.Message + " j = " + System.Convert.ToString(j));
    Eu para adicionar uma nova linha o que tenho de fazer? não vasta passar a informação do item code?
    Este desenvolvimento é para implementar ecoreee no sap. Nao sei já tiveste alguma coisa dessas entre mãos.
    Obrigado mais uma vez pela atenção. Espero também um dia poder ajudar.
    Com os melhores cumprimentos.
    Luis duarte

  • How can I add customer partner function entries in LSMW?

    I am using SAP ECC 6.0 with best practices installed. I am able to create sold-to customers using the batch input program RFBIDE00. 
    When I try to add partner function entries using structure BKNVP, it appears that the partner ID stored in KTONR is not populating SAPMF02D screen 324 after it is entered on screen 2324. I receive a “Data is incomplete; check” error.  I could not find an SAP note or other solution to correct this problem. 
    While searching for a solution, I found a few recommendations to use the IDOC message DEBMAS to create the partners function entries instead of batch input.  When I try to use this approach, I am receiving an error “Deletion is not allowed: SP is mandatory function”.  I was trying to add an SH (WE Ship-To) at the time. I found a reference that explained that all partners were replaced when this IDOC message is used.  It further explained that this should work if all partner references were included in the message.  This approach did not work either. I still receive this error if I omit or include an SP (AG Sold-To) record.
    Does anyone have a solution to either problem or another approach?

    Hi
       You can use LSMW :-
    1) Create a project , sub project and an object.
    2) execute it from 1 st screen to enter the object.
    3) You will find proces steps.
    4) In Maintain Object Attributes  choose Program Name RFBIDE00.
    or I-DOC or the way you want the input to be.
    5) You can proceed from there following the instruction..

  • How can I add a blank page in Pages 5?

    No manipulation from the thumbnail window. I am so frustrated by this new downgrade! Thanks Apple for sacrificing OS X-based Pages which has only brought a mediocre application...

    Bookmarks have been removed along with 100 other features.
    You could post at Menu > Pages > Provide Pages Feedback but that is pointless in my experience
    Instead rate/review Pages 5 in the App Store where everyone can see it. In our local App Store, Pages 5.1 is back down to 2 stars with again 61% of users saying they hate it.
    Pages '09 should be in your Applications/iWork folder, use that instead.
    Peter

Maybe you are looking for

  • What do I do to go back one page in a website?

    I go to a website. Any time I go to a different area in the website, I can't find what to click on to return to the previous page. IE is very simple because it shows an arrow pointing to the left.

  • Upgrading protection mode

    I've never used any Data Guard protection mode except Maximum Performance before so please forgive me if my questions seem ignorant. I have a primary DB with 2 standbys both currently operating in maximum performance mode. The primary is a 2 node RAC

  • Oracle 9i installtion problen on RH21AS 2.4.9-e.3

    Hi, I am installing Oracle 9i cluster on RH21AS kernel version 2.4.9-e.3. Using the doc "Tips to install oracle 9i on RH21AS" I have installed my OS configured it to install oracle. I could get Oracle cluster manager installed and started (using watc

  • Graphics and Fullscreen Mode

    Has anyone had problems with graphics and Fullscreen mode?  I have a .png to show what im talking about if that helps. and also if it helps i had just gotten out of full screen mode.

  • My RAW files suddenly says "Unsupported Image Format" and can't import new pics

    Hi all, A week ago I imported the latest bunch of RAW-images from my Canon EOS 30D (.CR2-files) and all was working great. I did take some of the pics and exported them to an e-mail and sent them off to a friend. Then after rearranging my home office