Setting id's for the datatables.

I have a datatable "A" in which another datatable "B" is nested. I need to hide/unhide "B" from the onclick event of an item on the datatable "A". But i can't seem to set the id of the datatable "B". How can i achieve this?

<h:dataTable border="0" rowClasses="" value="#{Version2$reception2.events}" var="var" width="100%">
                            <h:column>
                                <h:selectBooleanCheckbox rendered="#{not var.hasChild}"/>
                            </h:column>
                            <h:column>
                                <f:facet name="header">
                                    <h:outputText style="font-weight: bold" value="Purpose of Registration"/>
                                </f:facet>
                                <h:outputLabel value="#{var.name}" onclick="ShowHide2('#{var.eventKeyword}')"/>
                                <h:dataTable value="#{var.children}" var="childVar" id="...">
                                    <h:column>
                                        <h:selectBooleanCheckbox rendered="#{not childVar.hasChild}"/>
                                    </h:column>
                                    <h:column>
                                        <h:outputText value="#{childVar.name}"/>
                                    </h:column>
                                </h:dataTable>I need to set the appropriate id for the nested datatable so that it can be given as an argument to the javascript in the main table. I use Sun JSF 1.1

Similar Messages

  • Purchased a new Apple TV and the remote double clicks each time I press the button. It worked fine during set up and for the first two days.  I have since moved it and this problem started. Restarted,reset,unplugged,change remotes, no change.Help please.

    Purchased a new Apple TV and the remote double clicks each time I press the button. It worked fine during set up and for the first two days.  I have since moved it and this problem started. Restarted,reset,unplugged,changed remotes, no change. Latest software update. This is really annoying.  iPhone remote app works just fine.  Any suggestions?

    That's one of the weird things.. it recognizes it maybe 10% of the time. And usually, only after I do the two-button reset. Problem is.. since it won't charge above 2%, anytime I try to do a restore or anything like that using iTunes, my device shuts off and I lose whatever progress I'd made.
    So, an update... after reading through a bunch of similar complaints (there are literally 1000's of them so there's NO WAY this isn't somehow ios7 related, thanks a lot APPLE ) I decided to try a restore in recovery mode. After 3 hours and several disconnections... I ended up having to just set it up as a new iPad, as the restore did nothing. Weirdly though... as I was doing the restore in recovery mode.. I noticed I'd gotten up to a 10% charge.. higher than it's been since September, so after setting it up as a new device, I turned it off and plugged it in using the wall charger. 2 hours later and I was up to 38%. Still not great, as my iPad, before ios7 could've fully charged twice in the amount of time it took for me to now get 28% more of a charge. And that's with a fully cleaned out device.. so that really ***** and I'm now more confused than ever.
    But I'm gonna leave it overnight charging and see what I come up with tomorrow. Sadly, when I paid $600 for it in February, I never expected to have to play "wait and see" with it...

  • How do I set a reminder for the last day of every month

    Have I missed something? But how do you set a reminder for the last day of every month to recurr indefinatley in iOS6? Sorry if this is really simple but I just can't seem to work it out. Any help gratefully received.

    Hey Mattye88 not sure if you have seen but actully you can do this, but for some reason you have to use Siri.  If you bring up Siri and say "set a reminder ever 4 weeks from next wednesday to check the gas meter" it will set one and it will work just fine, I have reminders to water a Bonsai every three days and it works fine it just shows as custom repeat on the user interface.  Alas it seems you can not use Siri to set one for the end of the month though which is why I am in this threed.  Still hope it helps you to know how to sort this problem atleast.

  • Iv just bought  Ipad 2 for back home in UK in usa. I'm trying to set it up for the plane ride home on my sisters pc which already has itunes installed. Will I be able to sync it with my own PC back home.

    Iv just bought  Ipad 2 for back home in UK in usa. I'm trying to set it up for the plane ride home on my sisters pc which already has itunes installed. Will I be able to sync it with my own PC back home.

    Yes, but all the data from your sisters PC will be erased and replaced with yours, which is probably what you want anyhow.

  • "Display PDF in Browser" setting - $500 reward for the solution

    The corporate policy requires the "Display PDF in Browser" setting to be unchecked for all applications, this is to open the PDF document in new reader instance but our specific application needs the reader to be opened in the same browser even if the preference "Display PDF in Browser" is unchecked.... The setPreference from javascript (html) doesn't seemed to work... How do i make this work? I am looking for programatic way to set this preference in HTML javasript or Java Applet or ActiveX or any other means. I am currently using JS and Object tag, the only functions that we need at this point are page navigation and getting current page using JS.
    Also, I need the links the browser to open in new browser once the PDF is loaded... do I need to reset the preference once it is loaded for the links to open in new browser? How can this be progrmatically achieved without altering the original PDFs?
    I realize that this may be difficult and am looking for workarounds or alternate solutions to meet my req. $500 for anyone who could can provide solution.. Please email me [email protected]
    thanks,
    - Ray

    Convince your IT people to allow folks to set their preference to display in browser.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Sun, 13 Nov 2011 14:58:23 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: "Display PDF in Browser" setting - $500 reward for the solution
    Re: "Display PDF in Browser" setting - $500 reward for the solution
    created by pdf_disp_issue<http://forums.adobe.com/people/pdf_disp_issue> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4023302#4023302

  • Error while setting up enviroment for the application

    Hi,
    Im getting a popup box displaying the error message
    C:\WINDOWS\system32\ntvdm.exe
    Error while setting up enviroment for the application. Choose 'Close' to terminate the application.
    When I try to excute an external exe, why am I getting this error? and is there a way of getting this exe to execute properly without the error?
    Here my code for excuting the external exe
    String[] cmd = {"C:/gen.exe", "C:/a.zip"};
    Process p = Runtime.getRuntime().exec(cmd);
    p.waitFor(); "gen.exe" is the program i wish to execute and "a.zip" is the parameter i wish to excute it with.

    class ExecRuntime {
    public static void main(String args[]) throws Exception {
    String[] cmd = {"C:\\gen.exe", "C:\\a.zip"};
    Process p = Runtime.getRuntime().exec(cmd);
    p.waitFor();
    } Here we need to use backslashes, because the command is passed to the OS as is.
    If you need to be in C:\ to execute from command line, you will also need to use the
    exec() version that allows you to specify the 'current directory'
    Edited by: baftos on Mar 7, 2008 12:13 PM

  • When I set up email for the first time, I had to enter a 4 digit pin. Since then, every time I switch my phone on, I have to enter this pin.   How do I remove or bypass the pin so that I can switch on the Iphone without having to first enter a pin?

    When I set up email for the first time, I had to enter a 4 digit pin. Since then, every time I switch my phone on, I have to enter this pin.   How do I remove or bypass the pin so that I can switch on the Iphone without having to first enter a pin?

    Go to Settings>General>Passcode Lock>tap Turn Passcode Lock Off, enter your "pin".
    Edit:  Are you saying you are getting a prompt for your email pin, or are you talking about the passcode lock that appears when you turn the phone on?

  • I like to watch tvcatchup or sky go or I player on my iPad while falling asleep, the problem is that the iPad then stays on all night. I would like to find an app that allows me to set a timer for the iPad to switch itself off automatically.

    I like to watch tvcatchup or sky go or I player on my iPad while falling asleep, the problem is that the iPad then stays on all night. I would like to find an app that allows me to set a timer for the iPad to switch itself off automatically, like the sleeper function on a TV.
    Does such an app exist? Can anyone help me? Thanks

    You can try the Sleep Timer.
    https://itunes.apple.com/sg/app/music-sleep-timer/id320583424?mt=8

  • Need to set default values for the fields plant and location in ME21N

    Hi All,
    i need to set default values for the fields plant and location in ME21N tcode.
    In accout assignment if we give 'A' then we need to create asset by clicking the Asset tab,there you have the fields plant and location.
    How to resolve this?
    Thanks in Advance

    hi .
    i needed to set default strorage location and plant in personal setting  in me21n.
    i solve it with this way.
    go to program SAPLMEPERS in se38.
    create new function in output with the sample name :MODULE ZTEST_001 OUTPUT.
    in this module write:
    if MEPOITEM_PROP-WERKS is INITIAL and  MEPOITEM_PROP-LGORT is INITIAL.
    MEPOITEM_PROP-WERKS = '1000'.
    MEPOITEM_PROP-LGORT = '0032'.
    endif.
    this is the solution.
    best regards.
    maryam

  • When I updated by iphone with IOS7, my calendar entries did not follow the icloud.  I am only showing pre set calendar entries for the year?

    When I updated by iphone with IOS7, my calendar entries did not follow the icloud.  I am only showing pre set calendar entries for the year and lost all other calendar entrie and it will not take any new entries.  They show up in my outlook, but not on my iphone, which they did before I updated my software to the new i0s7

    Before syncing, select each calendar on your Mac and back it up by going to File>Export>Export.  If anything goes missing, you can use these to restore your calendars.
    Have you tried simply force closing the calendar app on your iPhone?  To do this, double-tap the home button, locate the calendar app, then swipe up on the image above the app icloud to close it and tap the home bottom.  Then test your calendar again.

  • Is there a row limit that has been set in CMC for the LOVs?

    Hi,
    Is there a row limit that has been set in CMC for the LOVs? I get a 'Partial results' message for big LOVs. I am talking about BW prompts LOV`s.
    we have 22,000 LOV`s but we will get 5000 LOV`s in prompts. so we need to do manual search to get list .
    we are in 4.0 sp2 p10

    Hi,
    I understood that value need to be changed in webi_client_default_parameters.xml file but under
    "Program Files > Business Objects > BusinessObjects Enterprise 4.0 > win32_x86 > config" location I do not see
    the file webi_client_default_parameters.
    we are under 4.0 SP2 P10....
    Could some one help me out.
    Edited by: sumanmanu on Feb 8, 2012 5:24 PM

  • Setting proper format for  the documents

    Hi,
    I want to set the proper format before saving the documents in Ifs. The Documents are uploaded to Ifs using the Java API.Can any one help me on this?
    Thanks,
    Prasanth

    Hi,
    Thanks rich. I am using the following code to set the proper format.
    // create the definition
    DocumentDefinition ddef = new DocumentDefinition(lsession);
    ddef.setName(docname);
    ifsSession.setAdministrationMode(true);
    FormatDefinition newFormatDef = new FormatDefinition(lsession); //create a new FormatDefinition
    Format format = (Format)ifsSession.createSystemObject(newFormatDef); //create a new Format using the FormatDefinition
    format.setMimeType(mimetype); // set Mime type for the Format
    newDocDef.setFormat(format); //set the format for the DocumentDefinition
    lsession.setAdministrationMode(false); //set the session back to normal mode;
    // create the document using the definition
    Document newdoc = (Document) lsession.createPublicObject(ddef);
    Is there anything wrong with this one? when i save the document with this code,its stored in non-indexed media.
    I tried the code you posted .its working for pdf documents (they are going to indexed Media ) but not for word documents.
    Thanks,
    Prasanth

  • Set "serveroutput on" for the current session.

    I'm still new to PL/SQL and I use "*SET SERVEROUTPUT ON SIZE 100000"* always before I run a PL program block to get dbms_output. I really need to know why should we specify a size in this line & what that size will be applied for. Also I need to know whether there is any possibility to set serveroutput enabled for the current session, rather than running this code line before each and every PL block.
    I Tried *"ALTER SESSION SET SERVEROUTPUT ON SIZE 1000000"* ; But it was not successfully executed.
    Thanks!

    michaels2 wrote:
    I will have to always write it above my PL block, and run this line with that PL block.before the first dbms_output call you can also issue dbms_output.enable() :
    declare
    my_var varchar(30);
    begin
    my_var:='&input';
    dbms_output.enable();
    for i in 1..5 loop
    dbms_output.put_line('Hello '||my_var);
    end loop;
    end;
    /This should always work, irrespective of how you SET SERVEROUT in sql*plus.Nope.
    SQL> ed
    Wrote file afiedt.buf
      1  begin
      2    dbms_output.enable();
      3    dbms_output.put_line('TEST');
      4* end;
    SQL> /
    PL/SQL procedure successfully completed.
    SQL>dbms_output.enable is used to enable the output buffer (or set the size of it) on the server side of things. It can't influence the client application into retrieving and displaying the output from the buffer, even if that is SQL*Plus. ;)

  • Anyway to set an event for the fifth Monday of the month?

    I have an event that happens rarely. Is there anyway to set an event for the fifth Monday of the month?

    Hi Kevin,
    This should be similar to behaviour in my response to this thread, but iCal seems a bit off on this one. If you attempt to set an event on the 5th Monday iCal adds events to the first Monday on the month after if the month only has four weeks. I'd say this is a bug in iCal.
    Try the script below which should add an event to the 5th Monday only to see what I mean:
    (Copy blue text into Script Editor (Applications > Applescript > Script Editor) , press Run and follow prompts.)
    tell application "iCal"
    set myCal to first calendar whose title is (item 1 of (choose from list (title of (every calendar) as list) with prompt "Choose calendar"))
    set myName to text returned of (display dialog "What is the event's name?" default answer "5th Monday of month?")
    set myStart to my date "Monday, January 30, 2006 10:00:00"
    set myEnd to myStart + 1 * hours
    make new event at the end of events of myCal with properties {summary:myName, start date:myStart, end date:myEnd, recurrence:"FREQ=MONTHLY;BYDAY=5MO"}
    end tell
    Best wishes
    John M

  • Do I require internet connection to set up iPodShuffle for the first time (Windows)?

    Will I require internet connection to set up iPodShuffle for the first time (Windows)?

    I don't think so. THe only thing you need internet for is to download the free VoiceOver feature, and that's optional.

Maybe you are looking for