How to Set Value of page item?

String dimLayoutNew[][] = new String[3][];
dimLayoutNew[0] = new String[1];
dimLayoutNew[1] = new String[1];
dimLayoutNew[2] = new String[2];
dimLayoutNew[0][0] = measureString;
dimLayoutNew[1][0] = strDimension1;
dimLayoutNew[2][0] = strDimension2;
dimLayoutNew[2][1] = strDimension3;
Boolean applyNewLayoutFlag = tableQuery.layout(dimLayoutNew);
In this Layout,How to set the value of strDimension2 page item to one member of strDimension2?
thanks!

what about this - look up the javadoc to get more >info ....You would have to admit, while BI Beans are great, the documentation is a little light.
int targetHPos[] = targetDataAccess.getEdgeCurrentHPos (2);
now apply the order to the targethpos as you like...now, once you make your changes to the targetHPos, how does one actually make the change to the Query object (i.e. what method does one need to call to pass the new targetHPos in??) I looked through the JavaDoc and didn't see a SetCurrentHPos or equivalent function in the DataAccess Class. Is there one?
Also, what role, if any, should the SetCurrentPage method of the query object play if I'm not using it correctly?

Similar Messages

  • How to set value of application item using Java script.

    I have created a textbox on page 0, on chnage of textbox i want to set the value of application item.
    How to write the code to set & get value of application item.
    Thanks,
    -Amit

    Hello Amit
    This would be a great place to start...
    JavaScript
    Alternatively, APEX 4.0 will make this sort of task declarative.
    Kind regards
    Simon Gadd

  • Help on how to set value on LinkButton type column

    Hello,
    Can I programmatically set a value on Item No. in matrix on Sales Quotation which is of type SAPbouiCOM.LinkedButton?
    This code helped me set values to an edittext type column
    Dim et As SAPbouiCOM.EditText = oMatrix.Columns.Item(matrixColumnID).Cells.Item(rowNumber).Specific
    et.Value = value
    Dim et As SAPbouiCOM.LinkedButton = oMatrix.Columns.Item(matrixColumnID).Cells.Item(rowNumber).Specific
    How can set value for the Item No.?
    Thanks and Regards,
    Sheetal

    Just treat the Item No. column as an EditText for purposes of setting its value.
        Dim sboEdit As SAPbouiCOM.EditText
        Set sboEdit = sboMatrix.Columns("1").Cells(lngRow).Specific
        sboEdit.Value = "XXXXXX"
    John.

  • How to fetch the tabular form column value into page items

    Hi,
    I have created tabular form. I have set LOV for one column. Here my requirement is when i select the value from lov then it will fetch that value into page item.
    can any help?
    I am using apex 4.1
    Thanks
    vijay

    It's not so easy to make a dynamic action on a tabular form.
    The best thing you can do is to use the javascript API from APEX: http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/javascript_api.htm
    So if you have a tabular form then open your item and make it a column link.
    In the link location select URL.
    Your URL would be something like this
    javascript:$s('P1_PAGE_ITEM', #COLUMN_ID#);doSubmit('COLUMN_ID');The doSubmit is not required but if you don't submit your page then the server would never know about your page item.
    Off course it is possible to submit at a later point. For example you can just use the $s to set the value off an item and afterwards create a button that would submit your page.
    Be aware that if you just set the value off your page item and just link to an other page without submitting or without branching that other page would never know about your page item.
    If you want the server to know the value off a page item you need to submit it's value to the server. The easiest way is just to do the doSubmit() call after you have set your value.
    Hope this helps,
    Regards
    Nico

  • Start page lacks menu items - unlike "How to set the home page" view

    I have just downloaded the beta of Firefox 4 and am attempting to reproduce opening home page from previous version. Directions on accomplishing this (loading the NY Times front page) depend on a menu bar with "File, Edit, View, History" etc. There are not visible. They are shown in the directions on Firefox Help but not on my computer. How to do this??

    Click the Firefox button, then click Options. This will open the options dialog that the [[How to set the home page]] article refers to.
    When viewing the support articles, in the right-hand column there is a section titled "Help With:", make sure it is set to Windows and Firefox 4 to get help relevant to the version you are using. In some articles you get different content when you select Firefox 4.

  • How to set value of textinputbean in am

    hi guys,I have an item on my oaf page that is non data base item and i want to set its value in AM.Actually I am calling a DB procedure in AM that return me a value now i want to set this value in TextinputBean.but i dont know how to set a non database item value.
    Earlier i was setting database item values by getting vo and its row.
    Please Urgent

    You can't change bean properties in AM rather you have to use controller(CO).
    Call the AM method from controller and get the value. Set the value of the bean in the controller.
    Setting the value should only be done in processRequest.
    If your use case doesn't permit to call the AM method from processRequest then call the AM method from processFormRequest and call forwardImmediatelyToCurrentPage method which will call the processRequest and set the value of the bean in processRequest.
    For sample code have a look at the forum entry
    https://forums.oracle.com/thread/2554198
    Regards,
    Peddi.

  • How to set value on MRU insert Tabular Form

    This post refers to the forum article found How to set value on MRU insert Tabular Form
    I have included the problem and proposed solution below. My problem follows
    Problem
    Hi,
    I am using a Tabular Form. I used the wizard and it created all of the items (Cancel, Submit, Add, Multidelete buttons, etc.). I have a table that is like an FK table. For instance, we could have a customer table, and then a customer address table. Each customer could have multiple addresses. In the address table, the first ID column is the customer ID. So in using the tabular form for the addresses, I need to make the first column the same when I insert. But when I choose add row, everything works fine except it tries to insert a null into customer id. The uniqueness of the row is determined by customer ID and address string.
    Any time I make it to this screen, all new rows will have the same ID with I have in a variable that I can reference from the page called :P0_ITM_CUST_ID.
    How do I set the first value for all inserts? My guess is I need to do this in Computations. I'm also guessing I need to do this with a replace statement. I'm just not sure how to reference the first column of the new row.
    Thanks!
    Tim
    Solution
    The way to do this is by using the "Default" value for that Column. Go to
    Home>Application Builder>Application xxx>Page yyy>Report Attributes>Column Attributes
    Set the default value for newly added rows as in
    http://img237.imageshack.us/img237/5758/screenshot012di2.jpg
    Hope this helps.
    Un-resolved problem
    have also tried to do this but the fields I see are not the same.
    Please see screenshot=http://krisjones.freewebspace.com/apex.JPG
    I am using the Oracle hosted environment, so 2.2.1.
    To my knowledge I have done the same as the user in the first post. Am I doing something incorrectly or should I have created the tabular form differently?
    Many thanks. Kris

    Kristian - You see a different version of the form depending on whether the selected column is the primary key column or not.
    Scott

  • How to set value in combox by code

    how to set value in combox by code

    Dear
    You can use the following code to set the values in combobox by a query
       strQuery = "select ItemCode,ItemName  from OITM"
            oRecSet = Me.SBO_Company.GetBusinessObject(BoObjectTypes.BoRecordset)
            oRecSet.DoQuery(strQuery)
                 oCombo = Me.oForm.Items.Item(encontrolName.colEmpType).Specific
            If oRecset.Fields.Count > 0 Then
                While oRecset.EoF = False
                    oCombo.ValidValues.Add(oRecset.Fields.Item(0).Value, oRecset.Fields.Item(1).Value)
                    oRecset.MoveNext()
                End While
            End If
    Regards
    Rupinder

  • How to set value of a column in report region

    Hi,
    I have a report region based on a query.In this my first column is selectlist "select row" having to values "yes" & "No".
    I have two buttons on top of the region "Check all" and "uncheck all".
    My requirement is when I click check all button all rows corresponding to "select row" column gets selected to Yes and when I click No all rows gets selected to "No".
    Thanks
    Vikram

    Actully I want to set the value of a column in report region.
    There are replies in the forum but in those the item is in form but not in the report region.
    I am generating report region by using htmldb_item.selectlist and i dont know how to set value in these type of items.

  • How to set values to the structure containing a node with cardinality 0..n

    Hello.
    I 'm trying to set values for the node with cardinality 0..n. The node type is "Fields".
    <xsd:complexType name="Field">
       <xsd:sequence>
          <xsd:element name="fieldCode" type="xsd:string"></xsd:element>
          <xsd:element name="displayValue" type="xsd:string" minOccurs="0"></xsd:element>
       </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Fields">
       <xsd:sequence>
          <xsd:element name="field" type="tns:Field" minOccurs="0" maxOccurs="unbounded"></xsd:element>
       </xsd:sequence>
    </xsd:complexType>
    I  need to set several values for the element "fieldCode" but it has cardinality 0..1 and BPM does not allow it but I did not find any option about how to set values for the structure of type "Fields". Could you help me?
    Best regards,
    Timur Semenchuk

    Hi Marcus,
    If there is no way you could change the cardinality of the node, and thus it can contain 0..n items, I think you should create-and-add a new element programmatically.
    Since the collection can contain zero elements, I would add a 'new' button, which upon clicking adds one new element via:
    IYourNodeElement yourNodeElem = wdContext.nodeYourNode().createYourNodeElement();
    wdContext.nodeYourNode().addElement(yourNodeElem);
    Hope this explains a bit!
    Best,
    Robin van het Hof

  • Before Header pl/sql process to assign values to page items

    How can i assign values to items on a page based on the data structure returned from a pl/sql procedure within the before header process? I am thinking of executing a pl/sql procedure based on a URL parameter value and then assign values to page items. Is this really possible using Apex 4.0.2? If yes, how can it be done?
    thanks
    Seetharaman

    The question isn't really clear. What kind of "data structure returned from a pl/sql procedure"? Please be much more specific.
    For a PL/SQL data structure such as record containing 2 elements (<tt>x</tt> and <tt>y</tt>) returned as an out parameter from a procedure to be assigned to 2 page items <tt>p1_x</tt> and <tt>p1_y</tt>, all that's required in the Before Header process is something like
    declare
      l_rec rec_type;
    begin
      the_proc(..., p_out => l_rec, ...);
      :p1_x := l_rec.x;
      :p1_y := l_rec.y;
    end;

  • How to get value from list item

    Hi all,
    How to get value from list item?
    I have a problem with the List Item object
    in the Oracle forms.
    How can I retrieve the selected item from
    a list ?
    I didn't find any function like 'list.GET_
    SELECTED_ITEM()'...
    thanks
    Bala

    Hello,
    You get the value as for any other Forms item:
    :value := :block.list_tem ;Francois

  • How to set value in selectOnemenu using binding

    hi all.
    i have bind htmlSelectOneMenu. it contains some value. I want to set or display a value after a process.
    How to change value
    i have tried using setValue method of both binding property and value property of htmlSelectOneMenu.
    Same issue is with InputTextArea. how to set value in it via code(RowSelectionListener of icefaces)

    Balaji wrote:
    hi all.
    i have bind htmlSelectOneMenu. it contains some value. I want to set or display a value after a process.
    How to change value
    i have tried using setValue method of both binding property and value property of htmlSelectOneMenu.
    Same issue is with InputTextArea. how to set value in it via code(RowSelectionListener of icefaces)The html SelectOneMenu is bound to a value of a backing bean. You have to change the value of that backing bean, not the JSF component directly. JSF takes care of updating the model, you shouldn't be touching it unless you know what you are doing.

  • How to set multiple home pages, the option is gone (replaced my hard drive and had to reinstall firefox) This version seems to only offer tabs, not pages?

    My old version of Firefox had the option for me to set multiple home pages. My hard drive recently failed and had to be replaced, so I had to install the newest version of Firefox. The only option I see when I go to tools, options, general is to set the one home page. (and maybe tabs) I would like to open several of the same pages every time I open my Firefox. Does anyone know how to get this back, or which version had this feature so I can downgrade to that particular version?
    Also, I was wondering if there is a way to get the bookmarks I had on the old version back. I think they are lost forever, but if anyone knows, I would be thankful. I do still have the old hard drive, but the way it failed was actually when you tried to open any browser, the hard drive would go and blue screen, this is why the old hard drive had to be replaced. Thanks. :)

    So you mean you want to open new windows with the same page when you open Firefox?
    [[How to set the home page#w_set-more-than-one-website-as-your-home-page|Set more than one website as your home page]] should help if you want to open multiple pages when you open Firefox.
    As for recovering your bookmarks, you can try to plug that hard drive into a working computer, and then read [[Recovering important data from an old profile]] to copy your bookmarks from it. However, if it is failing you may not be able to do that.

  • Mapping in BPM - set value of collection item

    Hello,
    is it possible to set value to exact item of collection in mapping step in netweaver BPM?
    I need something like set(<collection_variable>,<item_index>,<item_value>)  - so exact opposite of GET generic function, which gets specific item from collection.
    Is it possible in NW BPM?

    You dont have to apologize. I didnt meant that as offend.
    I appreciate the possibility to discuss that topic with somebody, because discussion itself sometimes shows other perspective to the problem, which can lead to solution
    Of course I wrote EJB function to solve that - but I cant believe that it isnt standard solution to that pretty common use case.
    I think, that problem lays in very limited implementation of XPath into Netweaver BPM. I will bet my left hand, that in some future SP of BPM will SAP introduce something like this:
    myCollection[1]/notificationId = notificationId
    which is standard XPath way to do that

Maybe you are looking for

  • IPhone 3gs to 4s

    I've decided to buy 4s, but after talking with some people, I discouraged. I think it is not necessary to upgrade because it doesn't have any special feature for a 15 years old boy. Any one upgraded? Any Idea? Help me please? In case i want to buy it

  • Activate Cost Component Split in Controlling Area Currency

    Hello, I have controlling area currency USD and company code currency INR. When I do WIP run then system is giving error messages "contr.area currecy is missing" and "not find valid cost component structure" and suggesting to maintain "Cost Component

  • PSD Import Issues

    I'm having trouble importing an 8-bit/RGB PSD file with 4 layers. One layer is a Smart Object, two are text layers, and the other is a standard image layer. When I tried to import this from the welcome screen using the default settings, Smart Object

  • HT5631 what's the meaning of "locl" and "unlock" which appeared in new purchesd set ?

    I have read in  new purchesd set "unlock" appeared in display, want understand how should open (remove) from display and resume to network.

  • Need Assistance: iTunes Store now shown in Japanese?!

    I just updated iTunes to v7.0.2 and everything displayed in the iTunes window is in Japanese. Is there a patch to correct this error? If not, how can I restore/re-install iTunes to the previoss version without losing my music/video library?