Initial state

HI,
I am using this Superpanel v1.5 and I'm wondering if there is
a way to get the "initial state" of the panels to be collapsed?
I cannot figure it out no matter what i try
source code:
http://www.wietseveenstra.nl/files/flex/SuperPanel/v1_5/srcview/index.html
demo:
http://www.wietseveenstra.nl/files/flex/SuperPanel/v1_5/MainView.html

Try setting the panel height to the panel's header height.
You can get the panel's header height using getHeaderHeight()
method.
Hope this helps.

Similar Messages

  • How to get the initial state of JSF PAGE IN ORACLE ADF

    Hi everybody
    my Jdeveloper version is 12.1.3
    I'm building my JSF pages based on a template that has a navigation pane which contains command navigation items , every one of them (command navigation items) appears as a link at runtime and calls a JSF page , I wish to get the initial state for any page when leaving it then entering such page again , and I would like to know what is the suitable place to write the code to do this task.
    many thanks !

    Clear the cache by adding the following to each jsf page.
    <%
    response.setHeader("Cache-Control","no-cache"); 
    response.setHeader("Pragma","no-cache");
    %>

  • Spry Validation-text field shows the "required" text even in initial state

    Hi,
    I'm having trouble with spry validation.
    I insert my spry textfied and go to the properties inspector where  I choose validate on "Blur" and "submit" for the Required state. I check the required box for the "required state" but the initial state will also have the "a value is required" text. If I try to delete the "a value is required" text from the initial state, the required state won't show this error.
    What should I do?
    Any help is much appreciated.
    Thank you.

    Hi, thanks so much for the reply
    Well the javascript came with the spry file that I downloaded from the adobe site.
    Here is my statement:
      <label for="name"><span class="style87">Name:</span></label>
                      <span id="sprytextfield1">
                      <input name="name" type="text" class="textInput" id="name" />
                      <span class="textfieldRequiredMsg">A value is required.</span>                  </span></p>
                  <p> <span class="style87">
                      <label for="email">Email:</label>
                      </span><span id="sprytextfield2">
                      <input name="email" type="text" class="textInput" id="email" />
                      <span class="textfieldRequiredMsg">A value is required.</span></span></p>
    This is the statement for the submit button:
      <span class="clearIt">
                      <input name="send" type="submit" id="send" onclick="MM_validateForm('username','','R','password','','R','name','','R','email','','R' ,'comments','','R');return document.MM_returnValue" value="Send comments" />
                    </span><span class="clearIt">
                    <input type="hidden" name="MM_insert" value="form1" />
    This is the javascript
    <script type="text/javascript">
    <!--
    function MM_validateForm() { //v4.0
      if (document.getElementById){
        var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
        for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]);
          if (val) { nm=val.name; if ((val=val.value)!="") {
            if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
              if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
            } else if (test!='R') { num = parseFloat(val);
              if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
              if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
                min=test.substring(8,p); max=test.substring(p+1);
                if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
          } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
        } if (errors) alert('The following error(s) occurred:\n'+errors);
        document.MM_returnValue = (errors == '');
    //-->
    </script>
    This is at the bottom of the page:
    <script type="text/javascript">
    <!--
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "none");
    var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2", "none", {validateOn:["blur"]});
    //-->
    </script>
    Thank you for your help.

  • My iphone is stucked and  I forget my icloud password so how can I restore  my phone to the initial state?

    - Product name: i phone 4G
    - Memory:32GB
    - Operating System: i OS 7.0.0 (Not sure)
    Dear Sir,
    I forget my icloud password and my e-mail has been closed and I tried to recover it but it looks that I also lose my e-mail data and my phone is stacked so could you please help me to return my iphone to it's initial state...
    I Thank you too much...

    Sorry, not understanding what it is you are asking. Your iCloud password is the same as your Apple ID password. If you are attempting to restore the device and you are on the Activation Lock screen, you must supply the iCloud/Apple ID password before you can proceed:
    ACTIVATION LOCK
    Find My iPhone Activation Lock: Removing a device from a previous owner’s account - Apple Support
    Cheers,
    GB

  • Data warehouse monitor initial state data synchronization process failed to write state.

    Data Warehouse monitor initial state data synchronization process failed to write state to the Data Warehouse database. Failed to store synchronization process state information in the Data Warehouse database. The operation will be retried.
    Exception 'SqlException': Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
    One or more workflows were affected by this. 
    Workflow name: Microsoft.SystemCenter.DataWarehouse.Synchronization.MonitorInitialState
    Instance name: Data Warehouse Synchronization Service
    Instance ID: {0FFB4A13-67B7-244A-4396-B1E6F3EB96E5}
    Management group: SCOM2012R2BIZ
    Could you please help me out of the issue?

    Hi,
    It seems like that you are encountering event 31552, you may check operation manager event logs for more information regarding to this issue.
    There can be many causes of getting this 31552 event, such as:
    A sudden flood (or excessive sustained amounts) of data to the warehouse that is causing aggregations to fail moving forward. 
    The Exchange 2010 MP is imported into an environment with lots of statechanges happening. 
    Excessively large ManagedEntityProperty tables causing maintenance to fail because it cannot be parsed quickly enough in the time allotted.
    Too much data in the warehouse staging tables which was not processed due to an issue and is now too much to be processed at one time.
    Please go through the links below to get more information about troubleshooting this issue:
    The 31552 event, or “why is my data warehouse server consuming so much CPU?”
    http://blogs.technet.com/b/kevinholman/archive/2010/08/30/the-31552-event-or-why-is-my-data-warehouse-server-consuming-so-much-cpu.aspx
    FIX: Failed to store data in the Data Warehouse due to a Exception ‘SqlException': Timeout expired.
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Is initial state of a Java stack frame stored somewhere

    In My IDE (Eclipse), debugger has an option "Drop to Frame" for each method in the method stack, which when clicked resets the stack to the initial state of the selected method.
    How is the operation achieved?
    Is this an potion from JDB or IDE would have stored the initial state of all method stack frames?
    How could have static variables for other classes got reset?

    http://www.coderanch.com/t/485739/Java-General/java/initial-state-Java-stack-frame

  • Design Studio - put initial state on chart

    Hello,
    I work with DS1.3 SP01, and I have a problem with putting initial state on chart after RESET action from a button.
    Initially I was inspired with Zahid’s post http://scn.sap.com/thread/3566300, but it’s seems to be other scenario and needs.
    I this case, I have a tabstrip with 5 pages, where each presents pie charts. Once we click on one of the chart, a crosstab is displayed for each of them. When I click on button RESET, whatever a page is currently displayed I want to clear all filters for all my charts. During a RESET I hide all cross tabs – so I don’t have to liberate datasources linked to crosstabs.
    My code for RESET button seems to work quite ok, cause it gives me a chart with initial state, ready for next selections…. in condition that I do not click on RESET just after 1st click on pie chart.
    For example :
    - on page 1 : click on pie chart 1, then I go to the page 2/ click on chart 2  - come back to page 1 => click reset (chart 1 - initial state, chart 2-selection is highlighted)
    or
    - on page 1 : click on pie chart, then I add additional filter from panel_filter for all charts => click reset, works fine for all charts.
    If I try to click on RESET just after an action of click on the pie chart, I would say it stays locked, and my RESET do not put him in initial state. But If I click again, it works ! I would like to understand what is happening just after click on pie chart, why the state of chart seems to be "locked" ?
    My code:
    DS_1.clearAllFilters();
    CHART_1.getSelectedMember("XEMPLOYEE").internalKey;
    DS_2.clearAllFilters();
    CHART_2.getSelectedMember("XCOUNTRY").internalKey;
    // put invisible all cross tab from different pages                
    CROSSTAB_1.setVisible(false);      
    Thank you
    Beata

    Hi Beata,
    why you need those bold lines?
    My code:
    DS_1.clearAllFilters();
    CHART_1.getSelectedMember("XEMPLOYEE").internalKey;
    DS_2.clearAllFilters();
    CHART_2.getSelectedMember("XCOUNTRY").internalKey;
    // put invisible all cross tab from different pages               
    CROSSTAB_1.setVisible(false);
    I do not see reason for those. I suspect, when you clear the filters, those lines can cause some issues as the clearfilters call is for sure triggering event to chart and then the selection is cleared.

  • Initial State of Navigation Panel - Automatic not working

    Hello,
    I have several iViews where I have set Initial State of Navigation to Automatic, which should collapse detailed navigation if there is nothing on it to display. However, it always comes up open even though it is blank. Is there anything else that needs to be down to make it work? We are on EP7 SP14.
    Thanks,
    Alex

    Could you check your Portal Desktop Innerpage to check if there is some other iViews also on the left hand side where detail navigation iView is residing? Sometime another iView named Favorites is added there. So it might be the case though detail navigation is not there still it is showing the blank portal favorites iView on the left side.
    To check this Open you portal framework page -> Open Desktop Innerpage -> See if there is anything except Content Area and Detailed Navigation there. Check the Innerpage layout to see where these iViews are placed in side the page.
    Regards,
    Shubhadip

  • Initial State of Navigation Panel

    Hi all,
    I have an issue with an SAP portal ivew linked to a guided procedure. When the user clicks on it the navigation panel on the left is closed. We have to tried to set the proposerty "Initial State of Navigation Panel" to "Open"  but it did not work (although we tried another iView and it did work). Can you please indicate what could be the possible reason for overriding this property? Thank you in advance.

    Hi SAPer,
    Did you try looking at the "Initial State of Navigation Panel" value of your iView in question in the Portal role? Assuming this is a delta-link copy, this property might have its delta-link inheritance broken through modification prior to this.
    Cheers.
    Best Regards,
    Zhi Liang

  • How to reset a particular view object alone to it's initial state??

    Hi,
    My application contains view objects with custom data source implementation. One of my requirement is to reset the particular view object alone to it's initial state. I can't use rollback since it is at Db Transaction level. I searched in forums and finally written the following coding to achieve it. It works fine during sometime but sometimes i am getting the exception oracle.jbo.DeadEntityAccessException: JBO-27101: Attempt to access dead entity in Person, key=oracle.jbo.Key[1 -10 ]
        public void resetPersonViewObject(String voName) {
            Iterator dirtyItr = this.getEntityDef(0).getAllEntityInstancesIterator(this.getDBTransaction());
            while (dirtyItr.hasNext()) {
                Object obj = dirtyItr.next();
                if (obj instanceof EntityImpl) {
                    EntityImpl entity = (EntityImpl)obj;
                    String state = null;
                    byte entityState = entity.getEntityState();
                    switch (entityState) {
                    case Entity.STATUS_INITIALIZED:
                        state = "Initialized";
                        // Don't do anything
                        break;
                    case Entity.STATUS_UNMODIFIED:
                        state = "Un-Modified";
                        // Don't do anything
                    case Entity.STATUS_DEAD:
                        state = "Dead";
                        // Don't do anything
                        break;
                    case Entity.STATUS_DELETED:
                        state = "Deleted";
                        entity.revert();
                        // entity.refresh(Entity.REFRESH_CONTAINEES);
                        break;
                    case Entity.STATUS_MODIFIED:
                        state = "Modified";
                        entity.refresh(Entity.REFRESH_UNDO_CHANGES);
                        break;
                    case Entity.STATUS_NEW:
                        state = "New";
                        entity.refresh(Entity.REFRESH_FORGET_NEW_ROWS);
                        entity.refresh(Entity.REFRESH_REMOVE_NEW_ROWS);
                        break;
                    System.err.println("State : " + state);
            getDBTransaction().clearEntityCache(getEntityDef(0).getFullName());
            getViewObject().clearCache();
    }Questions:
    1. How to achieve my requirement? Is there any code correction required?
    2. How to reset the row which is actually deleted by the user?
    3. The sample code shown above is applicable for all the view object instances which are created from the same entity? What should i do if i want to reset a particular instance of a view object (I may use different instance of same view object at various screens whereas i want to reset only one)
    Can anyone help on this??
    Thanks in advance.
    Raguraman
    Edited by: Raguraman on Apr 24, 2011 8:48 PM

    Hi,
    As per my requirement, i use various instances of same view object in various dynamic tabs only. Since each tab has its own transaction, refreshing an EO of a particular transaction will refresh only the VO instances which comes under that transaction. So it will not cause any issue for my requirement i hope.
    Requirement: Need to reset a particular entity driven view object instances.
    Tried Schema: Departments table of HR Schema. Tried using the Application Module tester.
    Code i use:
        // Client Interface method of DepartmentsViewImpl
        public void resetView() {
            Iterator dirtyItr =
                this.getEntityDef(0).getAllEntityInstancesIterator(this.getDBTransaction());
            while (dirtyItr.hasNext()) {
                Object obj = dirtyItr.next();
                if (obj instanceof EntityImpl) {
                    EntityImpl entity = (EntityImpl)obj;
                    byte entityState = entity.getEntityState();
                    switch (entityState) {
                    case Entity.STATUS_UNMODIFIED:
                        break;
                    case Entity.STATUS_INITIALIZED:
                        break;
                    case Entity.STATUS_DEAD:
                        break;
                    case Entity.STATUS_DELETED:
                        entity.refresh(Entity.REFRESH_WITH_DB_FORGET_CHANGES);
                        break;
                    case Entity.STATUS_MODIFIED:
                        entity.refresh(Entity.REFRESH_UNDO_CHANGES);
                        break;
                    case Entity.STATUS_NEW:
                        entity.refresh(Entity.REFRESH_FORGET_NEW_ROWS);
                        entity.refresh(Entity.REFRESH_REMOVE_NEW_ROWS);
                        break;
            getDBTransaction().clearEntityCache(getEntityDef(0).getFullName());
            getViewObject().clearCache();
    Issue i have:
    1. Add a blank row (Soon transaction has become dirty). Call the resetView() client interface. It gives me JBO-25303: Cannot clear entity cache model.eo.Departments because it has modified rows
    2. Modify any row and then delete the same row. Call the resetView(). It gives me JBO-27101: Attempt to access dead entity in Departments, key=oracle.jbo.Key[10 ]
    [NOTE:  Above code works fine when for simple deletion of rows, modification of existing rows, new rows]
    Edited by: Raguraman on Apr 24, 2011 8:48 PM

  • Hp laser jet m1005 mfp is in initializing state not coming to ready how can i solve it

    hp laser jet m1005 mfp is in initializing state not coming to ready how can i solve it

    Me too. I have this exact same problem. Can anyone help?

  • Fc Port Remains In "Initializing" State

    First of all, thank you for taking the time to read this.....
    We are trying to add an IBM P770 to our Cisco MDS 9000 Fabric Switch.  We've set the port to Fx mode, trunking off, rate-mode is shared.  For some reason the port remains in the "initializing" state.  The only way that we could get it to come up, is by putting the port into ST state.  Even when the port does come up, in ST mode, when you look at the Flogi database, the port doesn't appear.  Unfortunately, our support isn't through SmartNet, so we have to open support with another vendor.  Unfortunately, they are as stumped as we are.  We have read many online blogs, but nothing seems to help us.  None of us are Storage Network experts, so hopefully someone can help.  Again, thanks for taking the time to read this!            

    OK try this.
    Set the switch port type to auto and then get your unix admin to rmdev the hba (without the -d will be fine), then do a cfgmgr.
    Steven

  • Spry Blind Effect - Initial state closed

    Hi,
    I was wondering if its possible to have the Blind effect, set to be closed initially and then "Blind down"?  I've tried setting the "Blind from" fields but it doesn't seem to work.  The div container is always open initially then toggles up and down properly, I'd just like to be able to set it to be 'closed' initially. Is there a way to do this?
    Note: I have a table inside the container div, not sure if it affects it but it does seem to work when I toggle so, my issue is simple to have it on that closed state initially.
    Thanks for your help!
    Al

    Hi Ben,
    Thanks for your reply, yup I already saw that page but didn't seem to work
    with my case, so I just decided to use several "colapsable" widgets and that
    seemed to work, but was interested in knowing if there existed a way to have
    the Blind behavior start with the initial state being closed.
    Frank

  • Reset View to its initial state

    Hi experts,
    In my Webdynpro componenet I am navigating between different views. I am displaying data in one view by entering the selection fields. And, when I come back to this view the selection and the data remains in the view. I want the view to be displayed in its initial state every time. Is there any method to reset the view, to be handled in WDDOEXIT?
    Thanks,
    Sharmila

    Hi Sharmila ,
    Change the lifetime of the view to when visible.
    and it will not decrease your performance .
    Refer to this wiki for the same :
    [http://wiki.sdn.sap.com/wiki/display/Community/HighperformanceofWebdynpro+ABAP]
    Regards
    Kuldeep

  • How can I set the initial state of the PGCTR0 out pin?

    Hi,
    I have a 6115 board, and I am trying to generate a pulse train on PGCTR0 with an external clock. The external clock signal is connected to PFI1 and the PGCTR0 is gated through PFI0. The PGCTR is reset at the end of each run.
    The problem is that the initial state of the PGCTR out pin changes from run to run, but I'd like it to stay high after reset. Any help is appreciated. THanks.
    feng

    Hi Feng,
    The default output state of your counters should be high depending on your board. If you run a counter application, and the line ends in a low state it will stay low. One way to change the output state is to not only reset the counter but reset the board (see knowledge base linked below). The other way is to treat it like a digital line (see second link below). This is probably the best method. This method should allow you to read the value and change it using a couple software calls. Instead of disabling the counter, I would reset the counter since you just want to reset the state. This method is also a decent workaround because you are resetting the counter anyway. Hope that helps. Have a good day.
    Default State of Counter Output Lines
    on E Series Data Acquisition Devices
    http://digital.ni.com/public.nsf/websearch/008995633E33E47486256B5F00034436?OpenDocument
    Using the General Purpose Counter (GPCTR) on the Data Acquisition (DAQ) Device as a Digital Line http://digital.ni.com/public.nsf/websearch/B8A49A4E33F38AB686256B610061DC6D?OpenDocument
    Ron

  • Initial state for CNiIIRCascadeFilterHi

    Hi,
    I'm using a CNiIIRCascadeFilter for my signal processing.  I perform a forward an backward filtering on the data. To reduce transient on both ends I have to introcude paddings and to set the initial state of the filter. Is it possible to set the initial state? I could not find an appropriate method. Or is there a 'trick' to feed the filter with special values to achiev the wished state?
    Thank you
     Mario

    Hi Mario!
    I didn't found any 'trick' to in set an initial state. I didn't found anything else than that is documented in the MStudio help. For all methods of these classe please refer the help file.
    ms-help://MS.VSCC.v80/MS.VSIPCC.v80/NI.MeasurementStudio.2005/NIVCAnalysis/Objects/CNiIIRCascadeFilter/Main.htm
    Regards
    Tobias Lange
    Attachments:
    CNiIIRCascadeFilter.pdf ‏15 KB

Maybe you are looking for

  • A bug in JAXM?

    Hi, A standalone client application I'm writing makes a soap connection to a server. Among other header values, the url of the following form is also sent as a header value: String url = http://www.myserver.com/app?a=b&c=d&e=f; header.addHeaderElemen

  • Re: Can't open CS5.5 in CS6 (branched)

    (Branched this thread from Can't open CS5.5 in CS6) I have the same problem. I've been working with CS5.5 for 1 year. Know, I've upgrade to CS6 and I can't open my CS5.5 files. This files are mine (not of a partner), I've made it so I can't understan

  • Calendar not making it across the Bridge

    My Playbook is picking up messages and contacts from my BB phone using the bridge but it is not picking up the calendar. The message I receive is "There are no active calendar services on your device" with a link to "More Information". The link takes

  • BPC - Time Dependent Master Data

    Hi, I wanted to confirm can we maintain time Dependent master data in BPC ? For Example : For dimension employee I have "Date of compensation change" as an attribute. Now for cycle it will have different value and for cycle 2 it will have different v

  • Facebook for your phone

    How do you get Facebook for your Blackberry? Do you do it through your laptop or your phone? I tried to do it on my laptop by clicking on 'Blackberry' under 'Facebook for your phone' and then clicked on 'send to your Blackberry', but it comes up with