Question of layout with panelStretchLayout and panelGroupLayout

I have a problem with a model of complex page layout. Basically a component does not stretch vertically.
Here's a simple sample page that reproduces the kind of my problem.

Page when displayed, extends the panelSplitter on the entire page.
However, if I have not commented to the panelGroupLayout it does not (no matter the value of the presentation attribute).
I have a panelGroupLayout after the Center facet which spans the panelSplitter of the entire page?

< af:panelStretchLayout id = "pt_psl1" >
< f: facet name = "center" >
<!-af:panelGroupLayout id = "pt_pgl2" layout = "scroll" styleClass = "AFStretchWidth"->

< af:panelSplitter orientation = "horizontal" splitterPosition = "100".
positionedFromEnd = "true" id = "ps1ee" >
< f: facet = 'first' name >
< af:commandButton text = "commandButton 1 ' id = 'cb1eee' / >
<!-id = "af_twocol_right_sidebar_split_stretched"->
< / f: facet >
< f: facet 'second' = name >
< af:commandButton text = "commandButton 2 ' id = 'cb2eee' / >
< / f: facet >
< / af:panelSplitter >

<!-/ af:panelGroupLayout->
< / f: facet >

< / af:panelStretchLayout >

Thank you

Panel group extend to his children.
See part of the geometry in the doc:
http://jdevadf.Oracle.com/ADF-richclient-demo/docs/tagdoc/af_panelGroupLayout.html
To stretch the group separator, you don't need any panelGroupLayout.

You should probably use another layout component, depending on what you're trying to reach.

Tags: Java

Similar Questions

  • Question about Threads with WHILE and FOR

    Hi all

    I have a question on threads with a loop on this topic sentece.

    Have the following class:
    class test{
    
    bool foundThing;
    PararellSearch(string [] lista, string s2find){
    while(!foundThing)
    {
    for(int i=0;i<lista.length;i++){
    if(s2find==lista){
    foundThing = true;
    break;
    }
    }
    }
    }
    If I start 10 threads which are using the PararellSearch method to look into lista, each of them inits into a different point, and when some of them found the right word then set foundThing= true. It will stop WHILE and FOR loop in all the threads? 
    If not, how could I do it?
    
    Thanks a lot for your help.
    David.
    
    Edited by: user13553506 on 27-dic-2010 12:15
    
    Edited by: user13553506 on 27-dic-2010 15:54                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

    When you post the code, you'll want to post a [url http://sscce.org] NBS so that it is clear that what you try to do it. For example:

    1. in the validation of code, put {code} before and after him, then he will be readable.

    2. the convention in Java must start with a capital letter class names, so test, could not test.

    3. the convention in Java is to start with lowercase letters, so parallelSearch, not PWhateverMisspellingYouHaveThere method names.

    4. There is no such thing as bool. It is a Boolean.

    5. it is a String, not string.

    6. never use == to compare the States of objects (such as the content of the strings). Use equals().

    To answer your question: If you create Test 10 objects, then, given that foundThing is an instance variable, there will be 10 variables entirely independent foundThing. An adjustment will not affect the other. In this case, the easiest thing to do would be to foundThing static, so that there is only one copy which is shared by the Test class as a whole. This isn't the only way, or even the best way in all cases, but you have enough other problems to face, so for now to keep things simple.

    Finally, when you have a variable that is shared by multiple threads, you need to either make all the access to this variable synchronized on the same lock (reads and writes), or you need to declare the volatile variable.

  • Question of layout: vertical scrolling and horizontal stretch

    Hello

    Is it possible to have a page that is equipped with panels that extend to the width of the page, but which has a fixed and a vertical scroll bar? I think a picture of master-detail-detail with each in a panel who are sitting on the other (in a stack of 3) vertically and which extend to the width of the page (the tables have a certain columns). The panels would be with separators and the entire page would have a scroll bar when the 3 panels are too large for the size of the page.

    Thank you

    Steve

    Hello

    You can use panelGroupLayouts, affecting their AFStretchWitch styleClass property. Then set a property of inlineStyle to the fixed width (pixel) and make sure that the panelGroupLayouts are of type "scroll."

    Frank

  • Problem with PanelStretch and PanelGroupLayout Layout

    JDev version: 11.1.1.13.0

    Issues:

    Question No. 1:
    When I join an ADF region within a PanelStretchLayout fragments of the jsf inside my FRNS are not displayed correctly. Only the components that go into the screen appear, while the rest of them get truncated. I'm assuming that a side scroll bar should appear automatically. But this isn't :(
    I also tried to replace the PSL with PGL Vertical and PGL-scroll but things are still not working. Can anyone suggest something to correct the problem?

    PanelGroupLayout (scroll) can be stretched to its parent container, but it does not stretch its children. If you put the region within a PanelGroupLayout (scroll), the region will not stretch. If the area is large and does not match inside its parent page, then put the PanelGroupLayout (scroll) within the region. This, only if the content of the region is not extensible, otherwise put it inside PanelGroupLayout will prevent her stretch.

    There are some additional requirements for a stretch and scroll. Take a look at the section of the geometry of the tag documentation management, you'll find more details:
    http://download.Oracle.com/docs/CD/E14571_01/apirefs.1111/e12419/tagdoc/af_region.html

    Dimitar

  • Question of EX60 with TMS and Callmanager.

    Hi all

    I have a saved on my MSD EX60 and works very well. But I need to make phone calls of this endpoint.

    The device is registered on MSDS which is another country (DE) and therefore on another call manager using his background and rules.

    The point is: is possible to keep the record of TMS to videocalls and register my callmanger to make phone calls?

    I tried to make the deployment process on the device... To receive phone calls from my callmanager works very well. Just phone calls. Outgoing calls continue smoothly in TO callmanager.

    I think it's possible to do. But I can't imagine how...

    Thanks in advance.

    Hi Daron,

    I think you take on commissioning.

    You must be commissioned with TMS for the phone book. at present on TC 6.3, you get so stocked TMS directory by CUCM.

    However, on the next version 7 TC, a device for CUCM pack will be necessary to specify the TMS as a source directory for the endpoints CUCM provisoned.

    at this point, you can either put into service with TMS or CUCM both.

    in case you need to call to SIP, this need to go through CUCM in sip and h323 default then Protocol should be h323.

  • Question of iframe with APID and Cache

    Hello

    Ive had a problem using an iframe to display a different Page Apex.

    I use this code to the Iframe:

    <iframe id="testIframe" src="" height=500 width=500 frameborder=1>
    </iframe>
    
    
    

    And this Javascript code to set the source (in the footer of the region):

    <script>
    $id = $v('P1_ID');
    document.getElementById("t").src = "f?p=&APP_ID.:2:&SESSION.::A_test_ID:"+ $id;
    </script>
    
    

    I call the page with an Applicationitem.

    Ist point in P1_ID ist the correct id for example 1

    But the iframe always displays the last called id.

    Open the page and I have the ID 3.

    Now I open thje page and have 4 ID, the iframe with id 3 is displayed, but the source code has the id 4.

    In Page 2, I call a procedure that inserts something into the db and set the id and this id is always the last and not the current one.

    What is a caching problem?

    Greetings

    Sebastian

    I solved it.

    The problem is the Application-Item. If I put on the homepage with the id run the Iframe will load the correct information!

  • Problem of layout with HBox and VBox

    I want to create a login screen which is always centered on the screen. In the login screen I want two text fields must be aligned vertically and two corresponding text input fields must be aligned vertically. I can't understand the correct use of VBox and HBox to achieve my goal. Is there a simple way to think about it - must - I use something other than VBox and HBox? The code below is partially correct, but the text input areas are not aligned vertically.

    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml '
    Layout = "vertical".
    verticalAlign = "middle" >
    < mx:VBox >
    < mx:HBox >
    < mx:Label text = "Username" / >
    < mx:TextInput text = "test text" / >
    < / mx:HBox >
    < mx:HBox >
    < mx:Label text = "Insert here the password" / >
    < mx:TextInput text = "password" / >
    < / mx:HBox >
    < / mx:VBox >
    < / mx:Application >

    I think you want a form to do this:

  • How to import layouts with vectors and direct type?

    I seem to have met a stumper on basic AE workflow. I would like to implement a workflow where I can set an application designs, then put in AE to animate and control the camera around. My intention is to make graphics like this: http://vimeo.com/25123730 (OK, well, not nearly as slick... yet)

    The difficulty is, if I throw my drawing in Photoshop after I import it, it will allow me to convert the direct type, but the vector shapes are pixelated all and I can't get them as vectors. If I throw in Illustrator, the shapes are net of all vectors, but my type is rasterized. I think that there is something that I have to Miss here.

    What is the solution?

    Missing you something, it's just like that. There is always hope for CS6 and beyond, but for now the only type of "vector", you will get Photoshop of text and the layer, which will be converted to AE masks, clipping masks if the PSD is imported as a composition. However, if you want to get an honest opinion: people obsess too much about this vector stuff. Many times it is not necessary to make it work still a raster image enough size and that's what I see looking at your example. The camera movements are not this extreme that they need excessive detail.

    Mylenium

  • Little help General and question about layout theory

    Hello... any help appreciated:

    I am a photographer who has always been a person DIY.  I built a Web site for my work on my own using Dreamweaver and some tutorials online.  He comes back, it works (although a little slow), but the code would, I imagine, most of you take your computers and whiten your knuckles.  In short: it works on the tape, Staples and ideas of jerry-rigged.

    I've watched more tutorials and am rebuiding the site, trying to clean up the code and the site.

    I have a number of questions and issues that I have not been able to solve on my own and so I turn to this site.  I'll post a few initial questions here and even more in the following days.

    I sincerely appreciate the time and help you would be willing to offer.

    1. when I try to preview in Firefox, my computer switches to Firefox, but the site is not displayed.  All that appears is what was the last page I looked at Firefox.  This does not happen for Safari, Opera, etc..

    2 I watched videos on the site, built the site largely with a layout of the Tables and then a page turns with the Table in a template for the pages that follow.  I guess it's a frequently asked question: most people set out sites this way to make... or with the ApDiv?  I feel I'm learning a foreign language by the book... now I wondering how people REALLY speak.  My site is www.tomgriggs.net (look at the code at your own risk).  I provided that in the hope that, if you take a look, you might see a way to layout would work for me better than the other.

    3. What is recommend for my table, wide... I'm focusing on the photogarphers and others who usually have large screens and I want to maximize the space I have for my pictures, but I also want to most people when they visit my site to get the site on their screen.  The solution would only be a percentage based tabular presentation?

    I'll save the other for another day or post questions.  I appreciate any response you have!

    1. There is a known issue with Firefox 3.6.x and preview based on the browser.  It is noted in the Mozilla bug database and has been approved for publication in the next version.  I got the bug number in an old post, but I don't know off the top of my head.

    2 tables are a deprecated feature in Dreamweaver and have been removed from CS4.  So I recommend against learning in this way.  Œuvres of absolute positioning for some cases, but if you want a layout pass little matter that someone has the resolution you will end up with an elastic layout using percentages.  You can use div tags PA in it to achieve some effects.  But most of the time it should be used in some sort of container because otherwise your site will have different appearances according to the resolution.

    That your site is concerned, many will run your site through a validator: http://validator.w3.org/ - HTML, http://jigsaw.w3.org/css-validator/ - CSS.  At the moment your site validates 100% with CSS and has only a single error in HTML format (other errors are related).  Your "and must end with a ' / > '."  Apart from that, everything is in order.  Personally, I like the simplicity of your Web site, although I think you could add a little more to the grey background by integrating one of your images in the background.

    3. return to the table.  Closer look at your code and I see that you have a table around your content with a width of 1134.  Personally I trash and follow these steps:

    Here, all the power to the table remains

    If you get away from the table and move to div and layers, so you can make your more elastic page mentioned in the #2 response.  This code inside the body tag would give you a width of 90% of the visible area and auto margin: 0 would set the margin at the top and bottom of the page to 0 while the auto Center the page horizontally in the window of the browser.  As stated previously, layout tables are obsolete and will be not available in the latest versions of DW from CS4.  So I highly recommend moving ahead of them if you can.  The following resource is a good starting point for CSS ( http://www.w3schools.com/css/ ).  Think about the design of web sites in this way, just said HTML what should appear, CSS says what it should look like when it appears. Based on your current layout, it wouldn't be hard to reproduce this with fewer lines of code using basic CSS layout compared to the current table layout.  If you need an example, I could try to stick something together.  It may take a few days if.

    And if you have any other questions, feel free to post them.   Most of the users here are more than willing to lend a hand.

  • Hello friends, I have a license with terms of the photo with Photoshop and Lightroom applications installed on my iMac. Question: With this license can I install these applications also in my notebook? Using the same license.

    Hello friends, I have a license with terms of the photo with Photoshop and Lightroom applications installed on my iMac. Question: With this license can I install these applications also in my notebook? Using the same license.

    Yes, individual licenses, ranging up to allow two simultaneous, activations facilities.

    subscriptions allow mounting on an unlimited number of computers.  connection is limited to a maximum of two computers at a time.

  • the background behind my pages turned black, how to return to grey? I spent between purge normal, preview, Slug and presentation and closed and open in design and it is always black. I can't imagine layouts with the black arr.plans

    the background behind my pages turned black, how to return to grey? I spent between purge normal, preview, Slug and presentation and closed and open in design and it is always black. I can't imagine layouts with black background please help!

    or maybe that the interface has been defined on Dark?

    Go to Preferences > Interface tab, choose light color theme dropdown on Apearance section (the upper part of the window)

  • SIZING QUESTION in FLUID PAGE layout GRID (READING AND I'll EXPLAIN) Please help

    I have 2 asides placed side by side each width of 50% for the layout of the content. The width works very well stay in proportion, but the height is not stay the same proportion when the size of the screen changes. I need 2 asides to stay the same size as each other across the screen of different sizes to help please

    Here is my code:

    < side class = "roofingaside" >

    < class header = "roofingheader" > ROOFING AFFORDABLE < / header >

    < ul class = "fluidList fluid roofinglist" >

    < class li = 'fluid rooginglistiteam' > ROOFING NEW < /li >

    < class li = 'fluid rooginglistiteam' > < /li > REPAIRS

    < class li = 'fluid rooginglistiteam' > WINTERIZE < /li >

    < class li = 'fluid rooginglistiteam' > SERVICES 24/7 < /li >

    < /ul >

    < / side >

    < side class = "electricalaside" >

    < class header = 'fluid electricalheader' > ELECTRIC SERVICES < / header >

    < ul class = "fluid fluidList ELECTRICALLIST" >

    < class li = 'fluid ELECTRICALLISTITEAM' > INTERIOR & EXTERIOR LIGHTING < /li >

    < class li = 'fluid ELECTRICALLISTITEAM' > outlets, SMOKE DETECTORS, DRYER CIRCUITS < /li >

    < class li = 'fluid ELECTRICALLISTITEAM' > FANS, CIRCUITS of a/c, HEATING ELECTRIC < /li >

    < class li = 'fluid ELECTRICALLISTITEAM' > CALLED SERVICES < /li >

    < /ul >

    < / side >

    Type in capital LETTERS, it's the same as shouting in the web forums.  Please do not shout out your answers.

    You have 2 choices.  Either build your site with FGLayouts and do not worry about the columns the same height.   Or re - build with a layout of fixed width in pixels.   Whatever approach you use, height is always determined by the content.  Then accept this fact and sleep well at night.

    Welcome to the web design 101

    Nancy O.

  • I used even with Win7. Now changed to iMac. External BlueRay. Question: can I create CDs BlueRay with Adobe and where is my still on MAC?

    What is a substitute for reminder in Creativ-cloud?

    Can I create DVD BlueRay with iMac and external device for BlueRay?

    In addition, to help with yet, go to http://forums.adobe.com/community/encore/content

  • QoS implementationon MCU with conductor and operation

    Hi all

    We added the MCU to the driver for resilience, but design QoS on MCU is configured on the conductor or MCU?

    In addition, we would like to discuss about layout MCU control. Based on the advanced driver parameter of model - custom layout, it's a change in real time? Given that we change the MCU available directly.

    Best regards

    Benjamin Lai

    If you use TMS with driver, you'd make all your changes Conference there and not directly on the MCU.  While you can make the changes on the MCU, if using TMS just be careful because TMS could see the MCU that do one thing while you make changes manually.  That said, you can make changes on the MCU, nothing wrong with that, actually make us ourselves on some occasions where we need, simply because of where we are or what device we use, because TMS is not compatible with everything, because it uses Java, IE a mobile device if it is what I happen to have on hand instead of a laptop.

    There is a question that I know with TMS and layouts of conductor (see but CSCuq62737) is that you can change the layout on a basis of individual endpoints and it works fine, however if you try and wide Conference on change page layouts, only currently works for new members added to the Conference.

    Regarding the quality of service, I'm not quite sure, I think it would be considered data, because the presentation is really just another video channel.

  • We use Flash Pro CC creating animations with legends and export to html 5.  We must translate the captions in other languages. How can we download translation of texts in our flash animations so we can use them in html5 using CreateJS?

    We use Flash Pro CC creating animations with legends and export to html 5.  We must translate the captions in other languages. How can we download translation of texts in our flash animations so we can use them in html5 using CreateJS?  I use the Flash on a Mac OSX 10.10.3

    Are you familiar with JavaScript?

    It does not completely answer your question, but the text displayed on the screen from any language (ActionScript/CreateJS / [insert the programming language]) generally all following the same path. Each language has a file stored in some form of key = value style, named through the language and the country of your choice, for example en_US.json

    Any language would allow the user to choose regional settings. The application would then grab the appropriate file and everywhere where the text is needed, the script must be using a (usually global or singleton) variable/service that can get the text of the requested key.

    for example if I wanted a user to have a confirmation of dialogue who said 'are you sure?"with buttons for 'Yes' and 'No', I would have (for me), an Englishman, USA base file en_US.json with these values, for example:

    en_US. JSON example:

    {

    'CONFIRM_YES_NO': ' are you sure?

    'YES': '' Yes. ''

    'NO': 'no '.

    }

    Then you use simply JS/AJAX to read this file. You analyze, or simply JSON decode in an object, or manually, depending on what suits your needs. When you want to display any text, you use the object (variable, maintenance, etc.) you have stored these values.

    for example calling to display function confirm dialogue:

    Nickname... but if you understand...

    and this comes from jQuery UI (see here)

    function confirmDialog() {}

    $(«#dialog-confirmer»).dialog({)

    Title: LocalizationObject ['CONFIRM_YES_NO'],

    buttons:]

    {

    text: LocalizationObject ["YES"],

    Click: function() {/ / do something for 'yes '.

    }

    {

    text: LocalizationObject ["NO"],

    Click: function() {/ / do something to the 'no '.

    }

    ]

    });

    }

    Please consider loosely. 'LocalizationObject' is a variable object or service that returns the appropriate text for the key that you provide. In this case, he provided the key 'CONFIRM_YES_NO', 'YES' and 'NO', which must be on the right answer for this key, localized.

    Again, this is not a manual on how to do it via Flash Pro but it's the general conceptual way you could do it in any language. There are a variety of other ways to do it, but it's a very simple way, as long as you keep your key names at least wake up verbose. A key name such as LocalizationObject ["ABC123"] is not really tell you what the key can be referred. Also nest them contributes greatly, as LocalizationObject ["UI'] ['DIALOGUES'] ['CONFIRM'] ['YES_NO'] = ' are you sure? It just shows I nested the title of the dialog within the user interface, because it is the text that appears in the user interface rather than content. Then inside dialog boxes that may contain a variety of different dialog boxes. Then inside her CONFIRM type of dialogue. Finally, the type is a dialogue YES_NO type (as opposed to OK_CANCEL or JUST_OK, etc.). Whole set makes it easy to understand what the text of reading: UI YES_NO confirm DIALOG boxes.

    I hope that from here you can see that you need to review everywhere you display text on the screen and centralize it in a sort of object (function or variable) of your choice. You must store the external language files to prevent unnecessarily load the other languages as well as an easy to modify Setup.

    The rest is just using basic JavaScript.

    Just be ready for the most difficult challenge. At least for me. The size of the text in several languages is very different, and in some cases requires the loading of special fonts. This can make layout in a very difficult dynamic environment. Always thinking all text how big or small can be in any particular and plan field on this size more and shrink so that to handle this situation correctly.

Maybe you are looking for

  • AppStore not to download updates or applications

    I'm trying to update both apps, and I am installing an already purchased application. However, the process does not even start. Help, please.

  • HP problem first Solver (bug?)

    Solve (r = f ^ (a - ln (f)), f) correctly gives the solution f = e ^(quad formula) BUT, if I replace the 'a' in the above with any number between 0 and 1, for example, solve (r = f ^ (0, 5 - LN (f)), f), it gives an incorrect answer. What it does is

  • Satellite A500 - problem of speaker (Harman/Kardon) left

    Hello I have a Toshiba satellite A500 laptop and recently I seem to have intermittent problems with the built-in speaker on the left. Sometimes the sounds come out of the speaker perfectly, but it will turn off for a while and then come back, and the

  • Satellite C660 - 23 M - graphics driver update problem

    New to this forum, so don't know if this has been covered. Have installed Photoshop elements 11 and Prime Minister 11.Elements of program works ok but cannot get the items first to open the new project. Adobe advises trying to update the drivers I ha

  • OptiPlex 990 duplicate these screens appears

    I have an OptiPlex 990 running Windows 7 Pro 64 bit.  I added a Radeon HD5450 graphics card so I can run two monitors.  I have a monitor connected to the VGA native port and a new DVI port on the Radeon card.  It works very well with the option "exte