JRadioButton setEnable(false) not refreshing correctly

I have a JFrame class that implements customerConfigurationPanel with a ComboBox with 2 Radio Buttons in a button group. I have created a CustomerConfiguration class that represents the cutomerConfigurationPanel. The JFrame class is an Observer of the CustomerConfiguration class. Here is where it gets tricky, I use the JComboBox to set the CustomerConfiguration class and when I do a setVar() it notifies the JFrame class that it has been updated. At this point I enable or disable the RadioButton based on the CustomerConfiguration class. The issue is that the RadioButtons do not grey out correctly or in any pattern that I can tell. I have tried repaint on the JFrame and the panel, I have tried validate(), invalidate(), and revalidate() to stop and start the panel while I am updating the JRadio Buttons. I need to stop the JFrame or Panel, set the state of the JRadio Buttons, and start the panel again. I have a lot of code in place so its not very easy to put an example in place but Ill start working on it to give an example.
The problem in its most basic form is that I have a JRadio Button in a button group that doenst grey out correctly.

Here is a sample of the code I am using: I have a button that may or may not be setSelected in a previous state. So I want to clear the button state and reset it to the new state. In this example I have a radioButton group Truck/Trailer and I want to clear both buttons, set Trailer so it is not selected and then not enabled and then set Enable Truck and select truck. I belive the code is correct but the behavior is not. I have this same code just 10 lines later in my program and it works everytime. I think its a timing issue with repainting of the container somehow. Also if I use isVisible() instead of setEnabled() it works everytime.
jrbTrailer.setEnabled(true);
jrbTrailer.setSelected(false);
jrbTrailer.setEnabled(false);
jrbTruck.setSelected(true);
// None of these work
//jrbTrailer.repaint()
//jrbTrailer.revalidate()
//jrbTrailer.validate()

Similar Messages

  • Login Window: Screen does not refresh correctly after waking 10.7.2 iMac and MacBook.

    I have a client who brought to my attention that when we wakes his iMac and MacBook after the screen dims or sleeps at login screen, that sometimes the screen does not refresh correctly and you must use the cursor to basically "clear the screen."  I have witnessed this myself and elimiated all third party products and this still happens.  I am starting to believe that is is a bug in 10.7.2.  Has anyone witnessed this or have any suggestions on how to remedy?  Thank you.

    Thanks lynque.  It turns out I did need a keychain repair, but that didn't fix the problem.  I probably should have done this earlier, but I ended up unplugging all peripherals (2 firewire + 3 USB) then powered up without issue.
    So I shut down, plugged in one at a time, and ran into the problem again after plugging in an external hard drive (WD My Book Essential).  I repaired with disk utility, but the problem remained.
    I then rebuilt the partitions with Disk Warrior, and now everything seems to work....

  • Site Index Portlet is not refreshed correctly

    I have deployed the Site Index Portlet in Portal 10.1.4, and it seems to work nicely. However, sometimes the portlet does not refresh correctly, even though other elements on the page (e.g. banner, page path) are updated. Refreshing the page with F5 in Internet Explorer 6.0 (or clicking the same link once more) refreshes the content of the portlet, but this is unacceptable for end users.
    The same problem is not possible to reproduce in Firefox 1.5. If only all end users were using Firefox . . .
    Any ideas for how to fix this for all browsers?
    -- [email protected] [Senior Principal Consultant]
    -- http://home.c2i.net/toreingolf/contact/

    My browser caching is already set to "Every visit to the page", I'm afraid.
    I was suspecting the PPE in Portal, but if that was the reason, then the problem would occur in all browsers, right? Or do you think this could be caused by how IE handles ESI?
    Interestingly, the portlet works perfectly in Firefox (the menu is even updated immediately, before the new page loads!). And in Opera, the menu doesn't show up at all! What's going on here?

  • IDAutomationHC39S font not refreshing correctly...

    Hi
    We are using IDAutomationHC39S font in our webi report. The font is not appearing correctly unless we go to edit mode. Once we edit the repot and run the font is displaying correctly.
    Can i know how to resove this issue so that when user opening he will be able to see the correct font...
    Thanks in advance..
    Muthu

    You may also want to search/ask in the forum specifically for PowerPoint problems:
    http://www.officeformac.com/ProductForums/PowerPoint/

  • Cascading LOV in af:table will not refresh correctly

    Jdeveloper version 11.1.1.5.0
    I have spent quite a bit of time trying to understand why 2-level cascading LOV won't work in a particular situaion. I still haven't been able to fix it and so I turn to the ADF gurus on this forum.
    Here's the scenario:
    1. I have a ViewObject called AdjustDeltaValuesView. This VO contains attributes from its entity. It also has transient attributes called CategoryId and CodeId.
    2. There is LOV defined for CategoryId for VO CodeCategoryMasterView
    3. There is LOV defined for CodeId for LimitedCodeMasterView.
    3. View Criteria is created for LimitedCodeMasterView which sets a bind variable value from CodeCategoryMasterView.CodeCategoryId.
    4. I have wired all the LOVs correctly and it is working properly in ADF BC tester.
    5. In the UI, I have dropped AdjustDeltaValuesView data control as ADF Table where CategoryId and CodeId are displaying as af:selectOneChoice.
    6. CategoryId has autoSubmit=true and CodeId has partialTrigger set to component ID of CategoryId.
    7. The LOV inside editable af:table is working fine except one scenario that when user selects same categoryId from the category LOV in the second row, the CodeId LOV will not populate.
    Here's the code snippet of jspx:
            <af:table value="#{bindings.AdjustDeltaValuesView1.collectionModel}"
                      var="row" rows="#{bindings.AdjustDeltaValuesView1.rangeSize}"
                      emptyText="#{bindings.AdjustDeltaValuesView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                      fetchSize="#{bindings.AdjustDeltaValuesView1.rangeSize}"
                      rowBandingInterval="0"
                      selectedRowKeys="#{bindings.AdjustDeltaValuesView1.collectionModel.selectedRow}"
                      selectionListener="#{bindings.AdjustDeltaValuesView1.collectionModel.makeCurrent}"
                      rowSelection="single" id="t1" editingMode="editAll"
                      rendered="false">
              <af:column sortProperty="CategoryId" sortable="false"
                         headerText="#{bindings.AdjustDeltaValuesView11.hints.CategoryId.label}"
                         id="c25">
                <af:selectOneChoice value="#{row.bindings.CategoryId.inputValue}"
                                    label="#{row.bindings.CategoryId.label}"
                                    required="#{bindings.AdjustDeltaValuesView11.hints.CategoryId.mandatory}"
                                    shortDesc="#{bindings.AdjustDeltaValuesView11.hints.CategoryId.tooltip}"
                                    id="soc3" autoSubmit="true">
                  <f:selectItems value="#{row.bindings.CategoryId.items}" id="si3"/>
                </af:selectOneChoice>
              </af:column>
              <af:column sortProperty="CodeId" sortable="false"
                         headerText="#{bindings.AdjustDeltaValuesView11.hints.CodeId.label}"
                         id="c27">
                <af:selectOneChoice value="#{row.bindings.CodeId.inputValue}"
                                    label="#{row.bindings.CodeId.label}"
                                    required="#{bindings.AdjustDeltaValuesView11.hints.CodeId.mandatory}"
                                    shortDesc="#{bindings.AdjustDeltaValuesView11.hints.CodeId.tooltip}"
                                    id="soc4" partialTriggers="soc3">
                  <f:selectItems value="#{row.bindings.CodeId.items}" id="si4"/>
                </af:selectOneChoice>
              </af:column>For example, where it DOES NOT Work
    1. User selects Category A from dropdown from the first row.
    2. code Id dropdown populates with corresponding values in the list based on CategoryId user selected.
    3. user selects Code X from the dropdown.
    4. User selects Category A from the dropdown from the second row.
    5. PROBLEM: In the second row, Code Id dropdown does not populate. Code dropdown is empty.
    Where it works:
    1. User selects Category A from dropdown from the first row.
    2. code Id dropdown populates with corresponding values in the list based on CategoryId user selected.
    3. User selects Category A from the dropdown from the second row.
    4. In the second row, Code Id dropdown populates correctly.
    Where it works:
    1. User selects Category A from dropdown from the first row.
    2. code Id dropdown populates with corresponding values in the list based on CategoryId user selected.
    3. user selects Code X from the dropdown.
    4. User selects Category B from the dropdown from the second row.
    5. In the second row, Code Id dropdown populates correctly.
    Has anyone come across this scenario? It's a very weird problem.
    I hope I have explained this well. If it's not clear please let me know.
    Edited by: Shah23 on Jan 14, 2013 6:42 PM
    Edited by: Shah23 on Jan 15, 2013 9:09 AM

    Hi,
    Always mention your JDev version.
    Try modifying your VOs as explained in this blog and see if it works fine : https://blogs.oracle.com/aramamoo/entry/how_to_create_multi_level
    -Arun

  • List items do not refresh correctly.

    In a form that i have developed there are two list items. I
    want among others to chenge their appearance (background color
    basicaly) according to witch one has th focus each time.
    So I've put this code on the items, in WHEN-NEW-ITEM-INSTANCE
    triger:
    * LIST1
    SET_ITEM_PROPERTY('LIST1',VISUAL_ATTRIBUTE,'SELECTED');
    SET_ITEM_PROPERTY('LIST2',VISUAL_ATTRIBUTE,'GREYED');
    * LIST2
    SET_ITEM_PROPERTY('LIST2',VISUAL_ATTRIBUTE,'SELECTED');
    SET_ITEM_PROPERTY('LIST1',VISUAL_ATTRIBUTE,'GREYED');
    The Visual Attributes have the colors that i would like to
    appear on the items.
    This does not work (while it was working on Forms 5.0). It
    seems to be a refresh problem, because when you open another
    form that covers this one, or you minimize and maximize it the
    colors are assigned corectly.
    Thanks in advance for your help.
    null

    Panagiotis Lygnos (guest) wrote:
    : In a form that i have developed there are two list items. I
    : want among others to chenge their appearance (background color
    : basicaly) according to witch one has th focus each time.
    : So I've put this code on the items, in WHEN-NEW-ITEM-
    INSTANCE
    : triger:
    : * LIST1
    : SET_ITEM_PROPERTY('LIST1',VISUAL_ATTRIBUTE,'SELECTED');
    : SET_ITEM_PROPERTY('LIST2',VISUAL_ATTRIBUTE,'GREYED');
    : * LIST2
    : SET_ITEM_PROPERTY('LIST2',VISUAL_ATTRIBUTE,'SELECTED');
    : SET_ITEM_PROPERTY('LIST1',VISUAL_ATTRIBUTE,'GREYED');
    : The Visual Attributes have the colors that i would like to
    : appear on the items.
    : This does not work (while it was working on Forms 5.0). It
    : seems to be a refresh problem, because when you open another
    : form that covers this one, or you minimize and maximize it the
    : colors are assigned corectly.
    : Thanks in advance for your help.
    Hi Panagiotis Lygnos ,
    I am not able to produce this problem. I create one form with
    two list item ,two visual attribute & when-new-item-instance
    trigger for these two list item as you have written above.
    But List item background color of both list item is getting
    changed according to witch one has th focus each time.
    Even I tried to call this form from some other form still I am
    getting correct result.
    Can you just try by adding synchronize in the trigger of
    both list item.
    SET_ITEM_PROPERTY('LIST1',VISUAL_ATTRIBUTE,'SELECTED');
    SET_ITEM_PROPERTY('LIST2',VISUAL_ATTRIBUTE,'GREYED');
    Synchronize;
    Bye
    Mani/-
    null

  • Dates not refreshed correctly

    Hi,
    We are using service contracts BT112H_SC from Web UI. From this component we are calling SAP GUI actions (using transaction launcher) to make changes to the contract u2013 like cancellations, date changes and so on.
    We now have a problem with refreshing the Dates assignment block from service contract. The Dates assignment block is handled within a separate component called BTDATES and is called from BT112H_SC using component usage.
    When running an action that should change the dates (due to for example an Annulation of contract), the status is set to Cancelled but the dates Contract end date is not changed. I am calling function module CRM_ORDER_READ_OW after the action is executed in some places and see that the dates are updated correctly in the buffer, but they are not showing up in the Web UI.
    It seems as the dates are set correctly if I donu2019t expand the assignment block Dates before running the action. So if I expand the assignment block after running the action the dates are set correctly. If expanding the Dates assignment block before running the action, the dates are not updated.
    The dates are also set correctly after saving the contract so it is just a matter of visibility.
    Also if I (after running the action), go to one of the items and expanding the Dates assignment block on item level and then go back to header level the dates are displayed correctly.
    I have enhanced component BTDATES/Dates u2013 Method DO_PREPARE_OUTPUT where I use the following commands that should refresh the values.
    me->typed_context->btdate->collection_wrapper->publish_current( ).
        lr_ent ?= me->typed_context->btdate->collection_wrapper->get_current( ).
        lr_ent->reread( ).
    I have also used the command modify without success.
    Somehow the BTDATES component must be refreshed to read the dates from the buffer correctly after the action is executed.
    Do anyone have any suggestions on how to handle this?
    Regards Andreas

    Hi,
    Thanks a lot for your answers. I need all input I can get.
    Kathirvel: I can see that event 0002_expand_link is triggered (from class  ZL_BT112H_S_MAINWINDOW_IMPL I believe) when expanding the Dates assigment block. But I cannot figure out what is happening next.
    But after expanding the assignment block once, the event is not triggered if I expand/collapse the assigment block again.
    I see that in CL_BSP_WD_VIEW_MANAGER ~ DO_FINISH_INPUT when expanding Date assignment block, a BOL_CORE->MODIFY statement is made. This code is triggered when expanding the Date assignment block (but only first time).
    Do you know which event I could call to trigger the update again?
    asen2222 : I entered the code lr_core->modify( ) in ZL_BT112H_S_OVVIEWSET_IMPL ~ DO_PREPARE_OUTPUT which is called after my action is executed and the dates are modified in the buffer. But it doesn't work. When debugging the modify( ) method it seems as it have no delta-information to save.
    I have also tried setting the statement in component BTDATES - ZL_BTDATES_DATES0_IMPL ~ DO_PREPARE_OUTPUT without success.
    In the same place -  component BTDATES - ZL_BTDATES_DATES0_IMPL ~ DO_PREPARE_OUTPUT  -  I also put the following code:
    lr_ent ?= me->typed_context->btdate->collection_wrapper->get_current( ).lr_ent->reread( ).
    This do not work either. But if I debug the reread method and go into
    method REREAD_ENTITY of CL_CRM_BOL_CORE I see following code:
    lv_relation_cacheable = me->object_model->relation_is_cacheable(
    lv_parent_relation_name ).
    If I then set lv_relation_cacheable = ' ', it seems to bypass the buffer and read the data from underlying layers. And then the values is showingcorrectly updated!.
    I believe it is reading the relation from table CRMC_ORLSTA_BTIL but this
    table do not include field DO_NOT_BUFFER so I assume this field should
    never be set for business transactions. But in this case it wouldhave worked for us.
    Regards Andreas

  • UWL do not refresh correctly when leave request change status

    hi
    I implemented the standar workflow of "Leave Request"(succesfuly), and the leave request  appareced in UWL in MSS, I approved the leave request, but Leave Request is not change the status. But The employee of the leave request watch the new "status" with approved in the ESS option (Leave Request).
    I refresh the UWL but Leave request stills appears with status "new", I clicked in the Leave Request (it had already approved in the previous step) and the new window open with error "index 0,0".
    My questions are:
    1.  How I can refresh my UWL? and that I displayed the request approved
    2.  Why not change your status to approve the leave, if I do not get any error?
    thanks for your post and answers
    Ivan

    implement the note 1501377 which was created to clear the leave request workitems
    ensure it is done
    and then following settings, In SWU3 schedule background jobs
    in uwl administration you can set these
    Default Execution Mode: Optimistic
    Webflow User Format: Full Name
    Default Cache Validity Period, in Minutes: 2
    Maximum Number of Threads Created in the Thread Pool: 10
    Timeout Value for the Connected Systems, in Seconds: 60
    Please check how frequent you refresh your cache
    1.,,Open task in the same window in the portal - rather than opening in
    a new window when approving and rejecting tasks.  This is so that the
    actions will be controlled through the UWL UI rather than an external
    window.
    2.You can configure an additional column on the UWL UI called
    isLaunched to mark an item that were already executed and may have been
    completed already.  This is very similar to the marked as read
    functionality contained in an email client.  If a user opens a task the
    item will  be marked as launched.  If refresh happens either manually or
    automatically then the workitem may be completed (marked as launched)
    and disappears from the inbox.  If it has been opened but not completed
    the launched icon disappears.
    3. Is Delta Pull enabled in your system?
    Steps to clear the UWL cache
    please go to "System Administration" "System Configuration" ->
    -> Universal Work list & Workflow
    -> Universal Workflow Administration
    -> Click on cache administration page
    -> Click "Clear Cache" button.

  • Webi document prompts order from Java SDK does not refresh correctly?

    Hi
    I'm developping a standalone command-line Java program which will schedule a report with custom prompt values.
    I am having a problem with Webi prompts ordering acquired from the SDK.
    We are running BO XI R2 SP4 under Windows on Tomcat servers.
    Here is the problem:
    I have a Webi report called "Articles Racines" in a "Tests SDK" directory.
    This report uses two prompts named "Type Article :" and "Code Marque :" (in this order).
    Java SDK (code below) returns the right prompts in the right order.
    Now, in Infoview, I modify the report in order to change the order of the prompts (in the "Properties" tab) making "Code Marque :" the first and "Type Article :" the second one and save the changes.
    When I run the report, prompt order has changed but the prompts retrieved from the Java SDK are still in the old order.
    I noticed that if I update the name of both prompts, the prompts retrieved from the SDK now are in the right order (with the updated names).
    Am I doing something wrong? Is it a known issue?
    Thanks in advance.
    Guillaume
    PS : I am aware that "select *" are very bad but I am still in research stage of developpment.
    TestsScheduler.java:
    import java.util.Iterator;
    import java.util.List;
    import java.util.StringTokenizer;
    import com.businessobjects.sdk.plugin.desktop.webi.IWebi;
    import com.businessobjects.sdk.plugin.desktop.webi.IWebiPrompt;
    import com.crystaldecisions.sdk.exception.SDKException;
    import com.crystaldecisions.sdk.framework.CrystalEnterprise;
    import com.crystaldecisions.sdk.framework.IEnterpriseSession;
    import com.crystaldecisions.sdk.framework.ISessionMgr;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObject;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObjects;
    import com.crystaldecisions.sdk.occa.infostore.IInfoStore;
    public class TestsScheduler {
         public static void main(String[] args) {
              String cms = "XXX";
              String username = "XXX";
              String password = "XXX";
              String authentification = "secEnterprise";
              String reportPath = "/Tests SDK/Liste des racines";
              try {
                   ISessionMgr sessionManager = CrystalEnterprise.getSessionMgr();
                   IInfoObjects objects;
                   // Connexion
                   System.out.println("Connexion à "+ username +"@"+ cms +" ("+ authentification +") en cours...");
                   IEnterpriseSession session = sessionManager.logon(username, password, cms, authentification);
                   System.out.println("Connecté à "+ session.getCMSName());
                   // Récupération de l'infoStore
                   IInfoStore infoStore = (IInfoStore) session.getService("InfoStore");
                   // Récupération des informations d'un report
                   StringTokenizer st = new StringTokenizer(reportPath, "/");
                   int reportID = 0; // Le dossier "Dossiers Publics" est la racine (/)
                   IInfoObjects infoObjects;
                   IInfoObject infoObject;
                   do {
                        String token = st.nextToken();
                        System.out.println("Recherche de l'objet '"+ token +"' en cours...");
                        infoObjects = infoStore.query("select * from CI_INFOOBJECTS where SI_NAME = '"+ token +"' and SI_PARENTID = '"+ reportID +"'");
                        if(infoObjects.size() != 1) {
                             throw new Error("Le dossier SI_ID='"+ reportID +"' possède "+ infoObjects.size() + " fils nommés '"+ token +"'.");
                        infoObject = (IInfoObject) infoObjects.get(0);
                        reportID = infoObject.getID();
                        System.out.println("Trouvé l'objet SI_ID='"+ reportID +"' nommé '"+ infoObject.getTitle() +"'.");
                   } while(st.hasMoreTokens());
                   if(infoObject instanceof IWebi) {
                        IWebi webi = (IWebi) infoObject;
                        List prompts = webi.getPrompts();
                        System.out.println("Le rapport Webi possède "+ prompts.size() +" invite(s).");
                        for(Iterator itPrompts = prompts.iterator(); itPrompts.hasNext();) {
                             IWebiPrompt prompt = (IWebiPrompt) itPrompts.next();
                             List values = prompt.getValues();
                             System.out.println("     L'invite '"+ prompt.getName() +"' possède "+ values.size() +"' valeur(s).");
                             for(Iterator itValues = values.iterator(); itValues.hasNext();) {
                                  Object value = itValues.next();
                                  System.out.println("          Valeur='"+ value +"'.");
                   // Déconnexion
                   System.out.println("Déconnexion en cours...");
                   session.logoff();
                   System.out.println("Déconnecté");
              } catch(SDKException e) {
                   throw new Error("Erreur lors de la connexion : "+ e.getMessage());
    Edited by: Guillaume L on Dec 10, 2008 3:22 PM

    Here's the reason why:
    Web Intelligence document prompting is handled properly if you open the doc using the ReportEngine Java (REBean) SDK.
    When you set prompts and schedule, you'd first open the doc using REBean, set the prompts, then copy over the prompt values you've set to the IWebi you're scheduling using the PromptsUtil.populateWebiPrompts(...,...) helper method.
    So the InfoObject IWebi doesn't know about the actual ordering of the prompts in the document itself - it's just receiving the prompts in order as it's fed from PromptsUtil.
    It's not recommended to assume that the IWebi.getPrompts() will return a non-empty collection.  The Web Intellligence document must be first opened in ReportEngine and the prompting values set using PromptsUtil to fill the collection.
    Sincerely,
    Ted Ueda

  • IE does not refresh correctly what is wrong?

    I've created a new java class "ShowDocument.class" and ran it once throw an htm file "ShowDocument.html" using IE Explorer 6.0.2
    First time loaded correctly, then I modified the source code ShowDocument.java and recompiled it and viewed it using appletviewer and it showed my new changes.
    but IE insist to show the old class that first loaded.
    I did the following:
    1) remove the class completely and did the new compile cycle and try to load a brand new instance of IE.
    2) search for all classes in the "my computer" drives and deleted any cashed ShowDocument.class.
    3) from the tools menu, internet options, I deleted all the files, including offline contents
    All these trials passed without any success.
    Any idea?
    thanks!

    when I recompile something I always just close the browser and restart it, and it works fine. If I don't close it, it uses the old class. Moving on, you can clear the java plugin cache by going to Control Panel (assuming you're using windows), then click on the java plugin icon. When that's opened, go to the Cache tab, and click "Clear Cache."

  • Workbook not refreshing correctly

    In the workbook when refreshing of a query is selected a message u2018SAP BEx: Jumping to target of type saved viewu2019 is displayed and then a new workbook is launched and a view displayed.
    I insert a new query I get the same behaviour. The same view is displayed on all worksheets.
    can any one please suggest how to rectify this issue with out recreating a new workbook.
    Thank you,
    Krishna

    Hi,
    Have select option refresh automatically in  workbook settings .
    Regards,
    SAtya

  • I attempted to download a song. It originally did not download correctly. I refreshed the download and it supposedly completed. Upon playing the song in both my library and on the Itunes store it will not play past the first 5 seconds. How can I fix this?

    It originally did not download correctly. I refreshed the download and it supposedly completed. Upon playing the song in both my library and on the Itunes store it will not play past the first 5 seconds. How can I fix this?

    Hello Whitney262,
    Thanks for using Apple Support Communities.
    I would go ahead and make sure you can first download the content, then remove the song from your iTunes Library, and download again from your iTunes past purchases.  The article below will walk you through the entire process:
    Download past purchases
    http://support.apple.com/kb/ht2519
    Take care,
    Alex H.

  • How to make A JButton not look disabled when it is  setEnabled(false);

    how do i make a jbutton not look disabled when i setEnabled(false) because when u disabled abutton it changes and takes away the frame of the button it self..is there a way to make it make a sound when its disabled and not take the frame away...example look at windows calculator when u have an answer for example 2 + 2 when the answer is displayed if u try to click the backspacebutton at this point it makes a sound..is this possible in java thanks

    Why did you repost this question??????
    You where given an answer in the other posting. You have not explained why the solution won't work and you haven't provided any further information about your question.
    You also haven't listened to the other advice, you just reposted the question word for word.

  • I have an Apple Configurator install that wont recognize an iPad when I attach it via USB.  I cant prepare it or refresh it.  It was supervised.  I get an error message that says "policy does not have correct profile data".  Please help!!!

    I have an Apple Configurator install that wont recognize an iPad when I attach it via USB.  I cant prepare it or refresh it.  It was supervised.  I get an error message that says "policy does not have correct profile data".   At some point there was a mismatch between the profile on the iPad and the MAC server.  The profile on the MAC server has been deleted and the iPad has been erased and reset to default.  I need to be able to get Configurator to recognize this device to prepare it for deployment and issue Apps to it.   Please help!!

    Run the application 'Terminal.app' which you will find in '/Applications/Utilities' on your Macintosh.
    Type this into it: defaults delete com.apple.configurator PreprationSavedPolicyDefaultsKey
    Hit the return key.
    If you get no error message, it worked, and you can quit the app.

  • Excel 2010 Pivot Table VBA Not Refreshing Table

    My company recently upgraded from Excel 2003 to 2010. I had VBA written to take source data and convert it into a number of Pivot Tables on a number of worksheets. It has been working fine for years. After upgrading to 2010 the VBA crashed. I tracked it
    down to the fact that when my code was making changes to the Pivot Tables (changing fields, filters, etc...) the pivot table on the worksheet had no data, but the fields were there. I can manually go to the pivot table and manually refresh and all the data
    comes in.
    So I tried adding the VBA code to refresh the pivot table, but the pivot tables will not refresh with data.
    I tried:
    ActiveSheet.PivotTables("WO Pivot").RefreshTable
    and
    ActiveWorkbook.RefreshAll
    And these did not work.
    I also tried recording a macro for the manual steps to refresh and got:
     ActiveSheet.PivotTables("WO Pivot").PivotCache.Refresh
    This does not work either.
    The PivotTable name is correct, but I tried using the number as well, and the name works for other code manipulating the the pivot table.
    e.g.:
    With ActiveSheet.PivotTables("WOPivot").PivotFields("Task Title")
          .Orientation = xlRowField .Position = 2
          .Subtotals = Array(False, False, False, False, False, False, False, False, False, False, _False, False)
    End
    With Why isn't this working? Is there another way to refresh pivot table data in 2010?
    Thanks. P.S. I've tried formating this so it is readable, but it comes out garbled. Hope this looks better.

    The solution above didn't work for me, but the following did the trick:
    ActiveSheet.PivotTables("WOPivot").PivotCache.Refresh
    By the way, I identified it by recording a macro, then going on the Pivot Table that needed refreshing and pressing F9 to refresh it. The line of VBA code above was the result.
    Cheers,
    Marco.

Maybe you are looking for

  • Enhanced Infotype (IT0002) field in HRMD_A07 IDoc

    Hi All, I have enhanced SAP standard infotype 0002 (via PM01) to include one new field(NWFLD1). The infotype functions perfectly well with the new field(NWFLD1). I would now like to see this new field in the IDoc that is generated via change pointers

  • Wlan problem with my nokia e65

    please any assistance you can render for me because since yesterday i can not browse on my phone to connect to wireless is problem for me, please, please and please

  • Speed up by removing modules

    I'm currently in the process of deciding what modules to remove in order to speed up the boot process (significantly??? this might not even be worth it if boot times aren't affected that much). However, there doesn't seem to be a good way to find out

  • HOW TO BLOCK THE DELIVERY IF CONTACT-DATE = SYSTEM DATE.

    HI ALL, in va02 transaction, after entering some order number, u will go inside. after going inside, goto GOTO-HEADER-PURCHASE ORDER DATA. THEN, IN THAT PURCHASE ORDER DATA TAB, A LAST CONTACT DATE FIELD IS THERE. NOW, THE ISSUE IS, IF THIS LAST CONT

  • Is it true Apple requires location services be turned on for photo uploading apps? If so, why?!

    I can't think of one ethical reason why this should be mandatory information in regards to my photo storage online. I was told by Shutterfly, when I complained, that it was Apple's fault, not theirs. For real?