Wdr:select_options and highlight Error Message with a Link to Inputfield
Hi,
I have created a InputField on a View using WDR_SELECT_OPTIONS. I want to validate this Input Field and give
Error Message, when User fill it with wrong Values. How can we achieve this and important is to mark it on Screen WITH a RED STAR. ( e.g. highlighted )
Thanks!
Best Regards
Beserithan Malabakan
I've not tried it with select options before, but you might wan to have a look at setting the REPORT_ATTRIBUTE_ERROR_MESSAGE method of the message object. This way the message gets attached to any UI element bound to the context attribute you issue the message for. But as I type this and think about it some more; I see where the problem lies. The Select Options component doesn't follow an approach of cross component context binding. It dynamically generates its own context.
If I had a little more time I would test this out; but it might be worth your while to research. When you initialize the Select-Options, you normally get access to the interface controller:
data: l_ref_cmp_usage type ref to if_wd_component_usage.
l_ref_cmp_usage = wd_this->wd_cpuse_select_options( ).
if l_ref_cmp_usage->has_active_component( ) is initial.
l_ref_cmp_usage->create_component( ).
endif.
* get a pointer to the interface controller of the select options
*component
wd_this->lv_wd_select_options =
wd_this->wd_cpifc_select_options( ).
* init the select screen
wd_this->lv_sel_handler =
wd_this->lv_wd_select_options->init_selection_screen( ).
This interface controller (LV_WD_SELECT_OPTIONS in my case). Has a GET_API method that returns the component controller. In turn you might be able to access the context of the Select-Options directly. Its a crazy idea, but worth a try.
Similar Messages
-
Displaying an error message with a link to the error field
By default, ADF validation usually displays an alert with an error message and a link to the error field.
I have some custom validations where I finally display the error message with this:
public static void MessageError(String messageText){
//String messageText="No se han encontrado estos datos";
FacesMessage fm = new FacesMessage(messageText);
* set the type of the message.
* Valid types: error, fatal,info,warning
fm.setSeverity(FacesMessage.SEVERITY_ERROR);
FacesContext context = FacesContext.getCurrentInstance();
context.addMessage(null, fm);
My customer is asking for displaying a link to the error field in this kind of error alerts as standard errors do.
Is there any way to get this ?Can't you include this in your message?
You may want to check Duncan's blog https://blogs.oracle.com/groundside/entry/get_more_from_your_messages whichgives more inside on what you can do
Timo -
Blank error message with ? appears and PDF does not open in Browser (IE11) when clicking link to open pdf. PC - IE11 Acrobat 9.0
Cannot access in browser PDF files unless blank box is closed and then website address is clicked on again in browser address bar and page reloaded.
Uninstalled Acrobat 9, reinstalled, still same problem.
Help please!Yes I can it only happens in the browser..
I reinstalled Windows on my machine and started over a couple of weeks ago.
When my desktop started up I didn’t have Acrobat installed and clicked on a pdf file and the open with xxx dialogue box came open.
I chose a different program as Acrobat wasn’t installed yet so it associated pdf files with another program.
Later Installed Acrobat and couldn’t associate the pdf file with acrobat so I went into Folder Options and manually associated PDF files with Acrobat.
Ever since then I get the error when something is downloaded and opened in the browser.
Works fine everywhere else and when I cancel the blank error, highlight the web address and press enter to reload it works 90% of the time.
Not sure what to do.. -
I replaced the hard drive to a 30gig on my Ipod 4th gen. click wheel but it is still not recognized on my computer or in itunes......I get an error message with a folder and "!"....what can I do to fix??
Have you recharge the battery for at least 2 hours, or just leave it connected for 4 hours?
(When you replaced the Hardisk, you should also replace the battery.)
Some other iPod SSD sites, says that you may have to format the CF in FAT32, as Mac dont read NTFS drive so if Windows is the 1st PC that your CF is connected, it may be formatted to NTFS.
You can try erasing the CF using Disk Utilty, so that Mac can recognise it. (but not Windows)
Have a nice day! -
Hi - Recently I put the latest update on my LT15i (4.1.B.0.587), after this I rooted the phone, and everything seemed okay. But since then I keep getting an error message with an offer to download the 4.1.B.0.587 update and the note: "installation not possible" (because it's already there). The news line on top shows a red exclamation mark all the time. It seems to me that it is due to this error that I cannot partition my SD card. Does anybody have an idea how to fix that? Thanks much in advance, and happy holidays - nerissa
Moved thread to Android development.
- Official Sony Xperia Support Staff
If you're new to our forums make sure that you have read our Discussion guidelines.
If you want to get in touch with the local support team for your country please visit our contact page. -
My mac book pro does not connect but shows an error message with a question mark on the screen.I took it to a retailer that said it was not reconizing the hard drive.He said i needed a new hard drive but it may be something else as well but he was sure a new hard drive would fix it.So putting faith in someone who deals with them i purchased a new hard drive to find it was still not working although he said the computer did know reconize the hard drive and i may have to send it away to get it checked .After already paying 120 pounds for a new hard drive and they wanting another 80.00 pounds to diagnose it i am a little sceptical.
That's why i am interested on anyone's help.Welcome to the Apple Support Communities
I think that your Mac detects your hard disk, but the problem is that your new hard disk doesn't contain any operating system, so your Mac doesn't find any bootable partition and you see a question mark.
If your Mac came with DVDs, insert the Mac OS X Install DVD and hold the C key while your Mac is starting. Then, just install Mac OS X. If the hard disk isn't prepared to install Mac OS X, you will have to erase it using "Mac OS Extended (Journaled)". See > http://pondini.org/OSX/DU1.html -
My iCal has frozen after I tried to paste info from an email into a reminder. I get a "server reports an error" message with what I tried to paste in the box. Calendar is frozen and will only close by forcing it. Any help?
Did another window open with the pasted information? If so, try hitting "enter/return" key and "delete" key at the same time. That should get rid of the current action on the ical, the extra window should go bye-bye, and all should be fine with the world.
-
I am having problems with my outlook 2011. While i am able to check and SEND email on all my other devices ( Ipad, iphone, Macbook), I am unablesend any email with my iMac ( i can recieve email) . This problem started suddenly and the error message i get is error 5.7.8. I have read the threads on line and went into settings, even created a new profile, nothing helps...Please advice..is this something to do with my keychain Access?
As Outlook is not an Apple product, you will find more helpers familiar with Outlook here:
Office for Mac forums -
I am unable to sync my iPhoto with my iPad and iPhone - error message (-50). All other syncs (mail iCal etc OK). Can anyone suggest a fix please ?
As Outlook is not an Apple product, you will find more helpers familiar with Outlook here:
Office for Mac forums -
my iphone 3g is in reset mode and i tunes will not reset. it pops an error message with no code. how can i get i tunes to rest my phone?
No need to Double Post... It is considered impolite.
https://discussions.apple.com/message/20652820#20652820 -
Have not used Itunes in a while and I cant access Itunes Store with out downloaded new version but I keep getting error message with download. Can I just access the Istore without downloading new version?
downloaded new version but I keep getting error message with download.
What does the error message say, andrea? (Precise text, please.) -
I tried to restore my iPhone 4s through iTunes and received error message that Restore could not be completed due to error 2003. Phone now not recognized in iTunes, with repeated prompts to restore phone. Now phone w/screen with iTunes symbol and USB cord can't use. It appears the phone has been restored, but I cannot activate it.
I disabled my anti-software, iTunes and computer software (microsoft vista) are both up to date, I restarted the computer several times. My usb ports are working properly. I followed the troubleshooting suggestions from apple.yes did you buy it of somebody or a well known company such as apple or carphone warehouse?
and i mean the phone would have been activated in the first place with the sim card you get given when you first get the phone.
trying to activate the phone with another sim card that you did not get when you brought the phone may result in you not being able to activate it
no worries -
Macbook pro two days old...bought logic from app store...logic has installed partly each time i open it up it wants to download rest of programme then stops half way thru and gets error message 'logic is unable to continue with download' help needed !
Hello:
I would trot back into the Apple store and have them fix the problem (or call Applecare with a warranty issue). There is no sense in you wasting your time trying to troubleshoot things on a new computer.
Barry -
great Problemes after installing Yosemite (10.10.2 ) with Photoshop CS6....The program crashes --last time 10 times during my work session..wacomtable doesnt work..it is slow...and get error messages about the graphic card....It s a Terror to work with my beloved Photoshop!
The Yosemite upgrade very often damages existing Photoshop installations. Thank Apple for that.
You need to uninstall and re-install Photoshop, then apply all the Photoshop upgrades from scratch.
But first, give us details about your setup:
BOILERPLATE TEXT:
Note that this is boilerplate text.
If you give complete and detailed information about your setup and the issue at hand,
such as your platform (Mac or Win),
exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
your settings in Photoshop > Preference > Performance
the type of file you were working on,
machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
what troubleshooting steps you have taken so far,
what error message(s) you receive,
if having issues opening raw files also the exact camera make and model that generated them,
if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
A screen shot of your settings or of the image could be very helpful too,
etc.,
someone may be able to help you (not necessarily this poster, who is not a Windows user).
Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
http://forums.adobe.com/thread/419981?tstart=0
Thanks! -
I purchased the TV FRIENDS in HD on iTunes (the iTunes store stated with every HD purchase you get the SD version as well) and want to download on my I Pod Classic and get error message the I POD can not play this video. How do I download?
I see there's no answer.
This issue has ****** me off for a long time, and I am fed the **** up with it.
I DO NOT WANT TO DOWNLOAD the Movies and TV shows to every *^&%^$%# Apple device, ONLY the MUSIC!!!
COme on Apple!!! FIx this!!!
Maybe you are looking for
-
E71 GPS Stopped Working After 3.03 (10wk11) Instal...
Had I known attempting this Map update would blow out my GPS, I wouldn't have done it. My current software version in my Straight Talk E71 is 500.21.009. I am a Mac user. I downloaded this file in hopes of updating my GPS Map software: nokia_maps_3
-
Type incompatibility between two structures in data type
hi I have two structures, x_autwr and y_autwr, here the problem is data type of x_autwr is CURR ,15 and y_autwr is DEC, 23. now when I write x_autwr = y_autwr it gives an errornous data, for eg if the value of Y-autwr is 2000.0000, it transforms to x
-
I am looking for help in migrating some tables from our old sybase database on vax vms to oracle 8i database on windows 2000. can somebody please help me out on the best way to do this. Migration workbench is ruled out as the version of sybase is not
-
Does a 12" PowerBook have a PRAM battery on the logic board?
We got an 867MHz 12" Aluminum PowerBook in today that doesn't seem to want to hold PRAM values any longer than 5 minutes. It doesn't seem to matter if it's plugged in and using the AC adapter as the source or the battery (as long as it's charged, of
-
Every time i try to transfer or copy music into my slideshow but generic error comes up ?
@