How diseble the fields all based on button

Hi.......,

If I press the button I want to disable all the field how
Here the two blocks is 1. control, 2. control_main
If I press the control to find control_main button block off all the field how
Please you know me

concerning
Maha

Hello Maha

1 pls create WHEN-BUTTON-PRESSED Trigger


SET_ITEM_PROPERTY('block_name.item_name' ,Enabled ,PROPERTY_FALSE );

I hope this helps...

Kind regards

Amatu Allah

Tags: Oracle Development

Similar Questions

  • How to assign the field width based on the screen wdth

    I have my ownfield, I'm adding to the screen, or the Manager

    I want to give the height and the width of field based on the width of Manager screen, when I try I got errors.

    the code I used is

    Field ff;
            int j=(Display.getWidth()>360?4:3);
            int compwid=Display.getWidth()/j;
            int compht=40;
            int posx=0,posy=0;
            int no=this.getFieldCount();
    
            for(int i=0;i
    

    When I do cela in the display main () sublayout, I get the error as "the field is not a child of this Manager.

    Similarly when I add to the Manager sublayout, I get as field must call setExtent and setPostion for available.

    Where I'm going wrong?

    You can help with that.

    Concerning

    Rakesh Shankar.P

    Hi guys, I was able to get this working, pblm is that I called super.sublayout () just before the Codes I have describd in the previous post.

    Concerning

    Rakesh Shankar.P

  • How you format the text in the fields for forms and buttons?

    I can't with that make up a form in InDesign for export in an interactive form in Acrobat. A couple of fields, the text is formatted as myriad as I want. On the rest, it is formatted to Minion and I can't seem to find anywhere to change this. I tried to do a "paragraph style" a character style, formatting a text box and nothing seems to work. Even tried to copy both entitled and their use for the other boxes, but it does not work. They returned to Minion.

    Any ideas?

    Don't know how you ended up with a different formatting, but in all cases, you can only control the choice/the font size in Acrobat, once your form exported in InDesign.

  • Need help to make the field required, based on the drop-down menu ' YES/NO' other please field

    field 'A' - drop down, YES/No.  Field 'B' must be entered if 'A' = 'YES '.  If 'A' = 'NO', then 'B' as a default of 0. If "A" = "-", then "B" is "-".

    Really, I hope someone can help, Ive tried java, etc. action buttons.

    Thank you

    To set the property of the EmployeeID field B use the following that the validation of your menu script drop-down:

    this.getField("B").required = (event.value == "YES");

    As noticed TSN, the required field only comes into play when the record is submitted (and only when it is done using the built-in command to submit, do not use a script).

    However, it is possible to use a script to inform him that the use that the file is not correctly filled in when the file is printed/saved and even to reset the form entirely in this case.

  • How given the action to a dynamic button programmatically?

    Hello

    I use JDeveloper 11.1.1.6

    I am trying to assign the action to a button that is created programmatically, using the following code:

      functionButton.setActionExpression(GlobalUtils.createActionMethodExpression("#{CollectorBean.invokeFunctionCall}"));
    

        public static MethodExpression createActionMethodExpression(String actionMethodExpression){
            FacesContext fctx = FacesContext.getCurrentInstance();
            ELContext elctx = fctx.getELContext();
            Application app = fctx.getApplication();
            ExpressionFactory exprFactory = app.getExpressionFactory();
            //Create and add method expression that references the ADF
            //binding layer to execute the operation
            MethodExpression methodExpr = null;
            //create method expression that doesn’t expect a return type (null),
            //and that has no parameters to pass (new Class[]{})
            methodExpr = exprFactory.createMethodExpression( elctx,actionMethodExpression ,null, new Class[]{});
            return methodExpr;
        }
    

    But it gives an error:

    javax.faces.el.EvaluationException: method not found: [email protected])

    Why is this happening?

    Kind regards

    Nigel.

    Hello

    The code above works well after you stop and restart the application.

    Thank you

    Nigel.

  • Calculate the value of the field based on the value of the user input field

    Hi all

    We use a BPM 11.1.1.5.0 with feature pack. We have BPM form which has five fields all the text in the input field. The user will enter any amount in these fields. We have another field in the form that displays the sum of the field all five. This should add the input value dynamically when the user navigates out of a field.

    I'm not able to think how I can achieve this. It is valuechangelistener I need code. Should I use a java code to get the value of the entry field and make the calculation in the java code and then assign it to the output field? or is there an option/BPM feature that allows to avoid java coding.

    Thanks in advance

    Sachin Gupta

    Add this as an idea because you asked how this could be done without Java code.

    If all five digital and no other item reference fields cannot be empty or null, you can:

    (1) for each of the 5 numeric fields, expand the section "Behavior" property and set their properties Autosubmit true. As you look at each of the 5 areas, note the text in each of their property 'Id '.

    (2) for the numeric field (I'll call it the "SumValue" field), you added that you want to add the other fields, expand the "behavior" property section-> click the arrow to the right of the property 'PartialTriggers'-> in the transfer dialog box that comes up, select each of the 5 areas (those you find the ID of the first step) and their shuttle above the selected list-> click OK-> look at your PartialTriggers for the field of SumValue property - it should now display the ID 5 with spaces between them.

    (3) open each of the 5 areas and copy the text in each of their properties 'Value' (e.g. #{bindings.) Salary1.inputValue}) and paste this text for each of the 5 text fields in your text editor in a text-> if editor is

    #{bindings.Salary1.inputValue} #{bindings.Salary2.inputValue} #{bindings.Salary3.inputValue} #{bindings.Salary4.inputValue} #{bindings.Salary5.inputValue}
    

    to take

    #{bindings.Salary1.inputValue+bindings.Salary2.inputValue+bindings.Salary3.inputValue+bindings.Salary4.inputValue+bindings.Salary5.inputValue}
    

    (4) select the field 'SumValue'-> again in the property Panel, delete the text in the field 'Value'-> paste the text you created in your text editor in the 'Value' property of the field SumValue.

  • Display the value of the column automatically based on another column in a table

    Hello

    I use APEX 5.0, I have a requirement to display the field automatically based on the tabular presentation of other numbers.

    img.png

    in the screen shot attached above when I press Add button line a new line is created and enter the value in 'place no.', 'dept and identification of height place' when I press tab or get out of the column "height", "GID" should appear automatically.

    To display the GID my query will be like that. "Select GID from x where no = '1011' place and dept = 88 and height = 88'.

    How to get the value of from GID of the another value entered in Place no, dept and height in tabular form.

    Thanks in advance

    Ravi.

    Hi Ravi

    No need to point of Application or process. I just completed the task with the following steps

    (1) create 4 hidden items

    P2_SELWID

    P2_SELDEPTH

    P2_SELHEIGHT

    P2_CALCWNAME

    (2) gives 3 CSS classes in three columns of tables.

    . WID

    . DEPTH

    . HEIGHT

    (3) create the function jQuery for re - get three items from the page on a line if one of them has been changed.

    Add the following code to the function and the declaration of global variables

    function setRowItemValues(p_rownum){
        wid_col_id = 'f02_' + rownum ;
        wid_col_val = $('#'+wid_col_id).val();
        depth_col_id = 'f03_' + rownum ;
        depth_col_val = $('#'+depth_col_id).val();
        height_col_id = 'f04_' + rownum;
        height_col_val = $('#'+height_col_id).val();
        wname_col_id = 'f05_' + rownum;
        // set P2_SELWID,P2_SELDEPTH,P2_SELHEIGHT
        $s("P2_SELWID", wid_col_val );
        $s("P2_SELDEPTH", depth_col_val );
        $s("P2_SELHEIGHT", height_col_val );
        $s("P2_SELWNAMEID", wname_col_id );
        // Call the Dynamic Action to get WNAME if all values are not null
        if( wid_col_val != ''  && depth_col_val != '' && height_col_val != '' ){
            //Call DA to Get WNAME from WINT
            $.event.trigger("CalcWNAME");
            // set the Tabular form
            $('#'+wname_col_id).val($x("P2_CALCWNAME").value);
        }
    }
    

    and run when the Page loads

    $(document).on("change", ".WID,.DEPTH,.HEIGHT", function(){
        rownum = $(this).attr('id').substr(4);
        setRowItemValues(rownum);
    });
    

    (4) create a dynamic Action to get WNAME based on a PL/SQL function. Note the submitted page elements.

    CalcWNAME

    (5) set of the corresponding element in the line of the function jQuery, after completing the DA.

    Please check and I hope your problem is now solved.

    Concerning

    Mahmoud

  • Using JS to the screenshot and submit with button?

    Messages to other people, I understand that I can not use JS to e-mail only a page of a PDF if the end-user document will use Reader. I'm trying to think of a way around that because I want only the first page of my document to the client by e-mail.

    I thought using 'screenshotPage' in function and then by e-mail that the screen shot to the customer. My stumbling, it is I think the screenshot would be outside the PDF Viewer the JS would then know how to choose this screenshot to email?

    I mean:

    Click on the events button - take screenshot - screenshot using fields in the form to fill out that ended just an email

    I have a handle on the code for the event and take the screenshot and using the information in the fields all properly in place. How should I choose the screenshot as email item (if that is even possible)

    Nevermind on this issue. The application that we use on the iPad actually has the possibility of just one page of the e-mail form.

    App = Enterprise Expert PDF

  • Conditionlly the fields in bold in the table

    I have a field printed in my table of MS such as: <? GRADE01? >. I need to make the field "BOLD", based on a State.

    If the value of this:? / DOCUMENT/REGION/ROWSET1/ROWSET1_ROW/MP1? >
    is equal to the value stored in this: <? / DOCUMENT/REGION/ROWSET1/ROWSET1_ROW/CUR_MP? > I want to "BOLD" field. Is this possible?

    Yes. That should do it.

    Thank you!

  • How to disable a custom button field, extending the field 4.5

    Hi all

    I'm working on an application that builds in 4.5, but should work on almost all BlackBerry 4.5 devices from.

    My query is, I need to enable and disable a button custom field that extends the class of the field. I do use if the methods navigationMovement() and moveFocus() for devices not tactile, but on BB 9800 (Tourch) when I touch the button on the screen, it is worn.

    I don't want to use any API touch, can all about suggest me how disabled button on the ground without the help of the Touch API. Please don't suggest also on setEnable(), coz this is not supported in 4.5.

    Thank you

    Let isFocusable return false, for example

  • [ADF, JDev12.1.3] SelectOneChoiche created from VO instance with 3 fields: how to retrieve the value of all the fields of the selected element?

    Hallo,

    I defined a VO with 3 fields (A, B and C) and I would like to create a SelectOneChoiche that shows only the field as options from this instance of VO.

    In a managed bean, I need to retrieve the values for all areas (A, B and C) of the item selected by the user.

    I started dragging the entire VO instance to UI to create a SelectOneChoiche (in which I have chosen to show only the to field).

    Then, I created a for the SOC ValueChangeListener read the values A, B and C of the selected element, but the only thing I've done is to get the displayed value:

    System.out.println((String) ((RichSelectOneChoice) FacesUtils.findComponent("MySoc")).getValue());
    

    You kindly help me?

    Thank you

    Federico

    Federico, sorry I didn't see your answer.

    As you use 12.1.3 you can do this more easily than the code that I posted before. You can use

    {} public void onCountrySelection (ValueChangeEvent valueChangeEvent)

    FacesContext will involve = FacesContext.getCurrentInstance ();

    Make sure that the selection change is processed and the current link lov line has the new selected line

    valueChangeEvent.getComponent () .processUpdates (contxt);

    BindingContext lBindingContext = BindingContext.getCurrent ();

    BindingContainer lBindingContainer = lBindingContext.getCurrentBindingsEntry ();

    List JUCtrlListBinding = lBindingContainer.get ("CountryId") (JUCtrlListBinding);

    the newindex in not necessary, but ok let's get it (must be equal to the CountryId, the pharmacokinetics of the binding of the lov

    String newindex = (String) valueChangeEvent.getNewValue ();

    get the selected value in the list that is the selected line of the binding of the lov

    Line lFromList = list.getSelectedValue () (line);

    now, we can get the attributes of the line of lov

    String s = (String) lFromList.getAttribute ("CountryId");

    System.out.println ("CountryId:" + s);

    String s2 = (String) lFromList.getAttribute ("CountryName");

    System.out.println ("CountryName:" + s2);

    BigDecimal s3 = lFromList.getAttribute("RegionId") (BigDecimal);

    System.out.println ("RegionId:" + s3.toString ());

    }

    The form that I use is based on the location of the HR DB schema table. The CountryId is configured in the view object to display a lov based on the campagneVoir. This view contains thre CountryId, CountryName and RegionId attributes.

    If you want to get to the attributes of an action listener you can use this code

    {} public void onGetSelectedCountryLov (ActionEvent actionEvent)

    BindingContext lBindingContext = BindingContext.getCurrent ();

    BindingContainer lBindingContainer = lBindingContext.getCurrentBindingsEntry ();

    List JUCtrlListBinding = lBindingContainer.get ("CountryId") (JUCtrlListBinding);

    get the selected value in the list that is the selected line of the binding of the lov

    Line lFromList = list.getSelectedValue () (line);

    now, we can get the attributes of the line of lov

    String s = (String) lFromList.getAttribute ("CountryId");

    System.out.println ("CountryId:" + s);

    String s2 = (String) lFromList.getAttribute ("CountryName");

    System.out.println ("CountryName:" + s2);

    BigDecimal s3 = lFromList.getAttribute("RegionId") (BigDecimal);

    System.out.println ("RegionId:" + s3.toString ());

    }

    You must add the valueChangeListener and at least add the lines

    FacesContext will involve = FacesContext.getCurrentInstance ();

    Make sure that the selection change is processed and the current link lov line has the new selected line

    valueChangeEvent.getComponent () .processUpdates (contxt);

    to ensure that the selected line is available when you click the button.

    And set autosubmit'= true for the field in the UI that displays the LOV.

    Timo

  • Iusually access my mail through the mail on my keyboard button. This button has stopped working completely, and I don't know how to access my mail at all. How can I get to my email?

    Iusually access my mail through the mail on my keyboard button.  This button has stopped working completely, and I don't know how to access my mail at all.  How can I get to my email?

     
     
    In case you wanted to tell Outlook Express...
     
    Right click on the desktop | New | Shortcut. Navigate to "c:\program files\outlook express\msimn.exe". Click next | Click Finish.  It will be a new shortcut on the desktop.
     
     
    Once an icon on the desktop, you can drag it to the taskbar for easy access.
  • How can you reduce all open windows on the desktop the buttons in the taskbar?

    How can you minimize all open windows on the desktop to the taskbar buttons

    Right click on the taskbar | Show desktop. Or you can add an icon to the taskbar.

    How to re-create the show the desktop icon in the Quick Launch toolbar
    http://support.Microsoft.com/kb/190355

  • How to make all the fields on one page read only (for the recipient) without having to make each field read-only?

    How to make all the fields on one page read only (for the recipient) without having to make each field read-only?

    Hello Jmbtexas4,

    By default, you will need to individually click on the fields of the form and check the 'read only' and save it. From now on, it is not possible to select all together and make the changes.

    -Usman

  • How to edit pdf file (in indesign) without having to re-export then and redo all the fields of the form and formatting?

    How to edit pdf file (in indesign) without having to re-export then and redo all the fields of the form and formatting?

    Edit PDF files in InDesign is not a good idea. If the file was originally exported ID, then change the original and then create a new PDF file.

    Open an old, and then use the command replace Pages to insert the new pages on the 'old'. The fields that you have already created will remain in place when you do this.

Maybe you are looking for