How can I get f:selectItem to do not be rendered (as his parent) ?

I've something like this :
<af:showDetailItem text="TEXT1" id="sdi123" rendered="#{is123Rendered}">
<f:subview id="sub123" rendered="#{is123Rendered}">
<jsp:include page="/tech/fragments/PROBLEM.jsff"/>
</f:subview>
</af:showDetailItem>
The idea is that if "is123Rendered" is true then this showDetailItem will be rendered, else it will be rendered elsewhere
So at the elsewhere place, I use the "same" af:showDetailItem/subview/include with another id and with rendered="#{not is123Rendered}"
It would be normal I get duplicates if rendered was true everywhere since the jsff is included 2 times
I've tried to replace rendered="#{not is123Rendered}" to rendered=false to be sure the problem does not come from the getter/variable
But it seems like f:selectItem does not care about the rendered attribute of his grand-grand-...-parent ... so I get this error :
java.lang.IllegalStateException: Duplicate component id: 'sH1:sub123:ttSGen:si1234', first used in tag: 'com.sun.faces.taglib.jsf_core.SelectItemTag'
In PROBLEM.jsff I've :
<af:selectOneChoice id="soc1234" value="#{something.output}" disabled="true" label="Select something">
<f:selectItem itemLabel="#{something.output}" itemValue="#{something.output}" id="si1234"/>
</af:selectOneChoice>
I've tried to comment/remove every selectOneChoice and then the page loads without any error.
It seems that f:selectItem are generating duplicates.
I've tried to put af:selectOneChoice rendered attribute to false, same problem.
f:selectItem does not have a rendered attribute ...
I'm thinking about using conditional JSP include instead of rendered attribute : http://forums.sun.com/thread.jspa?threadID=676322
But I'm not sure it's possible/elegant to to this using ADF.
Any idea ?
Thanks,
JP

Finally I've used :
<af:showDetailItem text="TEXT1" id="sdi123" rendered="#{is123Rendered}">
*<c:if test="${is123Rendered}">*
<f:subview id="sub123" rendered="#{is123Rendered}">
<jsp:include page="/tech/fragments/PROBLEM.jsff"/>
</f:subview>
*</c:if>*
</af:showDetailItem>
And now it's working.

Similar Messages

  • How can i get into my sons ipod touch since he forget his passcode?

    How can i get ito my sons ipod touch since he forgot his passcode??? need help

    If You Are Locked Out Or Have Forgotten Your Passcode
    iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    iOS- Understanding passcodes
         If you have forgotten your Restrictions code, then follow the instructions
         below but DO NOT restore any previous backup. If you do then you will
         simply be restoring the old Restrictions code you have forgotten. This
         same warning applies if you need to restore a clean system.
    A Complete Guide to Restore or Recover Your iDevice (if You Forget Your Passcode)
    If you need to restore your device or ff you cannot remember the passcode, then you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and re-sync the data from the device (or restore from a backup). If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present. Refer to Updating and restoring iPhone, iPad and iPod touch software.
    Try restoring the iOS device if backing up and erasing all content and settings doesn't resolve the issue. Using iTunes to restore iOS devices is part of standard isolation troubleshooting. Restoring your device will delete all data and content, including songs, videos, contacts, photos, and calendar information, and will restore all settings to their factory condition.
    Before restoring your iOS device, Apple recommends that you either sync with iTunes to transfer any purchases you have made, or back up new data (data acquired after your last sync). If you have movie rentals on the device, see iTunes Store movie rental usage rights in the United States before restoring.
    Follow these steps to restore your device:
         1. Verify that you are using the latest version of iTunes before attempting to update.
         2. Connect your device to your computer.
         3. Select your iPhone, iPad, or iPod touch when it appears in iTunes under Devices.
         4. Select the Summary tab.
         5. Select the Restore option.
         6. When prompted to back up your settings before restoring, select the Back Up
             option (see in the image below). If you have just backed up the device, it is not
             necessary to create another.
         7. Select the Restore option when iTunes prompts you (as long as you've backed up,
             you should not have to worry about restoring your iOS device).
         8. When the restore process has completed, the device restarts and displays the Apple
             logo while starting up:
               After a restore, the iOS device displays the "Connect to iTunes" screen. For updating
              to iOS 5 or later, follow the steps in the iOS Setup Assistant. For earlier versions of
              iOS, keep your device connected until the "Connect to iTunes" screen goes away or
              you see "iPhone is activated."
         9. The final step is to restore your device from a previous backup. If you do not have a
              backup to restore, then restore as New.
    If you are restoring to fix a forgotten Restrictions Code, then skip Step 9 and restore as New.

  • MP3 Player Auto Starts, How can I get it to load, but not Auto Start

    MP3 Player Auto Starts, How can I get it to load, but not
    Auto Start
    Jeff
    http://www.point1music.com/test

    How do you code it not to stream?
    stopAllSounds();
    stop();
    playlist = new XML();
    playlist.ignoreWhite = true;
    playlist.onLoad = function(success) {
    if (success) {
    _global.songname = [];
    _global.songband = [];
    _global.songfile = [];
    for (var i = 0; i<playlist.firstChild.childNodes.length;
    i++) {
    _global.songname
    = playlist.firstChild.childNodes.attributes.name;
    _global.songfile
    = playlist.firstChild.childNodes.attributes.file;
    trace(songname
    +" "+songfile);
    _root.createEmptyMovieClip("sound_mc", 1);
    _root.sound_mc.sound_obj = new Sound();
    _global.song_nr = random(songfile.length);
    _root.sound_mc.songStarter(songfile[song_nr],
    songname[song_nr]);
    MovieClip.prototype.songStarter = function(file, name) {
    this.sound_obj.loadSound(file, true);
    this.onEnterFrame = function() {
    if (this.sound_obj.position>0) {
    delete this.onEnterFrame;
    this._parent.display_txt.text = name;
    } else {
    this._parent.display_txt.text = "loading...";
    this.sound_obj.onSoundComplete = function() {
    (song_nr == songfiles.length-1) ? _global.song_nr=0 :
    _global.song_nr++;
    _root.sound_mc.songStarter(songfiles[song_nr],
    songname[song_nr]);
    btn_play.onRelease = function() {
    this._parent.sound_mc.songStarter(songfile[song_nr],
    songname[song_nr]);
    btn_stop.onRelease = function() {
    this._parent.sound_mc.sound_obj.stop();
    btn_fw.onRelease = function() {
    (song_nr == songfile.length-1) ? _global.song_nr=0 :
    _global.song_nr++;
    _root.sound_mc.songStarter(songfile[song_nr],
    songname[song_nr]);
    btn_rev.onRelease = function() {
    (song_nr == 0) ? _global.song_nr=songfile.length-1 :
    _global.song_nr--;
    _root.sound_mc.songStarter(songfile[song_nr],
    songname[song_nr]);
    playlist.load("playlist.xml");

  • HT1711 how can I get album tracks that do not properly download?

    I lost two tracks during download. How can I get them without rebuying?

    Welcome to the Apple Community.
    Try deleting the problematic file (electing to remove original file if/when prompted) and then re-downloading the file from the iTunes store.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option from the Quick Links section in the top right corner of the iTunes homepage in your iTunes application on your computer.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option at the bottom of the screen of the iTunes app (or video app) on your iOS device.
    If the problem re-occurs, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History using your computer.

  • How can I get started if I am not an advanced user but still want to config ATS660 external trigger?

    There r 2 groups VIs provided by the company: easy VIs and advanced VIs. And set external trigger VI is in the latter one. The manual indicates that only the person who r very familar with the ATSApi Application Programming Interface should attempt using the Advaced VIs. Unfortunately I am not that kind of advanced user. If I want to learn all these stuff(like how to call the VIs in correct order), how can I get started?
    I will be really appreciated if I can get some help here.  all I have now is the ATS660 User Manual and ATS-VI Software Manual. I wonder if there should be other useful manuals, like NI-DAQ user manual that can help to understand how to call/config the device in right order.
    Thank u in advance.
    Dyna----an eager learner

    ya, u r right. That was what happened to me.
    The company is Alazartech. This is a PCI waveform digitizer.
    I've visited the www.alazartech.com , and found no further info about how to call this subVIs in correct order. So I am asking here , hope that any one is familiar with this stuff.
    Anyway, thank u for ur reply.
    I will keep focusing here and expecting some replies.
    Dyna

  • How can i get past parchases.it is not in my libray

    can i get my past paechases i buy from the itune stors. thank you i neet help.

    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Note: Previously purchased music is only available through iTunes in the Cloud in Australia, Canada, Cypress, France, Ireland, Luxembourg, Malta, Mexico, New Zealand, Spain, the United Kingdom, and the United States. Previously purchased TV shows are only available through iTunes in the Cloud in the United States.

  • How can I get help with an app not working properly?

    I just bought a 'learn Gujarati' app and the sound is so low I can hardly hear it even with the sound control on the iPad turned up as high as it would go. I have only had the iPad a few months - present from children, and I LOVE it and want to make most of it, thanks, Chrissy

    FOR ASSISTANCE WITH ORDERS - iTUNES STORE CUSTOMER SERVICE
    For assistance with billing questions or other order inquiries, please refer to our online support page by clicking here: http://www.apple.com/support/itunes/store/. If you cannot find the answers you are seeking in our robust knowledge base, you can contact us by visiting the following URL http://www.apple.com/support/itunes/store/, clicking on the appropriate Customer Service topic, then using the contact button or email form at the bottom of the page. Responses to emails will be provided as soon as possible.
    Phone: 800-275-2273 How to reach a live person: Press 0 four times
    Hours of Operation: Mon-Fri: 9am-5pm ET
    Email: [email protected]
    How to report an issue with Your iTunes Store purchase
    http://support.apple.com/kb/HT1933
    How to Get a Refund from the App Store
    http://gizmodo.com/5886683/how-to-get-a-refund-from-the-app-store
    Canceling a Digital Subscription
    http://gadgetwise.blogs.nytimes.com/2011/10/14/qa-canceling-a-digital-subscripti on/
     Cheers, Tom

  • How can I get Safari to default to NOT be in full screen mode?

    I have looked in Preferences but don't see any such option.  I know that once I am in a session that I can go to View->Exit Full Screen, but I want the default when I open a session to not be full screen.  Would appreciate any and all help.

    Quit Safari while holding down the option key. Relaunch. Your home page, or an empty window, should open, depending on your preferences.
    If in full-screen mode, exit. If not in full-screen mode, enter. Quit and relaunch without holding any keys. You should get the same window in the same state as when you quit. Does that happen?

  • How can I get rid of email address not in use

    I have an email address which I used to set up my Apple ID. That address is now disabled so I have gone to my details and updated them to the new address. But I can't sign in to iCloud or update my apps as it keeps telling me to sign in using the now disabled email address. In iTunes I can change it to my new address, but not apps or iCloud. When I go to reset the password I am asked to change the password in my new address but that's not what I want to do. I've tried all the different passwords I can think of when using the old address but none work. Also I selected personal details rather than email as it would never get through, obviously, and so put in my birthday.  But they say my birthday date is not in their records!  What?  So I go to my details and there it is, in black and white, exactly what I was typing in! This is driving me insane. Is there any way I can delete my original, without having to put in the password for that ID?  I really hope someone can help me.  I did see a section somewhere which said did I want to delete an old email address but again, I had to put in the password for that email address and I DON'T HAVE IT!
    By the way, I am an OAP. So I would appreciate it if anyone who can help makes it easy to understand!  Many thanks.

    After you sign in with the old ID and are presented with the option to keep the information on the iPad, you should say yes to that. Then you should be able to delete the account on the device. After you delete the account, you can - or you should be able to - sign in with the new Apple ID.
    I tried these very same steps on my Pod Touch and it worked exactly the way that I'm describing. When you sign in again with the new ID, you will be given the option to merge Reminders, Bookmarks, Etc, with those in iCloud.com. I selected the option to merge all of the information. Nothing was duplicated and everything was exactly as it was before I deleted the iCloud account.
    So ... sign into your new ID in Settings>iTunes & App Store. Tap the old ID and sign out. Then sign in with the new ID. Then delete the old iCloud account like I explained above and then sign in with the new Apple ID, all of your purchased content and iCloud content should be good to go.

  • How can I get rid of tab groups (not a button, but the feature itself)? Hate it. Thank you.

    I would like to have just tabs without groups, visible all at once, as we had it in previous firefox versions. I don't see any instructions/options. Please help.

    To uninstall Ask Toolbar program from your computer,click the Start button, click on Control Panel,the select Uninstall a program. Search and uninstall Ask Toolbar Updater and Ask Toolbar from your computer.
    Next you want to uninstall Ask from Firefox:
    * At the top of the Firefox window, click the orange Firefox button, then select Add-ons.
    * Select the Extensions tab, then remove Ask Toolbar and any other unknown extensions from Mozilla Firefox.
    * To reset your search engine and homepage to their default, you can use the SearchReset extension.This add-on is very simple: on installation, it backs up and then resets your search preferences and home page to their default values, and then uninstalls itself. This affects the search bar, URL bar searches, and the home page.
    **https://addons.mozilla.org/en-US/firefox/addon/searchreset/
    You can also use [http://www.bleepingcomputer.com/download/adwcleaner/ ADWCleaner] to get rid of Ask's registry keys.
    Use the following scanners to make sure Ask is removed:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]

  • How can I get FF to stop hanging ('not responding') with javascript errors 13, 847 & 1000?

    I just wrote a long list of what I've done to check the situation and the info vanished when I looked lower on page. so to reiterate in condensed form-
    you name it I've done it over the past week including uninstalling and reinstalling from a new download after disabling addons and plugins. Sorry, but safemode cannot be located at all. Anti-virus checks.
    Machine is only two months old.
    Emptied caches, cookies, and history.
    Read knowledge base- good info -but didn't this problem yet.
    It happened with FF4 so dropped back to 3.6.15 and was updated to 3.6.16 , shortly after that surf city- hanging ten- or more time per hour.
    Tried live help but hanging kicked me out of line over and over again-was #1 in q for over an hour one day. Can't remember everything else and I'm getting frustrated

    hello, this is probably happening when you run the default profile with the -no-remote switch.
    http://kb.mozillazine.org/Profile_in_use

  • How can I get my .rx2 files to not be Unix Executables?

    I've never had any trouble importing rex files into Sperctrasonix RMX until today, when I bought some loops for RMX.The problem seems to be that they are showing up as Unix Executable files even though the extension is .rx2 on each file.  The icon is the usual gray box with "exec" on the upper left.
    Sage Converter will not accept them.  In "Get Info" I can choose from many app but I'm really telling the Finder to open all Unix Executables as ____.
    Any help would be greatly appreciated.
    Thanks,
    m o t o
    Latest Sage software update installed with RMX
    OSX 10.7.5

    You will need to try Recovery Mode.
    Read this: http://support.apple.com/kb/ht1808

  • All of my Internet Explorer addresses disappeared from my address book - how can I get them back (I do not use Outlook)??

    I just downloaded the newest version of Firefox (from 3.6 to 4.0). I went into my address book, and only a couple of names appeared - all the rest (groups and individuals) disappeared. I found them in an old version of Explorer. How do I copy and export them to Firefox (I don't use Outlook)?

    What happened when this change occurred? What is an "IDN update"?
    Can you provide a screenshot (suitably obfuscated) to demonstrate the "my name appears broken seemingly into columns" effect?
    I don't know of anything formally called a "group" in Thunderbird's address book, so any other words or names that appear might help here. For instance, my Address Book has mentions of Address Book Contact, Address Book and List. The "List" is perhaps the closest to the group concept used in other address book environments.
    Finally, what version of Thunderbird and what OS are you usng?

  • How can I get all bookmark folders displayed (Not just recent or most used) when I click on add bookmark?

    This mandatory comment is unneeded and stupid

    Hey!
    Choose the bookmark that you want to displayed and transfer them to "Bookmark Toolbar". You will able to see the bookmarks that you want to displayed.
    Did this fix the problem? Please report back to us!
    Thank you.

  • HT5625 I'm trying to create a new Apple ID but when I was putting on my information, there's a box asking for an ITunes gift code. What's this and how can I get one?

    I'm trying to create a new Apple ID but when I was putting on my information, there's a box asking for an ITunes gift code. What's this and how can I get one?

    You're not obligated to insert a gift code. But you can purchase gift codes on the Apple online store (gift cards or certificates) or Apple Retail store
    Gift codes are pre paid cards so you can use credit on the iTunes Store to purchase content
    To create apple ID without payment method:
    http://support.apple.com/kb/HT2534?viewlocale=pt_PT

Maybe you are looking for