[ADF] stetching/shrinking PanelBox to match its content weird

On my page I have two panel boxes.
Altrough thay has similar content (tree) - for some reason top is much bigger then the bottom one and do not change its height according to its content.
Second panel is working good, but it stretching to some limit.
I need both Panels to have minimal height, stretching according to its content.
How to?
Screens to discribe:
[pic1|http://imageshack.us/a/img233/2465/pic1yfc.jpg]
[pic2|http://imageshack.us/a/img692/8352/pic2bk.jpg]
Page code is:
<f:facet name="first">
<af:panelStretchLayout id="psl2" endWidth="300px">
<f:facet name="center">
<af:panelFormLayout id="pfl1">
*....read-only form here*
</af:panelFormLayout>
</f:facet>
<f:facet name="end">
<af:panelStretchLayout id="psl3">
<f:facet name="center">
<af:panelGroupLayout layout="scroll" id="pgl2">
<af:panelBox text="PanelBox2" id="pb2">
<f:facet name="toolbar"/>
<af:tree ... styleClass="AFStretchWidth">
*...tree code here*
</af:tree>
</af:panelBox>
<af:panelBox text="PanelBox1" id="pb3">
<f:facet name="toolbar"/>
<af:tree ... styleClass="AFStretchWidth">
*...tree code here*
</af:tree>
</af:panelBox>
</af:panelGroupLayout>
</f:facet>
</af:panelStretchLayout>
</f:facet>
</af:panelStretchLayout>
</f:facet>

Thank you for pointing. My bad.
The problem was solved by setting PartialTriggers of panelBox to its content tree
but now I have anoter trouble, its not connected I think, but...
If no data in TreeModel of tree, I get doubeling of "No data to display". So my tree is looks like
No data to display
No data to display
On refresh it writing "No data to display" and then for a half of second i get hint like "Gethering data" and then second "No data to display" appears.
What it could be coused by?

Similar Messages

  • Folder size is twice that of its contents????

    Startup Disk > Users > Username
    My Username folder shows a folder size that is just about double the size of all of its visible folders.  I can see this when viewed in the Finder in List View with Folder Size Shown as my default View setting.    Any idea how I can figure out what is going on?
    thanks
    Brad

    Topher,
    Before I saw your reply, I emptied my trash and that brought the folder size down to what it should be to match its contents.  I should have remembered that.  None the less, I did what you suggested once I read your message and here it is:
    total 2240
    drwxr-xrwx  34 brad  503       1156 Feb 27 16:13 .
    drwxr-xr-x   7 root  admin      238 Dec  1 08:00 ..
    -r--------   1 brad  503          7 Dec  1 07:48 .CFUserTextEncoding
    -rw-r--r--@  1 brad  503      12292 Mar  1 16:22 .DS_Store
    drwx------   5 brad  503        170 Mar  1 16:42 .Trash
    drwxr-x--x   4 brad  503        136 Apr 19  2011 .adobe
    drwxr-xr-x@  3 brad  503        102 Apr 27  2011 .autodesk
    -rw-------   1 brad  503        546 Feb 15  2012 .bash_history
    drwxr-xr-x   6 brad  503        204 Aug 28  2014 .blurb
    drwx------   3 brad  503        102 Feb 27  2014 .cache
    drwxr-xr-x   4 brad  503        136 Feb 27  2014 .config
    drwx------   3 brad  503        102 Dec  6  2010 .cups
    -rw-r--r--   1 brad  503    1109647 Sep 23  2011 .fonts.cache-1
    drwxr-xr-x   2 brad  503         68 Jun 18  2013 .gs5
    drwxr-xr-x   3 brad  503        102 Sep  6  2011 .local
    -rw-r--r--   1 brad  503        239 Sep  6  2011 .mailcap
    -rw-r--r--   1 brad  503        368 Sep  6  2011 .mime.types
    drwxr-xr-x   3 brad  503        102 Dec 18  2012 .viewcd
    -rw-r--r--   1 brad  503         90 Apr 17  2013 .vuescanrc
    drwxr-xr-x   8 brad  503        272 Jun 26  2014 .wapi
    drwxr-xr-x   4 brad  503        136 Dec  4 12:23 Applications
    drwx------@  3 brad  503        102 Dec 20 11:44 Creative Cloud Files
    drwx---rwx@ 40 brad  503       1360 Mar  1 16:48 Desktop
    drwx---rwx+  7 brad  503        238 Nov 12 18:30 Documents
    drwx------+  3 brad  503        102 Feb 20 16:42 Downloads
    drwx------@  4 brad  503        136 Feb 22 22:43 Google Drive
    drwxrwxr-x   5 brad  admin      170 Dec  7 18:07 Incompatible Software
    drwx------+ 66 brad  503       2244 Mar  1 15:07 Library
    drwx------+  5 brad  503        170 Sep 21 19:42 Movies

  • I backed up my old core 2 duo imac and and was trying to transfer files to my new 2011 imac and when i go to oppen a folder from what i transferred it says "The folder "Music" can't be opened because you don't have permission to see its contents."?

    I backed up my old core 2 duo imac and and was trying to transfer files to my new 2011 imac and when i go to oppen a folder from what i transferred it says "The folder “Music” can’t be opened because you don’t have permission to see its contents".  Why cant i access the files from my old mac?  I tried the time machine and that isnt working either.  I have files that I need to use on my new mac, all my old programs and such.  I thought they said it was easy to get your files from one mac to another.  Please help.

    Your account names are probably different on the two Macs. If you know the UNIX command line, open a terminal window and run:
    $ id 
    You should see a line that starts with something like this:
    uid=501(your_user_id_here)
    now check the owner of the folder you copied over:
    $ ls -ld Music
    drwx------+ 8 some_user_id_here  staff  272 May 14 16:08 Music
    Do the IDs match? If not, you could change the ownership. Say your id is "johnsmith"
    $ chown -R johnsmith Music
    Now try and access it with iTunes.

  • Can a div auto-detect the width of its contents?

    By default, a div's width will extend as far as its container allows (100%) and we can restrict this by specifying width values. But I'm not looking to do either one. Instead, I'd like to know if there's a way to make a div adopt the width value of its contents dynamically?
    In other words, wrap tightly around its contents, instead of expanding to fill whatever space allows.
    <div>
      <img src="image.jpg">
    </div>
    Where image.jpg is 200px wide and so is the div that's containing it.

    jyeager11 wrote:
    By default, a div's width will extend as far as its container allows (100%) and we can restrict this by specifying width values. But I'm not looking to do either one. Instead, I'd like to know if there's a way to make a div adopt the width value of its contents dynamically?
    Where image.jpg is 200px wide and so is the div that's containing it.
    Yes you can do it.  You need to float the DIVs either left or right.  The process of floating the div shrinks the div to fit the contents.  Try it and let us know if this works in your case.
    Good luck.

  • I used to have an application in my iPhone 4 and 4s that captures business card and creates its content to my contacts. Its no longer working with my i5. Can you recommend me a new apps for this same function

    I used to have an application in my iPhone 4 and 4s that captures business card and creates its content to my contacts. Its no longer working with my i5. Can you recommend me a new apps for this same function

    Try CardMunch it works well for me

  • Document Creation error - "We're sorry. We can't open document name because we found a problem with its contents"

    Morning Friends,
    I have created a SharePoint 2010 "Site Workflow" that is designed to take information from a form and create a Word doc with the gathered information and store this Word doc in a document library.
    I am using Sharepoint 2013 with Office 2013 
    I understand there are a lot of steps (19) outlined below and I can provide more information as needed but the bottom line is this, workflow successfully takes info from an initiation form, uses the info to create a Word doc. Places this Word doc in a library.
    When attempting to open / edit doc, receive error
    "We're sorry. We can't open <document name> because we found a problem with its contents"
    Details - No error detail available.
    Any info or advice would be greatly appreciated. 
    Very high level view of what I have done:
    1 - Created content type called "Letters"
    2 - Added site columns " First Name" and "Last Name"
    3 -  Created and saved to my desktop a very basic Word document (Letter.docx) that says "Hello, my name is XXXX XXXX"
    4 - In the advanced settings of the "Letters" content type I uploaded this "Letter.docx" file as the new document template.
    5 - Created a new document library called "Letters"
    6 - In Library Settings - Advanced Settings, clicked "Yes" to enable the management of content types.
    7 - Then I clicked "Add from existing content types" and added the "Letters" content type
    8 - Back in the advanced settings of the "Letters" content type I selected "Edit Template" and replaced the first XXXX with the Quick Part "First Name" and the second XXXX with the Quick part "Last Name"
    9 - Created a new 2010 Site workflow called "Create a Letter"
    10 - To the workflow I added the action "Create List Item"
    11 - Configured the action to create Content Type ID "Letters" in the document library "Letter" 
    12 - For the "Path and Name" I gave it a basic name of "Letter to"
    13 - The next step was to create the Initiation Form Parameters and added to form entries "First Name" and "Last Name"
    14 - I then linked the initiation form fields to the data source "Workflow Variables and Parameters" to their respective Field from Source parameters
    15 - Went back to the "Path and Name" and modified the basic name of "Letter to" to include the first and last name parameters.
    16 - Saved - published and ran the work flow.
    17 - As expected, Initiation Form prompts for First and Last Name. ("John Doe") Then click "start
    18 - Go to document library "Letters" and see a new Word document created titles "Letter to John Doe" 
    19 - Go to open / edit the Word document and receive the following error
    thoughts? Any info or advice would be greatly appreciated. 

    See this MS support article for SP2010 workflows and generating Word docs:
    https://support.microsoft.com/kb/2889634/en-us?wa=wsignin1.0
    "This behavior is by design. The Create
    List Item action in the SharePoint
    2010 Workflow platform can't convert Word content type file templates to the correct .docx format."
    I've had success in using SP 2013, Word 2013 (saving a .docx as the template instead of .dotx for the document library content type), and an SP 2010 workflow using SP Designer 2013.

  • How can I  sync without losing content of my ipod and transfer its contents to itunes library

    How can I sync my ipod classic w/o losing content and therefore able to transfer its content to the itunes library?

    See this older post from another forum member Zevoneer covering the different methods available for copying content from your iPod back to your computer and into iTunes.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • HT201250 i'm getting message: can't be opened because you don't have permission to see its contents. and he operation can't be completed because an unexpected error occurred (error code -8003).

    I took my computer in to have the Backup restored onto my computer after having a new harddrive put onto my 1year 1/2 old MacBook Pro. When i got it home there was a new User that i had to logout of to getting into my normal user. Don't know why this was, just figured the Mac guys that installed my backup did this for some odd reason. Today i could not open any of my files in the backup on the time machine. All the folder had line going thought them and when i clicked on them I revieved this message: can’t be opened because you don’t have permission to see its contents. After talking with that same mac store. I decided to just delete all the files out of the time machine as it was just put back on my computer and i have everything i need. Hours later when i tried to empty the trash i got this messsage: the operation can’t be completed because an unexpected error occurred (error code -8003).
    Any advise how to fix my problem?
    thanks in advance

    While you see a single trash can, in reality there are trash folders on each mounted volume.  I don't use TM but what you are describing implies that a TM drive is no different with the way trash is treated.  So when the TM is unmounted the trash folder on there is gone and thus the trash looks empty.  Remount the drive, the trash folder on it now causes the trashcan to look like something is in it.
    If TrashIt! could not remove the file, I'm sorry, you will need to use the terminal.  We can do this one step at a time so you only have to copy/paste the lines into terminal (except the first time).  So launch Terminal (in utilities).  You might want to make the window that is shown a bit larger with the grow box since it's pretty small.
    This first line is the only exception to the copy/pasting since you have to enter some information.
    sudo ls -laR /Volumes/your-TM-volume-name/.Trashes
    where your-TM-volume-name is the name of your TM volume.  That's the part you have to fill in since I don't know it.
    When you hit return the sudo in that command will cause a prompt for your admin password.  Enter it and hit return again.  Note the password will not be shown as you type it.  Post the results so I can tell you what to do next.
    Note this ls command is not doing anything but listing the files in the TM's .Trashes folder.  Remember I said each drive has it's own trash folder.  .Trashes is it.

  • How to copy a page( webpart page) with its content using client side.

    How to copy a page(in my case  webpart page) with its content(it may contain webparts) using client code (i mean using SPservices or ECMA script).
    What i am planning is ,to give end user a page where it will contain text box to specify  name of page and a button with the help of  content editor webpart.
    where on click of button we need to write client side code such that it should create a new page from a existing page in a library with given name by user.
    Any suggestion would be helpful. For your information we can do it through UI with the help Site Actions / Manage Content and Structure.But i want to automate it using client side code.Server side code is restricted.
    or can we create a template of an existing page with content without the help of sharepoint designer.
    Thanks in advance
    with regards Ravichandra

    This is good example
    http://balajiindia.wordpress.com/2011/05/27/using-jquery-with-custom-web-services-in-sharepoint/
    Create web service
    http://balajiindia.wordpress.com/2011/05/27/using-jquery-with-custom-web-services-in-sharepoint/. Create method "Create Page" http://www.learningsharepoint.com/2010/09/17/create-publishing-pages-sharepoint-2010-programmatically/
    Build your Java Script. You can use Content Editor Web Part if you want to avoid custom web part development http://www.codeproject.com/Articles/544538/JQuery-with-SharePoint
    Oleg

  • This item cannot be displayed in the Reading Pane. Open the item to read its contents Outlook 2013

    One of Outlook 2013 of Office Home and Business in Windows 7 Pro 64bit who is connecting to a local Exchange 2010 server is having the following error:
    This item cannot be displayed in the Reading Pane. Open the item to read its contents.
    When launching Outlook, it seems work fine. If user click other folders and click Inbox again. The error comes out. It only happens on Inbox folder.
    I have tried the followings with no luck.
    1. Rebuilt new Outlook profile.
    2. Rebuilt new Windows profile + Outlook profile.
    3. Disabled all add-ins.
    There are 2 ways I can make it work.
    1. I disabled "Cache Mode", then it starts working well. 
    2. Start Outlook with outlook.com /safe.
    So the question is why in Cache mode, Outlook 2013 cannot display the item in reading pane. 
    Any hint will be appreciated.
    CliffZ

    CliffZ,
    One hint: Do an offline virus scan on the affected computer:
    1. Check if your computer has a 32- or a 64-bit system. Right-click on Computer icon, choose Properties. System type reveals the bitness.
    2. Download the appropriate virus scanning version from http://windows.microsoft.com/en-US/windows/what-is-windows-defender-offline
    Note: If you're on Windows 8.1: http://windows.microsoft.com/en-us/windows/what-is-windows-defender-offline-beta
    3. Insert a USB stick with nothing important on. Observe the drive letter (F:, G: etc ...) assigned to it.
    4. Start the downloaded program and follow the instructions. Note: Choose the correct drive letter from 3 above.
    5. Restart your computer so it will boot from the USB stick. Depending on computer brand you can often press F12 to get a boot menu.
    Sometimes you have to enter BIOS to tell the computer to boot from USB if present.
    The quick scan starts. Abort it and select Full Scan.
    Let it run overnight.
    Regards Pete

  • As a new MacBook user I plug in my USB Flash Drive but don't know how to access its contents. Please help. Thanks.

    as a new MacBook user, when inserting my USB Flash Drive, I do not know how to access its contents. Please help. Thanks.

    Open a new Finder window, Finder > File > New Finder Window, and it should appear on the left under Devices.
    If you don't see it there, or to get it to show up on the Desktop: Finder > Preferences... General tab, check External disks to have it show on the Desktop,  Or Sidebar tab, check External disks under DEVICES.

  • Can no longer access folders on my network. The folder can't be opened because you don't have permission to see its contents.

    Every since I nstalled maverick I have not been able to open folders through my home network. A dialoge box says
    The folder  can’t be opened because you don’t have permission to see its contents. I have always used an open network and never had issues. Now the strange part is I can open files if I use photoshop or illustrator to access them but I need to access all files not just select ones using a program.I have many shared folders on my network for everyone to access work files, none of them are working. I am running a dual system network with PC's and Macs.The files are, and always have been, located on an external drive attached to the primary PC as a shared drive.  PLEASE HELP

    https://discussions.apple.com/message/20971272#20971272

  • Mac OS 10.5 /  I deleted the " Private" folder ... and emptied the trash. So the folder and its contents no longer exists on my computer at all !!!  I do have the OS dvd that i purchased years ago...  But my computer will not start from it on its own. My

    Mac OS 10.5 /
    I deleted the " Private" folder ... and emptied the trash. So the folder and its contents no longer exists on my computer at all !!!
    I do have the OS 10.5 dvd that i purchased years ago...
    But my computer will not start from it on its own.
    My question is what is the open source or terminal language code used to tell my mac to look in the DVD rom drive for startup info?  I know that im not the only person in this world who has deleted the "PRIVATE" folder and emptied the trash so it no longer exists on their machine...
    That said theres gotta be a common fix for a Power PC G4 that has the OS X dvd in the rom drive but wont look to it to reinstall the vital contents of the PRIVATE folder.
    Once again there is not a copy of this file or its contents in the recycle bin...
    Also rebooting the machine , pressing and holding the letter C does not prompt the machine to look to the dvd rom drive.
    I was reinstalling pro tools and figured I would make some room by cleaning my computers HD...
    Lol It was a bad choice to delete this file ...
    Thanks guys

    Okay sorry it took forever to respond... But for a while there I gave up on this computer!!!!
    Money's been tight lately , so taking it in to a professional was not yet an option... though I did consider it eventhough.
    Anyway long story short im glad I didnt spend any money because I already had all the tools necessary to fix this issue but was going about it in the wrong way. Okay so here is my scenario and the breakdown... Though this may not fix the issue for everyone :( which *****... But I know we all will have different circumstances.
    Anyway here we go...
    Okay so first things first....  Years ago I purchased the OS 10.5.1 disk ... So that has always been in my possession!!!!
    I realize that some may not have a disk to reflash your OS to your hard drive... but if you do your in luck.
    2ndly ... I had an external harddrive with all of my itunes downloaded music so it was more than okay with me to delete my primary HD because all the important stuff could either be copied over or repathed to be located.
    -------If you dont want to read through the whole story the fix is summed up in the bottom section-------
    Okay so now the SOLUTION!!!!
    By trial and error , and pure boredom I opened up my computer to clean the inside...
    AND
    "Disconnected the primary HD"
    and just because ....... REBOOTED my computer. Just to see what it would do.
    Upon restart and though it looked like it would repeat its usual cycle...
    About 1 minute in to that process my computer froze for about 2 seconds and flashed to the OS installation screen.
    Mind you I havent seen this screen yet... Probably hasnt been since I installed the OS years ago.
    After a bit of trial and error...
    I decided to tell my computer to startup from the OS 10.5 disk located in my dvd rom drive and restarted once again...
    this setting is under
    Utilities / startup disk
    After a little more trial and error ... I realized that I could reconnect the primary HD , restart the machine and return to the OS installation menu.
    So upon this discovery
    I went to the Disk Utility located under Utilities
    Highlighted my primary HD located in the left hand column
    Once highlighted ...
    In the heading section on the right I selected the option
    Erase
    in which I erased My current OS on my primary HD ...
    I used the first option in the list under security... Because it seemed like the least invasive and would take the least amount of time to see if this process would actually work.
    I FORGOT to add something... 
    Another reason why I deleted my primary HD!!!!!
    I forgot to say that it WOULD NOT!!!!! Show up in the STARTUP list as an option...Even After multiple reboots....
    But like clockwork... Once I deleted its name IT SHOWED UP as an option!!!!
    So back to the next step...
    I returned to the STARTUP option under utilities ... And was then able to see MY primary HD now as a startup option...
    But ofcourse it had no name because it we previously erased it.
    So when Clicking my newly erased HD ... I was almost immediately prompted to REINSTALL the OS ...
    Which said it would take about 57 minutes ... But I believe was alot less...
    My issue was resolved ... My computer then stated the install was SUCCESSFUL!!!!!!! :))))))))))) lol ;)
    It was like I was setting up for the first time ;) asking for my registration info...
    The dilemma of deleting the private folder and emptying the trash is finally over resolved. Done ... and no extra money spent!!!!!!!!! 
    Its really crazy that the information for such a simple thing is not readily available. Especially being such a simple fix.
    I know im not the only person who's had this issue , because i've seen numerous posts with similar wording.
    I also know I wont be the last person to have this issue... So I hope this synopsis makes sense.
    -------One more time the fix------
    *Insert your OS dvd into your dvd rom drive.
    *Unplug your primary HD or corrupted startup disk
    *Reboot your machine...
    Upon restart your primary HD will not be recognized...
    * you will then be prompted to select your language.
    Once selected
    *Click Utilities/startup... Highlight the the selection that refers to the OS dvd located in the dvd rom drive.
    * Click restart...
    !!!!!!!!!!Be sure to reconnect your Primary HD Before your computer restarts and you hear the chime!!!!!!!!
    If you do not replug your HD before the chime it will not be recognized.
    In that case restart again.
    Upon restart once again
    *Choose your language...
    *Click Utilities / disk utility
    In the left column select and
    *Highlight your HD ...
    Then towards the top portion / center of the page
    *Click the heading Erase
    Then on the page toward the bottom
    *Click security options
    This will then provide erase options.
    I USED THE FIRST OPTION
    "Dont erase data"...
    *click OK
    * click erase...
    Once erased which should take a few seconds
    *Cancel the disk utility...
    * Click Utilities / startup
    And your newly erased HD should now appear in the list.
    * Select your drive from the list by highlighting
    It should no longer have a name.
    *Once selected, you will then be prompted to restart and install the OS to your newly erased HD...
    Thats it!!!!
    Once everything reinstalls re-add your personal info or registration info and you are up and running.
    Goodluck ;)

  • Is there any way to download a report by web services or know its content?

    Hi everyone,
    I need to know, maybe, using web services or anyway I can if a report will show some result when someone executes it, or if it just will show no results.
    I hope that there is any way to know the number of lines that will be returned from the report, or maybe download the report to a csv son I can open the file and know its content.
    Thank you.
    Kim.

    Thanks for the answer
    And do you know another way to know if a report will show any result or not without before to open it? maybe with a call by the url...
    Thanks, Kim

  • Sharepoint error - Search Issue - The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1).

    i see this error everywhere - In ULS logs, on site. On the site > Site settings > search keywords; I see this - 
    The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>IIS 7.0 Detailed Error - 500.19 - Internal Server Error</title> <style type="text/css"> <!-- body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;background:#CBE1EF;} code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;} .config_source code{font-size:.8em;color:#000000;} pre{margin:0;font-size:1.4em;word-wrap:break-word;} ul,ol{margin:10px 0 10px 40px;} ul.first,ol.first{margin-top:5px;} fieldset{padding:0 15px 10px 15px;} .summary-container fieldset{padding-bottom:5px;margin-top:4px;} legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;} legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px -12px;_margin-top:0px; border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;border-right:1px solid #969696; border-bottom:1px solid #969696;background:#E7ECF0;font-weight:bold;'.
    I am facing issues in searching, my managed metadata service is not running, search results page throws internal error. Any Idea why this above error comes.
    P.S: We use windows authentication in our environment.

    Hi IMSunny,
    It seems you have solved this issue based on your another post.
    http://social.technet.microsoft.com/Forums/en-US/aa468ab0-1242-4ba8-97ea-1a3eb0c525c0/search-results-page-throws-internal-server-error?forum=sharepointgeneralprevious
    Thanks
    Daniel Yang
    TechNet Community Support

Maybe you are looking for