Save button.
Hi experts jdev,.am on jdev 11.1.1.5.0 - adfbc - db10g of oracle.
I know that mandatory flag in OT. It's ok.
I do not want mandaory Pavilion.
instead.
for example:
EMP no: //here user doent entered in this field
Name of EMP: //here user is not entered in this field too
Save button
If the user click Save middle button. EMP no and Emp is not registered. Please enter the required details unless you can perform a save operation.
and do not commit anything in the dbtable. take this error until the user entered for the value.
How do this programtically. ?
Hello
Use of the extract below to validate and report errors programmatically.
And configure the validateMandatoryFields method in the ActionListener for your button Save.
public String validateMandatoryFields() {
FacesContext fc = FacesContext.getCurrentInstance();
String empNoEntered = (String) getEmpNo().getValue();
String empNameEntered = (String) getEmpName().getValue();
if(empNoEntered == null) {
UIComponent uIComponent;
uIComponent = empNo; // Typo mistake here... empNo holds the reference to the Input Text field Component.
FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_ERROR,
"Emp Number is not entered",
"please entered the mandatory details unless you can perform save operation");
fc.addMessage(uIComponent.getClientId(fc), message); // Associates the Message with the Emp No UI Component
((RichInputText)uIComponent).setValid(false); // On click of the Save button programmatically making the Valid state to false
return null;
}
// Other Processing
}
I would like to know if the solution above works for you
Kind regards
Hari
Published by: harikumarmpl on January 20, 2012 02:09
Tags: Java
Similar Questions
-
In the account settings my date of birth is incorrect (year) - I tried several times to fix it, but it keeps forcing me to reset my security instead of just answering q. No 'Save' button then tried just 'enter' or 'done'... once more, I get looped back to reset my Q & a I'll be ten years younger, if that's what Apple wants, but it should be fixable.
Contact Apple:
Contact Apple for assistance with the security of the Apple ID - Apple Support accounts
-
No. Save button in ff 38
When I go into options to change the setting of the page there is no record button click on when the operation is complete. so, how do save you changes?
There is no OK (Save) button on the subject: preferences as you page was in the window of Options/preferences of previously used independently when browser.preferences.instantApply is set to false (default on Windows).
Changes are applied immediately, as you can see if you open the topic: config page in a second window and make them all two visible.The prefs switched to the subject: #advanced under accessibility settings preferences are among the first accessibility prefs that appear at the top of the about: config page.
-
Tools-options-customize-disable 3rd party cookies window is great and save buttons at the bottom of the screen don't show up so I can't change anything or scroll, minimize the window somehow
Hello, please try to start firefox in safe mode - interferes probably an extension or theme...
Troubleshoot extensions, themes, and issues of hardware acceleration to resolve common problems of Firefox -
HP OfficeJet Pro 8600: Scan - disable the 'Save' button with MAC OS 'SIERRA '.
Hello world
I have an Officejet Pro 8600 installed in a Macbook pro.
After having upgraded to Mac OS Sierra (10.12) 'Save' button in the HP scanning software is now disabled when the save screen appears. Save documents are possible using the 'Test' option in the menu "Preferences".
It worked fine with the latest version of 'El Captain'.
I've searched for scanning HP new version for Mac OS Sierra, but nothing.
Someone has any idea how to solve this problem?
TKS in advance.
Hello
The HP scanning application is not compatible with Sierra, so you may experience problems.
Remove the HP scanning by moving it to the trash, then empty the trash.
Instead install HP Easy Scan below, it will be installed in the Applications folder:
http://FTP.HP.com/pub/softlib/software12/HP_Quick_Start/OSX/installations/Essentials/HP-easy-scan-1_7_0.pkg
If you experience additional problems, ensure that the latest version of the software is installed by following HP Easy Start below:
http://FTP.HP.com/pub/softlib/software12/HP_Quick_Start/OSX/applications/HP_Easy_Start.app.zip
Finally, make sure that your drivers are up-to-date by clicking the Apple icon, select about this Mac and then press on software update.
Click on the Bank on the menu bar, click Reload Page, click all update if an update is available.
Kind regards
Shlomi -
Why always alert the FF "Save button.js"?
Question
Firefox has issues with certain web sites
Description
Why FF always warns me that "you want to save button.js" when I visit some sites like http://techcrunch.com/?
URL of affected sites
Version of Firefox
3.5.9
Operating system
Windows XP
User Agent
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; RV:1.9.1.9) Gecko/20100315 Firefox/3.5.9 GTB7.0 (.NET CLR 3.5.30729)
Plugins installed
- -Shockwave Flash 10.0 r45
- Default plugin
- Adobe PDF plugin for Firefox and Netscape "9.3.2.
- The QuickTime Plugin allows you to display a wide variety of multimedia content in Web pages. For more information, see the Web of QuickTime site.
- 1.9.0009.1
- Google update
- 3.0.50106.0
- Google Updater pluginhttp: / /pack.google.com/
- DRM Netscape Object network
- Npdsplay dll
- DRM Netscape Plugin store
zhaiduo,
The header you information posted do not show the content type (MIME type) of file button.js.If the problem no longer appears on your Windows 7 machine, but it still exists on the Windows XP computer, clear cache in Firefox on the Windows XP-based computer, and then try again. See How to clear Firefox cache.
If the problem persists you might close Firefox and then rename the mimeTypes.rdf file in the Firefox profile folder XmimeTypes.rdf
This will generate a new mimeTypes.rdf when you reopen Firefox and that reset all Firefox download actions. Make sure that you rename the mimeTypes.rdf in the Firefox profile folder and not in the Firefox program folder. See article profiles - where Firefox stores your bookmarks, passwords and other user data to find the profile folder. -
HP Scan: HP SCAN save button does not work after upgrade OS Sierra 10.12
Just finished the upgarde 10.12 Sierra OS on my mac. When you use the software to SCAN HP with my Officejet Pro8600 more I can no longer save the scanned document. Scanning works fine, I can click on save in the file menu, but in the record window after entering a file name, I can't click on save button. Its a dull grey color.
Any help would be appreciated.
Hello
HP Scan is incomaptible with Sierra.
Go to the Applications folder move the HP Scan application to the trash and empty the trash.
Then install and use HP Easy Scan below:
https://iTunes.Apple.com/us/app/HP-easy-scan/id967004861?MT=12
Kind regards
Shlomi
-
The Save button has disappeared from the settings. What can I do?
the Save button has disappeared from my iPad settings. What can I do?
He probably disappeared. It's just hiding!
Navigation: Settings > iCloud > backup > Back Up Now
See you soon,.
Jacob
-
Lenovo ThinkPad X 220: No. Save button download printer driver
Hello
I have a new laptop to be used and I am trying to download the printer driver HP Laserjet M1120 MFP. I can find the driver on the HP site and go as far as the page "save under", but there is no button to push to save the driver on my laptop. I tried covering the page, using small fonts, etc, but cannot locate the button blessed record. Is it UST my pc behaving this way? Any help appreciated.
Thank you.
Sorted! My screen resolution was to blame, but after changing, I found him save button. All good now.
Thank you.
-
Dreamweaver CS6 save button grey
I have an ongoing problem with the button 'save' in Dreamweaver CS6 (new v12.0 build 5861) are still grayed out after a file has been modified. When I open the DW (or close and then reopen) all is well, but after some time (it varies) the button 'save' refuses to become active. CTRL + S still seems to run and save all button still works.
When the "Save" button will not activate, it also affects the update pages based on templates. When DW tries to update the pages, it is never past the first page and the only option is to stop the update. A restart of the DW brings everything back to life, but it is very frustrating.
Someone else comes across this and have a solution?
If DW is really weird, you might have a corrupted cache.
http://forums.Adobe.com/thread/494811
Nancy O.
-
Access cannot save button on my mac
I just downloaded the update a week ago and I can't save a pdf file open to my office on my IMAC. The Save button is grayed out. What should I do?
is it a question of dc acrobat?
-
Save button grey - cannot be saved in my computer.
I have adobe acrobat reader dc and the 'save' button is grayed. Any thoughts on how to save a PDF on my computer?
Hello
Try to save as Option to save the file on your machine.
Save as you would a dialog box to choose the location of the file and also you could change the name of the file if you wish.
Concerning
Sukrit diallo
-
How to hide the Save button in the Panel of af: query to ADF
Hello
I've used ADF af:query component and to hide the Save button.
Can someone help me please in the present.User, please tell us your jdev version!
Af: query a saveQueryMode aproperty value that you defined in hidden.
saveQueryMode="hidden"
Timo
-
Save button missing in the Audio edition
I use 6 Captivate. I want to change the audio on a couple of slides at once. My approach has been to select the first slide, I want to change and then press CTRL + click on the second slide. Then I go to the top of the screen and click on Audio > slide. The edit box appears and I can edit, but I can't save. I can't click anything else in the program selection until I record, so I have to stop the whole program, which makes me lose the work. Is there a better process for editing a few slides at once? Why did the "Save" button missing?
Hello
Greetings from Adobe.
Please try to recreate the preferences of Adobe Captivate 6. First close 6 Captivate.
For Windows -.
For Captivate 6 64 bit - go to the C drive > Program Files > Adobe > Adobe Captivate 6 x 64 > utils > run the CleanPreferencesWin.bat file by double-clicking it.
To Captivate 6 32 bit - go to C:\Program Files (x 86) \Adobe\Adobe Captivate 6 (32 bit) \utils > run the CleanPreferencesWin.bat file by double-clicking it.
For Mac OS- on Finder > go > go to folder > Type-~ / Library go to preferences and rename the Adobe Captivate 6.0 Adobe Captivate 6.0_oldfolder.
Launch 6 Captivate and try to edit audio on leaves.
Kind regards
Ajit
-
The 'Save' button disabled in create user form
Hi all
In OIM 11 g, I created few users and after that all of a sudden the Save button has been disabled and it is not allowing to create users
Could someone guide me on this issue please... :))
Thank you
KumarHave you tried with disconnection and again to connect
Or have you tried with the restart of the server.
If you don't try, just give a try.
All of these access is managed through authorization policies.
Maybe you are looking for
-
Satellite M305D-S4830 - the open fail - webcam & microphone Webcam driver does not work
I have a Satellite M305d-s4830.My PC operating system is Vista 64 bit. Cam and mic worked very well until one day the software assistant camera began to show a messagebox saying that: "Webcam driver open fail. Please restart the computer or the camer
-
Office Jet Pro 6830: Office Jet Pro 6830 slow scan or fax
I have been using this printer with mixed success. Initially it would scan and send faxes quickly. I have a set on my network IP address and is not into a power strip or backup power. I have the latest drivers, etc.. HP just released. However, give
-
Satellite A300 - installation of Windows XP
I need help for my recovery. The model is a Toshiba Satellite A300. To retrieve and recover Vista's partition E.I do Windows XP in the C partition. When I install my back I can'tWhen I install I get it back press kay F9 and it not install When I inst
-
migrate the t610 more windows embedded 2009 for windows embedded 7 how? the license?
my company bought some t610 customers more light hp but with WE2009 they want upgrade me the operating system to integrated W7. What they tell me, we use these thin clients to connect to the vmware with w7 session we don't need to pay 2 licenses. is
-
Why recurring status on orders always disabled, even when it is turned on?
Our recurring orders are indicating the recurring as being disabled state. It has always been activated and continues to generate new bills as it should.Why is this? Is it a kind of intuitive behavior that I don't understand?Kind regardsLe roy