Problem with the mandatory fields are in Panel tabs

Hello

I use Jdeveloper 11.1.1.2 and I created a jspx page in which I use < af:panel by tabs > who has 2 < af:showDetailItem > elements.
Here, the problem is in each item in detail see I have selectOneChoice as required fileds. When I'm Runnin' the page and click on the second tab, it is asked to select a value for the SOC.
Can someone help me how to required fileds only this element < showdetailitem > but not for the two showdetailitems.

Thank you
Harika.

Set the immediate property to the tab to be true.

Similar post on the forum:
Deliver the required property tabs Panel

Thank you
Nini

Tags: Java

Similar Questions

  • Need the mandatory fields are in PHP?

    I made a form using php, which I've never done before. The form works fine, but my client would like to make the email address and phone numbers required fields so that they can meet their customers. Can someone look at this php script and tell me what I need to do to this e-mail and phone number are required? The web page with the form is http://www.pearlroadautoparts.com/parts.html. When the form is submitted, you are redirected to http://www.pearlroadautoparts.com/thankyou.html. I don't want to keep guessing cela and hurt because the form is online and working. I don't want real customers have problems with the form. Thank you for your help!

    < body > <?

    ///////////////////////////

    Start the Configuration

    ///////////////////////////

    Your email address

    $to = " [email protected] ".","; "

    Subject of the e-mail

    $subject = "parts order form. "" Auto road Pearl. "

    Name of the server, display in the headers

    $server_name = 'auto road Pearl. "

    Where redirect after form is processed.

    $url = ' http://www.pearlroadautoparts.com/thankyou.html';

    ///////////////////////////

    Flushing

    ///////////////////////////

    if (! empty($_POST['send']):! empty($_GET['send']))

    {

    $action = (! empty($_POST['send']))? $_POST ['sent']: $_GET ['sent'];

    }

    on the other

    {

    $action = ";

    }

    $build_message = false;

    If ($action! = "")

    {

    $build_message = true;

    $year = trim($_POST['year']);

    $make = trim($_POST['make']);

    $model = trim($_POST['model']);

    $part_name = trim($_POST['part_name']);

    $part_info = trim($_POST['part_info']);

    $quantity = trim($_POST['quantity']);

    $name = trim($_POST['name']);

    $email = trim($_POST['email']);

    $shipping_address = trim($_POST['shipping_address']);

    $city = trim($_POST['city']);

    $state = trim($_POST['state']);

    $zip_code = trim($_POST['zip_code']);

    $phone_number = trim($_POST['phone_number']);

    $cell_number = trim($_POST['cell_number']);

    $time = time();

    $date = date ("F j, Y", time());

    $headers = "MIME-Version: 1.0\r\n";

    $headers. = "content-type: text/plain;" Charset = UTF-8\r\n ";

    $headers. = "from: $email\r\n";

    $headers. = ' X-mailer: ".". " $server_name. 'Serveur\r\n ';

    }

    If ($build_message)

    {

    / * message * /.

    $message ="

    Year: $annee\n

    Brand: $vous\n

    Model: $model\n

    Part name: $part_name\n

    Part Information: $part_info\n

    Amount: $quantity\n

    Name of the customer: $name\n

    E-Mail client: $email\n

    Shipping address: $shipping_address\n

    City: $city\n

    State: $state\n

    Postal code: $zip_code\n

    Phone number: $phone_number\n

    Cell phone number: $cell_number\n

    Date sent: $date\n ";

    if (mail ($ $subject, $message, $headers))

    {

    $result = "< b > < /b > please. < br / > I'll get back to you very soon. "< br / > ';

    }

    else

    {

    $result = ' sorry: an error has occurred, please try again later. ';

    }

    }

    echo "< META HTTP-EQUIV = CONTENT refresh ="0; " URL ='. $url. " » >';

    ? >

    < / body >

    I use the Spry Validation, which is on DWCS3 and above all, I would look at that.

    Gary

  • After submitting my info, I had the SERVER ERROR: 500 internal server error! There is a problem with the resource you are looking for, and it cannot be displayed. :

    Over the four days, I've lost two e-mail accounts:

    1 * e-mail address is removed from the privacy *

    2nd * e-mail address is removed from the privacy *

    I went to www.windowslivehelp.com

    I filled in all the information and answered all the question. I provided

    the email address where I can be reached: * address email is removed from the privacy *

    But when I click on submit

    "The display shows:" Server error

    500 internal Server Error. There is a problem with the resource you

    can are looking for, and it cannot be displayed' you explain or tell me

    How can I return my email accounts. Thank you and best regards

    B.Okediji sanogo

    {deleted}

    E-mail address is removed from the privacy *.

    Hi Zacheus B.Okediji,

    1. what web browser do you use?

    2. when the problem started?

    The website you are visiting had a server problem preventing the display of the Web page. It often occurs due to maintenance of the site, or due to a programming error on interactive websites that use scripts.

    For more information, see the following article:

    Get help with the Web site (HTTP error) error messages.

    If you use Internet Explorer, you can read the following article and try steps 2, 3 and 4 to solve the problem.

    Internet Explorer is slow? 5 things to try

    Note: Resetting the Internet Explorer settings is not reversible. After a reset, all previous settings are lost and cannot be recovered.

    You can also visit the following links to support Windows Live:

    "Server too busy", "Internal Server Error" and we do little maintenance to improve the service.

    Internal server error when trying to open hotmail

    Hope this information is useful.

  • problem with the vertical field Manager

    Hello

    My application has a screen. On this, I add a Senior Manager vertical field. I add new labelfields dynamically to this vertical field Manager.  When I give the text in the constuctor of the etiquette field, each of them is the fine display. But when I tried to draw the text to the painting, it does not appear.

    Here is my code...

    vfm = new VerticalFieldManager(VERTICAL_SCROLL | FOCUSABLE);
            for (int i = 0; i < 4; i++) {
                index = i;
                LabelField labelField = new LabelField() {
                    protected void paint(Graphics graphics) {
                        // TODO Auto-generated method stub
    //                  super.paint(graphics);
                        graphics.setColor(Color.BLACK);
                        graphics.drawText(displayString[index], 0, 0);
                    }
                };
                vfm.add(labelField);
            }
            add(vfm);
    

    Please help me find a solution.

    First of all, stop saying that it is VerticalFieldManager who has done something bad for you. It has nothing to do with it.

    You use the index in your LabelField painting method. Use paint value is the current value of the index at the time of the painting. Painting happens way after you have created all your LabelFields, when the index stopped to change and has the last value of the loop variable (in your case, it's 3).

    This, as well as LabelFields width zero (that you seem to have supported) so are the problems of your original code. Store the value of i in your LabelField somehow if you insist on using the table values. If only check out you them once and do not change them, consider creating your LabelFields with the text from this displayString table.

    Even better: as you do not use the LabelField paint, why not create a custom field received a text and paint your smileys and all? Of course, you have to implement available as well, but it's useful even when your smileys will take a different width than the corresponding symbols.

    To summarize: your current approach is bad. Take a step back, work on the design, and then implement.

  • problem with the custom field. Please help!

    Hi, I'm basiceditfield using code below, to draw the border and background in 4.5 jde. I hv tried a lot of things to set his height.but his does not work for all value.even I put height 100, it does not display the bottom line of the field

    Basic BasicEditField = new BasicEditField("","",15,1) {}

    g.setColor (14315734);
    g.setColor (Color.PERU);
    g.fillRoundRect (0,0,30,30,0,0);
                  
    g.setColor (Color.BLACK);
    g.setFont (Helper.getFont(6,"",false));
    g.drawText ("", 3, 3);
    g.setColor (Color.MAGENTA);
    g.drawRoundRect (20,30, 0, 0, 0, 0);

    Super.Paint (g);
    }
    };

    Mr.Peter,

    I tried already and surfing on the internet, my problem is something different and so I started a new thread, because I couldn't find the solution. Tried several codes that are on the forum, but with the same result, that's y I posted my code here.

  • Problems with the NVARCHAR2 fields

    I use ROracle to query a database with a field of type NVARCHAR2. When I access the database directly or through RJDBC, I have no problem with that. However, if I do something like

    res = dbSendQuery(conn, qry)
    dbColumnInfo(res)
    
    
    

    He told me that the 'type' is VARCHAR2. So when I use fetch (res), it's not back up the data correctly (it gives? instead). Is there anyway so that it can detect the NVARCHAR fields, properly or even manually it say when a field must be NVARCHAR?

    Edit: Try explicitly casting in my query (e.g. qry = "select cast (textfield you mvarchar2 (100)) from myTable ') and which did not help.

    Edit2: It turns out that this problem persists even with fields containing unicode VARCHAR2.

    Post edited by: 88dc10cb-b8b0-44c7-acff-5d6dc55a69dc

    I had to exportNLS_LANG=AMERICAN_AMERICA.AL32UTF8 and then load the package

    Sys.setenv(NLS_LANG = 'AMERICAN_AMERICA. AL32UTF8")

    library(ROracle)

  • Problem with the form field.

    well don't know what to do with it. First of all, I removed all the contacts on the site of BC. So, right now, there is no customer in the CRM.

    But when I go to create a web form under the TITLE instead of having simply Mr., Mrs., etc... I have a complete list of email addresses. I can clean manually if I paste the code of the form on the page but don't want to do that every time. Any ideas as to where this source is shooting?

    webform sample.jpg

    Go to the CRM, go to a client or to go make one.

    Click on the square next to the title field - this allows you to create/edit and delete entries.

    In terms of how it happened - when you have imported you imported the names in the wrong column and was in the title column.

  • I have a problem with the Caption field

    When I type the text that is wider than the field Caption, I can see it is no longer in the text field, he dressed not to the next line.  I can still take my arrow to the right and hit it so that I can see.  What I am doing wrong? See the example below.

    LR3 is running on my MAC using OS X 10.6.5.  The LR version is 3.3.

    Any suggestions will be greatly appreciated.  Thanks ADubin

    Screen shot.jpg

    The key to solving it is to solve why the display window is rendered oddly.  I would like to look 2D, multiple monitor configuration graphics implementation and so on.  Make sure you look at the configuration of the monitor, as well.  Try resetting the monitor settings (horizontal, vertical tweaking, for example.)  And app like Lr juice thas to play within the operating system, so there is a kind of poor ongoing communication.

  • Problem with the digital field model

    Hello!

    This problem is driving me crazy!...

    I placed a numeric field and used the following model:

    NUM {zzz zzz zzz, zz9.99}

    This field must view and accept with 2 decimal places and in European format floating point numbers.

    The locale by default for this form are the Portuguese (Brazil).

    So... If I type something like 99999, the field correctly 99.999,00.

    Now, if I type 99999.00, once again the field correctly contains 99.999,00.

    However, if I type 99999,00 (with a comma instead of a period, what I need) field contains 0.00.

    Please, thank you very much for all the ideas!

    Marcos

    The result you get is correct, because the boss lets only a time separate decimals.

    Try the following change:

    NUM {zzzzzzzzzzz9, 99}. NUM {zzzzzzzzzzz9.99}

    and this view model:

    NUM {zzz.zzz.zzz.zz9, 99}

  • problem with the vertical field Manager / vertical scroll

    Hello

    I've set up a screen which makes use of a vertical field Manager by using the following code:

    class Main_Menu extends MainScreen {
    
        public class FixedWidthButtonField extends ButtonField{
            private int width;
    
            FixedWidthButtonField( String label, int Width){
                super( label, Manager.FIELD_HCENTER);
                width = Width;
            }
    
            public int getPreferredWidth(){
                return width;
            }
        }
    
        public Main_Menu() {
            setTitle(new LabelField ("Main Menu Screen", Field.FIELD_HCENTER));
            setStatus(new LabelField ("Breakout Game ©", Field.FIELD_HCENTER));
            VerticalFieldManager backgroundManager = new VerticalFieldManager(Manager.USE_ALL_WIDTH|Manager.USE_ALL_HEIGHT|Manager.NO_VERTICAL_SCROLL)
            {
                protected void paint(Graphics graphics) {
                    graphics.setBackgroundColor(0x0000A2E8);
                    graphics.clear();
                    super.paint(graphics);
                }
            };
    
            FixedWidthButtonField playButton;
            FixedWidthButtonField instructionsButton;
            FixedWidthButtonField topScoresButton;
            FixedWidthButtonField quitButton;
    
            playButton = new FixedWidthButtonField("Play",(Display.getWidth() / 2) - 80);
            instructionsButton = new FixedWidthButtonField("Instructions",(Display.getWidth() / 2) - 80);
            topScoresButton = new FixedWidthButtonField("Top Scores",(Display.getWidth() / 2) - 80);
            quitButton = new FixedWidthButtonField("Quit",(Display.getWidth() / 2) - 80) {
                protected boolean navigationClick(int status, int time)
                {
                    getScreen().close();
                    return true;
                }
            };      
    
            playButton.setMargin(40,0,0,0);
            backgroundManager.add(playButton);
            instructionsButton.setMargin(10,0,0,0);
            backgroundManager.add(instructionsButton);
            topScoresButton.setMargin(10,0,0,0);
            backgroundManager.add(topScoresButton);
            quitButton.setMargin(10,0,0,0);
            backgroundManager.add(quitButton);
    
            add(backgroundManager);
        }
    }
    

    The problem I have is that the screen scrolled down to see the empty space after the final touches, and I can't seem to overcome this problem and prevent additional scrolling. I just want the ability to scroll the 4 buttons and have a blue background on the entire screen.

    Thank you

    Just quickly, so watch migth have wrong, but if you have a good overview of this very useful article:

    http://supportforums.BlackBerry.com/T5/Java-development/MainScreen-explained/Ta-p/606644

    I think you will find that you need to add the following at the beginning of your screen manufacturer:

    Super (NO_VERTICAL_SCROLL)

  • OPA to interview for Rightnow - problem with the mapped fields

    Hi Experts

    We strive to integrate an interview of takeover bid for an anonymous user in Rightnow.

    At the end of the interview, a contact and an incident of child will be created in Rightnow.

    The integration works as expected.

    At the end of the interview, we would like to display the number of incidental reference to the user.

    However, the incident reference number of Rightnow field is not available in the list of fields that are mapped to the incident entity fields in the OPA.

    Another field of incident as a subject, category etc. are displayed and available to me all laid out, but not the reference number.

    While using this interview for the customer portal user Rightnow, mapping setting is different, and in this case the number of incidents of reference is allowed to be mapped.

    This similar to example modules design student benefits.

    But we need this feature for the anonymous user also.

    Help, please.

    Thank you

    Swati

    Hi Swati,

    Load after submit only is currently supported for the global object - contact in your case.

    If when the Incident is created, you can some how get RightNow to copy a custom field to the Contact reference number (for example lastCreatedRefNum or similar), then you could load from there in touch and then display it to the user.

    Davin.

  • Problem with the BlackBerry Developer Site

    We are currently experiencing a problem with the integration of BlackBerry ID with the BlackBerry Developer web site.  This prevents the developers to create a new BlackBerry ID Token, connecting Issue Tracker and Developer area and potentially other areas that require authentication.  Trying to access one of these pages gives the following error.

    Sorry, there is a problem with the page you are trying to reach and it cannot be displayed. Please try again later.
    

    Teams are trying to solve the problem.  We apologize for the inconvenience.

    The problem has been resolved.  You should now be able to connect Issue Tracker and generate BlackBerry ID chips again.

  • Strange problem with the keyboard event listener

    I have a full screen touch app. To close the application, I set an event listener on keyboard for the key "0". I don't want the press user due to some restrictions Alt + F4 key combination. Problems begin when the application loses focus. Here's the code;

    protected function onComplete(event:FlexEvent):void
    {

    this.setFocus ();
    this.addEventListener (KeyboardEvent.KEY_DOWN, trapKeys, true, 0, true);

    }

    private void trapKeys(e:KeyboardEvent):void {}

    If (e.keyCode == 96) {}
    This.Close ();
    }

    Else if (e.keyCode == 48) {}
    This.Close ();
    }

    }

    When the user change the screen to a different with Alt + TAB application, or any other combination of keys flex app loses focus and does not work when he turns back to my app "0". How can I solve this problem?

    Thanks in advance.

    Hi, Ahmed.

    I have absolutely no problem with the solution you are trying to set up - you use mode full-screen interactive mode of keyboard?

    Please consider:

    on full add keyboard listener

    protected function applicationCompleteHandler(event:FlexEvent):void

    {

    this.stage.addEventListener (KeyboardEvent.KEY_DOWN, trapKeys);

    };

    //

    protected function applicationActivateHandler(event:AIREvent):void

    {

    If (this.stage)

    {

    switch the State to display full-screen when activated

    If (this.stage.displayState! = StageDisplayState.FULL_SCREEN_INTERACTIVE)

    {

    this.stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;

    };

    };

    };

    //

    private var exitHandled:Boolean = false;

    on NUMBER_0 | NUMPAD_0 exit-close

    protected function trapKeys(event:KeyboardEvent):void

    {

    If ((event.keyCode is Keyboard.NUMBER_0

    || event.keyCode is Keyboard.NUMPAD_0)

    (& this.exitHandled == false)

    {

    exitHandled = true;

    this.stage.removeEventListener (KeyboardEvent.KEY_DOWN, trapKeys);

    This.Close ();

    };

    }

    (Note: applicaton of the events 'applicatonComplete' and "applicationActivate" are routed to over managers)

    Kind regards

    Peter

  • I work in InDesign CS5 and have a problem with the panels on the right. Some of them are empty. Ideas?

    I work in InDesign CS5 and have a problem with the panels on the right. the panels color chart, paragraph styles, and totally blank menus link. I pulled upward from publications that I already worked on and they are still virgins. I tried to load styles from other pubs, ID, and that does not work either. I can see them when I go to create a new style and use BASED on function.

    Any ideas?

    Try to restore your InDesign preferences. Here's how:

    FAQ: How to reset or 'trash' preferences?

  • Problems with the Panel tabs with CS5, CC2014, CC2015?

    I created a script with TabbedPanel in ESTK CC, works very well in afx CC 2014, but it seems that there are some problems with the other versions (CS5 and CC2015).

    Can someone help how to generalize the limits and the tabs?

    Here is my Code briefly for the tabs.

    //

    //

    //

    function buildUI (thisObj) {}

    var myPanel = (thisObj instanceof Panel)? thisObj: new window ('pallet', 'Gear of Stress', undefined, {resizable: true});

    myPanel.timeSavers = myPanel.add ('tabbedpanel', [0,0,400,300], "Reducing Stress V1'");

    myPanel.timeSavers.cProject_tab = myPanel.timeSavers.add ("tab", undefined, 'Project');

    myPanel.timeSavers.MyTools_tab = myPanel.timeSavers.add ('tab', undefined, 'MyTools');

    myPanel.timeSavers.Explorer = myPanel.timeSavers.add ("tab", undefined, 'Explore');

    myPanel.timeSavers.Others_tab = myPanel.timeSavers.add ("tab", undefined, "Install");

    Return myPanel;

    }

    var myToolsPanel = buildUI (this);

    //

    //

    //

    Below the results to remain CS5, CC2014, CC2015. How to promote the universalization of the buttons, tabs, alignments etc as in CC2014 in other versions. Someone please help?

    afx cs5.pngafx cc 2014.pngafx cc 2015.png

    Don't you think that the resource string could solve this problem?

    You can certainly try a resource string. I used only once I understood how they worked, I find it much easier to build a UI in this way.

    myPanel.layout.layout (true);  Tried it, but all child elements arranged in a line or column that's it, do not respect the limits specified.

    To a resource string, make sure that every single container element specified margins or spacing info. If they do not have this set the automatic layout manager will just default to each calibration of control internal specifications, which vary with each version of AE.

    How can I universalize the user interface for all versions of EI? While I'll change once and for all.

    There is no miracle solution for all versions of AE to play nice with your construction. You to beta-test your code in each version of the EA you want your script to run on and then unique questions individually. Your script should contain a checker version AE, so you can know what patches, you need to implement when the user runs the script. It is not ideal and is one of the many oddities of software development based on the API of someone else.

Maybe you are looking for

  • How to type caron on mac?

    Hello, I would like to ask how I can type an accent caron or hacek on mac? I have a Macbook pro mid 2012, so El Capitan 10.11.5

  • The update of Windows 10 1511 reboot loop Bootcamp BSOD ACPI. SYS

    It is a copy of my thread to http://answers.microsoft.com/en-us/windows/forum/windows_10-performance/windows-10-update-1511-reboot-loop-bootcamp/8653... as I was asked to post here by the Microsoft Support Engineer. Hello Friday night, I went to bed

  • Videos YouTube won't load in Firefox

    Hello I can't get YouTube videos to play in my Office Firefox browser. I am running Windows 7 64-bit with Firefox 24.0. I looked for solutions to the problem and tried all these: -Completely empty my cache-Disable the software to block advertising on

  • X 1 carbon touchpad

    Hello from the mac world, I decided to go with X carbon 1. In any case, it's great laptop so far. However, I am having a little trouble to change the setting of the touchpad. Is there a GUI to tweak? All I want is to reverse the direction of scrollin

  • Are app World Apps they secure?