How to modify page item dynamically

Hi experts,
I have a DB table called attribute in that i am having set of attributes namely att1,att2,att3....... And in application builder i had created a page called service request. When i run the page it have att1,att2,att3 and their corresponding page items. For example ATT1 has text field,ATT2 has a text field,ATT3 has select list. Now the user want to edit the page items(while the page running) ATT1 to select list and ATT2 to Select list and ATT3 to Text field after the changes it should reflect in the application page.
Edited by: karthi on May 3, 2011 2:45 AM
Edited by: karthi on May 3, 2011 3:22 AM

hi,
can you please tell me the steps. I had write the following code in pl sql->region->source.
begin
SELECT
empno,
APEX_ITEM.HIDDEN(1,empno)||
APEX_ITEM.TEXT(2,ename) ename,
APEX_ITEM.TEXT(3,job) job,
mgr,
APEX_ITEM.DATE_POPUP(4,rownum,hiredate,'dd-mon-yyyy') hiredate,
APEX_ITEM.TEXT(5,sal) sal,
APEX_ITEM.TEXT(6,comm) comm,
deptno
FROM emp
ORDER BY 1;
end;
BUT IT SHOWS THE FOLLOWING ERROR
*1 error has occurred*
ORA-06550: line 3, column 1: PLS-00428: an INTO clause is expected in this SELECT statement
Regards,
Karthi
Edited by: karthi on May 3, 2011 9:50 PM

Similar Messages

  • How to get page item list in  a page?

    how to get page item list in  a page?

    Have a look at ISpread::GetItemsOnPage().
    That should get you started.

  • How To Access PAGE ITEM (single row) from HTML source

    Hi Guys,
    I have a page Item that return a string.
    I would like to show this string
    How To Access PAGE ITEM (single row) from HTML source?
    My desire final output is
    <marquee>:P1_PAGE_ITEM</marquee>
    Can please help me
    Thanks

    Hi,
    You can refer the page items in your page header as &itemname. For example, if I have page item P15_TEST, I will add the following in header:
    <marquee>
       &P15_TEST.
    </marquee>But make sure that you have a process before header to populate the value in your page item. Otherwise, there will be a null scrolling (which you can't see!) :)
    Regards,
    Zahid

  • XCode How to modify menu item

    Newbie here. Have been searching around not have not been able to find a example that shows how to modify a menu item dynamically.. eg. Like in the menu bar the battery menu info is able to show how much battery life is left.

    Have you looked over Views in Menu Items in +Application Menu and Pop-up List Programming Topics for Cocoa+, or the MenuItemView sample app?

  • How to group Page Items with fieldset and legend HTML tags ?

    I have 7 Page Items (i.e. select list, input text....) defined in Side Bar Region of my Page Zero,
    for clarity I would like to group these items as follows:
    1) <fieldset>
    <legend>Costs</legend>
    <input ..... item1 >
    <input .... item2 >
    <input..... item3 >
    </fieldset>
    1) <fieldset>
    <legend>Technical Attributes</legend>
    <input ..... item4 >
    <input .... item5 >
    <input..... item6 >
    <input..... item7 >
    </fieldset>
    I appreciate if you can tip me  with  a URL link or codes examples i.e. javascript, Side Bar template #BODY# customization.
    Thanks for your tips.

    What if you need to access more than one data source?
              <sql:query var="myQuery" dataSource="myDataSource">
              </sql:query>
              <sql:query var="myOtherQuery" dataSource="myOtherDataSource">
              </sql:query>
              If you specify one data source as the default, how do you access the other
              one?
              -- Craig
              "thanh nguyen" <[email protected]> wrote in message
              news:3fa18529$[email protected]..
              > I believe you can set up a default datasource for the application context
              in the web.xml and weblogic.xml. That way, on your JSP, you will not need to
              set the datasource. The connection pool will handle all of that for you.
              >
              > 1. modified weblogic.xml
              > <reference-descriptor>
              > <resource-description>
              > <res-ref-name>jdbc/hr</res-ref-name>
              > <jndi-name>jdbc/hr</jndi-name>
              > </resource-description>
              > </reference-descriptor>
              > 2. modified web.xml
              > <context-param>
              > <param-name>javax.servlet.jsp.jstl.sql.dataSource</param-name>
              > <param-value>jdbc/hr</param-value>
              > </context-param>
              >
              > <resource-ref>
              > <res-ref-name>jdbc/hr</res-ref-name>
              > <res-type>javax.sql.DataSource</res-type>
              > <res-auth>CONTAINER</res-auth>
              > </resource-ref>
              > 3. redeploy app
              

  • How to include page fragment dynamically in BSP

    Hi all,
    I want to include a page fragment dynamically in my BSP default.htm.
    Is it possible to give a variable (path to page fragment) in the include? Instead of using:
    <%@include file="../bsp_app/test.htm" %>
    I want to give:
    variable = "../bsp_app/test.htm"
    <%@include file= variable %>
    Thank you for your help.
    Oliver

    Welcome to SDN.
    check out this weblog.
    <a href="/people/sap.user72/blog/2005/06/02/dynamic-includes-for-bsp">Dynamic Includes for BSP</a>
    Regards
    Raja

  • How to modify POF config dynamically?

    we have a application framework developed in C# .NET which includes 5 applications renning under that.
    my application is running under this framework. I am rading my POF Config entry from app.config of main applicacation(framework)
    I can not add seperate app.config my my application. Also i can not modify the main coherence-pof-config.xml.
    Now the problem is, for my application i want to add new user type in my pof-config file dynamically. how to add that?
    Please help...

    Hi Nick,
    you can specify the <serializer> in the distributed-scheme or other similar scheme elements in the cache configuration file, and it can take an init param specifying the locator of the file name.
         <distributed-scheme>
              <scheme-name>loader-scheme</scheme-name>
              <backing-map-scheme>
                   <local-scheme />
              </backing-map-scheme>
              <autostart>true</autostart>
              <serializer>
                   <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
                   <init-params>
                        <init-param>
                             <param-type>string</param-type>
                             <param-value>pof-config-other.xml</param-value>
                        </init-param>
                   </init-params>
              </serializer>
         </distributed-scheme>Output:
    ... (thread=main, member=n/a): Loaded cache configuration from resource "file:.../coherence-cache-config-poftest.xml"
    ...(thread=DistributedCache, member=1): Loading POF configuration from resource "file:.../pof-config-other.xml"Best regards,
    Robert

  • How to modify rendered HTML dynamically

    Hi, I'm looking for a method to modify rendered HTML appearance at runtime. I.e. enabling/disabling a button according to some other condition. I can do it within the same page, by means of a valueChangeListener, then searching for the componennt id to enable/disable. But I cannot when coming from another page, since the involved lifecycle refers to this one. The target page is rendered at the end, and I would like to modify its button then. I guess I should influence the render response phase to enable/disable that button, but how ?

    You can use EL in the rendered or disabled attributes:
    <h:commandButton value="..." action="..." rendered="#{MyBean.shouldButtonBeRendered}" />
    <h:commandButton value="..." action="..." disabled="#{MyBean.shouldButtonBeDisabled}" />etc

  • How to modify page without clicking on Execute?

    Hi.
    I have 2 radio buttons(YES and NO) and one text field parameter(Request Number).
    I want that if I click on YES, the field-active for field Request Number should become 1, and similarly
    when I click on NO, the field-active should become 0.
    I have used the following code:
    SELECTION-SCREEN OUTPUT.
      IF p_no = 'X' .
        LOOP AT SCREEN.
          IF screen-name = 'P_TREQ'.
            screen-input = 0 .
         MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSE.
        LOOP AT SCREEN.
          IF screen-name = 'P_TREQ'.
            screen-input = 1.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    I have to click on execute everytime I'm switching the  radio buttons.
    I dont want that.
    Help me here.

    REPORT  zzbc_bha_test.
    DATA uc LIKE sy-ucomm.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    PARAMETERS: p_no RADIOBUTTON GROUP rb USER-COMMAND uc,
                 p_no1 RADIOBUTTON GROUP rb DEFAULT 'X',
                 p_text LIKE mara-matnr.
    SELECTION-SCREEN END OF BLOCK b1.
    AT SELECTION-SCREEN OUTPUT.
       IF p_no EQ 'X'.
         LOOP AT SCREEN.
           IF screen-name = 'P_TEXT'.
             screen-input = 0.
             screen-active = 0.
             MODIFY SCREEN.
           ENDIF.  "IF screen-name = 'P_TEXT'.
         ENDLOOP.
       ELSE.
         LOOP AT SCREEN.
           IF screen-name = 'P_TEXT'.
             screen-input = 1.
             screen-active = 1.
             MODIFY SCREEN.
           ENDIF.  "IF screen-name = 'P_TEXT'.
         ENDLOOP.
       ENDIF.  "IF uc EQ p_no.

  • How to move page item from one page to another page in a document?

    I used kMoveToSpreadCmdBoss for spreads but It's not working for pages.

    I used kCopyCmdBoss and kPasteCmdBoss command but it's not working because it needs only spread layer UIDRef not for page. 

  • Dynamic creation of page items

    How can I create page items dynamic, if I have their number and their titles in a page item?

    More often than not you'll run into difficulties when trying to do something like this with APEX. However, you have two options:
    1 - The htmldb_item API, embedding items into a report based on the values of your previous page items.
    2 - Some combination of hidden fields and conditionals that makes use of your page item values for their label text.
    The former is well documented on the forum.
    Rgds
    Ben

  • List of Values using page item variable

    I know there has to be a simple solution to my problem but I cannot figure it out. Any assistance would be greatly appreciated.
    I have a Shared list of values that I want to reuse on several of my pages. I have tried (I thought) all the variable possibilities but cannot figure out how to reference the page item in my list of values.
    Original code:
    select app_name d, app_sys_id f
    from ops_application
    where :P32_RADIO2 = 'Application'
    union
    select db_name d, db_id f
    from ops_database
    where :P32_RADIO2 = 'Database'
    Doesn't work:
    select app_name d, app_sys_id f
    from ops_application
    where 'P'||:APP_PAGE_ID||'_RADIO' = 'Application'
    union
    select db_name d, db_id f
    from ops_database
    where 'P'||:APP_PAGE_ID||'_RADIO' = 'Database'
    I also have tried 'P'||v('APP_PAGE_ID')||'_RADIO'
    'P'||&APP_PAGE_ID.||'_RADIO'
    'P&APP_PAGE_ID._RADIO'
    'P'||:APP_PAGE_ID||'_RADIO'
    Thanks,
    Gayle
    Edited by: user8116955 on Sep 27, 2010 12:25 PM

    Gayle,
    I haven't tried this, but what about
    where v('P'||:APP_PAGE_ID||'_RADIO') = 'Application'That should allow you to build up the name of the page item dynamically, and then test the value...
    A lower-quality solution would be to use an application item rather than a page item, as then you'd know the name ahead of time.
    Let me know if this works,
    -David

  • Listing (for further action) all page items that have a certain script label

    hello from France,
    Well the question is essentially in the subject line: how to find and work on all page items of a document (or a page/spread) that have the same script label (or better: whose script label contain the same word)?
    I tried some variations around something like that, with no results:
    set list_pageitems to every page item of page i whose label is "product"
    Any clues?
    Thanks for your help
    Vincent

    I found the answer (for those who might be interested), but still have a question (for those who know).
    The solution:
    set list_pageitems to page item "product" of page i
    If you want to do it for a whose document (in may case, deleting some page items):
    delete page item "product" of document 1
    Strange syntax but it works :-)
    The remaining question:
    How to find page items whose label contains a certain string: it would be like selecting page items by tags (every word of the script label would be considered as a tag)?
    Thanks

  • Listing (for further action) all page items that have a certain custom label

    Hi again,
    Same question as before (see my previous post today), but now with custom labels.
    Who has already use the custom labels and how?
    I found it easy to write and read custom labels on a item basis (via a loop inside a list) but what if i want to get a list based on a custom label?
    Thanks for any help

    I found the answer (for those who might be interested), but still have a question (for those who know).
    The solution:
    set list_pageitems to page item "product" of page i
    If you want to do it for a whose document (in may case, deleting some page items):
    delete page item "product" of document 1
    Strange syntax but it works :-)
    The remaining question:
    How to find page items whose label contains a certain string: it would be like selecting page items by tags (every word of the script label would be considered as a tag)?
    Thanks

  • APEX dynamic action - How to hide an item after the page loads

    Hello
    I have a form  with  item  Type,  lesson and page.   I want to create a  dynamic action like "on page load" if Type = x then don't show lesson and page items. .
    How do I say if Type=x then  don't show lesson and page. otherwise show them.
    Please note Dynamic action,  Event=Page load
    Thanks

    create dynamic action like
    Event:Change
    Selection Type:Item
    Item:Type
    Condition:Equal To
    value:X
    Select Action:Hide
    Select Items to hide
    also create opposite false action
    and click on page checkbox below action to yes
    Hope this may helps
    pars.

Maybe you are looking for

  • How can i get this set up to work? PLEASE HELP

    Ok so right now i have a airport express, and i bought a xbox 360. I want a wired connection for my xbox 360, so the guy at bestbuy said to buy a dlink EBR-2310 switch so i would still have a wireless connection for all the laptops, phone, etc in my

  • Window Navigation In Web Dynpro ABAP

    In one of our requirements we would have to make use of the suspend plug in Web Dynpro Abap. Would anyone happen to have any other information on this topic. Is there a sample program available which demonstrates the same? The requirement is that, I

  • Please Help... Photoshop Misbehaving?

    Hi guys, I've been a photoshop user for years and have never encountered anything like this in the past. I was running PS CS6 with no problems for months. Suddenly without any change to the computer that I am aware of, PS will not Open or Create New

  • Ipad mini keeps telling me siri is not available, connect to the internet and i haven't asked for siri to do anything

    just got a new ipad mini. even when its just sitting idle, it will tell me that Siri is not available, connect to the internet. don't find anything in set up that speaks to sensitivity. what gives? anyone else had this issue?

  • Delta field for generic data source based on view EKBE

    Hello, I am creating a generic datasource based on table EKBE. Can anyone please tell me what field should I use for delta. Is it BUDAT(Posting Date in the Document) or CPUDT(Day On Which Accounting Document Was Entered). Thanks for the help. Praveen