TabSet's selected property doesn't work dynamically

I have a tab set with three tabs. Suppose I'm on the third tab, click a button on the tab and move to another page. When I'm done with that page I want to go back to the previous page (with the tab set) and display the page with the third tab showing.
First, I tried saving the tab set's selected property in a session bean. In the page's prerender method, I retrieve the selected property from the session bean and call the tab set's setSelected method. This doesn't appear to work because the first tab is always displayed. (I ran this in the debugger to make sure the tab ID was persisted and retrieved correctly.)
Second, I tried saving the tab set's state in a session bean. In the page's prerender method I retrieve the tab set's state and restore it with tab set's restoreState method. Again, this didn't work. (As before I verified that the state was indeed being saved and restored.)
Any suggestions on how I can force a particular tab to be displayed when the page is rendered?

Hi claudioaragao
it depends on which trigger are u using it ; if using Multi-Records Block Pls Try...
WHEN-NEW-RECORD-INSTANCE it will work just fine...! :)
u should also mention forms version & on which trigger r u trying to use it...?!
And according to ur condition in the IF Statment ...
SET_ITEM_PROPERTY ('detail_block.id' ,ENABLED ,PROPERTY_FALSE);
SET_ITEM_PROPERTY ('detail_block.id' ,NAVIGABLE,PROPERTY_FALSE);
SET_ITEM_PROPERTY ('detail_block.id' ,UPDATE_ALLOWED,PROPERTY_FALSE);
SET_ITEM_PROPERTY ('detail_block.id' ,INSERT_ALLOWED,PROPERTY_FALSE);Hope this helps...
Regards,
Abdetu.....
Edited by: Abdetu on Jan 27, 2011 6:59 AM

Similar Messages

  • Create Slideshow Display sequence property doesn't work

    Create Slideshow Display sequence property doesn't work,
    I have selcted random but the slideshow always plays in order. I searched the scripts for any logi related to this and other properties set, but cannot find any refernce to any of these propoerties:
    transType='Random' transTime='1' firstImage='1' dispSequence='1'>
    How can I make the slideshow start  with a random image each time?
    thanks
    s

    Hello,
    I am back on this question, about how to get the non-flash version of the Creatr Slideshow v1.6 to display the images in a random sequence. Can anyone point me in the right direction, please?
    thanks
    juno

  • Cascading Select List Doesn't work properly

    I am trying to use Cascading Select List in My Application. It works for the first time when I run the page afterwards when I try to open the same page in a different window it doesn't work afterwards it doesn't work at all.My code is as follows.
    1) Application Process with name getDet
    DECLARE
    lv_os_List varchar2(32000) := '';
    platform varchar2(50);
    err_code number;
    err_msg varchar2(200);
    BEGIN
    owa_util.mime_header('text/xml', FALSE );
    htp.p('Cache-Control: no-cache');
    htp.p('Pragma: no-cache');
    owa_util.http_header_close;
    htp.prn('<select>');
    HTP.prn ('<option value="' || 1 || '">' || '- All OS -' || '</option>');
    select platform into platform from platform where platformid =:P139_PLATFORM;
    if platform = 'Sun SPARC' then
    for i in (select os , osid from ostype where os like '%Sola%' order by os) loop
    htp.prn('<option value="' || i.osid || '">' || i.os || '</option>');
    end loop;
    ELSIF (platform ='Linux (x86 & x86-64)') then
    for i in (select os ,osid from ostype where os like '%Linux%' or os like '%RH%' or os like '%SLES%' or os like '%OEL%' order by os) loop
    htp.prn('<option value="' || i.osid || '">' || i.os || '</option>');
    end loop;
    ELSIF (platform ='TRU64') then
    for i in (select os ,osid from ostype where os like '%Tru64%' order by os) loop
    htp.prn('<option value="' || i.osid || '">' || i.os || '</option>');
    end loop;
    ELSIF (platform ='Windows') then
    for i in (select os ,osid from ostype where os like '%Windows%' order by os) loop
    htp.prn('<option value="' || i.osid || '">' || i.os || '</option>');
    end loop;
    ELSIF (platform ='IBM Linux on Power') then
    for i in (select os ,osid from ostype where os like '%Linux%' or os like '%RH%' or os like '%SLES%' or os like '%OEL%' order by os) loop
    htp.prn('<option value="' || i.osid || '">' || i.os || '</option>');
    end loop;
    ELSIF (platform ='IBM System z') then
    for i in (select os ,osid from ostype where os like '%Linux%' or os like '%RH%' or os like '%SLES%' or os like '%OEL%' order by os) loop
    htp.prn('<option value="' || i.osid || '">' || i.os || '</option>');
    end loop;
    ELSIF (platform like 'HP%') then
    for i in (select os ,osid from ostype where os like '%HP%' order by os) loop
    htp.prn('<option value="' || i.osid || '">' || i.os || '</option>');
    end loop;
    ELSIF (platform ='Itanium') then
    for i in (select os ,osid from ostype where os like '%HP%' or (os like '%Windows%' and osid <> 201) or os like '%Linux%64%' or os like '%RH%64%'
    order by os) loop
    htp.prn('<option value="' || i.osid || '">' || i.os || '</option>');
    end loop;
    ELSIF (platform ='AIX') then
    for i in (select os ,osid from ostype where os like '%AIX%' order by os) loop
    htp.prn('<option value="' || i.osid || '">' || i.os || '</option>');
    end loop;
    ELSE
    for i in (select os ,osid from ostype order by os) loop
    htp.prn('<option value="' || i.osid || '">' || i.os || '</option>');
    end loop;
    END IF;
    htp.prn('</select>');
    EXCEPTION
    WHEN OTHERS THEN
    err_code := SQLCODE;
    err_msg := substr(SQLERRM, 1, 200);
    INSERT INTO ERROR_TABLE (error_number, error_message)
    VALUES (err_code, err_msg);
    END;
    2) Application Item
    CASCADING_SELECTLIST_ITEM_1
    3) In the Footer of the region which contains the items the following Java Script
    <script>
    function get_select_list_xml(pThis,pSelect){
    var l_Return = null;
    var l_Select = html_GetElement(pSelect);
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=getDet',0);
    get.add('CASCADING_SELECTLIST_ITEM_1',pThis.value);
    gReturn = get.get('XML');
    if(gReturn && l_Select){
    var l_Count = gReturn.getElementsByTagName("option").length;
    l_Select.length = 0;
    for(var i=0;i<l_Count;i++){
    var l_Opt_Xml = gReturn.getElementsByTagName("option");
    appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'),
    l_Opt_Xml.firstChild.nodeValue)
    get = null;
    function appendToSelect(pSelect, pValue, pContent) {
    var l_Opt = document.createElement("option");
    l_Opt.value = pValue;
    if(document.all){
    pSelect.options.add(l_Opt);
    l_Opt.innerText = pContent;
    }else{
    l_Opt.appendChild(document.createTextNode(pContent));
    pSelect.appendChild(l_Opt);
    </script>
    <script>
    get_select_list_xml($x('P139_PLATFORM'),'P139_OS');
    </script>
    For the first Select list form element properties
    onchange="get_select_list_xml(this,'P139_OS')"
    Please let me know what change I need to make in the code.

    Vikas,
    Is your page 0 a public page or it requires authentication? I remember having the same
    problem a while ago.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/apex/f?p=107:7
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Multi-Select LOV doesn't work where 1

    I have a form with 1 master & 2 detail blocks. Each of the detail blocks has an LOV, & I'd like both to use the multi-select LOV facility within Headstart. However, this doesn't work if there's > 1 multi-select LOV within the form, for these reasons -
    1. If there's > 1 multi-select LOV, you have to include reusable module component qms_msel_lov_buttons for each. As this is reusable, you can't edit the name. Therefore you have duplicate block names, therefore generator discards the names specified in Des2K & uses default block names of MC0, MC1 etc.
    2. Headstart code in qms$init_application sets the lov block prefix to ML_. At runtime, the form fails with FRM-40104: No such block: ML_MC1.
    I can't see any way of influencing Des2k's choice of block name, short of copying the reusable component into a specific component. Is there any workaround in Headstart you can suggest, to make this facility work?

    Cheryl,
    You are correct, you must make a specific copy of the reusable module component to work around this. I will record this as an enhancement request for future releases. Thanks for the info.
    Regards,
    Lauri

  • Checkbox group selected property binding not working

    Hi,
    I've been through all the threads and tutorials relating to this problem and none of them help.
    The Situation
    I have a checkbox group which I have bound the items items property to a MySQL database (value field = int, display field = String). I have bound the Selected property to a sessionbean field which is an int[] array.
    I have a processValueChange event for my checkbox group which grabs the selected boxes values (ie the int value of the checkbox id). Based on these values it does some other processing.
    The Problem
    When the page loads everything is displayed ok. When I select a checkbox within the checkbox group the getSelected() method returns the int value of the selected checkbox and perform other processing as necessary... so far so good.
    However, when the page finishes processing and reloads the selected checkboxes are not ticked. I'm sure it has something to do with the Selected property of the checkboxgroup but I can't for the life of me work out why. For multiselect objects the Selected property must be bound to an array which I have done with my int[] array. I've tried preloading the array with default values (1, 2, etc) to mimic the int values from the database. I've tried changing the array to a boolean array but this throws exceptions. So basically i'm stuck.
    The Source
    Session Bean
        private int[] extras;
        public int[] getExtras() {
            return this.extras;
        public void setExtras(int[] extras) {
            this.extras = extras;
    Page JSP
    <ui:checkboxGroup binding="#{book_package.extras}"
                                                                                    converter="#{book_package.extrasConverter}" id="extras"
                                                                                    items="#{book_package.extrasDataProvider.options['extras.ExtrasID,extras.Name']}"
                                                                                    onClick="common_timeoutSubmitForm(this.form, 'table:tr:td:table:tr:td:table:tr:td:div:div:table:tr:td:extras');"
                                                                                    selected="#{SessionBean1.extras}" valueChangeListener="#{book_package.extras_processValueChange}"/>
    Page Java
        public void extras_processValueChange(ValueChangeEvent event) {
            // TODO: Replace with your code
            getSessionBean1().setExtrasTotal(0);
            try {
                int[] extra = (int[])extras.getSelected();
                int extrasId = 0;
                int extraPrice = 0;
                if (extra.length != 0) {
                    for (int i=0; i < extra.length; i++) {
                        extrasDataProvider.cursorFirst();
                        do {
                            extrasId = new Integer(extrasDataProvider.getValue("ExtrasId").toString()).intValue();
                            if (extrasId == extra) {
    extraPrice = getSessionBean1().getExtrasTotal() + new Integer(extrasDataProvider.getValue("Price").toString()).intValue();
    getSessionBean1().setExtrasTotal(extraPrice);
    break;
    } while (extrasDataProvider.cursorNext());
    } catch (Exception e) {
    log("Exception occurred!!", e);
    error("Error: "+e.getMessage());
    getSessionBean1().setTotalPrice(getSessionBean1().getPackagePrice() + getSessionBean1().getExtrasTotal());
    Any help appreciated.
    Thanks.

    ok, i found the problem. MySQL int value is treated as an Integer in Creator. I changed my SessionBean array from int[] to Integer[] and now it works properly... phew!!!

  • Select object doesn't work

    Just bought Pro X and under Tools>Content all items are grayed out. The Select object button doesn't work. Any ideas?

    Good chance the PDF is secured. Try on another PDF that you make yourself just to be sure. You can also select the security properties of the PDF with ctrl-D. A last option my be that the PDF is archived (PDF/A) which does not allow many options such as editing..

  • Torch Select Button Doesn't Work with Keyboard Out

    Hi there, need some help.
    Just recently (2 wks) the middle select button has quit working on my torch when I have the keyboard extended.  I can still scroll around the screen with it, but when I push it to "select" it does nothing.  The button works normally when I have the keyboard put away so this seems like a software problem or setting I have wrong but I can't figure it out.  Any help would be appreciated as this is driving me crazy!  Thanks.

    Please try if a clean reboot will fix it. Remove the battery while the device is ON, replace it after a few seconds and let it reboot itself. Let us know if this resoves the issue.
    Ron
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up Blackberry Battery Saving Tips | Follow me on Twitter

  • Selection criteria doesn't work with MDM_CLNT_EXTR

    Hi, gurus;
    I used transaction 'MDM_CLNT_EXTR' to extract material master. I input one
    Material number as filter. On ides R/3 box, this selection works fine. On our own testing R/3,it doesn't. Why?
    Any configuration for this transaction?
    Thanks!
    Haiying

    Gremlin, thank you very much for posting the correct answer.
    As an additional info, this issue is documented in note [1204895|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    Notes can be searched here:
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true
    Ludek

  • Quick Selection Tool doesn't work

    This has probably been addressed, but can't seem to find it.  It's driving me nuts.
    In Elements 6.0,  I have found the Quick Selection Tool quite useful.  However, I often find that it does not work; not creating an outlined selection.
    Have others found this?  Do I have some setting incorrect?  Is this an Adobe bug?  I have reverted to all default settings, but no dice.
    Thanks!

    Ya, I can't make it work. I've watched a million videos online with people that seem to think it's amazing, but I have spent HOURS trying to cut out a simple image that would have taken me ten seconds on my ancient CS2. After owning this new product for two months I am still opening up my old version of Photoshop to extract images. Every time I start outlining something, the Quick Selection Tool goes all over the place, and when I do finally get it somewhat close to outlining what I want, I can't figure out how to save what I want. Lame.

  • Quick select tool doesn't work in photoshop CS5 extended

    I can't get the quick selection tool to work in CS5 it does in CS4 does anyone have an answer for this?

    I can capture the image in CS4 and wallah the back ground is gone...here in CS5 I have to had draw it (which I did just rapidly for this example) then I go to refine edge get the black screen with white outlines...or using the background screen image I just get the blank background with a light outline of the image ...????

  • User-defined variable in selection variant - doesn't work?

    Hello,
    Anyone had any experience of using user-defined variables (type B) in a selection variant? I can't get this to work in 4.7 or ECC 6.0. Seems like a bug - there's no way to specify the name of the variable. The theory behind their use is fine, but I wonder if anyone has successfully used them?
    Thanks,
    Chris.

    In an ECC 5 system, I can get to these showing if I'm in a report selection screen and I use the "Goto > User variables" (or Ctrl-F6) option... but note that it will only show the menu option if there are report parameters that have a PID on them and where the PID is defined in table TUVID (see note 144459).  That said, personally I've only used the "T" option and maintained system wide values in table TVARVC.
    Jonathan

  • My Select Buttin Doesn't Work on Clickwheel

    I have an older ipod 20 gb. I dont know what generation. I've downloaded updated software , and have attempted to do reset. Problem is the clickwheel works - all buttons - play/pause, menu/baclight, forward, reverse, but the select button does NOT. So i cannot change settings, or cascade through menus??
    What should I do, because you cannot reset without pressing the select button.
    The ipod plays songs ok. Although there is a new "crckly noise" like an old LP.

    Hi edjoe4221,
    I know that you may have already tried this, but have you tried restoring your iPod? (just in case it's not a physical problem, but a software sort of problem)
    For info on how to restore an iPod, see this article:
    Restoring iPod to factory settings
    -Kylene

  • Selection box doesn't work in other PC after application built.

    Selection box of VISA Resourse Name dosen't work after build application. and how to change the name of items in the box?

    Are you using the built application on a different machine?
    If so, you will need to install NI-VISA on the machine you are trying to use VISA.
    Also, you probably want to right click on the control and "allow undefined names" so you can type in the visa resource names like "ASRL1::INSTR".
    If you want to port over the aliases "COM1, COM2", etc then you can copy your visaconf.ini file (on a Windows 95 system: vxipnp >> win95 >> NIvisa >> visaconf.ini) into the same directory as your executable.

  • InDesign CS5 triple click to select text doesn't work

    Hey guys
    I'm really frustrated because I've just upgraded to CS5 and I have really run out of ideas. When I was using CS4, when I triple click on a text frame with any tool, it will activate the text tool and select the whole word I triple clicked.
    What has happened to this feature in CS5? I have checked the preference and the triple click option is checked. So I cannot see why isn't it working for me. I'm really frustrated because it just means I have to change my way of doing things which it has developed into a habit after 4 years of using InDesign.
    I really appreciate some help here. I want that feature back. I don't wanna go looking for another solution and learn another habit. Don't have the time.
    Thanks guys.
    PS. If I sound really rude that;'s because I really have no time... thanks.

    I'm not sure what you're meaning by the background image highlighting. But you could put it on its own layer and hide the layer. Or you could lock the object (Object > Lock).
    But I would first try a couple ways of dealing with problems. Restore your InDesign preferences: http://forums.adobe.com/thread/526990
    You could also have a corrupted file. You could try this: http://forums.adobe.com/thread/526991

  • HTML Select element doesn't work in IOS8 UIWebView and PhoneGap

    Local HTML pages in UIWebView containing or PhoneGap (Cordova) apps render the HTML select element on screen but it does not respond to clicks.  The usual option picker does not pop up when these apps are run in iOS8.
    The same apps work fine in iOS7 and below.  Any insights?

    I had the same issue with the ios 8 simulator. Unchecked Hardware>Keyboard>Connect hardware keyboard and the issue is solved!

Maybe you are looking for

  • Add on custom button to ALV toolbar in std tcode ME51N, ME52N and ME53N.

    Hi All, I have the requirement to add on the custom button to ALV toolbar in ITEM OVERVIEW for standard transaction ME51N, ME52N and ME53N. Does anyone know what enhancement point or user exit i should apply and how i can add on the custom button? Th

  • Project created in Flash CS3 & Flash CS5 crashes both Safari & Firefox

    I have a user with a brand new image including Snow Leopard 10.6.6 and the Adobe CS5.  When creating a project in Flash CS5 and then trying to view it in Safari & Firefox the plug-in crashes which then brings down the browser with it.  I went and ins

  • Indesign not installing correctly

    Hi, I need help with installing my Indesign CS5.5. I have Photoshop CS5 and Lightroom v3.3 installed already. The machine runs Windows 7 x64 with 8GB RAM on a Core i5 CPU. I tried rebooting and running as administrator to no avail. There is no antivi

  • FCP keeps crashing when loading thumbnails from bin

    Hey folks, I am having constant issues where FCP keeps crashing when I load a bin with thumbnails. This doesn't happen every time I open a bin, but after I open say 6 or 7 bins. After the research I have done I have come to a couple of possible solut

  • MacBook Pro and Core 2 Duo...Glossy or Matte?

    Hi there, I am anxiously awaiting to see what Apple will be announcing (hopefully) today with regards to the new Intel Core 2 Duo and their notebooks. I definately want a MacBook Pro, but don't know if the Core 2 Duo is worth waiting for. I want my M