Hidden showing up unhidden?

I've had my system files showing up un-hidden, which they're not supposed to do. I had no trouble getting them hidden with terminal, but I was wondering why they showed un-hidden all of a sudden. Any suggestions?

type in Terminal
defaults write com.apple.finder AppleShowAllFiles NO
Press ‘Return’, then type
killall Finder to relaunch the finder( or hold down Shift & Option together and click on the Finder icon in the Dock then choose Relaunch)
IF still not hidden restart Mac. 

Similar Messages

  • CSS box - hidden\show & overlapping

    Hi!
    We have 2 zones.
    In one zone we have a box which contains a CSS navigation
    list/buttons.
    In the second zone we would like, when the mouse is over one
    of the list item/button, to be able to show a specific box (with
    identical sizes and position's definitions).
    The required mechanism, from the user point of view, is
    expected to be like the "show layers (visible/hidden property) on
    mouse over behavior".
    How we can stack more than one box, one on the top of each
    other, in a way that we see all the time only one of the boxes
    (overlapping), and that without disturbing the general layout of
    the page.
    I have tried to use the "visibility properties
    (visible/hidden)" on two boxes with identical "box properties"
    definitions and different visibility properties (visible/hidden).
    The boxes were not stacked each on the top of the other, and the
    second box have taken its natural "float place”.
    For example we have a container box with 3 boxes with the
    following "box properties":
    #ButtonFirstDetails {
    height: 233px;
    width: 516px;
    margin-top: 2px;
    margin-right: auto;
    margin-bottom: 2px;
    margin-left: 0px;float: left;
    #FreeZone01 {
    height: 153px;
    width: 256px;
    margin-top: 2px;
    margin-right: auto;
    margin-left: 0px;
    float: left;
    #FreeZone02 {
    height: 153px;
    width: 256px;
    margin-top: 2px;
    margin-right: auto;
    margin-left: 4px;
    float: left;
    TIA
    Nanu

    Thanks
    Nanu
    >>> Murray
    *ACE*<[email protected]> 23/02/2007 19:41:33
    >>>
    Then stick with the behaviors.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Nanu Kalmanovitz" <[email protected]> wrote in
    message
    news:[email protected]...
    > I'm a beginner, not understanding yet, completely, how
    buttons change
    > their fonts & colors when the mouse move over them.
    >
    > TIA
    >
    > Nanu
    >
    >>>> Murray
    *ACE*<[email protected]> 22/02/2007 22:30:54
    >>>
    > It is possible to use CSS for this, but it's tricky.
    What is your comfort
    > level with CSS?
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "Nanu Kalmanovitz" <[email protected]> wrote
    in message
    > news:[email protected]...
    >> Thanks,
    >>
    >> Is the DW "bahaviours" function , the only way to
    switch between the
    >> hidden\show boxes?
    >> Is it possible to do the switch using definitions in
    CSS same way as the
    >> Hover made on bottons?
    >>
    >> TIA
    >>
    >> Nanu
    >>
    >>>>> Murray
    *ACE*<[email protected]> 22/02/2007 17:45:39
    >>>
    >> Use absolute positioning on the stacked elements.
    >>
    >> --
    >> Murray --- ICQ 71997575
    >> Adobe Community Expert
    >> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >> ==================
    >>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >> ==================
    >>
    >>
    >> "Nanu Kalmanovitz" <[email protected]>
    wrote in message
    >> news:[email protected]...
    >>> Hi!
    >>>
    >>> We have 2 zones.
    >>> In one zone we have a box which contains a CSS
    navigation list/buttons.
    >>> In the second zone we would like, when the mouse
    is over one of the list
    >>> item/button, to be able to show a specific box
    (with identical sizes and
    >>> position's definitions).
    >>> The required mechanism, from the user point of
    view, is expected to be
    >>> like the "show layers (visible/hidden property)
    on mouse over behavior".
    >>>
    >>>
    >>> How we can stack more than one box, one on the
    top of each other, in a
    >>> way
    >>> that we see all the time only one of the boxes
    (overlapping), and that
    >>> without disturbing the general layout of the
    page.
    >>> I have tried to use the "visibility properties
    (visible/hidden)" on two
    >>> boxes with identical "box properties"
    definitions and different
    >>> visibility
    >>> properties (visible/hidden). The boxes were not
    stacked each on the top
    >>> of
    >>> the other, and the second box have taken its
    natural "float place”.
    >>> For example we have a container box with 3 boxes
    with the following "box
    >>> properties":
    >>>
    >>> #ButtonFirstDetails {
    >>> height: 233px;
    >>> width: 516px;
    >>> margin-top: 2px;
    >>> margin-right: auto;
    >>> margin-bottom: 2px;
    >>> margin-left: 0px;float: left;
    >>> }
    >>> #FreeZone01 {
    >>> height: 153px;
    >>> width: 256px;
    >>> margin-top: 2px;
    >>> margin-right: auto;
    >>> margin-left: 0px;
    >>> float: left;
    >>> }
    >>> #FreeZone02 {
    >>> height: 153px;
    >>> width: 256px;
    >>> margin-top: 2px;
    >>> margin-right: auto;
    >>> margin-left: 4px;
    >>> float: left;
    >>> }
    >>>
    >>> TIA
    >>>
    >>> Nanu
    >>
    >>
    >>
    >>
    >>
    >
    >
    >
    >
    >

  • Scrolling through photos, restarting iPhoto: "Hidden Photos" are unhidden!

    Hi,
    As you may know, iPhoto has this great feature where you can mouse over an Event to scroll through the photos in it. iPhoto also has another great feature - the possibility to hide photos!
    However, here's when they both went wrong: I had a few Hidden Photos in an event, yet when I moused over it - they showed up! Just makes them not so hidden...
    Also, when I last closed iPhoto, Hidden Photos were checked to show. As I opened iPhoto up again - they were still unhidden. It would be nice if they automatically hid themselves upon closing. Is there an Apple Script available for this?
    In the same scenario, I hid the photos manually. And as I opened up a photo in an event up full screen, and browsed through the event using the arrow keys - a hidden photo appeared! This, as I understand - is a bug. Where would I report this?
    I hope you can help!
    Thank you for your time,
    Rudi

    rudi_e:
    First delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your User/Library/Preferences folder. Then rebuild the library as follows: launch iPhoto with the Command+Option keys depressed and follow the instructions to rebuild the library. Select the first three options.
    Happy Holidays
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • SharePoint 2010 User Integration with Exchange 2010 New Users Created as Hidden and Later Unhidden not receiving email from SharePoint

    When we have a new employee transfer to us from another department, their email is created and hidden until they actually make the transfer so they don't have two different email addresses in our global address list.  When the transfer is made, the
    email address is unhidden, but then we are unable to send emails to them from sharepoint 2010 without doing an IISReset.  We are using Exchange 2010.  Does anyone have suggestions on how to alleviate this issue?

    Hi,
    I have done a test, no matter the email address is hidden or not, we can both send email to the email address in the same domain.
    How was the new employee from another department transferred to your department?
    Whether sending emails to them need do an IIS Reset everytime.
    Here is a similar post, you can take a look at:
    https://social.technet.microsoft.com/forums/sharepoint/en-US/6a9043bb-2055-46a9-8e76-8b2698c1dbe5/user-not-receiving-sharepoint-emails
    Best Regards,
    Lisa Chen

  • Converting " hidden" folder to " unhidden" for itunes

    Hi.
    Just setting up my new Macbook Pro (not the new model alas). I have lifted the 80 GB of music from my iPod using "Invisibility Toggler" to show the hidden files on my iPod; copied it and pasted it into "My Music".
    This has worked but it remains a hidden folder which means I still cannot import it into my iTunes.
    I may well be doing this all very inefficiently in my conversion from PC to Mac but I was hoping someone could help me with either:
    a) unhiding the file permanently, or
    b) allowing me to get iTunes to "find" the hidden file.
    As simple as possible if you wouldn't mind!
    Thanks
    DB

    You can toggle this for a file or folder using the Terminal application in your Utilities folder. At the command line enter:
    sudo chflags nohidden
    Place a space after "nohidden" then drag the file into the Terminal window and press RETURN. You will be prompted to enter your admin password which will not be echoed.
    To change the entire contents of a folder use this:
    sudo chflags -R nohidden
    Place a space after "nohidden" then drag the file into the Terminal window and press RETURN. You will be prompted to enter your admin password which will not be echoed.
    You will need to toggle file invisibility. You can use TinkerTool for this - VersionTracker or MacUpdate - or any other similar utility or do the following:
    Enable Finder to Show Invisible Files and Folders
    Open the Terminal application in your Utilities folder. At the prompt enter or paste the following command line then press RETURN.
    defaults write com.apple.finder AppleShowAllFiles TRUE
    To turn off the display of invisible files and folders enter or paste the following command line and press RETURN.
    defaults write com.apple.finder AppleShowAllFiles FALSE

  • "Dock" showing in the dock, and other apps that should normally be hidden

    Hi Folks - I used Dockless just to try a few things and it didn't work so well.  I unistalled it and now I'm having issues with certain running "subapps" that are normally hidden showing up in the Dock and I can't remove them.  Screen shot says it all.  But, they are:
    -loginwindow
    -Dock
    -SystemUIServer
    -Airport Base Station Agent
    -Folder Action Dispatcher
    -XMenu
    -Caffeine (normally only shows in the toolbar)
    I have tried many of the resources I've found online, such as removing com.apple.dock.plist and .dlb which did reset the Dock to default, but these apps were still showing. I have tried to remove them manually by dragging them to the desktop, trash, etc, no luck.   I haven't heard back from Dockless yet on this.
    Any thing else?

    Still no fix.  Any ideas?

  • Dataviz sheet to go/hide on computer not hidden on hand held

    greetings.. I can not find the answer to... on my computer (windows 2000) documents to go, I have 'hidden' information, but after sincrinizing, it all shows up 'unhidden' on my (tungsten e2) hand held... can you help me?
    thanks.
    Post relates to: Tungsten E2

    Hi, and welcome to the Palm Community Forums.
    Documents To Go does not support every available formatting function in Excel...could be that is one of them.  I've never done it so do not have personal experience.  What version of Documents To Go are you using...maybe check the Dataviz Support site?
    Post relates to: None
    smkranz
    I am a volunteer, and not an HP employee.
    Palm OS ∙ webOS ∙ Android

  • My purchased items are showing OK in iTunes Store but not on My Movies or My TV shows why

    My SONY Laptop (which is my Authorized PC) is showing my Purchases in iTunes, (when I look up my Purchases for either Movies or TV shows)
    However when I look up My Movies or My TV shows its empty - No Content
    Funnily enough when I look up my account I can see all my hidden shows
    Why am I  getting a blank with my Purchased Items in My Movies or My TV shows when I can see them in the iTunes Store purchased items.

    They are showing in your account's purchase history (via the Store > View Account menu option), but not in your iTunes library (they won't show there unless you've downloaded them on that computer or copied them into that computer's library) and/or in the cloud for redownloading - is that what you mean ?
    If you've hidden them then they won't show in the cloud for redownloading, nor will they show in the cloud if you've changed countries since buying them or if the rights-holder has removed them from your country's store.

  • HELP INPUT TYPE = hidden  values SEEN IN URL QUERY STRING!!!

    Trying to do session management using hidden fields.
    The fields that are suppose to be hidden show up in the query string of the URL.
    I have included the code, the output to the web page
    and the URL with the "hidden" fields please help.
    HIDDEN FIELDS IN URL QUESRY STRING
    http://localhost:8080/myApp/servlet/Servlet077?firstName=Sandra&item=Michael
    WEB PAGE OUTPUT
    Enter a name and press the button
    Name:
    Your list of names is:
    Michael
    Sandra
    JAVA SOURCE CODE
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Servlet077 extends HttpServlet{
    public void doGet(HttpServletRequest req,
    HttpServletResponse res)
    throws ServletException, IOException{
    //An array for getting and saving the values contained
    // in the hidden fields named item.
    String[] items = req.getParameterValues("item");
    //Get the submitted name for the current GET request
    String name = req.getParameter("firstName");
    //Establish the type of output
    res.setContentType("text/html");
    //Get an output stream
    PrintWriter out = res.getWriter();
    //Construct an HTML form and send it back to the client
    out.println("<HTML>");
    out.println("<HEAD><TITLE>Servlet07</title></head>");
    out.println("<BODY>");
    //Substitute the name of your server or localhost in
    // place of baldwin in the following statement.
    out.println("<FORM METHOD=GET ACTION="
    + "\"http://localhost:8080/myApp/servlet/Servlet077\">");
    out.println("Enter a name and press the button<P>");
    out.println("Name: <INPUT TYPE=TEXT NAME="
    + "\"firstName\"><P>");
    out.println("<INPUT TYPE=submit VALUE="
    + "\"Submit Name\">");
    out.println("<BR><BR>Your list of names is:<BR>");
    if(name == null){
    out.println("Empty<BR>");
    }//end if
    if(items != null){
    for(int i = 0; i < items.length; i++){
    //Display names previously saved in hidden fields
    out.println(items[i] + "<BR>");
    //Save the names in hidden fields on form currently
    // under construction.
    out.println("<INPUT TYPE = hidden NAME=item "
    + "VALUE=" + items[i] + ">");
    }//end for loop
    }//end if
    if(name != null){
    //Display name submitted with current GET request
    out.println(name + "<BR>");
    //Save name submitted with current GET request in a
    // hidden field on the form currently under
    // construction
    out.println("<INPUT TYPE = hidden NAME=item "
    + "VALUE=" + name + ">");
    }//end if
    out.println("</body></html>");
    }//end doGet()
    }//end class Servlet07

    1. Change <form name=xxx action="your_servlet" mathod="Get"> to
    <form name=xxx action="your_servlet" mathod="POST">
    2. Add the following lines of code to your servlet.
    public void doPost(HttpServletRequest req, HttpServletResponse res)
            throws ServletException, IOException {
            doGet(req,res);
            return;
    }Sudha

  • Smart View Refresh All and Hidden Tabs

    When one of my users does a Refresh All in Excel all of his hidden tabs become unhidden. Is there a setting in Smart View that can stop this from happening?
    Todd

    If this is the case I would say we have a bug. Can you log an SR with all the details and steps to reproduce.

  • Radio Button  javascript onclick  show hide textbox

    Currently, if the radio button is clicked then text box is
    shown else if radio button 2 is clicked then textbox is invisible.
    (only one textbox being shown or being hidden)
    I wish to have 2 text boxes
    If radio button 1 is clicked then textbox1 is visible
    If radio button 2 is clicked then textbox2 is visible.
    What changes do I have to do in my code for this to work?
    feel free to test this.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <script type="text/javascript">
    function hide() {
    var div_ref = document.all("id_div");
    div_ref.style.visibility = "hidden";
    function show() {
    var div_ref = document.all("id_div");
    div_ref.style.visibility = "visible";
    </script>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    </head>
    <body>
    <tr>
    <td>
    Select Device Type <BR>
    </td>
    <td style="width:200">
    <input type="Radio" name="DeviceGroup"
    value="Radiobutton1" onclick="show();" checked="checked">Radio
    button 1
    <input type="Radio" name="DeviceGroup"
    value="Radiobutton2" onclick="hide();" unchecked>Radio button 1
    </td>
    <td>
    <div id=id_div style="visibility:hidden;">
    Show Textbox1
    <input type="Text" name="Textbox1">
    </div>
    </td>
    </tr>
    </body>
    </html>
    Thanks

    thanks
    YES
    i will be submitting data to a field in the database.
    First the vlaue of the radio Button
    For example if the first radio button
    then the value of the first radio button value =1
    goes to the field in the database
    also
    the text box that will show. will have data entered in the
    tesx box and the value will be submitted
    to a field.
    thanks
    shall i still use your code????
    thanks
    also, instead of having 2 javascripts controlling the show
    hide, just join them and assume that at each click the div is
    visible.
    the first part of the if statement in the js just makes sure
    the div's display is none. then it displays the one you are
    calling.
    the else allows you to close the divs without having any
    open.
    i'm doing this from home, so i cant really test it, but, it
    looks like it should work.
    Attach Code

  • Show photos in random order (with possibility to switch back to last one shown)

    Hallo!
    I'm having trouble to to show my entire photoselection on my ipad in random order - like on a regular photoframe. The only possibility I figured out, was to show the whole library as a screensaver in random order. Unfortunately in this case I'm neither able to zoom in the current picture or to switch back to the last one(s). In the build in photos app i can start a slideshow with all pics but I didn't found an option to randomize them.
    I already tried tons of photoframe-apps, but all of them have problems to import all of my ~30.000 photos (automaticly) without having to select every single one of them.
    Does anyone have a solution on this??

    I'm now using Snow Leopard, and the same thing happens. Don't know if it is relevant or not, but one of the things I've noticed is that the System Preferences window (even when hidden) shows in the right place, but clicking on it doesn't work. It is as if the window and the buttons are somewhere other than where they show on the screen. Quitting System Preferences and restarting it solves the problem.

  • How can I use a single query panel with two view criteria?

    Hi all,
    I have a requirement to allow users to change the "display mode" on a search results tree table for an advanced search page. What this will do is change the structure of how the data is laid out. In one case the tree table is 3 levels deep, in the other case it's only 2 with different data being at the root node.
    What I've done so far:
    1) I exposed the data relationship for these two ways of viewing the data in the application module's data model.
    2)  I created a view criteria in the two view objects that are at the root of the relationships, where (for simplicity sake) I'm only comparing a single field.
    This is in one view object:
    <ViewCriteria
        Name="PartsVOCriteria"
        ViewObjectName="gov.nasa.jpl.ocio.qars.model.views.PartsVO"
        Conjunction="AND">
        <Properties>... </Properties>
        <ViewCriteriaRow
          Name="vcrow23"
          UpperColumns="1">
          <ViewCriteriaItem
            Name="PartDiscrepantItemsWithIRVO"
            ViewAttribute="PartDiscrepantItemsWithIRVO"
            Operator="EXISTS"
            Conjunction="AND"
            IsNestedCriteria="true"
            Required="Optional">
            <ViewCriteria
              Name="PartDiscrepantItemsWithIRVONestedCriteria"
              ViewObjectName="gov.nasa.jpl.ocio.qars.model.views.PartDiscrepantItemsWithIRVO"
              Conjunction="AND">
              <ViewCriteriaRow
                Name="vcrow26"
                UpperColumns="1">
                <ViewCriteriaItem
                  Name="InspectionRecordNumber"
                  ViewAttribute="InspectionRecordNumber"
                  Operator="="
                  Conjunction="AND"
                  Value=""
                  Required="Optional"/>
              </ViewCriteriaRow>
            </ViewCriteria>
          </ViewCriteriaItem>
        </ViewCriteriaRow>
      </ViewCriteria>
    and this is in the other view object:
    <ViewCriteria
          Name="IRSearchCriteria"
          ViewObjectName="gov.nasa.jpl.ocio.qars.model.views.InspectionRecordVO"
          Conjunction="AND">
          <Properties>... </Properties>
          <ViewCriteriaRow
             Name="vcrow7"
             UpperColumns="1">
             <ViewCriteriaItem
                Name="InspectionRecordNumber"
                ViewAttribute="InspectionRecordNumber"
                Operator="="
                Conjunction="AND"
                Required="Optional"/>
          </ViewCriteriaRow>
       </ViewCriteria>
    3) I had a query panel and tree table auto-generated by dragging the data control for ONE of the view object data relationship that's exposed in the app module. Then I created a second query panel and tree table the same way but using the data control for the other. I'm hiding one of the query panels permanently and toggling the visibility of the tree tables based on the display mode the user chooses. Both tables have separate bindings and iterators.
    This is a portion of the page definition:
    <executables>
        <variableIterator id="variables"/>
        <searchRegion Criteria="IRSearchCriteria"
                      Customizer="oracle.jbo.uicli.binding.JUSearchBindingCustomizer"
                      Binds="InspectionRecordVOIterator"
                      id="IRSearchCriteriaQuery"/>
        <iterator Binds="InspectionRecordVO" RangeSize="25"
                  DataControl="QARS_AppModuleDataControl"
                  id="InspectionRecordVOIterator" ChangeEventPolicy="ppr"/>
        <iterator Binds="Root.QARS_AppModule.PartsVO1"
                  DataControl="QarsMasterAppModuleDataControl" RangeSize="25"
                  id="PartsVO1Iterator"/>
        <searchRegion Criteria="PartsVOCriteria"
                      Customizer="oracle.jbo.uicli.binding.JUSearchBindingCustomizer"
                      Binds="PartsVO1Iterator" id="PartsVOCriteriaQuery"/>
      </executables>
    4) I've created a custom queryListener to delegate the query event.
    This is in my advanced search jsp page:
    <af:query id="qryId1" headerText="Search" disclosed="true"
                      value="#{bindings.IRSearchCriteriaQuery.queryDescriptor}"
                      model="#{bindings.IRSearchCriteriaQuery.queryModel}"
                      queryListener="#{pageFlowScope.SearchBean.doSearch}"
                      queryOperationListener="#{bindings.IRSearchCriteriaQuery.processQueryOperation}"
                      resultComponentId="::resId2" maxColumns="1"
                      displayMode="compact" type="stretch"/>
    This is in my backing bean:
    public void doSearch(QueryEvent queryEvent) {
          String bindingName = flag
             ? "#{bindings.IRSearchCriteriaQuery.processQuery}"
             : "#{bindings.PartsVOCriteriaQuery.processQuery}";
          invokeMethodExpression(bindingName, queryEvent);
       private void invokeMethodExpression(String expr, QueryEvent queryEvent) {
          FacesContext fctx = FacesContext.getCurrentInstance();
          ELContext elContext = fctx.getELContext();
          ExpressionFactory eFactory = fctx.getApplication().getExpressionFactory();
          MethodExpression mexpr =
             eFactory.createMethodExpression(elContext, expr, Object.class, new Class[] { QueryEvent.class });
          mexpr.invoke(elContext, new Object[] { queryEvent });
    When no inspection record number (the only search field so far)  is supplied in the query panel, then it behaves correctly. Namely, the tree tables shows all search results. However, when an inspection record number is supplied the tree table that was created with the query panel in use (remember there are two query panels, one of them is hidden) shows a single result (this is correct) while the other tree table (the one with the hidden query panel that isn't in use) shows all results (this is NOT correct).
    Is what I'm trying to accomplish even doable? If so, what am I missing?
    I'm using JDeveloper 11.1.1.7
    Thanks,
    Bill

    I ended up keeping one query panel permanently visible and the other permanently hidden. When performing a search using the table that has the hidden query panel, I seed the query descriptor for the hidden query panel using the visible query panel's query descriptor and then delegate the request:
       public void doSearch(QueryEvent queryEvent) {
          String bindingName = null;
          if(isIrTableRendered()) {
             bindingName = "#{bindings.IRSearchCriteriaQuery.processQuery}";
          } else {
             seedPartsQueryDescriptor();
             bindingName = "#{bindings.PartsVOCriteriaQuery.processQuery}";
             queryEvent = new QueryEvent(partsQuery, partsQuery.getValue());
          invokeMethodExpression(bindingName, queryEvent);
       private void seedPartsQueryDescriptor() {
          ConjunctionCriterion criterion = irQuery.getValue().getConjunctionCriterion(); 
          for(Criterion criteria : criterion.getCriterionList()) {
             AttributeCriterion attributeCriteria = (AttributeCriterion)criteria;
             List values = attributeCriteria.getValues();
             String qualifiedName = attributeCriteria.getAttribute().getName();
             int indexOfDot = qualifiedName.lastIndexOf(".");
             String name = indexOfDot < 0
                ? qualifiedName
                : qualifiedName.substring(indexOfDot + 1);
             ConjunctionCriterion partsCriterion =
                partsQuery.getValue().getConjunctionCriterion();
             for (Criterion partsCriteria : partsCriterion.getCriterionList()) {
                AttributeCriterion partsAttributeCriteria =
                   (AttributeCriterion) partsCriteria;
                String partsQualifiedName =
                   partsAttributeCriteria.getAttribute().getName();
                if (partsQualifiedName.endsWith(name)) {
                   partsAttributeCriteria.setOperator(attributeCriteria.getOperator());
                   List partsValues = partsAttributeCriteria.getValues();
                   partsValues.clear();
                   for (int i = 0, count = values.size(); i < count; i++) {
                      partsValues.set(i, values.get(i));
       private void invokeMethodExpression(String expr, QueryEvent queryEvent) {
          FacesContext facesContext = FacesContext.getCurrentInstance();
          ELContext elContext = facesContext.getELContext();
          ExpressionFactory expressionFactory =
             facesContext.getApplication().getExpressionFactory();
          MethodExpression methodExpression =
             expressionFactory.createMethodExpression(elContext, expr, Object.class, new Class[] { QueryEvent.class });
          methodExpression.invoke(elContext, new Object[] { queryEvent });
    Then when the advanced/basic button is pressed for the visible query panel, I programmatically set the same mode for the hidden query panel:
       public void handleQueryModeChange(QueryOperationEvent queryOperationEvent) {
          if(queryOperationEvent.getOperation() == QueryOperationEvent.Operation.MODE_CHANGE) {
             QueryMode queryMode = (QueryMode) irQuery.getValue().getUIHints().get(QueryDescriptor.UIHINT_MODE);
             QueryDescriptor queryDescriptor = partsQuery.getValue();
             queryDescriptor.changeMode(queryMode);
             AdfFacesContext.getCurrentInstance().addPartialTarget(partsQuery);

  • Yoga 11 Windows RT - "Repartition the drive" Problem

    Hey all,
    I updated my Lenovo ideapad yoga 11 (without making a recovery usb) to windows rt 8.1 preview & as almost everyone is getting the activation issue on tablets, same issue came on mine. so i tried to downgrade from RT 8.1 to RT 8 (which i have already done on one windows surface pro successfully). during the process i accidentally "Repartition the drive". windows was downgrade to RT 8 and running smoothly but half of the drivers were not installed (including Wifi).
    In disk management i can see four partitions:
    350mb Healthy (Recovery Partition), 200mb Healthy (EFI System Partition), Windows (C: ) 54.06 GB NTFS, 3.52 GB Healthy (Recovery Partition)
    Only windows (c: ) partition is accessible and rest of them are inaccessible, hidden & showing only in disk management.
    Is there a way to fix this problem. i.e undo repartition the drive or accessing the recovery partition or Lenovo ideapad yoga 11 recovery image
    Thanks

    Hey all,
    I updated my Lenovo ideapad yoga 11 (without making a recovery usb) to windows rt 8.1 preview & as almost everyone is getting the activation issue on tablets, same issue came on mine. so i tried to downgrade from RT 8.1 to RT 8 (which i have already done on one windows surface pro successfully). during the process i accidentally "Repartition the drive". windows was downgrade to RT 8 and running smoothly but half of the drivers were not installed (including Wifi).
    In disk management i can see four partitions:
    350mb Healthy (Recovery Partition), 200mb Healthy (EFI System Partition), Windows (C: ) 54.06 GB NTFS, 3.52 GB Healthy (Recovery Partition)
    Only windows (c: ) partition is accessible and rest of them are inaccessible, hidden & showing only in disk management.
    Is there a way to fix this problem. i.e undo repartition the drive or accessing the recovery partition or Lenovo ideapad yoga 11 recovery image
    Thanks

  • Being specific in the Constructor, only when necessary

    Hello! I am new to Java. I have a few really simple question. I know this much so far:
    - Hiding is when a variable overrides another within a stronger (more inner) scope.
    - Hiding is not good convention since it may confuse readers of code.
    So I have this example. It's only part of an example, so it will only be the essential parts:
    package example;
    import java.awt.*;
    public class Application {
         * The options component for this Application.
        Component optWindow;
        public Application() {
            Window optWindow = new OptionWindow();
            optWindow.pack();
            this.optWindow = optWindow;
        public void showOptions() {
            optWindow.setVisible(true);
        @Override protected void finalize() throws Throwable {
            optWindow.setVisible(false);
            optWindow = null;
            super.finalize();
    class OptionWindow extends Frame {
        public OptionWindow() {
            super("Options:");
    }Anyway, I also know that optWindow in the constructor hides this.optWindow. But I'm not sure 100% why.
    My reasoning behind wanting to do this is that I don't think that the rest of the Application needs to know that optWindow is a Window other than in the constructor, so the Application Object should store it as just an abstract component. A sort of "type encapsulation and subclass separation".
    I believe that the reason why this is hiding is because optWindow refers to the "reference" of the OptionWindow object, not the object itself =) I understand that so far.
    But I believe it shouldn't because the this.optWindow does not refer to anything until after the constructor, so it shouldn't be hidden.
    I have a few solutions I know of:
    1) Drop the idea of storing optWindow as a Component in the Application Objects. Just store it as a window everywhere.
    2) Keep it this way anyway.
    3) Use a different variable name for the optWindow in the constructor.
    There are in the order that I'd rather do them in. I understand that option 1 is the best. Option 2 might potentially be okay. Option 3, I really do not like since it's giving two names or references to the same object and it would be annoying to come up with a new name for it. But I could come up with something simple like "window" if necessary inside of the constructor.
    My questions would be:
    1) Is this a good idea to make the window an abstract component outside of the constructor?
    2) Is this a "good" use of hiding; or does the rule always apply to avoid hiding?
    If Question 1 is true, I'd probably go with Option 1. If Question 1 is false, but Question 2 is true, I'll go with Option 2. If Question 1 is still false, but so is Question 2, I'll go with Option 3.
    Thank you very much in advanced! I really appreciate the help! =) And I look forward to asking more questions.
    Edit: I wrote that OptionWindow throw Frame instead of "extends Frame".
    Edited by: Macleod789 on Mar 30, 2010 2:24 PM

    Macleod789 wrote:
    Hello! I am new to Java. I have a few really simple question. I know this much so far:
    - Hiding is when a variable overrides another within a stronger (more inner) scope.
    - Hiding is not good convention since it may confuse readers of code.It's common and perfectly acceptable in some situations. Constructors and setters come to mind. If your code is well-written, it won't be at all confusing.
    >
    So I have this example. It's only part of an example, so it will only be the essential parts:
    package example;
    import java.awt.*;
    public class Application {
    * The options component for this Application.
    Component optWindow;
    public Application() {
    Window optWindow = new OptionWindow();
    optWindow.pack();
    this.optWindow = optWindow;
    public void showOptions() {
    optWindow.setVisible(true);
    @Override protected void finalize() throws Throwable {
    optWindow.setVisible(false);
    optWindow = null;
    super.finalize();
    class OptionWindow extends Frame {
    public OptionWindow() {
    super("Options:");
    }Anyway, I also know that optWindow in the constructor hides this.optWindow. But I'm not sure 100% why.Because the JLS defines that it does. Local variables always hide members of the same name. That's the rule the designers decided on.
    My reasoning behind wanting to do this is that I don't think that the rest of the Application needs to know that optWindow is a Window other than in the constructor, so the Application Object should store it as just an abstract component. A sort of "type encapsulation and subclass separation".\Huh? Reason behind doing what? Declaring the optWindow member as a Component rather than a Window? Well, yeah, if the rest of the Application class only cares that it's a Component and could do its job the same way if any other Component were used, then you're right--declaring it as a Component is the correct approach. But then it should not be named optWindow. And if the rest of the Application class doesn't need it to be a Window, then the c'tor has no reason to require that either.
    I believe that the reason why this is hiding is because optWindow refers to the "reference" of the OptionWindow object, not the object itself =) I understand that so far.Reference vs. object is an important distinction to understand. However, it has nothing to do with hiding. Hiding is just about identifier names, like variables. The fact that their values are references is irrelevant to the hiding rules.
    But I believe it shouldn't because the this.optWindow does not refer to anything until after the constructor, so it shouldn't be hidden.Show me the part of the JLS that says that hiding has do with whether the variable in question has been assigned or not.
    In some scopes, two distinct identifiers with the same name can exist. There has to be some rule about which one takes precedence when there's no qualification. It's simpler if it's consistent and it's always the local. If it weren't, then a) it would be inconsistent, which would be confusing, and b) we'd need a new keyword or other mechanism to explicitly indicate that we're talking about the local. Or else we simply wouldn't be able to access the local variable in those contexts, which would be pretty stupid, I'm sure you agree.
    I have a few solutions I know of:Solutions to what? What's the problem you're encountering?
    1) Drop the idea of storing optWindow as a Component in the Application Objects. Just store it as a window everywhere.I addressed that above, and it has nothing to do with hiding.
    2) Keep it this way anyway.So, a "solution" to whatever problem you're having is to do nothing and just keep having the "problem"?
    1) Is this a good idea to make the window an abstract component outside of the constructor?If it's Component in the member variable, it should be in the c'tor too. If the c'tor requires a Window, then it must be because the member has to be a Window.
    2) Is this a "good" use of hiding; or does the rule always apply to avoid hiding?It's very common and acceptable to have parameter names match member names where the parameter is being used to set the member.
    Edited by: jverd on Mar 30, 2010 2:49 PM
    Edited by: jverd on Mar 30, 2010 2:50 PM

Maybe you are looking for

  • My wireless internet is working with all of my other devices but my imac will not connect to the network?

    Can anyone help?  My wireless connection is working on both my iphone4S and my ipad2, but my Imac will not connect to the network.

  • G5/iSight Behavior Changes/Problems

    Couple of things changed on my iMac. First loading cd's on to iTunes take forever and it used to start playing the disc after the first song was loaded now it doesn't play at all. if I hit play while the disc is loading it goes crazy making all kinds

  • External ANT 1.6.2 with JDeveloper 10.1.3 Nothing in Message Window

    I am new to JDeveloper and downloaded 10.1.3. I have an existing web application and added it to a new Project in JDeveloper. I added an external version of ANT 1.6.2 to my Project Properties and added the ant.jar and ant-launcher.jar to the Classpat

  • Ridiculous time out durations in sending mail

    When sending messages from my MacBook Pro, Often the timeout for failed SMTP sending is ridiculously long... up to three minutes in many instances. There is no cancel button anywhere, and no way I can determine to retrieve the message to try another

  • Importing does not show

    I've used GB many times successfully before, but as I try to import a WAV or MP3 file, GB says that is importing, but when the import os finished, there is no file in the track (no colored audio track appears). Maybe I've changed a basic setting? Any