How to get only 2 choices in an option button

Hello

I use APEX 5.0.

I created a group of buttons with the static value type: STATIC: show raw data; B, display the data validated; V

But the page display 3 choices instead of two choices, I said. One choice is 'empty' I mean there is no text in front of her.

How to get rid of this choice 'null '?

Thank you

chipniz wrote:

I use Page Designer.

Select the group item in the browser on the left pane. The parameters To display Extra/Null values are in the section list of values of the property on the right Editor. If these are not visible, click show all at the top of the property editor.

Tags: Database

Similar Questions

  • How to get the caption of the selected option button?

    I am building a dynamic form using javascript in Adobe livecycle designer, X.  I have a group of radio buttons, optGroup, with several individual radio buttons. Later in the form, I want to refer to selection that made the user with the caption of the button selected in the option group.  I tried to use resolveNode (optGroup.selectedMember () .name + ".") caption.value. #text') .value, but this only works if the first button in the group is selected.  Otherwise, selectedMember seems to be null and the code does not work.  Any ideas?

    Thanks for your help!

    BigO

    Hello

    You can do this. I just thought it would be easier to clear values "says.

    On the basis that you have a unique name for the exclusion of radio button group, so this should work:

    this.rawValue = RadioButtonList.selectedMember().caption.value.text.value;
    

    Hope that helps,

    Niall

  • How to get only the whole ticks on a horizontal axis of a graph?

    Hello
    Could someone help me find oout how to get only the whole ticks on a horizontal axis of a graph?
    When I have a number less than 5, I get like 0, 0.2, 0.4 ticks... while I want it to be 0, 1, 2...

    Thank you
    Yann

    healer

    Try this Clara. Put this inbetween your chart labels:



    Set the interval to meet your needs of 'tick '.

  • I have 3 radio button options to choose, but I want only a certain one for calculating sales tax. How can I assign a calculation to an option button?

    I have 3 radio button options to choose, but I want only a certain one for calculating sales tax. How can I assign a calculation to an option button?

    Ok. Let's say the name of the radio button group is "Radio1", the value of exports in this field is '3', the name of the subtotal is "Subtotal" and tax rate is 16%. You can use this code as the custom calculation of the tax field script:

    Event.Value = (this.getField("Radio1").valueAsString == "3")? Number (this.getField("Subtotal").valueAsString) * 0.16: 0;

  • How you gray out / disable fields in an option button if another radio button is selected in Adobe Acrobat Pro XI?

    How you gray out / disable fields in an option button if another radio button is selected Adobe Acrobat XI Pro?

    I have created a form where the user has three options to make a payment.

    1. charge on my credit card
    2. costs related to the bank account
    3. By check or money order

    My problem is, under each option, there are required fields that must be filled. So if the user chooses the first option, charges on my credit card, they would fill in the mandatory fields (card credit number, expiry etc.). But when they click on the "submit" button to send the form, he won't let them, because there are a of the fields required in the title of the second the second option, the costs related to the costs related to the bank account. Is there a way to gray out or disable the other two payment options when it is taken. I guess I'll have to use javascript, but what would be the coding and what field do I write under?

    Thanks in advance guys

    I do all the fields that are not required until the user selects the relevant box.

    For example, as soon as the user selects the credit card radio button, only credit card fields are required.

    It could be the script to make the credit card required/not required fields:

    var r = this.getField("PaymentMethod").value;     Use the name of the radio here group

    var CCfields is ['Field1', 'Field2', 'Field3'];.         Enter the names of the fields of credit card here

    If the user has chosen credit card as payment method, make the required credit card fields

    If (r == 'Credit Card') {}

    for (var i in CCfields) this.getField(CCfields[i]).required = true;

    }

    Else, no required credit card fields

    else (var i in CCfields) this.getField(CCfields[i]).required = false;

    You should do something similar for other types of 2 payment, for example

    If (r == "Bank account") {}

    do something

    }

    etc.

    ......

  • How to get only the year of a date?

    I try to shoot only the year of a date and does not know how this can be done. I tried the SUBSTR function but its does not not how I think. What I want to do, it is write a condition indicating the year of birth of point = current year minus 23, I have a calc than the figures of the age of the difference in the date of birth and the current year, but I'd really like to just write a condition based just a years. Is this possible?

    Hello
    SUBSTR only works on a string. To extract parts of a date, you must use the TO_CHAR command.

    For the year, you would use this: TO_CHAR (the_date, 'YYYY')

    To_char takes 2 switches, the date to be handled and the part to be extracted, with the portion between apostrophes.

    Once you get used to manipulate dates as this other common areas are: DD - extracts the day of the month, MY snippet code to 3 characters for the month.

    For example, you can use this: TO_CHAR(sysdate,'DD-MON-YYYY') and it converts the current date, June 7, 2012 to June 7, 2012

    Hope this helps
    Best wishes
    Michael

  • How to get only the new lines

    Hello

    I have a table as below

    emp_id (integer)
    id_est (integer)
    dt_est (date)

    for each emp_id I have several id_est with several dt_est... as below

    emp_id id_est dt_est
    1 1 10-01 - 2009
    1 2 2009 - 01 - 13
    2 3 2009 - 01 - 10
    2 4 2009 - 01 - 12
    2 5 2009 - 01 - 14
    3 6 2009 - 01 - 12
    4 7 2009 - 01 - 15
    5 8 2009 - 01 - 17
    5 9 2009 - 01 - 19

    I would get just the news lines function date each emp_id, so my result should be as below

    emp_id id_est dt_est
    1 2 2009 - 01 - 13
    2 5 2009 - 01 - 14
    3 6 2009 - 01 - 12
    4 7 2009 - 01 - 15
    5 9 2009 - 01 - 19

    How I do that?

    Thank you

    Hello

    Try this code.

    Salim cordially.

    SELECT   id_emp, MAX (id_est), MAX (dt_est)
        FROM t
    GROUP BY id_emp
    
  • How to get only the central panel to resize and display a scroll bar?

    I have a window (frame) that has three panels - upper, middle and lower. When the window is narrowed down, I need a scroll bar is displayed for the central panel only. If the maximum possible vertical shrinkage would be the sum of the upper and lower panels and a small amount (to display the scroll bar of the central panel). So the upper and lower panels should always be completely (height wise). Please review my code and suggest corrections. I tried the couple in different ways, but without success... The code below is my latest attempt.
    Thank you...
    import java.awt.*;
    import java.awt.Color.*;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseMotionListener;
    
    import javax.swing.*;
    import javax.swing.plaf.ComponentUI;
    
    public class PanelResizingA extends JPanel implements MouseListener, MouseMotionListener
    {
    
         /**
          * @param args
          */
         public static void main(String[] args)
         {
              JFrame frame = new JFrame ("All Panels");
              PanelResizingA allThreePanels = new PanelResizingA();
              JScrollPane allHorizontalScroll = new JScrollPane();
              //frame.add(allHorizontalScroll);
              allHorizontalScroll.setViewportView(allThreePanels);
              allHorizontalScroll.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
              allHorizontalScroll.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);
              frame.getContentPane().add(allHorizontalScroll);
              frame.setVisible(true);
              frame.pack();
         }
         
         private JPanel topPanel;
         private JPanel midPanel;
         private JPanel bottomPanel;
         private JPanel allPanels;
         private JScrollPane midVerticalScroll;
         private JScrollPane allHorizontalScroll;
         private JLabel posnCheckLabel;
         private int panelWidth = 0;
         private int topPanelHt = 0;
         private int midPanelHt = 0;
         private int bottomPanelHt = 0;
         private int allPanelsHt = 0;
         private Point pointPressed;
         private Point pointReleased;
         
         public PanelResizingA()
         {
              createAllPanels();
         }
         
         private void createAllPanels()
         {
              topPanel = new JPanel();
              midPanel = new JPanel();
              bottomPanel = new JPanel();
              allPanels = new JPanel();
              posnCheckLabel = new JLabel("Label in Center");
              
              panelWidth = 300;
              topPanelHt = 150;
              midPanelHt = 200;
              bottomPanelHt = 150;
              allPanelsHt = topPanelHt + midPanelHt + bottomPanelHt;
              
              //topPanel.setMinimumSize(new Dimension(panelWidth-150, topPanelHt));
              //topPanel.setMaximumSize(new Dimension(panelWidth, topPanelHt));
              topPanel.setPreferredSize(new Dimension(panelWidth, topPanelHt));
              topPanel.setBorder(BorderFactory.createLineBorder(Color.BLACK));
              
              midPanel.setMinimumSize(new Dimension(panelWidth-150, midPanelHt-150));
              midPanel.setMaximumSize(new Dimension(panelWidth, midPanelHt));
              midPanel.setPreferredSize(new Dimension(panelWidth, midPanelHt-3));
              midPanel.setBorder(BorderFactory.createLineBorder(Color.BLACK));
              midPanel.setLayout(new BorderLayout());
              midPanel.add(posnCheckLabel, BorderLayout.CENTER);
              //midPanel.add(new PanelVerticalDragger(midPanel), BorderLayout.SOUTH);
              
              //bottomPanel.setMinimumSize(new Dimension(panelWidth-150, bottomPanelHt));
              //bottomPanel.setMaximumSize(new Dimension(panelWidth, bottomPanelHt));
              bottomPanel.setPreferredSize(new Dimension(panelWidth, bottomPanelHt));
              bottomPanel.setBorder(BorderFactory.createLineBorder(Color.BLACK));
              
              allPanels.setMinimumSize(new Dimension (panelWidth-150, allPanelsHt-300));
              allPanels.setMaximumSize(new Dimension(panelWidth+25, allPanelsHt+25));
              allPanels.setPreferredSize(new Dimension(panelWidth, allPanelsHt));
              
              midVerticalScroll = new JScrollPane();
              //midPanel.add(midVerticalScroll);
              midVerticalScroll.setViewportView(midPanel);
              midVerticalScroll.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
              midVerticalScroll.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED);
    
              allPanels.setLayout(new BoxLayout(allPanels,BoxLayout.Y_AXIS));
              allPanels.add(topPanel);
              allPanels.add(midPanel);
              allPanels.add(bottomPanel);
              
              this.add(allPanels);
              addMouseListener(this);
              addMouseMotionListener(this);
         }
         private void updateCursor(boolean on)
         {
              if (on)
              {
                   setCursor(Cursor.getPredefinedCursor(Cursor.S_RESIZE_CURSOR));
              }
              else
              {
                   setCursor(null);
              }
         }
         @Override
         public void mousePressed(MouseEvent e)
         {
              pointPressed = e.getLocationOnScreen();
              updateCursor(true);
         }
    
         @Override
         public void mouseDragged(MouseEvent e)
         {
              mouseReleased(e);
              pointPressed = e.getLocationOnScreen();
         }
    
         @Override
         public void mouseReleased(MouseEvent e)
         {
              pointReleased = e.getLocationOnScreen();
              
              Dimension allPanelsPrefSize = this.allPanels.getPreferredSize();
              Dimension midPanelPrefSize = this.midPanel.getPreferredSize();
              Dimension allPanelsSize = this.allPanels.getSize();
              Dimension allPanelsMinSize = this.allPanels.getMinimumSize();
              int midPanelPrefHt = midPanelPrefSize.height;
              int midPanelPrefWidth = midPanelPrefSize.width;
              int maxHtDelta = allPanelsPrefSize.height - allPanelsMinSize.height;
              //int deltaY = pointPressed.y - pointReleased.y;
              
              Point panelLocation = this.getLocation();
              Dimension size = this.getSize();
              if (size.height < allPanelsSize.height)
              {
                   int deltaY = pointPressed.y - pointReleased.y;
                   if (deltaY < maxHtDelta)
                   {
                        midPanelPrefHt = midPanelPrefHt-deltaY;
                   }
                   else {midPanelPrefHt = this.midPanel.getMinimumSize().height;}
                   this.midPanel.setPreferredSize(new Dimension(midPanelPrefWidth, midPanelPrefHt));
                   this.midVerticalScroll.setViewportView(this.midPanel);
                   allPanels.setLayout(new BoxLayout(allPanels,BoxLayout.Y_AXIS));
                   allPanels.add(topPanel);
                   allPanels.add(midVerticalScroll);
                   allPanels.add(bottomPanel);               
              }
              midVerticalScroll.revalidate();
              pointPressed = null;
              pointReleased = null;
         }
    
         @Override
         public void mouseEntered(MouseEvent e)
         {
              updateCursor(true);
         }
    
         @Override
         public void mouseExited(MouseEvent e)
         {
         }
    
         @Override
         public void mouseClicked(MouseEvent e)
         {
         }
    
         @Override
         public void mouseMoved(MouseEvent e)
         {
         }
         
         
    }
    Published by: 799076 on October 8, 2010 12:53

    Published by: 799076 on October 8, 2010 12:55

    If you are using a BorderLayout, then Center will develop and reduce both the need and therefore should work as you wish. For example,.

    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import javax.swing.*;
    
    public class PanelResizingB extends JPanel {
       private static final Dimension PANEL_SIZE = new Dimension(300, 150);
       private String[] labelStrings = {"Top Panel", "Middle Panel", "Bottom Panel"};
    
       public PanelResizingB() {
          setLayout(new BorderLayout());
    
          JPanel[] panels = new JPanel[labelStrings.length];
          for (int i = 0; i < panels.length; i++) {
             panels[i] = new JPanel(new BorderLayout());
             panels.add(new JLabel(labelStrings[i]));panels[i].setPreferredSize(PANEL_SIZE);}
    
    add(panels[0], BorderLayout.NORTH);add(new JScrollPane(panels[1]), BorderLayout.CENTER);add(panels[2], BorderLayout.SOUTH);}
    
    private static void createAndShowUI() {JFrame frame = new JFrame("PanelResizingB");frame.getContentPane().add(new PanelResizingB());frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);frame.pack();frame.setLocationRelativeTo(null);frame.setVisible(true);}
    
    public static void main(String[] args) {java.awt.EventQueue.invokeLater(new Runnable() {public void run() {createAndShowUI();}});}} 
    
  • I use Windows 7, my Firefox Button isn't appearing any more. When I right click an open section of the top bar showing the Windows Open (tabs)? I get only two choices, Hide toolbars and exit the full screen. HELP, what is happening here?

    Ways to restore by using this section of the support of Firefox do not do.

    Hello
    Please try pressing F11 on the keyboard or click full-screen output. See also keyboard shortcuts

    ...............................................................................................................................

    Useful links:

    Everything on tools > Options

    Beyond the tools > Options - about: config

    Subject: config entries

    Keyboard shortcuts

    Files & Firefox profile folder

    Safe mode

    Basic troubleshooting

    Extensions of the issues

    Troubleshooting Extensions and themes

    Test Plugins

    Troubleshooting Plugins

  • How to get only latest date and other columns in the table

    Hello
    Table
     
       id          name        date
      123        a             2/3/2010
      124        b            15/2/2010
      125        c             1/1/2010
      123        a             12/4/2010
      125        c             17/2/2010
    
     
    It's a table, id, name, date here is the composite key.
    I want to select id, name, and date so that date (e.g., 123 date 04/12/2010 be selected for the id) is selected for each id and each id and name should be selected once.
    So, what will be its application?
    Thank you
    select
       id,
       name,
       date
    from
    (
       select
          id,
          name,
          date,
          max(date) over (partition by id, name) as max_date
       from your_table
    )
    where date = max_date;
    

    Would do assuming you do not have duplicates (all 3 columns) in the table.

  • Just reinstalled 27. Don't want / use tabs. How to get rid of them? Tools/Options I disabled everything concerning tabs, but that did not work. I like the window

    Don't know what you need here. I have XP, but doubt you need. Computer died the other night, and I'm trying to reinstall everything.

    Sorry, you can not get rid of tabs in Firefox. But you can hide the tab bar when only one tab is opened with this extension.

    https://addons.Mozilla.org/en-us/Firefox/addon/Hide-tab-bar-with-one-tab/

  • Hibernation has been workingfine then disappeared. How to get it back as a stop option?

    Hibernation has disappeared from my shutdown options.  Please help with how to retrieve this function in my Toshiba Satellite M115 running MS XP...  Thanks in advance for any help.  Jon Dl

    Do you mean that the Stand By button is dimmed and does not become a Hibernate button when you press the SHIFT key?  Or is it still functional button (not grayed out) position.

    If this is the case, and the ideas of TechGeek2 you get this problem means that your video drivers are bad and you need to get the right video drivers for your system.

    You can search the driver for proper display on the Toshiba WWW page:

    http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/home.jsp?NAV=download

    Note that Toshiba makes reference to drivers as "Display" drivers and video drivers not.

    If you need help figuring out, follow these steps:

    Since we do not know much about your system, I must respond to a request for more information:

    What do you think the system has changed since the last time it worked correctly?

    Please provide additional information on your system:

    Click Start, run and enter in the box:

    Msinfo32

    Click on OK and when the system info summary appears, click on Edition, select all, copy, and then paste the information here.

    For information about video drivers, expand components, click view, click on edit, select all, copy and then paste the information here.

    There will be some personal information (such as the user name and the name of the system), and anything that turns information private for you, simply delete the pasted information.

    This will minimize back Q & A and eliminate guesswork.

    Incidentlally, you can add a fourth button Hibernate in your menu to shut down the computer if you do not have to press the Shift key to Hibernate.  It's good for lazy people like me.

  • How to get the "Run as different user" option using the context Menu

    I work with the domain environment and use os win 7 but it do not display "run as user deffrent' so, how get the"Run as a different user"option using the context Menu, share pls burned discription.

    (also try pressing shift + right click but nothing else)

    Atul Rai

    E-mail address is removed from the privacy *.

    May be of help to the: http://www.sevenforums.com/tutorials/155532-run-different-user-without-shift-right-click-context-menu.html

  • How to get the current value of the checkbox button programmatically in the adf

    Hello
    I want to get the current value of the checkbox (checked/unchecked or 0/1) in my bean java whenever I press the button "submit" on my page jspx.

    My version of JDeveloper is: 11.1.1.6.0

    Where the value checkbox link? The State of the check box is held in the value property of the check box. This is normally an EL as

    #{bindings.Myvar1.inputvalue}
    

    or something pointing to a bean property. This value can be read from the listener to the action of the submit button

            BindingContainer bindingContainer = BindingContext.getCurrent().getCurrentBindingsEntry();
            AttributeBinding attr = (AttributeBinding)bindingContainer.getControlBinding("Myvar1");
            Object obj = attr.getInputValue();
    

    Timo

  • How to get the name of the instance of button to display in the dynamic text box

    first of all, thank God for you people. Laughing out loud.

    Here is my scenario, I am the designer of consumate and learning coding by leaps and bounds, today its been a lot of stumbling blocks however.

    I have a site I designed that contains buttons that navigate the user at various points on the timeline using image tags. When they arrive at the appropriate image tag, they are presented with a movieclip containing two layers. The bottom layer is a card, and the top layer is a collection of buttons printer having a component tooltip on them showing you the information on detailed mouse printer on and takes you to the Remote UI printer on release. each button has a name of unique queue for the printer appropriate under its name of the instance (e.g. itm100_btn). Here's the jist... I want to be able to place a dynamic text box near the printer and using action script button it display printer queue name automatically simply based on the button, targeting, or even place the dynamic txt area inside the printer button mc. See, on some pages, there are like 24 printers... I'm AFRAID to have to put all these names in manually because there are total 150 printers! OUCH...

    Oh it is AS2.0 with Flash cs4

    In short... God bless you people... for the love of God someone help me? Laughing out loud.

    Thank you so much peoples!

    "I make things look purdy, but do not know why the sky is blue".

    to create a movieclip button:

    create a (insert/new symbol/movieclip) movieclip and attach a stop() to its first image and etiquette 'up '.  create any graphic you want for the up state button movieclip.  create a 'more' and, if necessary, a "low" setting

    When you place this button movieclip on stage give an instance name (for example, printer1) and use:

    {Printer1.onRollOver = Function ()}

    this.gotoAndStop ("over");

    }

    {Printer1.onRollOut = Printer1.onDragOut = Function ()}

    this.gotoAndStop ("up");

    }

    {Printer1.onPress = Function ()}

    this.gotoAndStop ("down");

    }

    and add your onRelease to do all that.

    If you also wanted to add a textfield that displays the instance name of the button when the button is postponed, place a textfield on the framework of the "over" and give it a name instance (say tf) and associated to the MovieClip "over" frame that uses:

    TF. Text = This._name;

Maybe you are looking for