do mandetory field in customization mode

Hello

I develop the layer of customization for one of our customers.

I have the following functional necessity:


I have three input fields, if a value is written in one of these areas that the whole should be the value required, i.e., all fields must be entered or none of them.


I use the EL following as mandatory attribute for the fields:

< code >

#{(((empty bindings.x1.inputValue) and (bindings.x2.inputValue empty) and (empty bindings.x3.inputValue))? false: true)}

< code >


that is, if all the fields are empty, none is required, but if one of them is not empty, all are necessary.

It's kind of work but I have the following problem:
If I get a value for example xyz in one of the fields that all of them are set to required. But if I delete the entry for example xyz it will still say that the fields are mandatory.

The fields are inside a Panel and partialtrigger are set on three fields and the Panel. All fields has the autosubmit = true value and immidiate = true.

I tried to check the EL using outputtext and his works fine but when I use the same EL on inputtext his does not work.

Is it possible to make custom without any java coding?


(I found Blog of Andrejus Baranovskis: under certain conditions of the compulsory fields in Oracle ADF Faces Rich Client that makes a solution that is based on java)

Help, please.

Kind regards

Viral

Hello

Is it possible to make custom without any java coding?


I think that you could if you get access to the information or not apply the required attributes. However, I don't think that's what customization is for. You have a problem of business logic and which should be dealt with in the business logic. When you delete information can do you on the user interface, and it must be applied to the link for your logic to work.

So instead use the PartialTrigger settings, you will want to use programmatic PPR adfFacesContext--> addPartialtarget(). Auto submit actually puts a root of the event to the component you are working with. To join the server without the other fields crying out 'required field validation error", you need to work around (which you do not with PPR set to the component). Instead, you perform the update side server then PPR form so that all the fields empty.


Frank

Tags: Java

Similar Questions

  • Problem with the query in the form of customization mode

    Hi all

    Can you please help me I'm getting problem while doing the customization form

    Scenario:

    Marter dot org form that I need to display the default value in the field of the unit of MEASURE value is null

    I succeed while doing all the steps below

    Condition tab:
    ----------------------
    Trigger the same: ONCE - NEW - ITEM - INSTANCE
    Trigger object: MTL_SYSTEM_ITEMS. INVENTORY_ITEM_MIR

    Action tab:
    ------------------
    Type: property
    type of object: agenda
    Trigger object: MTL_SYSTEM_ITEMS. PRIMARY_UNIT_OF_MEASURE_MIR
    Property name: VALUE
    Value: null

    but the problem is when I try to query (F11) the form, I'm not able to ask please help me with the of this

    Thank you
    EABR

    The problem is, you assign a value to an element when the form is opened, so the form will update mode, so the system not allowing you to make the request (f11). If you clear the value that has been missed, you'd be able to F11.

    So instead set the VALUE, try the INITIAL_VALUE property and let me know if this worked for you.

    Thank you
    Pradeep

  • Track of date - field HRMS - customize

    Hello

    How to hide a column in the DateTrack widow (DateTrack history)?

    The area is hide in customize (SHOWN = False), but it is visible with DateTrack.

    Thank you.

    It's can be done using a new folder to limit the display fields.

    Greetings

    CIP

  • Can create new LOV field with customizations or CUSTOM.pll?

    I must add a field that does not currently a LOV. Is this possible with customizations? If this isn't the case, it is possible with CUSTOM.pll?

    Thank you
    Kurz

    You cannot create a lov during execution. But you can assign a lov existing an element using SET_ITEM_PROPERTY('BLOCK.) ITEM', LOV_NAME, 'xx');

  • How can I move the location of the boomarks back to the left. I tried to 'customize' bookmarks 'disappear' in this mode but I can't click on it to get her back. Why ' "do you think things mobile around makes it better?

    I adapt to the changes of 4 FF. I want to return the location of the bookmarks on the left. I tried the function customize, but bookmarks disappears and I can't click it to drag it where I want.

    The new bookmarks (with the arrow on the drop-marker) button that appears to the right of the bookmarks toolbar when the menu bar is hidden and the Firefox button orange shows are you referring?

    If so, this button appears on the right side of the Navigation bar (on the right of the "home" button) when customize Mode is enabled, and it's not like a 'regular' toolbar button, it is related to the Firefox button orange with the layout of the default toolbar. You can switch mode to customize, but may disappear 'arrow' and 'bookmarks' may appear when moved. There seems to be a small problem with this button and the 'arrow', at least on Windows XP installations.

    There is an another bookmarks button in the Palette of the toolbar, as with earlier versions of Firefox that toggles the Bookmarks Sidebar that looks the same but lacks the arrow drop-marker. Here's how you can tell them apart from the other. I guess that Mozilla has been too cheap to design a new button that is linked with the orange Firefox button.

  • Manufacturing of customization OFA a required field.

    I have a custom OAF page which has a Message text entry field and is currently is a required field, using customization I wanted to do an option has filed. But when I select the properties of this customization, I don't see the 'necessary' option and its values.

    Layout structure: presentation of component messages > Message Layout - > single column by default-> Message text entry field.


    Thank you
    Vishnu

    Hi vishnu.

    It is not possible through customization. As suggested by me in the answer previously extended the existing controller.

    Kind regards
    GYAN

  • not authorized at the level of customization

    Hi all

    I'm trying to customize a page to the service-wide. I developed locally in JDev and then move the classes extended to our server development for further testing. Sometimes, when I try to customize a page, I can't customize the function level. The column for the function has simply static text "Inherit" in there. Any thoughts? This becomes a real problem for us that we can not customize the function level.

    Please help me.

    Hi Mukherjee,
    you mean at the level of the function, "inherit" is read only instead of text field.
    If it's in the tabled text, you can replace your custom class here. If it is your check issue following the profile option:

    DNF: Sowing of customization Mode
    update the value "Yes", at the level of the user/site, according to your concerns and test again the question:

    Kind regards
    Naren.

  • I'm trying to get the bookmark icon in my toolbar to the right of the icon of the House. I right click on the toolbar, and then customize the icon is displayed in the toolbar. When I close the popup on the toolbar icon in my toolbar disappears.

    I'm trying to get the bookmark icon in my toolbar to the right of the icon of the House. Then, right-click on the toolbar and then click Customize the icon in the toolbar. As soon as I close the pop of toolbar Customize the icon on my toolbar disappears. How can I get the Favorites icon to stay on my toolbar to the right of the icon of the House?

    Two things can cause the Bookmarks button to "disappear" from the Navigation bar when the customization mode is closed.

    1. the Menu bar - with File, Edit, View, etc. - shows.

    Since you have checked the answer first of cor-el solve your problem, I have not exposed on this point.

    2. the bookmarks toolbar shows, and this button is this toolbar.

    Is the Menu bar showing or not?

    Have you tried the reset bar of tools and commands that I mentioned?

  • From a Portege M200 battery mode screen

    Hello, first sorry for my English, I am not totally bilingual.
    So I got a Portege M200, with the model number: PPM21E-02QFZ-FR, serial number: 55893043G

    This work of the computer laptop but fine * when I unplug the AC adapter black screen come *, when I reconnect light screen again (he continues to work, but without screen because it serves not next).

    I have try the Fn + F5 combination, not worked, try to change performance settings in windows, without change.

    When I go into the BIOS I can make it happen this problem even if the AC is plugged by changing the value of the field 'battery saving mode' to 'full power' to the other (when I change the screen turns off the coast).

    do you know how to fix this?
    Thanks in advance

    > This laptop work well, but when I unplug the power of the screen in black, when I reconnect light screen again (he continues to work, but without screen because it does not fuel nearby).

    Sorry I mate m afraid I did not understand it correctly.
    If you unplug the AC adapter, the screen turns off.
    But what happens if the power adapter is connected again? You say that screen lights up again, but then said you that you can work but no screen.

    So I'm confused now

    In my opinion, you should check the Windows power options.
    Usually, if the AC adapter should be disconnected, the laptop will switch to another power plant (battery mode).
    In my opinion, you should check the settings of the power station, which is used if the AC adapter is disconnected.

  • Customize the table: no framework

    I would like to frame paintings, I saw some people did, but I don't understand how. When I go to customize mode, the image can be resized or painted. If I click on it, all of the control is selected (LV 8.6)

    Hi Snamproge...,

    use the classic container table, here, you can hide the frame with a transparent color.

    Mike

  • Customize the buttons in the graphic Palette

    Is it possible to customize the buttons in the graphic Palette in a XYGraph with LabVIEW 8.2.1?

    I am able to select and customize the cursor arrows (I imported both images customized for the State on or off, for example);

    but when I select in the same way, the graphic Palette, or one of its buttons, change--> to customize... Control is disabled

    I've already customized most other graphical parts, and the graphic Palette looks like now poor

    Thanks in advance

    Seems to work OK if you put the whole graph in customize mode and click the buttons on the palette to import your graphics. Try it!

  • Structuring of Code for manual, record, playback Mode

    Hello

    I have 3 Vi, one for manual operation, a recording and for playback of the recorded data. They take a 0 - 5V signal, read by an Arduino Uno microcontroller.

    Manual - this just constantly reads the signal

    Save - when activating this records the signal since the announcement of the Arduino writes the values to a file

    Reading - it takes the data written to a file and reads it.

    I'm not sure how to structure code. I want the user to be able to choose between modes and go at random (i.e. There is no fixed sequence). I would also like the common points such as the output array use the same plot, not use a field for each mode.

    I tried to do it using a structure of matter, but you can only change the case if you change the case, then stop the currently active state. Even if it works not for switching between some said that they don't have a stop button to allow the release of the active State to the new.

    I'm sure there must be a practical way to do it, I'm not sure what it is and not sure what to look for on the forums. I enclose my current attempt. Advice or examples of a similar type vi would be appreciated.

    The code will be eventually integrated into an operating system manually a table 3 axes (stepper motors), with the ability to record and play. I have dealt with step by step motor control, I just need to figure out how to switch between modes of operation. The entry will come of the joystick and potentiometers measured by a microcontroller to form the entrance.

    I am using labview 2010.


  • Customizations in web forms: the organizational level is invisible

    Hello everyone,

    RDBMS: 11.1.0.7.0

    Oracle Applications: 12.1.3

    Customization of Web (Customize Page-> customization properties) does not allow edition customization at the level of either. This level is invisible.

    10.jpg

    20.jpg

    Could someone please help with this problem. Will be appreciated for any information / Tip.

    Best regards

    Vitaly Kulbachenko

    Profile DNF: seeding of customization Mode allows or restricts editing, but it does not level organization itself. In fact, I always found the reason for the question. Level of Organization for customizations of web is available for responsibilities who MO: operational unit profile is set to the top anyway thanks a lot for all useful psychology profile :-)

    Best regards

    Vitaly Kulbachenko

  • How to enable customization hidden using "manage the levels of customization.

    Hello

    I have problem with the activation of the customization (see below). Box is not active. How to make it active?

    Thanks for the reply

    issue.png

    Problem is solved. "Value of the profile: ' FND: seeding of customization Mode" should be set to: Yes. After changing the value of this profile, box (see screenshot in my first post) can be changed

  • Subject field of Email form

    Hi, I was wondering if it is possible to add a subject for the e-mail field to my form. I know that you can manually set the subject of the e-mail by naming the form, but I'd like to know if it is possible for the user to set a custom object.
    Thank you.

    The subject of the e-mail form is composed automatically by using the name of the form that you specify. There's no other way to change that in Muse. You can use the name of the form field to customize the subject of the email.

    See you soon,.

    Vikas

Maybe you are looking for