Disable Validation on the Cancel button

Hi guys,.

I use jdev version is 11.1.1.5.0.I have done a validation custom for my Palm/editable grid table which i m, saving data on the button, click Save. Validation works perfectly except when I click on the button cancel next to my button 'save' his also validate grid table than i do ' t want to do.
any suggestion how I can stop posting on the Cancel button.


< af:table value = "#{bindings.ssku1.collectionModel}" var = 'row' "
Rows = "#{Bindings.ssku1.rangeSize} '"
emptyText = "#{bindings.ssku1.viewable?" "{'No data to display.': 'Access Denied.'}".
fetchSize = "#{bindings.ssku1.rangeSize}" rowBandingInterval = '0' "
selectionListener = "#{bindings.ssku1.collectionModel.makeCurrent} '"
rowSelection = "single" id = 't3' columnStretching = 'last '.
"partialTriggers =": cb20: cb50 "
styleClass immediate = "AFStretchWidth" = "true" autoHeightRows = "8" >
< af:column id = rowHeader "c54" = "true" align = "center" width = "100" >
< af:commandButton text = 'Details' id = "cb10".
actionListener = "#{jcbwb.jcbOrderRowSelect}" > < / af:commandButton >
< / af:column >
< af:column sortProperty = "ssku_size_1" sortable = "false".
rendered = "#{gridDetailsBN.ssku_grid_col_1} '"
headerText = "#{gridDetailsBN.ssku_grid_col_1_hdr}" id = "c44" > "
< af:inputText value = "#{row.bindings.ssku_size_1.inputValue} '"
label = "#{Bindings.ssku1.hints.ssku_size_1.label} '"
required = "#{Bindings.ssku1.hints.ssku_size_1.Mandatory} '"
Columns = "#{Bindings.ssku1.hints.ssku_size_1.DisplayWidth} '"
maximumLength = "#{bindings.ssku1.hints.ssku_size_1.precision} '"
shortDesc = "#{bindings.ssku1.hints.ssku_size_1.tooltip} '"
disabled = "true" id = "nonpopupit61" >
< f: validator binding="#{row.bindings.ssku_size_1.validator}"/ >
< / af:inputText >
< / af:inputText >
< / af:column >
< / af:table >

Hello

Set in the immediate to true on the Cancel button.

Zitouni

Tags: Java

Similar Questions

  • Delete from Table on the Cancel button.

    Hello

    I am facing problem funny.

    I created the form with the report page and I have option to implement send e-mail on the Page so I am attaching a document more with email.if I attach document then it goes into the DUMY_DOC_FILE table.

    I create a process
     
    
    delete from DUMY_DOC_FILE .
    
    Process Point IS ON Submit -After Conmputation and Validation 
    
    
    On Page No 6.
    If I press the button Cancel Button.This is redirecting on page no. 4. not my Code on Page 6.
    page is redirect to 4 but the doc don't delete Table of DUMY_DOC_FILE.

    How to remove Doc from Table if I press the Cancel button.

    Thank you

    Published by: 805629 on January 13, 2011 05:25

    Published by: 805629 on January 13, 2011 23:49

    Published by: 805629 on January 14, 2011 12:43 AM

    This conditional validation_, so that it does not cancel send button (for example: *: ASK! = 'NAME of the BUTTON' *)

  • Re: Font book. I chose "restore standard fonts" by mistake. How to get back on my choice. The Cancel button is grayed out so I can't cancel it. Any suggestions? Thank you!

    Re: Font book.

    I chose "restore standard fonts" by mistake. How to get back on my selection. The Cancel button is grayed out so I can't cancel it. Any suggestions? Thanks in advance!

    If you click on 'Restore the standard fonts', fonts that are not included in the OS X systems is placed in a "fonts folder (deleted) next to the fonts folder.

    / Library/Fonts

  • How to control the execution of a sequence of flat have the Cancel button

    Hello
    I have a question for you guys.
    Suppose I want to write a program to control a set of materials by sending commands via a serial port
    In fact, he calls a 'round '. Because a series of specific commands will send via a serial port at once specific time. What I call one a time Cycle.
    Between each send command steps there is a delay (waiting in range of Timing). The joint part of my VI.

    I was wondering how I can integrate a Cancel button which is able to act in any image of the flat sequence Structure?
    As you can see it is not everything in loops to have the best control of the program because I want to run commands in the series only once.
    Where to put the button 'Cancel' in frames?
    I want to show a confirmation message when the user clicked the Cancel button, and if the answer was 'YES' LabvIEW stops running flat sequence Structure and of the specific procedure to cancel (which is not included in above VI) takes place. Otherwise (by clicking 'NO') program continues to run...

    Note that home is just a simple version of what I intend to

    For example in some frames, it will be a while loop and so on...

    But there will be only on flat sequence at all

    Excuse me for my bad English

    Hi mostafi,.

    General answer: convert your flat sequence in a correct state machine States!

    Now, you can check your "Cancel" button after each State is treated...

  • How to keep the control on the same line after clicking the Cancel button

    Hello

    I use JDev 11.1.2.4.

    I have a search in a table (form A) that has a link to change another form (form B).

    Form B have two save and Cancel buttons with Commit and Rollback actions.

    Action on the Undo button is

    ADFUtils.findOperation("Rollback").execute ();

    Question: Suppose I'm at rank 3 on the form and click on the link to call the B form. Now, when I make some changes to the form B and press the Cancel button, the control returns to the row 1. I want to keep the control on line 3.

    any ideas?

    Thank you

    What do you mean by form? is this page?

    Is the form B and form A in the same page or diferrent?

    If the 2 form in diferrent pages you can add parent the iterator in the pageDef. of the child page

    To add iterator the pageDef parent. child follow this:

    1 - Open pageDef. of the child.

    2 - press executable section

    3. in the Insert item dialog box select 'Iterator' and then 'Ok '.

    4. you will find the DataControl extend above then select the Master iterator, then press 'Ok '.

  • How to cancel my subscription to Adobe? I am charged every month and I do not really use it enough to justify. I followed the instructions of tine for how to cancel at least, but it does not give me the "Cancel" button to click.

    I am charged every month and I do not really use it enough to justify. I followed the instructions of tine for how to cancel at least, but it does not give me the "Cancel" button to click.

    Cancel https://helpx.adobe.com/creative-cloud/help/cancel-membership.html

    -or https://helpx.adobe.com/contact.html?step=ZNA_account-payment-orders_stillNeedHelp

  • When you click on the Cancel button, avoid running query

    Hello

    I'm going to the jsff a page to another at the click of a button

    In the second page I go back to the 1st page when the Cancel button is clicked
    But when clicked on this button cancel my request get rerun and takes a long time to come back on the 1st page
    This is a read only vo interview... How can I avoid running query on a button click Cancel

    Thank you

    Real question is: "why is your query run when you press the Cancel button?
    If your application is already running on the first page, this should not happen unless you:
    -to perform an operation on the Cancel button that runs the query
    -changed "Refresh" of your iterator property
    -perform rollback

    Dario

  • AF:dialog - simpler to hide the Cancel button?

    Want to match some of what we have in a form application, and the dialog box is coming up closer than the panelWindow in terms of use, but I would like to be able to show just 1 button in the dialog for OK, rather than the 2 of them. I see the facet buttonBar on the component of the dialog box allows me to extend the buttons that are there, but I want to be able to hide the Cancel button. How this work normally/more-easily?

    Thank you.

    With the help of JDev 11.

    Button cancel any reasons to hide? What is the af:dialog type = "ok"? OR af:popup with a button?

  • I can't program my defrag to run only the Cancel button is turned on, not on the ok button

    How can I program my Defrag to run every week? When I try only the Cancel lights if I hit the ok button nothing happens

    How can I program my Defrag to run every week? When I try only the Cancel lights if I hit the ok button nothing happens

    Have you seen this ttorial?
    http://www.Vistax64.com/tutorials/72832-Disk-Defragmenter.html

    Excerpt:

    This will show you how to enable or disable the Disk Defragmenter automatically run according to a schedule and how to change the schedule to run Disk Defragmenter when you want it to run.
    PS Suggestion only...
    I would use Auslogics disk defrag instead.
    It's free.
    It only runs when you turn it on.
    It gives the options of what disk to defragment.
    It takes less than 20 minutes.
    It displays on the screen there is progress.
    It gives you a report summary at the end.
     
    If you are interested, here is the link to download Auslogics:
  • Validation for the reset button message

    Hello

    I would like to have a validation popup message when a user presses the reset button. I would like to read something like:

    "This button will reset the data in the table. Are you sure you want to proceed? »

    Thank you

    Wes

    Hi Wes,

    You can send a pop-up message in the click event of the button reset using xfa.host.messageBox ();

    To be able to ask a question to get an answer and then executing code, you must specify the correct parameters to this function.

    for example

    var response = xfa.host.messageBox ("this button resets the table data.") Are you sure you want to proceed? ","reset the form ', 2, 2);

    If (response == 4) {}

    xfa.host.resetData ();

    }

    You can have different answers with messageBox according to what kind of options you give to the user.

    In the function messageBox() after 'Reset form': the first integer that is '2' is here to show the image to display, for example:

    0 : « X »,

    1:"!",

    2:"?",

    3: "I."

    The second integer is to specify the buttons to be displayed, for example:

    1: ok Cancel

    2: Yes No

    3: No Yes No Cancel

    4: ok

    The messageBox() function and returns an integer that translates the user's response, for example:

    1 = ok

    2 = cancel

    3 = no

    4 = Yes

  • on the painting, I lost the Cancel button and I can't get it back

    I accidentally pressed a button o please email but him undo the button disappeared and im trying to get it back.

    If you open a new paint document, immediately to the left of the words 'Untitled - paint' at the top of the window, there is a small arrow with a horizontal line above him down.  Click on that and then click Cancel in the list that appears and your cancel button should be back.

  • BlackBerry Smartphones disable / re - assign the lock button on top of device keys

    Hello

    I would appreciate your help please.  How can I disable or re - assign the lock button of the keys on the top of my 9320?

    Thank you

    Andy

    Hi, welcome to the Forums!

    You can't disable or re - assign keys on your 9320 lock, but you can on the "convenience keys", the buttons on the left and right of your device. Here's how: assign an application to a touch of comfort.

    See you soon!

  • How to set up the Cancel button?

    Hello

    I already have an adf with the next, previous, form submit, create operations etc... I need to add a Cancel button to allow the user to cancel/delete a create operation. Impossible to find such an operation in jdeveloper 12 c. Any help please? Thank you.

    You can delete the property off the restore button which, by default, looks like at #{! bindings.rollback.enabled}

    Thank you
    SAIF.

  • How can I customize the toolbar to display the Cancel button?

    Y at - it an equivalent of DW to the 'standard toolbar' in CFB2, because I'm looking for a way to put the most basic commands of the Undo/Redo/copy/paste editing and don't see a way to add them to a visible toolbar.  What I see is that I have to click on the Edit menu, and then select the order I want.  I'll be really disappointed if I can't include the basic like this on a toolbar commands.  Please don't tell me about shortcuts keyboard, I know they are there, but I would like to have the Visual buttons on my toolbar, too.  Record everything and Word Wrap would be another order I current have a toolbar of DW, but cannot see how to customize it in CFB2.  Am I missing something?

    I have news for you, some good, some bad, and somewhere, you can still help your cause.

    First of all, I note that I have raised this issue for you to RIAcon this weekend, when Hemant (Director of engineering for the CF and the BFC) spoke on CFB2. He agreed that the addition of the extra buttons for people who prefer what could be useful.

    I must admit, though, that I could not remember which key it was and thought it was a "BOLD". Someone pointed out that there is actually a bar of buttons for such things HTML (even if behind a tab, you have to notice and open). I think that may have then deflected the concern of Hemant for this.

    So I added here as a CC (don't know if he is a member of this forum. BTW, Hemant, if you're not, then no answer is not getting to the group, but if you add me in manually ([email protected]), I'll forward your answer if I do not appear in the forum.)

    And as I have noted, DCwebGuy - why don't people use first names in these forums? -you could and should at least raise this as a feature request. There may be others who are with you. The bugbase does support vote, and you could answer this note with your bug id to give it more publicity.

    Go (and not to be in a bad mood, but on the contrary speaking sincerely) when you say that you are a coder pure and hard, I think that there must be 'designer-like' features of DW that you like (well beyond this problem of click of a button) enough to bring you to prefer to stay here and not take advantage of many features in CFB who are NOT in DW. If this is not so, then maybe you don't see enough of what WMC can do for you.

    I'll tell you this: some features (like some elements of the fantastic code help) work only if you go the extra steps to log in to a server and things like that. If you don't do this, you will not see and enjoy these new and unique features has NOT of DW. Do you have at least seen demos or read the guides to fully appreciate what you give up? It is not "just another editor".

    But again, DW has certainly something that isn't the CFB (and may never), so she really different races for different people.

    Finally, if it was truly about shortcuts keyboard vs mouse clicks, I'll suggest that, at least with cancellations, ctrl-z is used in almost all applications out there, is not as if it was a burden to learn and use. It's a terrible way to end, I'm sure it sounds in a bad mood. Again, I don't want to say it. I'm just saying that I'm sure some reading of that would think, so if you went to answer feel free to do it for them - but please take a breath first, if it got up your blood pressure. And please do not shoot the Messenger.

    /Charlie

  • created by the script of a radio button. Need help on the Cancel button.

    Hello

    After you run this script, when I choose German, french or button of Italy and clicked on Cancel button, then window should be closed but it shows for example to alert respective 'German clicked u. "

    Thank you

    Marie rosine

    var win = new window ('dialog');

    win.alignChildren = 'left ';

    victory. German = win.add ('radiobutton', defined, 'German');

    victory. French = win.add ('radiobutton', defined, 'French');

    victory. Italy = win.add ('radiobutton', undefined, 'Italy');

    win.cancelBtn = win.add ("button", undefined, "Cancel");

    win.quitBtn = win.add ("button", undefined, "Ok");

    win.defaultElement = win.quitBtn;

    win.cancelElement = win.cancelBtn;

    victory. German.Value = true;

    win.quitBtn.onClick = function() {}

    end = 1;

    Win.Close ();

    }

    win.cancelBtn.onClick = function() {}

    end = 1;

    Win.Close ();

    }

    Win.Show ();

    If (win. German.Value is true)

    {

    Alert ('German clicked u')

    };

    If (win. French.Value is true)

    {

    Alert ('clicked u French')

    };

    If (win. Italy.Value is true)

    {

    Alert ('clicked u Italy')

    };

    var win = new Window ("dialog");
    win.alignChildren = "left";
    win.German = win.add ("radiobutton", undefined, "German");
    win.French = win.add ("radiobutton", undefined, "French");
    win.Italy = win.add ("radiobutton", undefined, "Italy");
    win.cancelBtn = win.add("button", undefined, "Cancel");
    win.quitBtn = win.add("button", undefined, "OK");
    win.defaultElement = win.quitBtn;
    win.cancelElement = win.cancelBtn;
    if (win.show() == 1){
     if (win.German.value == true)
     {
      alert ("u clicked German")
     };
     if (win.French.value == true)
     {
      alert ("u clicked French")
     };
     if (win.Italy.value == true)
     {
      alert ("u clicked Italy")
     };
    }
    

Maybe you are looking for