Triggers the hide when clause

I have a when clause contained in the header of an insert trigger that does not appear when you use SQL Developer to view the code.
select
  text
from
  user_source
where
  name = 'FOO_INSERT_B_TRG'
order by
  line;

TEXT
----
trigger bar.foo_insert_b_trg
  before insert
  on bar.foo
  for each row
  when (new.foo_id is null)
  declare
begin
  :new.foo_id := key_pkg.create_key_f ('BAR', 'FOO');
end foo_insert_b_trg;

9 rows selected
However, when I go back to the code by double-clicking the trigger I get this.
create or replace 
trigger bar.foo_insert_b_trg
  before insert
  on bar.foo
  for each row
  declare
begin
  :new.foo_id := key_pkg.create_key_f ('BAR', 'FOO');
end foo_insert_b_trg;
Note that the 5 line, which has my when instruction, is missing. It is originally this line to actually be deleted when we open the object, modify it, and then save it.

Published by: mimi on March 22, 2013 11:55

Published by: mimi on March 22, 2013 12:01

Published by: mimi on March 22, 2013 12:04

Hi mimi,

This problem has been reported before on this forum:
Unable to see the WHEN clause for a trigger.

The bug referenced in this thread is a regression in SQL Developer 3.1. and remains open. Any bug comments:

With only minimal privileges, we query all_triggers to get only the package
body (when-clause kept in a different column), whereas with
SELECT_CATALOG_ROLE or DBA role we query dba_source that contains the full
trigger source.

Alternatives to work around this issue are:
1. keep several versions of SQL Developer installed, using 3.1 when you need work with triggers.
2. get additional privileges to avoid regression in 3.2

Hope this helps,
Gary
SQL development team

Tags: Database

Similar Questions

  • Form triggers the error when the table trigger fires.

    Hi all!

    Recently, I had to add a modification_date column to a table accessed in several forms.

    In an effort to not modify these several forms, my initial effort was to add an insert/update trigger.

    As you can guess, the trigger works as expected, but an error is triggered by each form to the effect that another user has made changes that require a re - interview.

    Can anyone suggest an alternative method (short discount - I don't still want to send forms if possible)?

    If I am forced to change the forms, SYNCHRONIZE will do?

    Alternatively, do I change before insertion and prior update on each form?

    Thank you!

    Mike

    MikeShannon wrote:
    .. .my initial effort was to add a trigger for insert/updated to date...

    ... As you can guess, the trigger works as expected, but an error is triggered by each form to the effect that another user has made changes that require a re - interview...

    What trigger you added to your table? (Before insert/update; After insert/update?)

    So, the "record error updated by another user" occurs after a change has been introduced and the user attempts to edit the record again - is that correct?  From your description, it's when I 'think' you get the error.  Could clarify you?

    You could just refresh your block after validation, but this would require to change your forms - which is what you were trying to avoid.  I don't think you'll be able to avoid modifing your forms.

    Craig...

  • Case where the Condition when Clause Condition use

    Hello

    How can I use case in the where condition and in when I need to use a condition, be clearly
    I need to get the following
    and (case WHEN :PROMT = 'Closed' then
     status_date >= trunc(sysdate))  end)
    When I run the present, I'm missing keyword error.

    How can I solve this?

    I think you can do it just like this:

    ...
    and ( :PROMPT != 'Closed' or status_date >= trunc(sysdate) )
    ...
    
  • Intermittently after the reboot, the option "Hide when minimized" in the Task Manager Win XP is too effective; the CPU usage icon does not appear in the notification area. Sometimes restart heals, sometimes not.

    The Options menu of the Windows Task Manager includes "hide when minimzed ', to display an icon in the area of notification, but not on the traskbar. I leave that option checked all the time to control the percentage of processor; but sometimes without apparent cause, after I reboot there is no icon in the area. Is there a way to fix this?

    Hello ronks,

    Thank you for visiting the Microsoft answers community.

    The reason for which the icon is not in the system tray is because the Task Manager is closed not minimized when you start your computer. To do this, you could do the following:

    -Go to my computer > C: > Windows > System32
    -Locate in Taskmgr
    -Create a shortcut > right click on the shortcut > click on cut
    -Navigate to my computer > C: > Documents and Settings > username (your username) > Start Menu > programs > startup
    -Paste in the startup folder

    -Right click on the shortcut > click Properties
    -Less run > pull down the menu and select Minimized > click OK > close window

    Now every time that you restart the Task Manager will be launched in a minimized state.

    Hope this helps Chris.H
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • The mouse pointer does not hide when you type, even with the box checked.

    Hello everyone.  I turned on the check mark in the properties of the mouse "hide the pointer during the strike".  However, the mouse pointer does not hide when typing, but instead remains visible all the time.

    No one knows why this happens?  In previous versions of Windows, the pointer should simply disappear when keystrokes are typed, and then reappear when the mouse is moved.  Is not the case here!

    Thanks for any information!

    System details:

    Windows Vista Ultimate x 64 SP1, 4 GB ram
    Intel Core2 3.16 GHz cpu
    NVIDIA GeForce 8800GT with two monitors
    Aero is enabled.

    Hello

    Welcome to the community of Windows Vista.

    1. what application you are working on when you encountered this problem?

    Hide the mouse pointer option allows you only to remove the mouse curzor of
    the focus in the working window so that the cursor does not cover the text or the pitcure you see.

    Make sure that the curzor of the mouse is placed inside the app as you type, as it does not hide the mouse, if it is outside of the application.

    Change the settings of the mouse
    http://windowshelp.Microsoft.com/Windows/en-us/help/efd700f8-bbc0-4F04-9f78-3bdb4bbf47011033.mspx#EKD

    Kind regards

    Technical support of Microsoft-yama.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • The taskbar on my laptop won't 'hide' when this option is selected.

    * Original title: taskbar

    The taskbar on my laptop won't 'hide' when this option is selected. How to fix?

    Lock the taskbar does not influence the ability to auto-hide.  Lock, it's what locks 'task bands' position (toolbars task bar as the key on the keyboard or custom-added toolbars).  He does not hide it at all.

    If the taskbar are not hidden, this means that an application is currently the NeedyState flag and asking to be seen.  Until dismiss you the application of enforcement in need, the taskbar will continue to show.

  • When I try to change the interactive report columns, then triggers the error: "unable to change column attributes. "ORA-01403: no data found. Pls tell me why?

    When I try to change the interactive report columns, then triggers the error: "unable to change column attributes. "ORA-01403: no data found. Pls tell me why?

    You use listener EA3 ADR?

  • When clause is missing from the logon trigger

    I have a questions that looks very similar to 14840619 of Bug - FORUM - RELAXATION-CLAUSE WHEN NOT WATCH if ONLY a BASIC USER PRIVILEGES

    Assuming that SCOTT is a DBA and it issues the following command to create a logon trigger.

    CREATE OR REPLACE TRIGGER "SYSTEM". "SCOTT_LOGON_TRG" AFTER LOGON ON DATABASE.

    WHEN BEGIN (USER in ("SCOTT"))

    RUN IMMEDIATELY 'ALTER SESSION SET EVENTS "TRACE NAME CONTEXT FOREVER, LEVEL 12 10046" ';

    END;

    /

    ALTER TRIGGER 'SYSTEM '. "" SCOTT_LOGON_TRG "DISABLE;

    The trigger is created successfully.

    When you view the trigger of the developer sql code I don't see the WHEN clause.

    IM using sql developer version 4.0.1.14 (Build hand 14.48) 64-bit on Windows 7

    Is this a known bug?

    Thank you

    I created a service request with the support of the Oracle, and they were able to reproduce the issues.

    Here is the related bug number

    Bug 18603106 : WHEN CLAUSE is MISSING THE LOGON TRIGGER

  • How to hide the 0% when it is empty

    I have a form field that is formatted to be a percentage, but when the field is empty it displays '0% '. I need this area to be a Virgin until I get back a value.

    The validation script "if(event.value == 0) event.value = '';' does not work for percentages and I have not been able to find a solution through research." Any help would be greatly appreciated.

    Oh well, thanks for the help, person. I managed to find a partial solution. Although it is not completely perfect, it is achievable.

    This custom validation script allows to hide the 0% when the document is printed:

    Event.Target.Display = event.value == 0? display.noPrint: display.visible;

  • Why it triggers the validation of the obligation when rows are deleted?

    Hello


    My standard Page, Modal I do my secondary Page. I have a grid in my subpage. Record of grid has some
    Required fields. I also have a box in my secondary page, when this box is checked, my grid will be hidden and lines
    be deleted.


    WE CHANGE THE CHECKBOX FIELD:

    & myRowset = GetRowset (Scroll.MY_GRIDRECORD);


    If MY_RECORD. CHECK_BOX_FIELD = 'Y' Then
    GROUPBOX. Visible = False;
    I = 1 & at & myRowset.ActiveRowCount
    & myRowset.DeleteRow (1);
    -End;
    & myRowset.HideAllRows ();
    On the other

    GROUPBOX. Visible = True;
    & myRowset.ShowAllRows ();
    End - If;



    WE CHANGE THE SCOPE OF MY OK BUTTON:

    & myRowset = GetRowset (Scroll.MY_GRIDRECORD);


    If MY_RECORD. CHECK_BOX_FIELD = 'Y' Then
    I = 1 & at & myRowset.ActiveRowCount
    & myRowset.DeleteRow (1);

    -End;
    End - If;

    EndModal (1);


    Be default checkbox is not checked, and I press OK, it saves even there is no row in my grid but
    Whenever I checked or not checked the checkbox, then press OK.

    Error comes:
    The highlighted area is required. You must enter a value for it before you continue. (15,54)

    The specified field is required, but has no value.

    My question is, I am remove the record grid OK lines as well as the change of field checkbox if the box is checked then why it triggers the validation of the requirement?

    That shouldn't be the case. You could try to encode like this; where you only use the DeleteRow when you press the OK button and not when you press the checkbox. Be sure to include the step - 1, otherwise it will fail anyway.

    ON FIELD CHANGE OF CHECK BOX :
    
    If MY_RECORD.CHECK_BOX_FIELD = "Y" Then
    GROUPBOX.Visible = False;
    &myRowset.HideAllRows();
    Else
    GROUPBOX.Visible = True;
    &myRowset.ShowAllRows();
    End-If;
    
    ON FIELD CHANGE OF MY OK BUTTON :
    
    &myRowset = GetRowset(Scroll.MY_GRIDRECORD);
    If MY_RECORD.CHECK_BOX_FIELD = "Y" Then
    For &i = &myRowset.ActiveRowCount to 1 Step -1
    &myRowset.DeleteRow(&i);
    End-For;
    End-If;
    
    /* Save and do further processing */
    
  • How to hide a column in the report when there are only zeros.

    Hi Experts.,.

    Is it possible to hide a column in the report when there are only zeros.

    Thanks in advance
    Vincent

    Vincent Krishna wrote:
    Hi Experts.,.

    Is it possible to hide a column in the report when there are only zeros.

    Thanks in advance
    Vincent

    No out-of-the-box, but there are several workaround solutions if you want to continue an any of them:

    (1) use a view selector. A single report will be a pivot table with the column, the other will have the same report less column. Users can switch reports.

    (2) use a column selector. The two choices would be this column or an empty space. If white is chosen (because the user has no values), the column "will disappear" according to the report.

    (3) guided use NAV. This method involves the intervention of the user. Build a small report using the single column and put a filter "is not equal to" 0. Because there is only a single column, so all lines are 0, the report returns no rows.

    Use this report in the properties of guided navigation from one section of the dashboard. Assign to this "If the report returns lines" and put the report that contains the column in this section. Now add another article on your table edge and in the properties of guided navigation of this section, set on "If the report will return no rows" and it points to the small report as well. In this section, put a second version of your report without the column in it.

    When the column contains all zeros, the second section with column will not display in it; the first section is not displayed. When at least a line contains a value not zero, the first section is displayed with the column, and the second part will not be.

  • How to create a button with rollover that appears in a different place than the button when you move?

    Hello

    How to create a button with rollover that appears in a different place than the button when you move by using only the Muse (reversal may be a different shape and color of the button). I managed to do it using Photoshop and the separate layers and import it, but it is not a good solution. All suggestions will be welcome.

    Thank you

    You can try to use the widget of the Composition of the ToolTip. In this way, the trigger area is isolated and a "State of reversal" can be placed anywhere on the screen (compared to the trigger).

    • Remove the two triggers additional default
    • Set to display the targets on working capital
    • Select hide all initially.
  • Get the error when using remove child

    Hi try to use remove the child I get the following error in the output panel

    Hide videos and learn the buttons
    video removed
    ArgumentError: Error #2025: the supplied DisplayObject must be a child of the caller.
    at flash.display::DisplayObjectContainer/removeChild()
    at DSE_MAIN_dizzy3_fla::MainTimeline/removeMedia()
    at DSE_MAIN_dizzy3_fla::MainTimeline/setNewMedia()
    at DSE_MAIN_dizzy3_fla::MainTimeline/onIntroClick()

    I think that the function that generated the error is called removeMedia()

    This function is called from another function that is called by a buttonpress

    function removeMedia() {}
    If (myVideo! = null) {//Check that a video is on the scene
    myVideo.stop (); / / stop the video so don't continue to play sound
    this.removeChild (myVideo); / / deletion of the video being step
    trace ("video deleted");
    }
    If (myLearn! = null) {//Check that an element of learning is on stage
    removeChild (myLearn); / / Remove swf of the stadium's current learning
    trace ("learning removed swf");
    }
    }

    I tried to parent.removeChild (myVideo);

    and parent.removeChild (myVideo);

    but I got the same error

    Don't know how to fix it or why? its probably something simple I'm missing, any help would be appreciated

    Heres the code in its entirety if you need


    / / Code witten by [email protected]

    Stop(); / / Stop to this framework

    Add the Classes required for the application-
    import fl.containers.UILoader;// import uiLoader class to display the elements of learning
    import flash.display.LoaderInfo;// import (required to load flash Vars) class loaderInfo
    import import the FLVPlayback class fl.video.*;// (required for playback of flv)
    FlashVars are passed to this application since the html/php page
    myFolder is the name of the FlashVar and contains the path to the flv file
    and learning of the swf file


    Configure the application variables-
    var mySection:String; / / define a variable to hold the current section, we
    MySection = "intro"; / / because it is the first picture on the variable intro MySection
    var myFlv:String; / / define a variable to hold the name of the current flv to play
    myFlv = "loaded dse_introvideo.flv";// like this just to put the variable myFlv for intro.flv.
    var mySwf:String; / / define a variable to hold the name of the element of swf of learning to play
    no need to name mySwf yet as we are in the intro of the article
    var mySecType:String; / / set a variable to contain the type of section 'video' or 'learning '.
    mySecType = 'video '; / / We start playing the videos in order to define us the type of section to the video

    // VIDEO STUFF --------------------------------------------------------------------
    var myVideo:FLVPlayback = new FLVPlayback(); / / create a new FLVPlayback object to contain the video
    myVideo.width = 544;             Set the width of the video
    myVideo.height = 304;           adjust the height of the video
    myVideo.x = 200;                  set the horizontal position of the video
    myVideo.y = 88;                    set the vertical position of the video
    set the skin to control videos
    We read the variable called myFolder that is passed to us from the web page
    my file contains path information to the customers on the Web site directory
    If (this.loaderInfo.parameters.myFolder! = undefined) {/ / check if all flashvars passed through}
    If flashvars adopted include myFolder the path to the external file of the skin
    myVideo.skin = (this.loaderInfo.parameters.myFolder + "SkinUnderPlayStopSeekMuteVol.swf");
    } else {}
    If no flashvars are passed through the skin without the additional path value
    myVideo.skin = "SkinUnderPlayStopSeekMuteVol.swf";
    }
    myVideo.source = myFlv; / / set the video source to the current video stored in the variable myFlv
    addChild (myVideo); / / put the video on the stage
    // END VIDEO STUFF-----------------------------------------------------------------

    // LEARNING STUFF ---------------------------------------------------------------
    var myLearn:UILoader = new UILoader(); / / create a new UIloader to contain the element learing
    myLearn.width = 544;                          Set the width of the element of learning
    myLearn.height = 304;                         define learning points height
    myLearn.x = 200;                              set the horizontal position of the element of learning
    myLearn.y = 88;                              set the vertical position of the element of learning

    We need hide the video and the buttons of learning that they must not be shown again
    This function called viewButtons that will
    to call the function, we use viewButtons ("show"); to show them
    and viewButtons ("hide"); to hide
    function viewButtons(mySwitch:String) {}
    If (mySwitch == 'view') {}
    This.vid_btn. Visible = true;                              show the button of the vid
    This.learn_btn. Visible = true;                              See him learn button
    This.button_bkg. Visible = true;                         show the button background
    trace ("see the video and discover the buttons");          hide the button background
    }
    If (mySwitch == 'Hide') {}
    This.vid_btn. Visible = false;               Hide button vid
    This.learn_btn. Visible = false;               Learn how to hide the button
    background of the This.button_bkg button. Visible = false //hide
    trace ("Hide videos and learn the buttons");
    }
    }
    viewButtons ("hide");               turn the video and learning off because buttons are not necessary
    //END LEARNING STUFF------------------------------------------------------------

    MEDIA FUNCTIONS
    function to delete the current item of the scene.
    function removeMedia() {}
    If (myVideo! = null) {//Check that a video is on the scene
    myVideo.stop ();                    stop the video so don't continue to play sound
    this.removeChild (myVideo);     delete the video being step
    trace ("video deleted");
    }
    If (myLearn! = null) {//Check that an element of learning is on stage
    removeChild (myLearn);               Remove swf of the stadium's current learning
    trace ("learning removed swf");
    }
    }

    function setNewMedia() {/ / function to play the swf or flv files media}
    removeMedia (); call the function removeMedia to stop and remove no matter what media on the scene
    If (mySecType == "video") {//if we're in the video section
    myVideo.source = myFlv;               load and play the new video
    addChild (myVideo);                    put video on stage
    trace ("added videos");
    }
    If (mySecType == "learn") {//if we're in the learning section
    myLearn.source = mySwf;               Load point learning
    addChild (myLearn);                    the point of learning on stage
    trace ("added learning item");
    }
    }

    SET UP THE BUTTONS ON THE STAGE-
    INTRO BUTTON
    function onIntroClick(event:MouseEvent):void {}
    myFlv = "dse_introVideo.flv";                    put the video to load
    viewButtons ("hide");                         hide the video and learning buttons
    setNewMedia();                              load in the media
    }
    set the function to the button intro
    intro_btn.addEventListener (MouseEvent.CLICK, onIntroClick);


    VIDEO BUTTON
    function onVideoClick(event:MouseEvent):void {}
    mySecType = 'video ';                    section under video
    setNewMedia();                              load in the media
    }
    set the function to the button intro
    vid_btn.addEventListener (MouseEvent.CLICK, onVideoClick);


    TEACH BUTTON
    function onLearnClick(event:MouseEvent):void {}
    mySecType = "learn."
    setNewMedia(); / / load in the media
    }
    set the function to the learn button
    learn_btn.addEventListener (MouseEvent.CLICK, onLearnClick);


    COMPUTER BUTTON
    function onComputerClick(event:MouseEvent):void {}
    myFlv = "dse_computerVideo.flv";//set the video to load.
    viewButtons ("show"); show the video buttons and learning
    setNewMedia(); / / load in the media

    }
    set the function to the computer button
    computer_btn.addEventListener (MouseEvent.CLICK, onComputerClick);

    BUTTON OF POSTURE
    function onPostureClick(event:MouseEvent):void {}
    myFlv="dse_postureVideo.flv";//set the video to load
    viewButtons ("show"); show the video buttons and learning
    setNewMedia(); / / load in the media
    }

    posture_btn.addEventListener (MouseEvent.CLICK, onPostureClick);

    Ah, looked carefully at the code, and I think I found the problem.

    You call removeChild for BOTH myVideo and myLearn - when the only one of them is on the display list.

    The if() statement could catch it, BUT you check if they are null, not if they are on the display list.  An object can be non-null and not be on the display list.

    The simplest method (also somewhat sloppy method) to get rid of this would be to add a try/catch around two of these calls removeChild.

    try {}

    removeChild (myVideo);

    } catch (e) {}

    try {}

    removeChild (myLearn);

    } catch (e) {}

    It's messy, it triggers the error again, but it immediately masks because you caught and did nothing, but the error is no longer displayed.

  • Visible = "true" and partialtriggers of the problems when you are using "necessary".

    Hi, I think that I have not had my coffee today, but is it possible to have the following?

    Panelformlayout with a selectOneChoice and three inputText elements. "Visible" from each inputText attribute is based on the value selected in the selectOneChoice. The selectOneChoice a autosubmit = true and each inputText has the selectOneChoice as a partialTrigger. It all works fine, until I try to do the required selectItems = true. The hide-dynamic stops working, and the entries are marked as empty (but the selectOneChoice shows the new value).

    I tried to play with the addition of additional checks for the indicators 'immediate' and 'compulsory', for example, required = "#{pageFlowScope.testBean.requiredSet and pageFlowScope.testBean.showVal1}" but that seems to make no difference. " Someone at - it ideas?

    Example of project: (uncheck the box to display the form works well without defined the required indicator and check to enable the problems I see)

    http://www.mediafire.com/?immky4ynxqi

    In the event that the link above does not work, here is the source:

    JSP:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1" title="test thing">
          <af:form id="f1">
            <af:panelStretchLayout id="psl1">
              <f:facet name="center">
                <af:panelFormLayout id="pfl1">
                  <af:group id="grp1">
                  <af:selectOneChoice label="Select" id="selOne"
                                      value="#{pageFlowScope.testBean.selectValue}"
                                      autoSubmit="true" immediate="true">
                    <af:selectItem label="Show: Value 1" value="reqVal1" id="si1"/>
                    <af:selectItem label="Show: Value 1 + 2" value="reqVal1_2" id="si3"/>
                    <af:selectItem label="Show: Value 1 + 2 + 3" value="reqVal1_2_3" id="si2"/>
                  </af:selectOneChoice>
                  <af:inputText label="Value 1" id="it1"
                            visible="#{pageFlowScope.testBean.showVal1}"
                                partialTriggers="selOne"
                                required="#{pageFlowScope.testBean.requiredSet and pageFlowScope.testBean.showVal1}"/>
                  <af:inputText label="Value 2" id="it2"
                            visible="#{pageFlowScope.testBean.showVal2}"
                                partialTriggers="selOne"
                                required="#{pageFlowScope.testBean.requiredSet and pageFlowScope.testBean.showVal2}"/>
                  <af:inputText label="Value 3" id="it3"
                            visible="#{pageFlowScope.testBean.showVal3}"
                                partialTriggers="selOne"
                                required="#{pageFlowScope.testBean.requiredSet and pageFlowScope.testBean.showVal3}"/>
                  <af:inputText label="Value 4" id="it4"/>
                  </af:group>
                    <af:selectBooleanCheckbox
                                            label="Make Vals1-3 required" id="sbc1"
                                              value="#{pageFlowScope.testBean.requiredSet}"
                                              autoSubmit="true"/>
    
                </af:panelFormLayout>
              </f:facet>
              <f:facet name="bottom"><af:spacer width="10" height="10" id="s1"/></f:facet>
              <f:facet name="end"><af:spacer width="10" height="10" id="s2"/></f:facet>
              <f:facet name="start"><af:spacer width="10" height="10" id="s3"/></f:facet>
              <f:facet name="top"><af:spacer width="10" height="10" id="s4"/></f:facet>
            </af:panelStretchLayout>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>
    TestBean, as managed pageFlowScopeBean:
    package com.testapp.view;
    
    public class TestBean {
    
        private String selectValue = "reqVal1";
        private boolean requiredSet = false;
    
        public TestBean() {
            super();
        }
    
        public void setSelectValue(String selectValue) {
            this.selectValue = selectValue;
        }
    
        public String getSelectValue() {
            return selectValue;
        }
    
        public boolean getShowVal1(){
            return "reqVal1".equals(selectValue)
                || "reqVal1_2".equals(selectValue)
                || "reqVal1_2_3".equals(selectValue);
        }
    
        public boolean getShowVal2(){
          return "reqVal1_2".equals(selectValue)
              || "reqVal1_2_3".equals(selectValue);
        }
    
        public boolean getShowVal3(){
            return "reqVal1_2_3".equals(selectValue);
        }
    
        public void setRequiredSet(boolean requiredSet) {
            this.requiredSet = requiredSet;
        }
    
        public boolean isRequiredSet() {
            return requiredSet;
        }
    
    }
    Thank you
    Barry

    Nick Haralabidis wrote:
    Hello

    The behavior is as expected: you make a value of 1, the value 2 and 3 value required and you autoSubmit on the selectOneChoice. Thus, when you make a selection, value 1, 2 and 3 of the value value are tempted to submit because of the partialTrigger. But since they are required, the validation is triggered.

    No, the validation is thrown in a different phase. The selectOneChoice is immediate and his calls renderResponse ValueChangeListener then the validation phase is never executed. It would be the case if the 3 values were also immediate, but it is not so.

    Nick Haralabidis wrote:

    If you don't want the postings through the Select and always have value 1, 2 and 3 of the required value value, follow these steps:

    (1) remove all partialTriggers of the jsf page

    (2) linking the panelFormLayout to support bean as in:


    Binding = "#{pageFlowScope.testBean.panelMain}" > "

    (3) add a valueChangeListener to the selectOneChoice as in:


    value = "#{pageFlowScope.testBean.selectValue} '"
    autoSubmit = 'true' immediate = "true".
    valueChangeListener = "#{pageFlowScope.testBean.onSelectionChanged}" > "

    (4) in your valueChangeListener add a partialTarget in the Panel as in:

    {} public void onSelectionChanged (ValueChangeEvent valueChangeEvent)
    AdfFacesContext.getCurrentInstance () .addPartialTarget (this.panelMain);
    }

    I tested it and it works :)

    Yes, it's another way to do it.

    Kind regards

    ~ Simon

  • The mouse pointer jump at the top of the screen when the dialog box opens

    In the last few weeks my mouse pointer jumps sometimes extreme high (left side) of the FF browser window. Only happens in FF, Chrome or IE or any other application from Ms. The mouse to update drivers fees Reloaded, switched mouses, USB switch, ports switched to a mouse not MS - all to nothing does.

    "It seems to happen most often when I mouse ' snap to" feature is turned on and that the pointer automatically moves to the default button in the dialog box.

    This unique disability FF to hide the pointer when you enter (when the value in the mouse properties box) have become very annoying.

    Please address and solve the two problems above. Thank you.

    Good news! Now come on. For the moment, you can disable
    KeyScrambler. You can always turn it on when you need it.

Maybe you are looking for

  • Cannot perform a system restore

    Unable to do a system restore to an earlier version Dates and/or the control points.  Made sure that the Antivirus Firewall & are closed. Returns without 'IMPOSSIBLE' - after doing the process. In this way for at least 6 months

  • Delete records hotmail - need to remove complete files folders

    Had to remove records of complete files Tried everything that was suggested. Nothing works

  • Strange problem with RE4000W

    Had a job that put re4000w in place as follows: 1. dsl with router, feeding an E3200 configured as an AP bridge mode. When I upgraded my dsl, I changed the E3200 to be my router for the simple fact of being an AP to serve the floor of my house. 2 RE4

  • Pando Media Booster, necessary, for editing software

    How can I get pando media booster? I was informed that the site of pando is no longer in service, and I tried several different links. During my research, I found that Microsoft has acquired pando, so I thought I'd go to the source, to find out how t

  • Resize the partition with unallocated forward space

    Any means of: 1. reduce the partition and leave a space at the front? 2 extend the partition using unallocated in the front space? Thank you!