The itemValue of the selectOneMenu Do Not Show Up in Browser
I am creating a dropdown menu and users can make only one selection from the menu. I do not have compilation problem. And I am able to see a drop-down in the browser window. Except that when I click on the downward arrow of the dropdown, I see a "blank". All the itemValue that I hard coded in my JSP in the menu do not show up. What was my problem?
My JSP:
<af:form>
<h:selectOneMenu value="#{eaGenerateWordDocHandler.supportingLevel}" style="width:50px">
<f:selectItem itemValue="0"/>
<f:selectItem itemValue="1"/>
<f:selectItem itemValue="2"/>
<f:selectItem itemValue="3"/>
<f:selectItem itemValue="4"/>
</h:selectOneMenu>
</af:form>
.......EaGenerateWordDocHandler.java has the getter and the setter:
String supportingLevel = null;
int level = 0;
public int getSupportingLevel() {
String tmpSupportingLevel = getRequest().getParameter("supportingLevel");
if ( tmpSupportingLevel != null && !tmpSupportingLevel.equals("")){
level = Integer.parseInt( tmpSupportingLevel );
}else{
level = 0;
return level;
public void setSupportingLevel(String supportingLevel) {
this.supportingLevel = supportingLevel;
}faces-config.xml:
<managed-bean>
<managed-bean-name>eaGenerateWordDocHandler</managed-bean-name>
<managed-bean-class>CompanyName.webapp.action.EaGenerateWordDocHandler</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
...
Can you try adding itemLabel attribute to f:selectItem.
<f:selectItem itemValue="0" itemLabel="0"/>
Similar Messages
-
I am trying to softproof an image using a CMYK .icc file. I sent an image from LR 5 to PS CC 2014, opened the Camera Raw FIlter, but the hyperlink to access workflow is not showing up in the CR dialogue box... Any ideas why this might be?
I am trying to softproof an image using a CMYK .icc file. I sent an image from LR 5 to PS CC 2014, opened the Camera Raw FIlter, but the hyperlink to access workflow is not showing up in the CR dialogue box... Any ideas why this might be?
-
I have 100's of CDs that I have downloaded to my itunes library and they are in the library playable but they do not show up in the C drive under the iTunes Music folder under users. Why are they in the libary and not in the itunes music folder. Win 7 OS. When I look in the library under the get info screen it says they are in the folder itunes music, under the c: drive but when I actually go to that folder to look for them they are not there....HELP!
Hello RumDog,
I think this article will help you find the media in your library.
Where are my iTunes files located?
http://support.apple.com/kb/ht1391
Discovering and changing the iTunes Media folder location
Note: You would usually only change the iTunes Media folder location to share music between accounts on the same computer. See this article for specific steps on how to accomplish this. Also, see this article if you want to know how to move your music to a new computer.
Mac OS X: Click the iTunes menu and choose Preferences.
Windows: Click the Edit menu and choose Preferences.
Click the Advanced pane. iTunes displays the location of your iTunes Media folder.
You can then:
Note where your media folder is, such as for backing up your media.
Use the Reset button to reset it's location to the default (which is the iTunes folder).
Click the Change button to select a folder for a new location. Once you change this location:
If you make a new or alternate iTunes library, the new location will be used by that library.
Existing files will not be moved unless you choose File > Library > Organize library and choose the option to "Consolidate files."
From: Where are my iTunes files located?
http://support.apple.com/kb/ht1391
Cheers,
Sterling -
How do I transfer music from an external hard drive to my itunes on my mac? I have put the files into the itunes media, but they are not showing up in iTunes!
Hi, did you try iTunes>File>Import?
-
When I connect my ipod to computer and open itunes, the songs on my ipod do not show up on the itunes library...it is blank...songs are still on my ipod but don't seem to show up on computer..help??
Download this for getting media off your ipod!http://www.macupdate.com/app/mac/19890/ipoddisk
Hope this helped! -
HT1451 Why do the song names and cd name not show up on the IPod Shuffle?
Why do the song names and cd name not show up on the Shuffle?
MysticChyk wrote:
Why do the song names and cd name not show up on the Shuffle?
Err this is no longer April 1st you know.
The iPod Shuffle has never had a 'display' on which track names can be shown. See http://www.apple.com/ipod-shuffle/ if you want an iPod which does have a display on which you can see the tracks names and even the album cover art then look instead at the bigger and more expensive iPod Nano http://www.apple.com/ipod-nano/ or iPod Touch http://www.apple.com/ipod-touch/
PS. The current iPod Shuffle even though it has no display on which it can show the track names can read them out loud to you using a voice-synthesiser this is the VoiceOver feature described on the iPod Shuffle product page I listed above. -
My MacBook Pro was stolen last night. I need the serial number. It is not showing up on my devices list. My iPads and iPhones are. I have used it to to sync my phones and pads as well having it registered with apple. Any thoughts? Thanks
Click here: https://supportprofile.apple.com/MySupportProfile.do
SIgn in with your Apple ID, the same one you used to access this support forum.
Hopefully, you will see a list of all the devices you registered with your Apple ID, including their serial numbers. Let me know how this works out.
Edit to add: If you enabled "find my imac" on your Pro, you ought to be able to remotely lock it, or even wipe its memory. Click http://www.icloud.com/ sign in with your Apple ID and click the big green "find my iPhone" icon (nevermind the name, it will find all your devices provided they're running Lion or iOS 5).
Then file a police report and nail the b*****d. -
I purchased a movie on the AppleTV 2 but it is not showing up in iTunes on my desktop computer. How can I sync? (have lastest version of iTunes and ATV2 software)
Of course it always works, what are you talking about.
I appreciate that re-downloading is only available in the US and then only with certain content. However content that cannot be re-downloaded is not offered for purchase on the Apple TV. -
The report I published on the SQL server report server is not showing in the application we use to retrieve reports. My cell phone number is {removed}
Thanks.Hello Roger Tenn,
Thank you for posting in the TechNet Forum.
As this issue is related to SQL server report server, to receive better report, it is recommended to ask in the SQL server forum.
https://social.technet.microsoft.com/Forums/en-US/home?category=sqlserver
The professionals here will be glad to help you.
Best regards,
Fangzhou CHEN
Fangzhou CHEN
TechNet Community Support -
The names of my contacts are not showing up when I receive text messages
The names of my contacts are not showing up when I receive text messages, only the number is showing up. How can I fix this?
This is a HUGE iOS bug.. Following a tip from another poster, I was able to fix the issue (temporarily).
This worked for me on Verizon.
I dialed *228 on my Verizon phone. I pressed "1" to activate it over the air. I then went into task manager and killed all the running apps.. Waited a few minutes.
The next text I got displayed the number correctly!.. Until I rebooted, that is.
PLEASE, call Apple and speak with a senior engineer on this. They can't fix it if they don't know it's a problem! (800) MY-IPHONE -
I have a honda civic with USB port which allows play back of my old iPhone 4 and 4s. With the new iPhone 5 the radio shows the phone is conected but does not show any music content. Any Suggestions?
You should be syncing your contacts with an app on your computer or cloud service (iCloud, Gmail, Yahoo, etc), and not relying on a backup. If you haven't been doing this, start now and then restore your old backup. You will then be able to sync the new contacts back into the phone. However, you will lose all messages, etc newer thant the backup.
-
I tried to rename a file, it gave me an error message (can't remember the number - 43??) and then the file disappeared from the original folder. When I do a search, the file comes up under the new name, but it does not show a path, and even though preview shows the contents, I can't open the document (Powerpoint) and I can't move the document. I tried "Copy" and paste but it doesn't work. I tried "Share" with Airdrop and iChat, but the file is inaccessible. When i try to rename the file, it says the filename is too long.
When I try to open it, it says the alias is not good, and asks if I want to fix the alias. I'm afraid to do that and lose all access to this document.
Right now, it feels like a ghost document - it is on the computer intact, but it is in an undisclosed location and inaccessible.
Please help!!I was able to resolve this by repairing permissions, even though no permissions error was listed specifically for that file.
I could also have recovered it through Time Machine, but I'm interested in knowing how not to have this happen again!
I was afraid of rebooting and possibly losing track even of the ghost.
I did not try EasyFind - I'll keep that in mind next time.
Thanks for all the comments. -
I had to format the C drive recently. I have reinstalled iTunes but I am unable to add anything other than music, TV shows and movies to the iTunes library. It is not showing any option to add podcasts, books, photos or apps. These things are available on my iPhone but are no longer there in the iTunes library. Please help.
In iTunes go to general preferences and check the boxes for those you wish to see in the library.
-
I just bought a new Retina Display macbook pro, and I plugged in my iPod touch (4th gen) into the new computer, but it will not show up, even after I typed in the passcode. How do I get my iTouch to sync with my new computer without restoring my itouch?
iOS: Device not recognized in iTunes for Mac OS X
-
I upgraded to a 4g and the most recent backup (today) is not showing up. The most recent backup that showed was 3/3/12. I went ahead and backed up to that date and found that my texts, phone calls and messages are the part that did not backup.
Can anyone tell me 1) why my most recent backup did not show in ITunes, 2) why I could not backup using the Cloud (I tried this way first), 3) how I can get all the phone calls, messages and texts from 3/3/12 until today? Please help if you can...thanks!I found the answer on:
transferring Txt messages from old phone to new iphone 4
It worked great!
Maybe you are looking for
-
I keep getting told my browser needs updating and it doesn't work right on some websites. I have had unhappy experiences in the past trying to update Apple OS and Firefox due to compatibility issues. I suppose I could switch to Safari but I have been
-
File locked message when saving a file with Photoshop
We've been seeing a problem with several users that is hard to reproduce. Every once in a while when they try to save a file in Photoshop on the server they get a dialogue saying 'the file is locked, use Finder info to unlock the file'. This file is
-
How Do I Share Music From My Mac to My Android Cellphone
Got an Android LG Volt cell, anyone know how I can share music from my Mac to it? Every time I connect the phone by USB cable, it charges it, but the phone never shows up on the desktop or in finder. I can't figure out how to give it some music. Even
-
Hello All, I would like to know, Is it possible to generate a billing document from the system without a sales order or a delivery. If so how can i do that because my client wants to be able to generate an invoice for their customer without having a
-
Return value of request.getParameter()
Is the value returned by request.getParameter() always decoded? I tested with Tomcat on Firefox/IE and it looks like the answer is yes, although I don't find any relevant information in the Servlet API doc. So no need to use URLDecode to decode param