Dynamic rendered component doesn't appear in source file! How to get hold

I have three select components on my page, the 1st one is selectOneRadio2, the 2nd one is selectManyCheckbox1, and the 3rd one is selectOneRadio3. The selectManayCheckbox1 and selectOneRadio3 do not display at the same time. Their rendered properties are dynamically set in the managed bean depending on the choice of the selectOneRadio2. It toggles between those two components just fine when I set the rendered property in the managed bean dynamically in a value change event, however when I tried to retrive the value from the 3rd component selectOneRadio3 which was not rendered initially (or by default), I get nothing. When I viewed the source file after the component is rendered on the page, that component is not in the source file at all, and I saw the default rendered 2nd component (selectManyCheckbox1) instead!!! How can I get hold of the later rendered component (selectOneRadio3)???
<tr:selectOneRadio value="#{bindings.expenseTypeList1.inputValue}"
label="Expense Type"
binding="#{backing_eef_expense.selectOneRadio2}"
id="selectOneRadio2"
valueChangeListener="#{backing_eef_expense.expenseTypeChange}"
autoSubmit="true">
<f:selectItems value="#{bindings.expenseTypeList1.items}"
binding="#{backing_eef_expense.selectItems2}"
id="selectItems2"/>
</tr:selectOneRadio>
<tr:panelGroupLayout binding="#{backing_eef_expense.panelGroupLayout3}"
id="panelGroupLayout3"
partialTriggers="selectOneRadio2">
<tr:selectManyCheckbox label="Multi Choice"
rendered="#{backing_eef_expense.renderMultiChoice}"
binding="#{backing_eef_expense.selectManyCheckbox1}"
id="selectManyCheckbox1"
valuePassThru="true">
<f:selectItems binding="#{backing_eef_expense.selectItems4}"
id="selectItems4"
value="#{backing_eef_expense.itemList2}"/>
</tr:selectManyCheckbox>
</tr:panelGroupLayout>
<tr:panelGroupLayout binding="#{backing_eef_expense.panelGroupLayout4}"
id="panelGroupLayout4"
partialTriggers="selectOneRadio2">
<tr:selectOneRadio label="Single Choice"
rendered="#{!backing_eef_expense.renderMultiChoice}"
binding="#{backing_eef_expense.selectOneRadio3}"
id="selectOneRadio3" valuePassThru="true">
<f:selectItems binding="#{backing_eef_expense.selectItems3}"
id="selectItems3"
value="#{backing_eef_expense.itemList2}"/>
</tr:selectOneRadio>
</tr:panelGroupLayout>
I use Trinidad components because it's a migrated application from 10g to 11g. I'm using 11g now.
Edited by: SophiaM on Feb 3, 2011 10:23 AM

Hi Joonas, Thank you for your replay. I don't know the answer to your question.
First, I have no idea if that will cause any problem, or the libraries would have conflict or not if I use both within the same application. We are very careful about that becaue we had a lot trouble when we did the migration. A LOT of things were broken after the migration and some of the issues were caused by conflict on libraries. That's why although I am creating new pages in the application, I still carefully stay with Trinidad components.
Second, out of curiosity from your suggestion, I tried to add ADF library and technology into my project, I still don't see the ADF components avaiable in my Component Palette panel, even after I restarted JDeveloper. So I don't know how to switch it even if I dare.
I just read something like this, seems apply to my situation:
Your correct in the fact that rendered=false is useless. However, that is not how it's typically used. Typically this will be bound to a backing bean which will allow you to turn the component on/off. You should use a hidden input field and a switcher if you need to keep the value in the form submission. Adam is totally correct in that it will break a bunch of stuff if we all of a sudden just "turned it on" because people have come to expect the current behavior.
Do you know what a switcher is?

Similar Messages

  • Oracle Linux 6.6 I tried to edit the /etc/resplv.conf file on nano, gedit and VI but the result doesn't appear on the file when I cat it

    Oracle Linux 6.6 I tried to edit the /etc/resplv.conf file on nano, gedit and VI but the result doesn't appear on the file when I cat it

    Hi ! do you mean the file /etc/resolv.conf ? This file should be by default in the /etc/ diretory and contains the dns-name resolutions. http://linux.die.net/man/5/resolv.conf http://www.tldp.org/LDP/nag/node84.html http://en.wikipedia.org/wiki/Resolv.conf

  • Mavericks doesn't appear in application folder, how can I get it there?

    Mavericks doesn't appear in application folder, how can I get it there?
    It is downloaded. I can see it in Launchpad, when I click on it will open en start the installation, but that's not what I want, I want to have the program in the application folder. I hope someone knows how?

    Click the installer in Launchbar so it opens, don't proceed with the installation!
    Look in your Dock for the installers Application icon.
    Command+Click this icon in the Dock
    A Finder window should appear with the installer selected, you can 'Get Info' on that item to see the full file path to work out where it is, or enable the 'Path bar' in Finder's view menu, that also shows the folder path to the selected item.
    If you are hoping to install 10.9 on another Mac you may find it is best to create a bootable installer on a USB disk…
    http://diskmakerx.com/
    Or use Apple's instructions…
    Create a bootable installer for OS X Mavericks or Yosemite - Apple Support

  • HT1473 I'm trying to add thousands of songs to my iTunes library at once but the option to add folder doesn't appear in my file menu.  Adding these songs one at a time is not an option.  Someone pls help!!!

    I'm trying to add thousands of songs to my iTunes library at once but the option to add folder doesn't appear in my file menu.  Adding these songs one at a time is not an option.  Someone pls help!!!

    Turn on the menus and it will appear.
    Cntrl + B to enable menus.

  • Mac OSX 10.9.2 - Starting Editor error 6 appears - says to reinstall - how to get .dgm file?

    Mac OSX 10.9.2 - Starting Editor error 6 appears - says to reinstall - how to get .dgm file?

    Before re-installing, try trashing the prefs and re-launching. Start by quitting PSE11.
    Launch Finder and click the Go menu whilst holding down the Option (alt) key. Then go to Library >> Preferences and clear everything relating to PSE11 which usually means deleting the following files:
    com.adobe.PhotoshopElements.plist
    Adobe Photoshop Elements 11 Paths
    Adobe Photoshop Elements 11 Settings
    If trashing the prefs makes no difference you can download a replacement for PSE11 at the link below.
    http://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-10-11-downloads.html

  • All Fields of data source doesn't appearing in source field of transf

    Hi all Bi experts,
    I am working on converting our OLD bw flow (3.x) into new BI7.0 flow.
    when I am trying to crate transformation from the context menu of data source I am not getting all fiels which are available at data source level.At data source level I have 13 fields.but I am getting only 11 in transformation.
    After analysing our Old flow (3.x) I found that the fields whicha re not appearing are the fields which are not mapped in transfer rules or made to constant
    thanks in advance
    Edited by: santosh  kumar on Nov 26, 2008 8:38 PM

    Hi Santosh
    If there are fields which are present in datasource on BI side but they do not appear in transformation, then make sure that all the fields are checked as "Transfer" in the datasource maintenance.
    By default all the fields are checked as "Transfer" but there are cases were at times the fields are not marked as checked for "Transfer". So u need to manually check them.
    Hope this should solve ur problem.
    Regards
    Gaurav.

  • How to find dynamically the current line number in the source file

    Is there a mechanism like __LINE__ and __FILE__ macro in C to get dynamically
    the current line number and file name of a source file?

    Don't know - but others have asked too. Have you searched the forum? For example:
    http://forum.java.sun.com/thread.jsp?forum=31&thread=210496

  • Downloaded incompatible app that says is installed on iTunes but doesn't appear on iPad. How to uninstall?

    Ended up accidentally installing Monster Hunter on my iPad and now I can't delete it from iTunes since the icon is blank. On iTunes it says it's been installed but doesn't appear anywhere on my iPad. I've checked in the Usage and used third party software to try and find it. How do I uninstall it from iTunes so it says it's not downloaded anymore?

    If you connect the iPad to your computer's iTunes and select its Apps tab, then in the listbox of apps what does the button next to that app say ? If 'remove' click on the button and it should change to 'will remove', and then click the 'apply' button bottom right of the screen to remove it. Or if you find the app in the screen mockups on that Apps tab and hover your mouse pointer over the app, does it get an 'x' on its top left corner for deleting it ?
    Or, and if you haven't already done it, then you could try a soft-reset and see if you can delete it directly on the iPad after the iPad has restarted : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • A line appeared in the backdrop, how to get rid of it?  (and how did it get there?)

    the site was published and everything looked great, except we had to make several changes to the content and somehow along the way a line appeared on the master page (hence appearing on all pages).  i can't figure out how to get rid of it, and it's driving me nuts.  any advice would be much appreciated.
    thank you in advance for you help!

    Hello,
    Are you talking about the Shadow effect on the page : http://trainingwebcom.worldsecuresystems.com/SachinFTP/2013-12-05_1415.png
    Or is it about the line on the homepage : http://trainingwebcom.worldsecuresystems.com/SachinFTP/2013-12-05_1416.png
    In case it is about the shadow, please go to Master page, click on some blank area and check in the toolbar at the top if there is some effect applied to page : http://trainingwebcom.worldsecuresystems.com/SachinFTP/2013-12-05_1417.png
    It can be Shadow, Bevel or Glow effect applied. You can uncheck it and it should be good.
    Let us know if it helps or not.
    Regards,
    Sachin

  • Dynamic rendered component

    Expert,
    I am using jdev10g ADF BC and JSF page
    I have two pages, I have a table in first page, user can select one row to edit the record in second page.
    in the table in first page, there is a column called 'status'. there are total 10 status definition.
    There are 10 kind input remarks corresponding to the above 10 status in second edit page.
    I want when user select a reccord with status 'a', only remarks for 'a' rendered to let user enter remarks in second page, if select a reccord with status 'b',
    only remarks for 'b' rendered to let user enter remarks in seconde page, .......
    I have tried to use SetActionListerner : from #{row.status}, to #{processScope.status} in select comand in first page.
    and using {processScope.status =='a'}, {processScope.status =='b'} , {processScope.status =='c'} ..... as remark input component Rendered property to switch off and on in second page , but it is not work?
    or i need to create a bean to do it?
    Please help me on that. Thanks a lot!!!
    Rgds!
    Merry Christmas!!!
    Edited by: xsyang on Dec 29, 2010 1:31 AM

    thank you so much! Suganth
    my query table in first page like :
    booking# date status button
    ====== ======== ===== ==========
    001 "01/09/2010" 'confirmed' edit button
    002 "30/12/2010" 'received' edit button
    003 "25/10/2010" 'unpacked' edit button
    I have another view object with fields : booking#( key) , date, confirm_date, confirm_remarks, received_date, received_remarks, unpacked_date, and unpacked_remarks. will drag and dropped as <af:panelForm>
    I want when user click the button 'edit' , then come to the second page to edit the each booking record, based on the value of status column in first page, let see ' received' , only the received_remarks text input field display, the other two fields unpacked_remarks. confirm_remarks will not be rendered.
    Edited by: xsyang on Dec 29, 2010 2:23 AM

  • An AS component doesn't appear in a flex app

    The following AS draws a line and works in its own right,
    package components {
    import flash.display.Sprite;
    import flash.display.Shape;
    public class DrawTest1 extends Sprite {
    public function DrawTest1() {
    var shape:Shape = new Shape();
    shape.graphics.lineStyle(0,0x0000FF, 1);
    shape.graphics.lineTo(100,100);
    addChild(shape);
    It was then included in a flex app as
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:custom="components.*"
    layout="horizontal">
    <custom:DrawTest1 />
    </mx:Application>
    but only a blank screen (i.e. without the line) was displayed
    when the flex app was executed (no error message was given during
    compilation). Please help.

    Flex containers (incluing Application) can contain only
    components which are derived from UIComponent or implement
    IUIComponent interface.
    To get your component to display in the application create a
    UIComponent as child and add the DrawTest1 component as a child to
    it.
    <mx:UIComponent id="p1"
    creationComplete="p1.addChild(t1)"/>
    <custom:DrawTest1 id="t1"/>

  • Dynamic instantiation that doesn't appear on stage

    import flash.events.*;
    var cloudInstance:Cloud = new Cloud;
    this.cloudInstance.x = this.hero.x;
    this.cloudInstance.y = this.hero.y;
    this.hero.visible = false;
    this.cloudInstance.addEventListener(Event.ENTER_FRAME, handler);
    function handler (e:Event) {
    if (this.cloudInstance.currentFrame == 21) {
    this.hero.visible = true;
    I instantiate my Cloud class that has that name from the library and exported for AS.
    I give it the x and y positions of another mc

    to scale without distortion, determine the aspect ratio of your cloud:
    var aspectRatio:Number=cloud.width/cloud.height
    then scale the cloud's width or height to the player and scale the other dimension using the aspectRatio:
    cloud.width = player.width
    cloud.height=aspectRatio/cloud.width;
    positioning depends on reg point location.
    p.s.  please mark helpful/correct answers.

  • I've update my music using an external disk; now I uploaded agin the music  but it doesn't appear in Itunes. How can I synchronize the music folder with Itunes?

    I've managed my music downloading and uploading it from an external disk; I put the music into the Finder MUSIC folder and copyed it into Itubìnes but it does't appear. What Do I have to do? How can I synchronize the Musice Folder with Itunes?

    Chris, thanks for the reply.
    That's what I'm confused about. I did exactly what you said. I copied the entire music folder from the old computer and put it in the music folder on the new computer. I've tried that two or three times now. And, I've checked, and all of the files are there (that's what I meant by 'clicking on Itunes Media'--when I click on the iTunes media folder in music/itunes in Finder, all of the files are there). But, when I open iTunes, nothing shows up--no movies, no music, no tv shows. It seems like it should be so simple, but it won't work for me.
    Any ideas?
    Thanks so much.

  • New item icon in iCal suddenly appears and don't how to get rid of it.

    I have a little number 1 in my iCal next to my Home calendar on the left side of iCal. It resembles the little number 1 I'd get in the Mail program if I had one new email.
    I have no idea where it came from and want it GONE. Can you help?

    I just figured out how to get rid of the numbers. Click Notifications on the bottom left part of the Ical screen and some blank invitations will show up. Click one and a box shows up that gives you the option of deleting the Notification/Invitation. I did that for the 4 little boxes and the number is gone.

  • Can't delete file from desktop. Can't get info. Doesn't appear in ls -a. What?

    Hi folks,
    I file has appeared on my desktop. I believe it's a temp file created while downloading something in Safari. When I try to delete it, I get "The item x can't be moved to the trash because it can't be deleted":
    I tried right click > Get Info, and nothing happens (the info dialog does not appear).
    I tried ls -al on my desktop, and the file doesn't appear in the list:
    How do I get rid of this thing? What is it?

    Weird. I guess if this were happening to me, I would see if the thing is still there after a reboot. If it is still there, I would boot with command-R and use Disk Utility to verify and repair the disk (not permissions).
    The file name indicates you were downloading something to run under windows. Do you have windows?
    charlie

Maybe you are looking for