I want to force the user to select values from a popped up window if no value is provided for the relevant field when trying to save (for instance saving a contact) in xaf web application? How can this be achieved?
1
There are 1 answers
Related Questions in C#
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in XAF
- Can't get XAF/XPO association working as expected
- XafariMultipleLookupPropertyEditor Cannot convert XPCollection to XPCollection'1
- XAF WebApi- google oauth2
- Requested object is not found and cannot be processed. When entering detail view of XAF NonPersistant object
- XAF send server side values before client side execute save command
- Timeout expired. XAF .Net6 Winforms Entity Framework Core
- Binary format of the specified custom attribute was invalid. XAF Update Model. CustomAttributeFormatException
- I'm creating a Xaf application using Devexpress. I am using both windows and blazor. My code works in Windows app but not in Blazor app
- Prevent auto-saving collections in EF XAF
- Dialogue msg after clicking on save button xaf
- FreeRTOS error occurring in Xtensa IDE for HiFi_5
- How to diagnose a unmanaged memory leak in a .NET application
- Disabled fields when including detail editor
- Devexpress XAF. How can I close View after Application.ShowViewStrategy.ShowMessage durations ends?
- related to question: show message after a successful record saving
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
With the XAF framework you can achieve most things, but it depends how much you want to fight with it.
The XAF way is to use the validation module and to add a
RuleRequiredFieldto your property (documentation). Then when a user presses save an error message will appear and the relevant field will be focused. After the user has fixed the offending field, they can click save again. Not exactly what you describe but it works very well. Something like this:Any reference field in edit mode can appear as a popup window. There are various alternatives for reference property editors all documented here and in your case you can control which type of editor appears (
ASPxLookupFindEditwhich is a popup window orASPxLookupDropDownEditwhich is a drop down) via the model.If you are set on a popup appearing after pressing Save, then you would have to override the behaviour in the
WebModificationsController. There is some documentation here. It would be a feasible change, but if you are not experienced with XAF I would recommend sticking with the validation rule.