Item other than a button in a region position

Hi All,
In a region template, there are substitution strings such as #EDIT#, #CLOSE#, #CREATE#,..etc that allow you to create buttons in these positions.
Rather than a button, I would like to create a combobox in one of these positions. Is this possible?
Thankyou,
Shane

Hi again. I managed to work this out.
For those interested, you can accomplish this by creating a shortcut and placing the name of the shortcut in the region template.
For example in the region template place <td>"TEST_SHORTCUT"</td> wherever you want it.
And then create a shortcut named "TEST_SHORTCUT" of type PL/SQL. You can then selectively display the "select list" and its contents depending on a specific page...eg
BEGIN
if :APP_PAGE_ID = 1 then
return HTMLDB_ITEM.SELECT_LIST(9,'Y','Yes;Y,No;N');
ELSIF :APP_PAGE_ID = 2 then
return HTMLDB_ITEM.SELECT_LIST(9,'M','Male;M,Female;F');
end if;
END;

Similar Messages

  • A button in a region position

    "a button in a region position" - hello, is it possible to place this kind of button among region items?
    in Button Position options i couldn't find possition i need..
    thx, mariam

    Hi,
    I think there may have been a couple ways of doing it but I can only remember the one.
    Create a new template specifically for that button copying a previous style. You then reference that button type in the button amongst region items. This custom template would have something like:
    <a href="myHost();" class="t6Button">#LABEL#</a> Or in your case a link to a page.
    If you want it for a different piece of functionality then let me know & I'll try to remember the other way I did it.
    Mike

  • Can's create buttons in a region position

    Hi every body,
    i'm trying to create a button in a region position, but i can´t create it.
    I select this option, but i can't select the region cause i haven't any list to select the position. I haven't any form to select any parameters.
    Morevoer, when i try to edit a old button creted in a region position i recive the next error:
    Error inesperado. No se ha encontrado el nombre del elemento a nivel de página o aplicación.
    ERR-1002: No se ha encontrado el identificador de elemento para el elemento "F4000_P4314_ID" en la aplicación "4000".
    Someone can helpme.
    Thanks.

    I really need help.
    I'm trying to edit the buttons in a region position and I always get the same error:
    ERR-1002 Unable to find item ID for item "F4000_P4314_ID" in application "4000"
    I can't do anything, unless I edit the buttons, I can not make many changes in my application.
    Please someone help me.
    Thanks.
    Víctor.

  • How to customize a List object to contain line items other than String

    I'd like to create a List that contains line items with the following form:
    check box followed by a string followed by a button.
    I'd like the list to be backed by an object array that has a similar form:
    boolean, String, boolean
    which define if the item is checked, it's title, and whether or not to display the button.
    So I'd like to have code something like this:
    // ten items in this lists
    MyList myList = new MyList(10);
    // first item
    MyObject myObject = new MyObject(false, "Item 1", true);
    myList.add(myObject);
    // add the rest of the items...I can't use Swing, I only have AWT available in a J2ME environment.
    Where do I start?
    Can I do this with List?
    I've looked at GridBagLayout but I'm unfamiliar with it. Would a GridBagLayout work?
    Do I need to create a custom control from scratch (based on Panel or ScrollPane, for example) to accomplish this?
    Thanks,
    Nick.

    List only takes Strings. Here's an possibility with GridBagLayout:
    import java.awt.*;
    import java.awt.event.*;
    public class ListTest implements ActionListener
        Object[][] data =
            { Boolean.TRUE,  "John Ericsen",   Boolean.TRUE  },
            { Boolean.FALSE, "Heidi Pall",     Boolean.TRUE  },
            { Boolean.FALSE, "Gregg Fletcher", Boolean.FALSE },
            { Boolean.TRUE,  "Pieter Gaynor",  Boolean.TRUE  },
            { Boolean.TRUE,  "Janice Clarke",  Boolean.TRUE  },
            { Boolean.TRUE,  "May McClatchie", Boolean.FALSE },
            { Boolean.TRUE,  "Bill Horton",    Boolean.TRUE  },
            { Boolean.FALSE, "Helmet Krupp",   Boolean.TRUE  },
            { Boolean.FALSE, "Ian George",     Boolean.TRUE  },
            { Boolean.TRUE,  "Jill Smythe",    Boolean.FALSE }
        public void actionPerformed(ActionEvent e)
            Button button = (Button)e.getSource();
            String ac = button.getActionCommand();
            System.out.println("ac = " + ac);
        private Panel getPanel()
            Panel panel = new Panel(new GridBagLayout());
            GridBagConstraints gbc = new GridBagConstraints();
            gbc.insets = new Insets(2,2,2,2);
            //gbc.weightx = 1.0;         // horizontal dispersion
            //gbc.weighty = 1.0;         // vertical dispersion
            for(int j = 0; j < data.length; j++)
                Checkbox cb = new Checkbox("", ((Boolean)data[j][0]).booleanValue());
                gbc.gridwidth = 1;
                panel.add(cb, gbc);
                gbc.gridwidth = GridBagConstraints.RELATIVE;
                gbc.anchor = GridBagConstraints.WEST;
                panel.add(new Label((String)data[j][1]), gbc);
                gbc.anchor = GridBagConstraints.CENTER;
                gbc.gridwidth = GridBagConstraints.REMAINDER;
                if(((Boolean)data[j][2]).booleanValue())
                    Button b = new Button("call");
                    b.setActionCommand((String)data[j][1]);
                    b.addActionListener(this);
                    panel.add(b, gbc);
                else
                    panel.add(new Label("  "), gbc);
            return panel;
        private Panel getList()
            Panel child = getPanel();
            ScrollPane scrollPane = new ScrollPane()
                public Dimension getPreferredSize()
                    return new Dimension(200, 125);
            scrollPane.add(child);
            Panel panel = new Panel(new GridBagLayout());
            panel.add(scrollPane, new GridBagConstraints());
            return panel;
        private static WindowListener closer = new WindowAdapter()
            public void windowClosing(WindowEvent e)
                System.exit(0);
        public static void main(String[] args)
            Frame f = new Frame();
            f.addWindowListener(closer);
            f.add(new ListTest().getList());
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
    }

  • How to forward items other than emails.

    Forwarding emails is ok, but how do I forward, for example, other items?

    What would be an example of something you want to forward?
    Many sites have a "share" feature built-in that lets you email a link, or copy something to your social networking feeds, etc.
    If the site doesn't have a built-in feature, some platforms offer you a universal button (e.g., the Pin It button from Pinterest) that you can store on your Bookmarks Toolbar to grab content from a page.
    If you can be more specific, so can we. :-)

  • Setting values for items other than default value

    How can I set the value of Items (hidden item, display item etc) without using any of navigational control such as list, select list or tree?
    I have a two report region on a page and no navigation control. the requirement is only one region should be displayed at one point of time.
    Condition that drives this are passed from other page through links.
    The code is like this
    For Region A
    select * from table a where cola = :P_VALUE_FROM_OTHER_PAGE; //value passed is JOE
    For Region B
    select * from table a where cola = :P_VALUE_FROM_OTHER_PAGE; //value passed is JOHNnow there is the hidden item :P_HIDDEN that i am comparing in expression1 = expression2 conditions for each region
    for e.g.
    for region A
    value in expression1 = expression2
    P_HIDDEN = 1
    for region B
    P_HIDDEN = 2my issue is, where can I set values for P_HIDDEN item (set to 1 and set to 2) without any navigational control on the page.
    Thanks,
    R
    now there is the hidden item :P_HIDDEN that i am comparing in expression1 = expression2 conditions for each region
    for e.g.
    for region A
    value in expression1 = expression2
    P_HIDDEN = 1
    for region B
    P_HIDDEN = 2
    my issue is, where can I set values for P_HIDDEN item (set to 1 and set to 2) without any navigational control on the page.
    Thanks,
    R
    Edited by: Rich V on May 21, 2010 10:41 PM

    The question I would ask is:
    How are you determining which region you want to be displayed by default?
    Either way, you could potentially use a 'before header' computation to calculate the value of your hidden item, although you'd also need to include some sort of conditional means of preventing the computation from running everytime to run the page (otherwise you'd never see your other region) e.g. you might only want it to run if the hidden item is null.

  • Can't get adobe reader out of system - it always blocks opening items other than PDF files.

    I can't get rid of Adobe reader.  Want to get back to making Preview my browser default source.  Can't get this solution to work.
    Either "File"- "Get Info" in the menu bar or press Cmd-I. This will give you a pop up screen where you have an section called "Open with".  Go there, select Preview as the application to open the document with, press the "Change All" button and confirm.

    Remove Adobe plug ins, if any.
    Macintosh HD > Library > Internet Plug-ins
    AdobePDFViewNPAPI.plugin
    AdobePDFView.plugin

  • How to execute 261 goods issue for REM order items other than with MFBF?

    Our users are looking for an easy way to post a 261 goods issue for a single component of a repetitive manufacturing order without using the MFBF transaction where they have to deselect all other components of the order.
    The ideal situation would be to use a transaction similar to MB1C or MB11 to simply enter the planned REM order, component material id, and its respective quantitiy and then post. 
    Any information you can provide will be helpful.

    Strat,
    Thank you for your response but LT01 does not seem to provide the functionality that I am looking for.
    To clarify, our users would like to complete a 261 movement for a single component within a particular repetitive manufacturing, without going into the MFBF transaction and having to deselect all of the unnecessary components just to single out one. 
    So ideally we would like to use the MB1C transaction for a 261 movement. Enter in a REM order, the material id, and the quantity to be issued and simply post a single material.  Currently when we attempt to do this with MB1C we receive the error M7162 that our order, which is a product cost collector, cannot be processed with this transaction.
    Hope this helps clear it up and thanks again for your response.
    - Nick

  • Button created among region items cannot be horizontally aligned

    If I create a button amongst region items, and say new line = NO and new field = YES, it creates the button in its own table cell. However there is no apparent interface to horizontally (or vertically for that matter) align the button within the cell.
    If I create any other region item, or a button in a region position, I can see the alignment options which work as expected.
    Am I missing something here?

    A workaround here is to add the item as post element text on the previous item in sequence. But then the item is "lost" when looking at the page edit screen, and common editing features are not available.
    I see no logical reason why a button created amongst region items should not have all the operations permitted on it as do the regular region items.

  • How to popup a page from a button not in a region position

    Hello.
    I am using Apex 2.2.1. I have a form (not a report) on which I've placed a button that is positioned "among the items" as opposed to being placed in a specific region position.
    When the button is clicked I would like to have another page popup. The problem is that I can get this to work only if the button is placed in a region position. With the button in a region position, I define the target to be a URL and then place a call to the popUp2 function, as in:
    javascript:popUp2('f?p=&APP_ID.:32:&SESSION.::NO:::', 900, 700);
    This works fine.
    However, I need to position my button on the immediate right hand side of a form item. But when I create a button in such a position, I have no field in which to place the call to the popUp2() function. Instead, I have to create a "Branch to Page or URL" and then place my javascript call in the Branch field. Unfortunately, when I click the button, Apex wants to branch to page zero instead of the desired page. I saw that when I move the mouse over the button, Apex shows:
    javascript: doSubmit('MY_BUTTON_REQUEST');
    And, as mentioned, Apex tries to branch to page zero.
    How does one call the popUp2() function from a button that is not placed in a region position?
    Thank you for your help.
    Elie

    Hi Elie,
    I had the same problem ... I only got it solved with creating a hidden item and adding the input-tag into the "Post Element Text" field.
    Just have a look in the source code of your page, how a button is build and copy the necesaary code to the mentioned field. So you get a button with ApEx layout and can add your javascript call.
    chrissy

  • Question about region position on a page template

    Hello all,
    I'm trying to create a new page template but I can't create more than 8 Region Position on this.
    Is there a limit on the number of Region Position?
    Thanks
    Paolo

    Paolo,
    eight is the limit. Why do you need more than that? In each region position you may put
    your regions in separate columns.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • TS3297 iTunes puts up a message "The item you've requested is not currently available in the Hong Kong Store." I had not requested anything from the HK store at that point, and I have never used any store other than the HK one. How I can clear that messag

    I've been running iTunes on WinXP for years with few problems.  I have all my iTunes files on an external USB drive. I just bought a new PC running Win7, 64-bit.
    I connected the external USB drive to the new PC and installed 64-bit iTunes on it. When iTunes started up, I pointed it at the iTunes directory in the external drive, using Edit > Preferences > Advanced > iTunes Media Folder Location. It showed a progress bar that it was updating the iTunes Library. I signed in and authorized the new machine. I have one spare authorization.
    Then iTunes put up a message "The item you've requested is not currently available in the Hong Kong Store." I had not requested anything from the HK store at that point, and I have never used any store other than the HK one.
    When I click OK, the iTunes Store page remains blank, apart from saying "iTunes Store" in the middle of the page.
    I went to "View My Account" and pressed the Reset button to "Reset all warnings for buying and downloading items", but that doesn’t fix this particular warning. I also tried Edit > Preferences > Advanced > Reset Warnings and Rest Cache.
    But still, every time I click the “App Store” button in the iTunes Store window, the message appears. If I click the Books, Podcasts or iTunesU buttons, these display normally.  So I’m stuck with being unable to purchase apps, other than through my iPad and iPhone.
    If I move the external drive back to the XP machine, the same thing happens.  If I go to another PC - a notebook running Vista - everything is normal.
    Any idea how I can clear that message?
    Thanks for any help you can offer.

    Further info on my question above.
    I have tried re-validating my credit card, which apparently fixed it for some. 
    I have also tried uninstalling, re-downloading and installing again.
    Neither of these steps fixed the problem.

  • Button created among region items generates a spurious table cell

    To reproduce:
    =============
    1. Create a text item X in an HTML region.
    2. Create a button B amongst region items, to appear after X and on the same line, new field.
    3. Run the page and look at the source. I would expect to see something like:
    <td>X</td><td>B</td>
    But instead I see
    <td>X</td><td align=right></td><td>B</td>
    This is messing up my item alignments and I can't get rid of the extra table cell. What's going on?

    Any ideas, anyone?

  • Can a button be easily moved between Items and Region Position?

    When a button is originally defined, we have to choose whether it is to be placed amongst the items in the regions, or placed in a pre-established region position. Once the button is defined in to one of those places or the other, is there any way to "reassign" it into the other location, i.e. move it between "in the items" and "in a region position"?
    Using Apex release 4.1.1.00.23
    Edited by: Mark T. on Feb 29, 2012 11:03 AM

    I don't believe so, but it won't take long to re-create.

  • Everytime i click on the view in itunes button/link on the itunes website so that i can download apps, nothing happens. I accendentally  clicked on the button other than open itunes and now i cant fix it

    everytime i click on the view in itunes button/link on the itunes website so that i can download apps, nothing happens. I accendentally  clicked on the button other than open itunes and now i cant fix it

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Go to Settings>iTunes and App Stores and sifnout and sign back in
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.

Maybe you are looking for

  • Need installer for HP e-all in one printer d411c for Mac OS 10.8.1

    I am unable to setup my new HP e-all in one printer d411c on my MacBook Pro running Mac OS 10.8.1.  Where can I down load driver for the printer?

  • Izzit possible to do reverse engineering in java code

    the program will able to read the source code and draw a class diagram from the specified source code

  • IPhone 4 album display photo is not the "KEY" photo from Aperture

    Aperture sets a "KEY" photo to best describe the contents of an album of many photos. iPhone 4 ignores this key photo and uses a random, often obscure photo to display. How can I correct this?

  • Query doubt again

    Hello Friends, SET SERVEROUTPUT ON; DECLARE vMemName VARCHAR2(100) DEFAULT ''; vName VARCHAR2(100) DEFAULT ''; BEGIN FOR I IN (SELECT EMAIL FROM MYTABLE WHERE ID <10)LOOP IF vMemName IS NULL THEN vMemName := I.MEM_EMAIL; ELSE vName := CONCAT(CONCAT(v

  • XQSEQUENCEFROMXMLTYPE  -- ora-00932

    I was trying to view the trace file output of a session trace. Used TKPROF to read the trace file for me. This is a part of the file I found: SELECT XMLELEMENT("ISA", XMLAGG(T.COLUMN_VALUE)) FROM XMLTABLE('/ISA/node()[ora:matches(name(),"ISA")]' PASS