HELP:  EL page width

Is there any way i can get the current width of the page with an EL expression?
I'm developing a Fusion Web Application in JDev 11g. I am using an af:panelSplitter, but I want the SplitterPosition to be 50% of the page width. I noticed that SplitterPosition can be specified using an EL expression, so that you don't have to hard code an integer to it at design time.
This would be extremely helpful, seeing as how any stretch-able region ( such as the center region in a panelStretchLayout, or decorativeBox, or the second pane of a panelSplitter, etc. ) could be broken up into two stretch-able regions.
Finally, is there any other way of having 2 stretch-able regions in an ADF page? It seems everything only allows for one stretch-able region.

Hi Chris,
if you mean the with of the browser window I think the only way is to use JavaScript, i.e. here: http://www.geekpedia.com/code100_Get-window-width-and-height.html
regards,
Branislav

Similar Messages

  • Help with page width

    Hi Guys,
    I was hoping you could help me. This is my page width in dreamweaver.
    And now here's my site in Firefox.
    Does anyone know how to fix this?
    Many thanks

    Page width should be defined in your CSS code.  Below are some examples of centered, fixed-width CSS Layouts.
    View source in browser to see the code.
    Basic 1-col layout
    http://alt-web.com/TEMPLATES/Basic-1-col-fixed.shtml
    Basic 2-col layout
    http://alt-web.com/TEMPLATES/2-col-fixed-layout.shtml
    Basic 3-col layout
    http://alt-web.com/TEMPLATES/3-col-970.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Expand page width without creating new section- please help!

    When I expand the width of my page, iWeb creates a new section instead of expanding my content. Does anyone know how to fix this?? Thank you!

    Here is a visual refferance. The first tab of the inspector is the "page inspector" then click Layout then adjust page width to fit your needs

  • Auto adjustment of page orientation causes printing issues with documents that have a page width greater than its page height.

    Hi,
    Since an upgrade from Word 2003 to Word 2010, we are experiencing printing issues with certain
    documents that have a page width greater than its page height.
    In Word 2003, it was no problem to set the page width greater than the page height while setting the page orientation to "portrait".
    In Word 2010, this seems impossible: despite leaving the page orientation to "portrait", if one changes the page width/height as stated,
    Word 2010 automatically adjusts the orientation to "landscape". Resetting the orientation to "portrait" will flip the page's width/heigth settings.
    This behaviour causes printing problems: the page prints out 90° rotated.
    I do not believe this is a printer driver issue: I tried several different printer drivers, and all give the same (bad) result. Setting the printer driver's page orientation settings (before printing) makes no difference, as
    Word 2010 seems to force the page orientation settings.
    Inserting the documents 90° rotated is not an option, since it causes problems with the printing margins.
    This is very annoying, since we have to print official documents of a municipality (driver's licences).
    Is there a workaround for this issue?
    Regards,
    Laurent Grandgaignage
    Sysadmin Gemeentebestuur Stabroek, Belgium

    Hi
    Thank you for using
    Microsoft Office for IT Professionals Forums.
    From your description, we can follow these steps to test this issue
    Step 1: Repair Office 2010
    1.      
    Click
    Start, and then click Control Panel.
    2.      
    Click
    Programs and Features.
    3.      
    Click the
    Office 2010 program that you want to repair, and then click
    Change.
    4.      
    Click
    Repair, and then click Continue. You might need to restart your computer after the repair is complete.
    Step 2:
    Rename the global template (Normal.dotm)Follow the steps for the operating system that you are using:
    Windows Vista and Windows 7
    a)      
    Exit Word 2010
    b)      
    Click
    Start.
    c)       
    In the
    Start Search box, type the following text, and then press
    ENTER:
    1.      
    %userprofile%\appdata\roaming\microsoft\templates
    d)      
    Right-click
    Normal.dotm, and then click Rename.
    e)      
    Type
    Oldword.old, and then press ENTER.
    Microsoft Windows XP
    a)      
    Exit Word 2010
    b)      
    Click
    Start, and then click Run.
    c)       
    In the
    Open box, type the following text, and then press ENTER:
    %userprofile%\Application Data\Microsoft\Templates
    d)      
    Right-click
    Normal.dotm, and then click Rename.
    e)      
    Type
    Oldword.old, and then press ENTER.
    f)       
    Close Windows Explorer.
    How to troubleshoot print failures in Word 2010, Word 2007, and Word 2003
    http://support.microsoft.com/kb/826845
    Please take your time to try the suggestions and let me know the results at your earliest convenience. If anything is unclear or if there is anything
    I can do for you, please feel free to let me know.
    Hope that helps.
    Sincerely
    William Zhou CHNPlease remember to mark the replies as answers if they help and unmark them if they provide no help.

  • How do I set Page Width to Multiple Pages?

    How do I set Page Width to Multiple Pages?
    I notice when Cross Tabs are used, the report spans over several pages in width. Can I set this option without using a cross-tab? Since I am having trouble finding a paper width that is 100 inches wide, I was thinking of just using multiple pages.
    Thanks,
    Linda

    Hi Linda,
    Try inserting an OLEDB object and select a bitmap and insert a blank bitmap in report header. Now go to preview and right click on OLEDB Object go to format graphic>picture>change the width of the picture
    If the width exceeds more than the width of the page then it create virtual pages.
    Hope this helps!
    Raghavendra

  • Reporting Services - Horizontal Scrollbar not scrolling sometimes fields exceed page width

    We have a landscape report with lots of fields, causing report to span in width, more than page width. We don't print the report, just view it. Problem is that sometimes when previewing the report, the horizontal scroll bar opens to a size of the whole report
    window and there's no actual scrolling functionality to have the report show what's to the right of the data shown.
    We checked this with IE8, IE9, and as it seems there are entries on the internet about such problem, but we haven't encounted an entry with solution / bypass to this problem, when relating to preview within report builder / VS / Reporting Services in
    IE (they relate there only to reportviewer control if at all).
    We did find that in this event, manually zooming the IE window where the report result is shown, helps the horizontal scroll bar go back to what it should be, and work, e.g. zooming down to 75% and returning in zoom up to 100%....
    Can you please advise ? Thank u

    Hi moital,
    Just as you said, I still think the issue is caused by Internet Explorer. We can try to
    run IE in
    compatibility mode or
    disable third party add-ons
    of Internet Explorer (IE) to check the issue again. If this issue
    is still existed, I suggestion you post the question in the following forum:http://social.technet.microsoft.com/Forums/ie/en-US/home?category=internetexplorer.
    It is appropriate and more experts will assist you. 
    Thank you for your understanding and support.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Cannot adjust page width to fit to screen size on some PCs with IE

    Hello friends, I am using APEX 4.0 and IE9 on different Windows 7 PCs . The page will go way off the screen to the right on one PC, and fits nicely inside the screen on another PC. This problem does not occur in Firefox on any PC. I have used Firebug to try to isolate the template or css settings. Using Theme_4, I have a breadcrumb region and 4 reports regions. One of the reports regions is in column 1 and 3 regions are in column 2. Display point is Page Template Body (3. Items above region content) for all the reports regions. The CSS is #themes/theme_4/css/theme_4_0.css. The template is One Level Tabs (Right Sidebar/Table Based). I tried various width="" using px and % under Edit Page Template-Definition-Body (see below). I tried style="width:800px" within the <div> tags. I have tried various other changes to theme_4_0.css and apex_4_0.css with no visible change to the page width on the obstinate PCs. I reset IE setting and deleted all personal settings on both PCs with no changes to either one, one fits on the screen and the other does not. The issue is that most of our users use IE so most of them will have to live with using the horizontal scroll bar to see the regions in column 2, unless we switch them all to Firefox (not a bad option, except that option works for our users only, we have no control over external browsers). I have tried suggestions from many discussion threads, as this problem has bothered us for quite some time. I know this is an IE problem, but any help is appreciated. Thank you.
    "|" represents screen size and "-" is the regions/content for the "bad" PCs.
    |----------|----------
    The "good" PCs look like this:
    |----------|
    Peter
    <div id="body">
    <table class="tbl-body" cellspacing="0" cellpadding="0" border="0" summary="">
    <tbody>
    <tr>
    <td class="tbl-main" width="100%">#REGION_POSITION_02##BOX_BODY#</td>
    <td class="tbl-sidebar">#REGION_POSITION_03#</td>
    </tr>
    </tbody>
    </table>
    </div>

    BD...
    I think your concerns are very reasonable. But I want to sort of refocus things a little bit for you here... it's not really a PC vs Mac issue... Rather, it's specifically an Internet Explorer issue. And you might say that this is synonymous...still 98% of the world uses IE, and you would be correct. Hopefully when the final version of IE7 comes out, it will finally embrace some of the modern day OPEN web standards without trying to make too many standards of its own (this is Microsoft, though).
    Anyways, in the meantime, I guess we all try to make the best of it. It's very easy to conclude that iWeb is not a viable tool for you, as long as you have something else to "fall back" on. With my limited knowledge of all things HTML, I have no such luxury. Instead, I have put up a notice on my site for IE users only that the site might not look its best on IE....this notice also encourages IE users to use FireFox, which is very much like Safari and will in 99% of cases display your iWeb pages just like you expect. You can see how I've done this here (but you have to surf from IE)... http://blog.dirtdoog.com
    I think many people in the PC world understand the limitations of IE. Certainly many don't, but you have to consider your likely audience, I guess. I believe that your website content is king. If your content is compelling enough to your intended audience, they will jump through hoops to see it in its full glory....but you have to make them aware of the problem. That's why I have chosen to take the path that I have taken.
    Let me know what you think.

  • Change the Light Framework page width

    Hi Experts,
    I have a requirement that I need to change the Light frame work page width like the latest SDN site.
    Instead of expand the portal page to full window I want to align to the center of the window.
    Just I want similar to the latest www.sdn.sap.com .
    I tried with the com.sap.portal.layouts.framework.par. Can any one know where I need to change doe width?
    I am trying to align light frame work page with the 3 column (Narrow:Width:Narrow) layout.
    But, getting Desktop inner page part to right align.
    Thanks
    Venkat

    Hi Venkat
    check this blog it may help you
    Tag Libraries: Creating a new SAP NetWeaver Portal framework page
    Thanks,
    Tulasi

  • Report 2.5 page width in text mode

    How can i set the page width in text mode. I have changed the
    width and height (130x66) but reports doesn't more than 81
    column.
    null

    James Aiken (guest) wrote:
    : Faisal Sheikh (guest) wrote:
    : : How can i set the page width in text mode. I have changed
    the
    : : width and height (130x66) but reports doesn't more than 81
    : : column.
    : If you mean character mode, printing width is based on the
    : printer definition file used. They are found in
    : Orant\Report25\printers. The default printer definition
    : (dflt.prt) has a width set to 80, the wide.prt has a width of
    : 132, etc.
    : Hope this helps.
    Dear James:
    I met this question also,and I tried to rewrite a *.prt file,
    and increased the width ,but it did nothing.So please give more
    suggestions to us!
    Thand you!
    your friend
    null

  • Have each web page display at full page width automatically

    How can I set Firefox to automatically display each web page that I open at full page width. Microsoft IE9 does this for me and it is very helpful.
    I have to adjust each web page to full width every time, since Firefox does NOT remember the full page display even if I come back to a previous web page which I already adjusted before.

    Great news, thanks!
    Don't know what a mac newbie like me would do without this forum. Thanks a million.
    Great to hear, there are plenty of great helpers here, so feel fee to post a new topic whenever you wish.
    By the way, is this technique covered anywhere in Mac help?
    Yep, click on the Finder in the Dock, click Help up in the Menubar>Mac help, type windows into the search at top right, hit ENTER, should get a list, 4th down here.
    Seems Windows7 is a big improvement over Vista, but still not as good as XP, certainly more of a pain than XP.

  • Why are my images scrolling from outside the Page width?

    Why are my images scrolling from outside the Page width? I am positive i has all the settings correct, to have an image parallax scroll from the edge of the page into the page and out again. But the images are flying in from the browser width - not the page width. This is not the effect I am after.
    Any suggestions on how to fix this? Given the key position is only linked to the height, I can't for the life of me work out how to ensure the images start moving from a certain position onthe left and right of the page.
    Thanks

    I think the effect you are seeing is a result of how the lineHeight is set up. By default, the lineHeight will be calculated as 120% of the size of the largest thing on the line -- in your case, this is the inline graphic. This is designed to leave space between the line before and the line with the graphic. So it is taking the height of the graphic, multiplying by 120%, and making this the distance between the previous line and the line with the graphic. So the bigger the graphic, the bigger the space above the graphic. Normally this works well with text, but in this case you may want to get closer to "set solid". You can do this by setting the lineHeight to 100%. Or you may wish to leave a couple of percent for the descenders of the previous line. Or, another alternative that may work well for you if you really know exactly where you want the line set, you could measure the graphic, add on the number of extra pixels to leave for the descenders, and make the lineHeight a constant. So you could do something like this:
    <img lineHeight="104%" height="411"/>
    or this:
    <img lineHeight="423" height="411"/>
    Obviously you would still need to specify the source and any other parameters you want on the image.
    Note that if you are trying to fit a 200 pixel high graphic into a 200 pixel high container, you will hit the same problem -- in order to fit the graphic, the container will have to be slightly bigger than the graphic in order to fit the descenders on the last line. This is true even if the last line contains only the graphic, and no descenders (or text) at all.
    Hope this helps,
    - robin

  • Odd 100% Page Width Issues

    Hi,
    Firstly sorry in advance - I'm new to Muse and I primarily work in graphics and video (photoshop, after effects etc) - so web is not my forte!
    I'm having a weird issue with page width. Most of the pages on my site have tiled images or one large image in a rectangle set to 100% page width - as a background image of sorts. Other elements (rectangles etc) sit on top of that scrolling at different speeds - these are also set to 100% width.
    When the browser window is at full size this works fine, however when I decrease the browser size until I get a horizontal scroll bar, the background images seem to extend further to the right than the other elements on top, even though they are both set to 100% width.
    Here's a few images to illustrate:
    Everything dragged out to 100% width
    Page Properties
    Layout problem in the browser (Google Chrome)
    There's a draft version of the site at http://alivechurchlincoln.businesscatalyst.com/ where you can see the problem on the 'About' page. It happens on a number of the other pages too.
    I've checked through all my layers and nothing seems to extend over the page width, including compositions.
    Any help would be really appreciated!
    Thanks,
    Ben

    I have been through all the pages this is affecting (About, Connect and Community), unlocked all the layers and selected all to see if there was any content hiding on the right side but I couldn't find anything.
    Any ideas?
    Thanks!
    Ben

  • What is the correct Page Width for Mobile Device???

    Hi All
    Just have a question that "What is the correct Page Width for Mobile Device???"
    Is the Default 380px width is right? or 320px?
    Because the average smartphone is having resolution is 320X480 pixels...
    also in this video http://tv.adobe.com/watch/muse-feature-tour/adobe-muse-designing-for-mobile-devices/ Dani Beaumont created the Mobile version website in 320px width (If you watch the video carefully you can notice the page width is 320px)
    And if the default page width 380px taken, will it be displayed correctly on every smart phone (average & high end)?
    please reply if you have any suggestions

    HI. I have designed a mobile web site that is currently 450pixels wide. This is the first one I have done. When it displays on some mobile phones, the width of the entire page is scaled down and it only fills about 1/2 of the width of the mobile phone with a whole pile of mrgin to the right. Is this because I should have designed it to be 380 pixes wide or have I done something else wrong. The test site is at:
    http://ancasterdental.com/muse/phone/index.html
    Please help me if you can. Thank you.
    john.

  • Is 700 pixels the standard, safe page width?

    Is the standard width for a page still 700 pixels? Or more? Mine are all set at 700 but I am considering widening them to 800. What would be a downside? Would some monitors be unable to see an 800-pixel page?????
    ~ Lorna in Southern California
    http://web.mac.com/lorna6

    The "real" answer to your question:
    You are the Web page author and you get to decide the browser page width.
    I get thousands of page "hits" each month but most of my pages do not set the browser page width (they scale based on the user settings).
    iWeb "default" page width (700 pixels) will work in any browser but my "stats" from page visitors show about only 10% have a page width setting under 800 pixels. The rest all have larger settings.
    The Web page author must also consider other "mobile" devices that may be viewing their pages and, if you target them, you should make a single page code that works for all visitors.
    If you get feedback that your visitors are having trouble viewing without scrolling then your page width is too large. If your own viewing experience at your pages changes the text layout to a design that you don't like then you can always go back and reduce page width.
    What I do know is people don't like to scroll "sideways" but nearly always expect to scroll down.
    Hope this helps you sort things out.

  • Setting different pages widths in different sections - Pages 5.2

    In Pages 5.2, how does one set different page widths (margins) in different sections?

    You can't. Margins apply to the entire document.
    What you can do is set the margins to their max width and then use left and right indents for the sections you want narrower.
    Peter

Maybe you are looking for

  • When I sync, it deletes information from my iphone (pictures, notes, etc).  How can I back this information up before syncing?

    I haven't synced in a long while, because last time it deleted all my pictures, contacts, and apps.  It replaced it all with old information from itunes,  Now, my phones memory is low... Is there a way to backup my iphone without syncing?

  • Help. Too much coffee.

    I an not a newbie when it comes to computers, but I am not a software developer and don't want to be, and I know little or nothing about Java and don't want to, but I am confused, very confused.  This all started because I got into bit torrents (Azur

  • How do I deal with fraud resolution on my account?

    I had 3 iphone 6  phones added to my account along with various add-ons.  This occurred on 03/20/2015 and the fraud dept removed the phones, but now I am showing disconnection fees for 3 phones that I never owned on my new bill.  Also, there is $249.

  • Material Document No - Reg

    Dear Gurus, I am using the bapi BAPI_PRODORDCONF_CREATE_TT for  Production order confirmation. It is working fine. But while confirming the production order separate material   document  nos has been generated for 101 (component confirmed ) and 261 (

  • Associating records of processes N its subprocess in data object COMPONENT

    Hi, I am using Monitor Express to monitoring BPM process data, and I want to group data from a process and its subprocess. How to join these informations if there is no key-field in COMPONENT dataobject (COMPOSITE_INSTANCE_ID and COMPONENT_INSTANCE_I