dialog_create_filebrowse marked as obsolete?

There is something new that we can use to create a filebrowser? It still works, but it's strange. In addition, it shows no extensions if they are not known. There is an error in the implementation (I use the code found at ""FileBrowse sample : native filebrowse aid and the dialog box Save in Cascades ' ").

Thanks for help.

Fred

Use this https://developer.blackberry.com/cascades/reference/bb__cascades__pickers__filepicker.html

Tags: BlackBerry Developers

Similar Questions

  • FormPoster class, obsolete?

    Hello

    I'm trying to use the FormPoster class in Fatwire 7.6.2 to allow users to download files,

    but in the documentation, I found that this class is obsolete in the JavaDoc, but not in the TagReference!

    JavaDoc:

    TagReference:

    Thus, it is obsolete? If this is not the case, do you know how to use it to download files using the addFile method?

    Kind regards

    Ghazi

    It seems to be a mistake that the reference of the tag does not FormPoster is out of date, the class com underlying FutureTense.Util.FormPoster is indeed marked as obsolete.

    Long apache httpclient has been introduced, but was not used by default, the code of FormPoster has always the actual work (I think it's around version 5.x). Become the default HttpClient then converted httpclient calls just got FormPoster calls. Again, this is true for all of the current versions of the Sites.

    It would be preferable to use httpclient, since FormPoster is deprecated can disappear. There is a section in the documentation for how we use httpclient, and how can you can configure within the Sites, see http://docs.oracle.com/cd/E29542_01/doc.1111/e35342/http_parameters.htm

    Phil

  • What is to remove all obsolete backups triggered in Oracle 11 g DB

    I have a question as to when removes all obsolete backups triggered in Oracle 11 g DB. We changed the retention policy RMAN for 10 days to 14 days in our facility. Is triggered manually by remove all obsolete QuickTime-> manage backups current OEM or is it automatically triggered whenever RMAN backup is done?

    Hopefully, my question is clear.

    Please get back with the answer to my query.

    Concerning

    975148 wrote:

    I have a question as to when removes all obsolete backups triggered in Oracle 11 g DB. We changed the retention policy RMAN for 10 days to 14 days in our facility. Is triggered manually by remove all obsolete QuickTime-> manage backups current OEM or is it automatically triggered whenever RMAN backup is done?

    Hopefully, my question is clear.

    Please get back with the answer to my query.

    Concerning

    First of all, I would never run my backups in OEM.  When the crisis comes to 02:00, I don't want to ever more parts to be involved in the recovery.

    Second, the only thing approaching a 'trigger' of deletion of backups is if your backups are in the FRA... rman will be, at the time of the execution of a backup... try to remove backups obsolete if necessary to free up space in the FRA.

    Other than that, oboslete backups are only deleted in response to a direct order to REMOVE OBSOLETE.  This command can optionally (as indicated by TigerDBA) includes a rule of the obsolescence of execution, or it may depend on the configuration stand.

    Another thing to note is that the backups are NOT marked as obsolete.  They are EVALUATED for obsolescence in response to a command DELETE OUTDATED or OBSOLETE REPORT.

    And one last thing to not is that any recovery has to start with a full backup.  It would be the most recent full-time (or level 0 incremental) backup before the point in time you need to recover.  This means that the most recent full-time (or level 0 incremental) backup will never considered as obsolete, no matter what age there.

  • 4.2.1 patch Set 14732511 - obsolete?

    I decided to patch finally our 4.2.0.00.27 facility APEX with the 4.2.1 group of hotfixes # 14732511

    However, on access to this group of hotfixes in MOS it is marked as obsolete and the option to download deleted with no link to another group of patches.

    Does anyone know if a new group of patches has been made available? The Group of patches was likely last updated February 6, 2013, when it was rendered obsolete.

    Published by: 971412 on April 24, 2013 12:01

    Hello

    I just checked on My Oracle Support and 4.2.1 APEX group of patches (#14732511) is available and can be downloaded successfully. So I could ask you try to retry the download and let me know how you get on?

    Kind regards
    Hilary

  • These are policies to vCO still obsolete?

    Hello!

    VMware has released the AMPQ Plugin for vCO:

    http://blogs.VMware.com/Orchestrator/2011/08/vCenter-Orchestrator-AMQP-plug-in-is-now-generally-available.html

    Appearently, it makes a lot of sense to use Orchestrator policies with this plugin (it is also mentioned in the examples).

    However, in the vCO Release Notes 4.1 policies are marked as obsolete:

    1812269.png

    So my question: is it still worth digging into the characteristics of policies?

    They are always not recommended?

    Thanks in advance!

    Kind regards

    Joerg

    Policies aren't going to be deprecated soon. They are certainly a great feature of vCO and new plug-ins will have the benefits of these.

    When the release notes were made there was the possibility that another product VMware would replace policies and call for the vCO. This possibility has not disappeared, but basic plugin triggers offers tight integration between vCO and the orchestrated product that are not available elsewhere.

    Christophe.

  • createElement does not support the inline style

    The createElement and call javascript call subsequent appendChild should accept the inline style attribute format. In the first example below five lines of code are necessary when the second example below create same uses of the element to the style inline format requires only a single line. In addition, it is necessary to know the names of different attributes when switching between the style formats.

    The goal should be to use the style inline with each item format. Any other use of style format should be discouraged and marked as obsolete.

    The inline style format supports compression of code "vertical" allowing all style attributes to be set on a single line of code.

     dataFrame = document.createElement("iframe");
     dataFrame.id = "plotFrame";
     dataFrame.name = "displayData";
     dataFrame.style.border = "1";
     dataFrame.style.top = "100px";
     dataFrame.style.left = "0px";
     dataFrame.style.width = "1100px";
     dataFrame.style.height = "730px";
     document.body.appendChild(dataFrame);
    
     //document.writeln("<iframe id='plotFrame' style='position:absolute; border:1; top:100px; left:100px; width:1100px; height:730px;'></iframe>");
    

    The best way is to use DOM methods to add items later and do not use writeln, because it may not always work correctly even if it is easier to write.

    You can probably still use setAttribute ("style", ""); to set all the rules of style for this iframe in a single line.

  • TDMS DLL

    Hello

    I'm reading a TDMS file in a Visual Studio C++ 2005 program.  I downloaded the http://ni.intellisurvey.com/run/2007codelicenseagree DLL and attempted to run the sample program: readfile.c

    I got an error when you try to open the file:-6211 described as "store could not be opened."

    This happens with my files and others I found on these forums.

    The call to open the test program uses is marked as obsolete in the header, so I changed it to use the new open call DDC_OpenFileEx() but got the same results.  I also tried to vary the arguments passing null, "TDMS" or "CT" for the type of file or from 0 / 1 for the readOnly flag without success.

    In my view, that I use the DLL correctly as calls to DDC_GetLibraryErrorDescription() work.

    I found that this problem has been reported on these forums before but did not have a solution:

    http://forums.NI.com/NI/board/message?board.ID=170&message.ID=286903&query.ID=86898#M286903

    Any ideas?

    I try to get the test program that came with the DLL to work.  I use Visual Studio C++ 2005 and didn't have to change a little so that it can work.

    This DLL works with Visual Studio 2005?  If someone got it works with Visual Studio 2005?

    Maybe there is something that I have configured incorrectly?  I don't know what it could be like this seems to call the DLL routines.  Maybe it's something to do with my environment?  I tried this on three different machines - all currently running Windows XP.

    I tried to reach my project, but it was too big.  What is the size limit here?  Is there somewhere else I could post it?

    Once again

    I do not know this bed the .tdms file program: it generates a valid .tdms_index (but returns zero for the file handle and the code of error-6211)
    I'm sure I'm setting up the open command with the correct file type - if I use "TDMS" generates a .tdms_index, if I use 'TDM' it generates a testdms.tdms.log with describing an exception and if I switch to something else I get an invalid argument error.

    Pointing correctly to testtdms.tdms the output is:

    Error: The storage could not be opened.
    End of the program, press the Enter key to exit

    I have advanced and attached the source code of the program updated the test.

  • Microsoft call people and ask for access to the computer unsolicited?

    I get repeated calls from this phone number 855-805-8326 claiming they are Microsoft and they should have access to my computer, so they can fix the reported problems, they have received. I hang up on them and they immediately remind me 2 - 3 times. This is the case on several occasions... and I'm sure it's a scam. Can a person check Microsoft this number and I would like to know if it's actually Microsoft or if Microsoft made even this non solicited? Thank you!!

    Hi John,.

    Please refer to the answer (answernot marked my obsolete) of bhringer here: http://answers.microsoft.com/en-us/protect/forum/mse-protect_scanning/recieved-eventvwr-cold-call/0f82d183-2046-469f-a2d2-8f9fa291f082#LastReply.

    Good luck and best wishes,

    Kosh

  • ?? Why "MenuItem (String, int, int)" deprecated in 1.3?

    This was annoys me but didn't really think to post so far, in the 1.3 version of the SDK, MenuItem (String, int, int) is marked as obsolete, but there is no other manufacturer for it, then why is it marked obsolete without another manufacturer? So basically in the "Problems" section, I have 'Problems' on all THE MenuItems as warnings for being obsolete, but I've got NO solution for it because there is no other visible manufacturer?

    In addition, in the "javadoc" for MenuItem, that's what it shows

    [QUOTE]

    net.rim.device.api.ui.MenuItem

    Represents an abstract menu item.

    Each element has an ordinal by specifying the sort order in the menu. A separator is automatically inserted between adjacent elements whose ordinals differ at least 0x00010000. Each item has a priority by specifying that one should be the default value. A lower value indicates a higher priority.

    Creating items menu with commands

    Since BlackBerry 6.0 API, you can use command framework API to create a menu item. The procedure is the following:

    1. Set the features to make using a CommandHandler. The order manager can be limited to your application, or can be registered is available to any application on the BlackBerry smartphone.
    2. On your screen, optionally specify the context of the menu item by calling setCommandContext(). The context may be required to determine what should be the command handler.
    3. Associate the menu item to a command by calling setCommand(). The command defines what to run when the menu item is selected by acting as a proxy to an instance of a class that extends a command handler. The command is executed only if there is no implementation of practicable. If the context is specified, it is passed to the command executes the method. Otherwise, this menu item is passed.

    Code example

     class MyUiScreen extends MainScreen
     {
         public MyUiScreen()
         {
           //...
           // Create MenuItem with command context
           MenuItem myItem = new MenuItem("My Menu Item", 110, 10);
           myItem.setCommandContext(new Object()
           {
               public String toString()
               {
                   return "My MenuItem Object";
               }
           });
           // Set command to be invoked by the MenuItem
           myItem.setCommand(new Command(new DialogCommandHandler()));
    
           addMenuItem(myItem);
         }
    
     // A CommandHandler implementation which will be executed unconditionally
     class DialogCommandHandler extends CommandHandler
     {
         public void execute(ReadOnlyCommandMetadata metadata, Object context)
         {
             Dialog.alert("Executing command for " + context.toString());
         }
     }
    

    Creating menu items by subclassing and by implementing Runnable

    If subclassing the extension class must implement the Runnable interface that supports in turn Expedition summary of actions from the menu during activation.

        ...
        // setup the menu items
        MenuItem item = new MyMenuItem();
        menu.addItem(item);
        ...
        class MyMenuItem extends MenuItem {
            MyMenuItem() {
                super(MyResourceBundle.getBundle(), MyResource.MY_MENU_ITEM, 0, 100);
            }
            public void run() {
                // do something
            }
        }
    

    [/ QUOTE]

    StringProvider: "Provides a string that can be changed. The most common use would be for locale changes. "If you hard-code the channels then it is useless, if you use a resource bundle then it is great because you simply provide the family resource and ID to the creation and the rest is handled internally.

  • popUp2 vs window.open

    Hi guys,.

    I'm developing windows pop up in my application. I see a lot of devs using window.open for this function. My old applications use rather popUp2 function. Both work fine, however I have not found any documentation on popUp2.

    The question is what is the differece between these methods and which is recommended to use?

    Thank you

    Elena

    PopUp2 is legacy.js:

    /**
    * @deprecated
    * @function
    * */
    function popUp2(pURL,pWidth,pHeight) {day = new Date();pName = day.getTime();html_PopUp(pURL,pName,pWidth,pHeight);}
    

    As you can see, it is marked with "obsolete", then you should not use it. It uses html_PopUp:

    /**
    * @deprecated Use apex.navigation.popup
    * @function
    * @param pURL
    * @param pName
    * @param pWidth
    * @param pHeight
    * @param pScroll
    * @param pResizable
    * @return {Window Object}
    * */
    function html_PopUp(pURL,pName,pWidth,pHeight,pScroll,pResizable)
    

    Also deprecated. Fortunately, it offers the alternative apex.navigation.popup

    Unfortunately, namespace navigation is not one described in the online documentation. It seems strange that popup.close could be documented, and not the logon method, but the file has no documentation either (again, even if it is the tag TODO).

    If you are uncomfortable with javascript, you can dive into the library file, found in the images folder: images\libraries\apex\navigation.js

    Here's what it does:

        /**
         * @TODO Add documentation
         *
         * @function popup
         * @memberOf apex.navigation
         */
        navigation.popup = function ( pOptions ) {
            var // Initialize default parameter values
                lOptions = $.extend( {
                                url:        "about:blank",
                                name:       "_blank",
                                width:      600,        //min value 100
                                height:     600,        //min value 100
                                scroll:     "yes",
                                resizable:  "yes",
                                toolbar:    "no",
                                location:   "no",
                                statusbar:  "no",
                                menubar:    "no" },
                                pOptions),
                // Open the new window with those parameters
                lWindow = window.open(
                    lOptions.url,
                    lOptions.name,
                    "toolbar="      + lOptions.toolbar      + "," +
                    "scrollbars="   + lOptions.scroll       + "," +
                    "location="     + lOptions.location     + "," +
                    "statusbar="    + lOptions.statusbar    + "," +
                    "menubar="      + lOptions.menubar      + "," +
                    "resizable="    + lOptions.resizable    + "," +
                    "width="        + lOptions.width        + "," +
                    "height="       + lOptions.height
                );
    
            if ( lWindow.opener === null ) {
                lWindow.opener = window.self;
            }
            lWindow.focus();
            return lWindow;
        }; //popup
    

    So how do you use it? Look at the lOptions object, and you know what parameters it can work with. A call for example for the popup would be:

    apex.navigation.popup({url: "f?p=500:1000", width: 500, height: 600, resizable: "no"});
    

    It is certainly more flexible than PopUp2!

    Also note that navigation.popup returns a reference of 'window' to the created window. You can store this reference to manipulate or something.

    Another interesting thing is that this call will set the variable "opener" on the window to the parent window. This allows you to use

    window.opener
    

    refer to the parent page.

    That's the difference. On those, it's reasonable to use apex.navigation.popup. If you want to use window.open, it's fine. They call them he and window.open is the native javascript of course method. But navigation.popup provides some additional features, unless you want to develop a second time or have very specific needs, it might be the way to go.

    Another option is by looking at the modal windows - but it depends on what you actually do on the indicated page. Modal windows with iframes of them can look very good, don't open additional tabs or windows and are not blocked by popups blockers. They feel more like an extension of the application only one pop-up window. You'll need some javascript wiz to use well. A good modal plugin page is the page modal plugin skillbuilders, something you can take a look at. There are many examples out there!

  • Best practices for adding form fillable form designer EULA &amp; forcing acceptance by the user

    What are created the best practices for adding a license agreement end user to a form with LiveCycle Designer. and to force the user to signify the acceptance of the EULA before access inside the form?

    Time, I have the kludged with a series of four message boxes (which is necessary because my LICENSE agreement, like most) is too long to fit in a single messageBox).  3 first message boxes have OK/Cancel buttons.  If the user clicks OK, she gets the following message EULA box; If she clicks cancel the form closes.  The last post (fourth) area a Yes/No buttons with the corresponding behavior.  It seems that the work (I think?), but it's ugly.  Is there an "easy way" to do it with a single drop-down dialog box "I agree" and "I refuse" custom buttons?

    I've seen references to Tools like this but they are marked as obsolete or abandoned due to security or other unspecified concerns.

    Best, Blake

    Another way might be, keep the form pages hidden at the beginning and only display a single page that has text box that contains the EULA with accept and refuse to scroll buttons. IF someone refuses, you can keep the rest of the hidden form or display message boxes to force acceptance of the EULA.

    If anyone agrees, you can simply hide the EULA page, and display form pages.

    I hope that used here too scripting required to reach it either.

  • Interactive PDF forms on iPad or iPhone

    Hello

    After that I upgraded to Acrobat Reader on the iPad interactive PDF forms no longer work on my device. All my calculations will not run. Does anyone have a solution for me?

    Thank you Carsten

    Hi Ana Maria,

    The FAQ documents that you listed in your answer above are marked as obsolete.

    The latest (15.x) version of the Acrobat Reader software for iOS only runs on iOS 8.

    Please see the following FAQ for Acrobat Reader for iOS version 15.0 or more recent.

    How to open PDF documents in Adobe Acrobat DC for iOS (iPad version)

    How to open PDF documents in Adobe Acrobat DC for iOS (iPhone version)

    Links to the FAQ documents are also available in the section frequently asked Questions of the forum FARM DC Reader/Acrobat for mobile (read-only) .

    Thank you.

  • can someone explain to me of retention of Rman and optimization policy on or off.

    1. What is the meaning of retention policy redendency 1 or 2?

    2 what is the meaning of the retention policy to retrieve the window?

    3. What is the meaning of optimization and what happens in this case and vice versa?

    4. If optimization is he going to consider read-only and offline table space?

    5. If optimization off is going to be considered read-only and offline table space?

    do not post any documents that I went through the box of documents that someone let me know in words simple or easy to understand for me... give me some examples of real time

    Thank you for your time and patience.   waiting for your answers...

    Thanks and greetings

    Pichon

    Hi Abhishek,

    (1) If you set the retention to redundancy 2 policy, RMAN will keep only two recent backup copies and it will mark the rest obsolete backup copies (which means no need for recovery)

    (2) If you set the retention policy to retrieve the window at 5 days, no matter how much you take, backups RMAN will keep the last backup of 5 days. And the backups before the last 5 days will be marked as obsolete. So that the two retention policies are different, which serve different purposes. We use according to our requirement.

    (3) optimization means determine the most effective way to carry out the instructions. When you turn on the backup optimization, all orders backup will skip backups of any file if it has not changed and she has already been saved on the allocated device type.  A file can be any file dbf, archived redo log or a RMAN "backup set". If you turn off your backup optimization, all files are backup no question that has already been taken.

    (4) if backup optimization is configured, RMAN ignores backups of data files offline and read-only if the most recent backups were made the or after the closest point in the recovery window

    (5) if backup optimization is not configured, RMAN will have all the backups, including read-only and offline tablespaces.

    Hope this helps!

    Kind regards

    Pradeep. V

  • Oracle database backup basics

    May I ask, from a point of view, low tech a little question on the backup/restore of Oracle databases. Are there tools commonly used for backup of Oracle database? And have you ever encounter the snowman DBA / other places you have worked to make bad backups? I'd like to hear horror stories about what can and will hurt in oracle database backups? It is a simple process, or wrong - this easy ens at the end and things / featuring data etc.?
    And the second part of the question is if you're looking for auditing oracle backup processes, that you are looking 'good evidence' that this is done in line with the policy /strategy?

    >

    Are there specific reasons why backups become unnecessary, i.e. what goes wrong, when it comes to restoration, it is not restore.

    There may be two reasons. One, for example, backups are accidentally deleted, partially or completely. Another way may be the backup is marked as obsolete due to the retention or some operations strategy as resetlogs who could not leave the backups in use.

    I was also wondering how easy it is perhaps "missing data" when planning a backup DB with RMAN? Is this possible? Have you ever seen do, and if so is there any 'specific' part of a database that is often overlooked during examination of what to plan for in the backup task?

    What do you mean by "missing data"? It would be possible if you don't take care of backups that you plan.

    Aman...

  • doubt window retention RMAN

    Hello, I have RMAN backup in the trail of backupsets on two nodes RAC 11 GR 2 on linux standard edition.
    RMAN> show all;
    
    using target database control file instead of recovery catalog
    RMAN configuration parameters for database with db_unique_name MGW are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 1 DAYS;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/snapcf_mgw2.f'; # default
    
    RMAN>
    And now I do not understand why RMAN is not delete backupsets that are older then 24 hours, even though I put
    CONFIGURE RETENTION POLICY TO RECOVERY OF 1 DAYS WINDOW.
    I have in my rman script that runs every day @ 23:00 this:
    backup as COMPRESSED BACKUPSET database FORMAT '/home/oracle/rman/%U' plus archivelog delete input;
    delete noprompt obsolete;
    And now I see in my rman backup folder, there is no backupset yesterdey 23:00 and also the day before yesterday 23:00.
    [oracle@data02 rman]$ ls -l
    total 51889864
    -rw-r----- 1 oracle asmadmin 26454474752 Jul 14 00:19 0bmhcc1s_1_1
    -rw-r----- 1 oracle asmadmin     1245184 Jul 14 00:19 0cmhcg84_1_1
    -rw-r----- 1 oracle asmadmin 26626334720 Jul 15 00:18 0fmhf0ep_1_1
    -rw-r----- 1 oracle asmadmin     1245184 Jul 15 00:18 0gmhf4ih_1_1
    -rw-r--r-- 1 oracle oinstall           0 Jul 14 16:52 aa_1_1
    I thoght that if I ran my script, rman today @ 23:00, as this will backup but also delete backup from the night before, because I put
    1-day retention.
    Can you please tell why I'm wrong in this?

    The RMAN retention policy is not just keep the specified number of days. She calculates the interval between the end of the current time and extends in time to the specified number of days.

    So, by example, if you set the retention policy backup on 1 day today. Then RMAN will keep backups for the 15 July, 16 July.
    Then, on July 17, the backup of July 15th will be null and void.

    I.e.

    Current date   Status                                 Recovery Point
    -----------------   ---------                                 ------------------------
    15th July        available                               15-1 = 14th July
    16th July        available                               16-1 = 15th July
    17th July        backup of 15th July obsolete  17-1 = 16th July
    
    So your backup for today wouldn't be marked as obsolete until the 17th July.
    

    5 setting up the RMAN environment

    However, if you have a fixed date of database then you should show the retention policy to redundancy instead of the recovery window.

    RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    

Maybe you are looking for

  • Program update unlocked Apple iPhone on AT &amp; T?

    Bought an iPhone with Apple update the AT & T network 7plus. Still, the phone is unlocked? I'll be able to simply drag a European sim card in the slot? Thank you

  • Pavilion dm1: HP Pavilion dm1 4020ew updates

    What is the most powerful processor can I place on HP Pavilion dm1 4020ew? Is - it possible to Exchange (upgrade) in this netbook processor? If the CPU is soldered (immutable)? Why isn't this information in the statement? At the moment it has AMD E-4

  • WLMM will not be read. MOV files

    A few weeks ago, I was still able to edit. MOV on WLMM files. But lately, will not read WLMM the. More the MOV files. What is the problem?

  • More recent emulator ripple to not cross-domain proxy

    My apologies if this question has already been answered, but I just took the time to install the last ripple emulator after much frustration with earlier versions... and now, after following these instructions to the 't', I still can't use the emulat

  • Not able to cancel page create without entering the required fields

    Hi allI am creating a custom page. I have a new folder creation Page. In this page the 3 fields are required. So I made these fields as required-> Yes. If the user clicks the Cancel button, it must navigate to the previous Page.But because of require