How to toggle a region in AJAX

I have 5 regions in a page and each region may contain upto 10 items. Currently these regions are show/hide type based on "self submit select list" value at the top of the page.Now, I need to convert this self submit LOV to Ajax style LOV. If I convert the LOV to AJAX type, how can show/hide the regions as soon as the LOV value is changed without submitting/refreshing page?. I have used "$x_ToggleItemRow(['P1_ITEM','P2_ITEM']);" call to toggle an item and works fine, but not sure how to do the toggle for a region based on AJAX LOV value. any ideas are appreciated.
thanks for your help,
Surya

I feel a little bit stupid but I can't get this to work...
I have a report (tabular form) where I want to have a link of each row to show a region with values.
I have a link in my report:
target: URL
URL: javascript:$x_Toggle(l_Item)
In page header:
<script>
var l_Item = '999';
var l_Items = ['TEST_REGION_1','TEST_REGION_2','TEST_REGION_3'];
</script>
On the region I want to show/hide I set Static Id = 999
Changed the template to:
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="#REGION_STATIC_ID#" class="t3ReportsRegion" summary="">
<tr>
<td valign="bottom" class="t3RegionHeader">#TITLE#</td>
<td class="t3ButtonHolder" align="right">#CLOSE#   #PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#</td>
</tr>
<tr class="t3instructiontext">
<td colspan="2" valign="top" class="t3Body">#BODY#</td>
</tr>
</table>
What am I doing wrong??
Regards Daniel

Similar Messages

  • How to create a region which should float in a page . (Like as windows cal)

    Hello Friends
    Using
    Apex Version 4 +.
    Oracle database 11g.
    How to create a region which should float in a page .
    ie i can move that region inside that page anywhere like as windows calculator.
    Can anyone please help me.
    Thanks in advance
    regards
    Edited by: A on Apr 13, 2011 1:48 AM
    Edited by: A on Apr 13, 2011 1:48 AM

    Hi,
    You can use a jQuery dialog.
    http://docs.jquery.com/UI/Dialog
    e.g. create html region, just say you give the region static id: floating-region, make it hidden by adding attributes: style="display: none;"then do like: $('#floating-region).dialog();
    I made another post on steps to create a dialog. See: {message:id=9506160}
    Ta,
    Trent

  • How to change report region fields in read only mode?

    How to change report region fields in read only mode?
    skud.

    add the following javascript fuction to page header(or Javascript function and variables section)
    function disableItems(pRegionStaticId,pDisableFlag) {
      $('#'+pRegionStaticId).find('[name^=f]').each( function(){ /* matches fxx */
        if( $(this).attr('name').match(/f[0-9][0-9]/) ){
          return $(this);
      }).attr('disabled',pDisableFlag);
    pRegionStaticId is the region's static Id+
    Note that this code specifically disables only application arrays. Disabled items are not available after submission (and hence are different from readonly) . But any page javascript can modify disabled or readonly items(client side), so you must check at the server side to validate the data.
    You can disable items using
    disableItems('MY_REGION_ID' ,true);and enable them by passing false
    disableItems('MY_REGION_ID' ,false);

  • How to delete a region from a garageband track?

    how to delete a region from a garageband track?
    Can't find how to select 30 seconds of my recorded voice so that I can delete it from a voice track.

    Can't find how to select 30 seconds of my recorded voice
    First you have to cut the track. Position the crosshair at the bigging of the region you want to remove and type ⌘T to split the track, do the same for the end of the region. Then double click the region and type delete ← to remove it.
    Regards
    Leonie

  • How to change US region to UAE region and I have balance 0.24 in my account

    How to change US region to UAE region and I have balance 0.24 in my account

    Click here and ask the iTunes Store staff to zero your account balance.
    (112198)

  • How to toggle checkbox control in template-d​riven Excel spreadshee​t?

    I am developing a report generation routine for a DAQ LabVIEW application
    running a small public water system. Every month critical operating data
    must be organized and reported to the state health department. They provide
    an Excel template for these forms, which I am populating from LabVIEW.
    After giving up on the MS document express VIs (they are apparently incompatible
    with a multi-sheet template unless you are only populating the default current
    sheet of the template, a restriction I only figured out after hours of "jiggling"
    and rooting in the bowels of the block diagrams), I have managed to populate
    almost everything in the form using the basic report generation and Excel-specific
    VIs.
    However, the one item in the spreadsheet I have not figured out how to write are
    the checkbox controls embedded in the template. These checkboxes do not appear to
    control anything; they just provide a convenient way in the state form to record an
    answer for each of a short list of questions.
    Anyone know how to toggle, or better, check/uncheck these from LabVIEW? I can modify
    the template if necessary to provide names or other hooks for these objects; I just
    haven't a clue what to actually do.
    I am developing the VI in LV 7.1 DS-PCE, so I have all of the latest add-on goodies
    at my disposal.
    Bob

    When it is not clear where best to start with automating a feature of Excel in LabVIEW, using Excel macros can be very helpful. If you record a macro and toggle the state of your checkbox's you will be able to more closely examine how Excel automates this action.
    After the macro is recorded you can edit the macro to see which ActiveX function calls you would have to use from LabVIEW to accomplish the same task. Alternatively, you can record the macro, and automate the playback from inside LabVIEW. The two links below will give you more information on how to implement one of these options.
    Example Program: Run Excel Macro from LabVIEW
    Using ActiveX to Copy an Excel Range to a LabVIEW Table
    Scott Y.
    NI

  • How to download and install BluePrints AJAX Components

    Good Day
    Pls I need serious help on how to download and install BluePrints AJAX Components out side the update center embedded within the netbeans 5.5 ide because i can't connect to the internet from within the IDE.Pls can anyone help me pls help me.

        I would love for you to have ring back tones on Iphone 5s! Here is where you can purchase and manage your ring back tones: http://vz.to/15Jto4u
    AmberF_VZW
    Follow us on Twitter @VZWSupport

  • How to mute selected region of a clip?

    I know how to control volume of entire clip... But how to mute selected region of a clip?
    Also I'm curious if iMovie'08 has some kind of audio frequency filter? My cam recorded it's lcd's whisltle sound. Is there a way to reduce it?

    To mute a selected region of a clip in a project:
    Select the region you want to mute by dragging the cursor while holding down the left mouse button. You should have a yellow rubber band around the portion you want to mute. You can adjust this further by grabbing the handles on either side of the yellow rubber band.
    Now, select Edit/Split Clip. Your one clip should have become three clips. Select the one that you want to mute. Click the audio icon and set the volume to zero.
    No way I know of to reduce the whistle within iMovie. You can share your movie and open it up in a Garageband project. There, you can do editing on the audio track with all the GarageBand Tools.

  • HT1918 how to change country/region when i have credit balance on account?

    how to change country/region when i have credit balance on account?

    You need to spend the balance or ask the iTunes Store staff to remove it.
    (67937)

  • How to trigger onerror of f:ajax inside a h:commandButton?

    hi, how to trigger onerror of f:ajax inside a h:commandButton from it's action method?
    <h:form>
       <h:inputText id="i1" value="#{bean.i1}"/>
       <h:commandButton id="go" action="#{bean.process}" value="go">
          <f:ajax render="o1" onerror="myfunction();"/>
       </h:commandButton>
       <h:outputText id="o1" value="#{bean.o1}"/>
    </h:form>then in the bean
        public String process() {
            if(isOK()) {
                calculate();
                return null;
            } else {
                //here I want to send an ajax error, to trigger the onerror function in the client
       }I don't know what I must do inside the action method to signalize an ajax error. Do I have to throw a specific Exception or any run time exception, or another approach?

    797701 wrote:
    Basic idea of commandbutton is to send form data to server, basic idea of ajax is to update part of page. Hopefully your example is very generic or just a test, otherwise using ajax in your example makes no sense.No. AJAX - Asynchonous Javascript and XML. Key word: asynchronous.
    The basic idea behind Ajax is to make a request to the server asynchronous. Its purpose, even in JSF, is not to update part of a page, that may be a result of doing the request asynchronous. It is perfectly valid to want to do an ajax call from a button, it depends on what requirements you have and nothing else.

  • I have an Instacalc from the App store and I have forgotten how to toggle it on and off from the keyboard, does anyone know how?

    I can't remember how to toggle my Instacalc on and off using the keyboard. I got it free from the app store, I have a 13" MacBook Air, Yosemite. I must have got the instruction somewhere but I can't remember, could anyone help me please.

    Hi. Try this: From the iTunes Store front page, scroll to the bottom of the page. In the bottom left corner there should be a flag, in this case the French flag, click it and you 'll be presented with a screen to select the correct country.
    Stedman

  • How to set Srilanka region?

    How to set Srilanka region?
    really worry for sms delivery report an call waiting not display in iphone.

    Backup Your Data (Specially Apps)
    General --> Reset --> Reset All Settings
    And Then It Will Give You a Chance To Choose 'Sri Lanka" as Region.
    So There You Go
    But Remember To Backup Your Data

  • How to pull a form region in AJAX

    Carl,
    I have implemented Carl's AJAX "region pull" example and works fine. This works fine as long as the region is report region. is it possible to pull a form region with items and submit button in AJAX way?. will it be possible to submit update and submit that pulled form. I just tried to do that and gave me the following error. any ideas are appreciated.
         Error      Item ID (2304200109596392) is not an item defined on the current page.
    thanks,
    Surya

    Hello Surya,
    I guess it depends your template. If it works for a report region and not for your forms region, you might want to have a look what the difference is in the templates for both regions.
    You could give your form region the template of report region and see if that solves the problem?
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/

  • How to show all regions when opening piano roll?

    hey,
    I want to be able to see all events in all regions when opening (not toggling!) a piano roll. I just switched from version 5 (yes, 5) to 9. It used to be like this: you deselect all regions and then just open the matrix editor (that's how the piano roll was called in ancient times).
    If I do this in 9, the piano roll shows nothing. If I select all regions and open the PR, it shows only one. If I select one region, open the PR and then go back to the arrange window and select all regions it does show all info in the PR but this is a bit of a not-very-efficient work around.
    Anyone any idea?
    grtz
    Janco

    double click a region, then highlight the ARRANGE window and type command + a. It is essential to choose all regions this way not as you mentioned by choosing all by hand. Remember that when you doubleclick a region Logic highlights the PIANOROLL. So you have to highlight the arrange window by clicking on the bar just below the main tools or in other words, just above the ruler (I don't know the exaqct word for it but I hope you know what I mean.
    Message was edited by: samplaire
    Message was edited by: samplaire

  • E72 - How to toggle between portrait and landscape...

    Some games refuse to run by displaying "This game is not supported in landscape mode. Please turn your handset to portrait mode".
    How can I toggle between landscape and portrait modes in Nokia E72?

    You can't do that because of the screen orientation which is landscape only in case of E72, E71, E5.
    If a reply has solved your problem click Accept as solution button, doing it will help others know the solution. Thanks.

Maybe you are looking for

  • How do I get my pics off iPad to free up memory

    I have an IPad with (16 gig) with wifi. I have a lot of pics on my iPad and need to get them off to free up memory to upgrade to the ios7. I have a windows pc. I down loaded ITunes app on the pc, but can not figure how to get them onto the pc. Would

  • Update Center for Linux OS

    Is there a download URL for Linux OS? I have Creator 2_1 loaded on a Linux blade and was unable to get to the update center. After reviewing the server log I noticed the URL included ..../en/catalog_Linux_i386.xml?unique.... When accessed via a Windo

  • HT4437 There IS no icon for airplay.  What gives?

    Seriously, I have an Airport Express AND a Denon network receiver.  I do not see this icon on my computer OR my iPhone.  Everyone says, "Oh, just click the icon."  It's not there.  See?

  • Some edge animate expert?

    I'm very dissapinted of the lack information about edge animate..I continue with my problem scaling responsive symbols in my movie..what some symbols scales well and no others? Please, someone knows? Where can I get a complete tutorial about specific

  • Watching Home Movies in 10.5

    I made some home movies on my Macbook in Tiger with iMovie 6 but found they won't play now on the same computer with Leopard. They were burned to memorex DVD-R discs if that makes any difference. Whenever I put one in the Superdrive spins for about 3