[ADF, JDev12.1.3] I would like to stress that af: table takes the entire width of page and column auto-augmenter/reduce their width in proportion to the amount of available space. How...?

Hallo,

I see that default ADF makes all the 100px wide columns and there is the possibility to stretch a column to take full available width.

I would like to know if there is a function / approach in ADF which - occupies all the available space - auto-calcule the width of each column to 1) the width of DB fields and 2) space in the browser window.

I could also set the with columns of table in columns (characters) or (better?) in pixels and the framework should only for reproportion widths according to the available width.

Or track to follow is defining the width of the columns in the table (percentage) property?

Thank you

Federico

There is the possibility to stretch a column to take full available width.

AFAIK, you can stretch several columns (read the docs for this property)

I would like to know if there is a function / approach in ADF which - occupies all the available space - auto-calcule the width of each column to 1) the width of DB fields and 2) space in the browser window.

(1) as far as I know, no

(2) you can add class AFStretchWidth to the styleClass property to af:table (or surround your table with af:panelCollection and add this style class here)

Or track to follow is defining the width of the columns in the table (percentage) property?

Is probably not.

% has different interpretation in different browsers, so you should use the style class AFStretchWidth.

Dario

Tags: Java

Similar Questions

  • Removal of documents does not increase the amount of available space (Cruzer facet)

    When I delete files on my drive Cruzer facet Flash to make room for other files, the available space does not increase and so I can't add more files. Everyone knows this? How should I do?

    You use a PC or a Mac? If you use a Mac, you must empty your trash, while the disc is still connected or will not remove the files.

  • error ORA-1652 on tablespace with the amount of available space

    Can someone help me understand what is happening with this "ORA-1652: unable to extend segment temp of 128 in tablespace DWH_REP_DATA? Database is 11g (windows 2008)


    It seems that my tablespace has 15 free g but it is short of space. The size of the tablespace file = the maximum tablespace file size. If there is so much space why not is not it used? Another addition disc more table space how to fix this?

    View of datafile: Online status
    Size of the file (Mo) 32 750.00
    Auto expand Yes
    Increment (MB) 10.00
    Maximum file size (MB) 32,767.00



    Thank you for taking my question!
    Kathie

    If the related tables is permanent, it means that you have a great race of DDL statement that allocated a temporary segment in a permanent tablespace: given that the statement failed due to lack of space, temporary segment has been released.
    See http://coskan.wordpress.com/2007/12/05/temp-segments-in-normal-datafile-ora-1652/.

    You need to increase the permanent size of the tablespace or attempt to modify the DDL statement so it needs less temporary space.

  • How can I resize an iframe in apex based on the amount of available space on the screen with a button

    Hello.  I have a request to 4.2.2.00.11, llg Server Oracle apex.  The conditions for this application are to hide and display a navigation bar by clicking on the buttons leathers/display on the screen.  The right side of the screen has an iframe that is to fill up whats left of the estate of the web browser.  Search in google, I found a function that works on the laundry.  I need the iframe to resize when the browser hides and shows, but when I tried to create a dynamic action on click to call javascript, hide and show the features of the browser bar break.  The iframe is not also resize.

    Here's the code that I currently use.

    JavaScript in my page header

    <script language="JavaScript">
    <!--
    function autoResize(id){
        var newheight;
        var newwidth;
    
    
        if(document.getElementById){
            newheight=document.getElementById(id).contentWindow.document.body.scrollHeight;
            newwidth=document.getElementById(id).contentWindow.document.body.scrollWidth;
        }
    
    
        document.getElementById(id).height= (newheight) + "px";
        document.getElementById(id).width= (newwidth) + "px";
    }
    //-->
    </script>
    
    

    The source of the IFRAME area.

    < IFRAME SRC = "f? p = & I_FRAME_APEX_APP_ID: & I_FRAME_APEX_PAGE_ID.: & APP_SESSION.

    : NO::ROLE: & ROLE. "width ="100% "height ="200px"id ="iframe1"marginheight ="0"frameborder ="0"onLoad ="autoResize ('iframe1'); "> < / iframe >

    A colleague suggested this, and the width is now set properly.  the height is always not to fit properly in the window.  When I set the height to 100%, the default height for pixels, I put in the iframe.

    
    
    
  • Bootcamp is not install due to the mistake of the amount of available space

    I try to install windows on my mac with bootcamp 10. But somehow when I go in the part "" Select task"he keeps popping up that I have 50 GB of free space on my boot drive to install. But I checked my mac storage, I have 50 GB available, can you guys please help me how to solve this problem? (appreciated!)

    50 GB is not enough free space. After you have created the 100GB + Boot Camp partition (I think 100 GB would be minimal for Windows) you must always leave enough free space for OSX to run.

  • take the amount of free space between other volumes

    Hi all, my C drive has 1% left, while my E drive has 29,42 GB and my Fdrive GB 58.69.   I need to renew my Norton 360 in a few days, so it's urgent. Can I easily increase my primary volume to steal say 30 GB of my disk f. - F disk is used, is only 1%. I am concerned about the loss of data to play with these things. Is it a simple question or better left to the experts? It would be useful to have these skills to help other friends of the PC. Kind regards. Ty

    Hi Ty46,

    ·         How long have you been faced with this problem?

    ·         Did you do changes on the computer before the show?

    I suggest to perform disk clean up and then check disk space on each disk.

    HOW TO: Use the Desktop Cleanup Wizard in Windows XP

    http://support.Microsoft.com/kb/306542

    You can also take backup of data in the C: drive & move it to some other patition.

    It is not possible to extend the C: drive.

    Hope this information helps.

  • The amount of available space is a my Flash recovery area?

    Hi experts,

    It's 10g 2.0.4 on Windows

    My gui tools do not work at the moment. I know that if the FRA is completed, the database will be unusable.

    I ran: SELECT SPACE_USED/SPACE_LIMIT 'FRA % USED"from v$ recovery_file_dest;

    the result shows:.21

    Have I not 21% available, or it is available at 79%?

    Thank you, John

    Try the following query and tell me how it works.

    set echo off
    --
    -- Show flashback database file destination
    -- Oracle version 10g and up
    --
    -- 20050503  Mark D Powell   Save flashback area query
    -- 20060120  Mark D Powell   Modify column display formatting
    --
    col name              format a65       fold_after
    col number_of_files   format    99,999 heading "File Ct"
    col space_limit       format 9,999,999 heading "Alloc (M)"
    col space_used        format 9,999,999 heading "Usage (M)"
    col space_reclaimable format 9,999,999 heading "Reclaimable"
    
    prompt "no rows selected" response means flashback database is not configured
    
    select
      name
     ,round(space_limit       / 1048576, 1) as space_limit
     ,round(space_used        / 1048576, 1) as space_used
     ,round(space_reclaimable / 1048576, 1) as space_reclaimable
     ,number_of_files
    from
      v$recovery_file_dest
    /
    

    HTH - Mark D Powell.

  • I would like to uninstall Acrobat 8 standard from the old computer to transferit to the new. How can I proceed?

    I would like to uninstall Acrobat 8 standard from the old computer to transferit to the new. How can I proceed?

    Hi paolam91006398,

    Make sure you have the serial key & CD of Acrobat 8 Standard before installing it.

    Also be sure to turn off before you uninstall (Acrobat Help menu-> disable/Sign Out)

    Kind regards
    Nicos

  • I installed adobe lightroom for free for 30 days and I would like to subscribe for 1 year, but the English version has been installed and I prefer a french, how do I change it?  Thank you!

    I installed adobe lightroom for free for 30 days and I would like to subscribe for 1 year, but the English version has been installed and I prefer a french, how do I change it?  Thank you!

    Hello

    Please see: -.

    Countries and languages FAQ: How can I change the language that appears in my creative cloud app?

  • Hi, I would like to cancel my edition (one year) creative Cloud Ecolière and her teacher, how would I go to do this?, Hi, I would like to cancel my plan of edition (one year) Creative Cloud schoolgirl and her teacher, how can I get it?

    Hi, I would like to cancel my edition (one year) creative Cloud Ecolière and her teacher, how would I go to do this?, Hi, I would like to cancel my plan of edition (one year) Creative Cloud schoolgirl and her teacher, how can I get it?

    Look through the following links and use the options by phone or chat (when available), so necessary for your situation:

    Cancel your subscription or membership. Creative cloud

    https://helpx.Adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html

    https://forums.Adobe.com/thread/1703848

    To the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...

    https://helpx.Adobe.com/contact.html?step=CCSN_membership-account-payment_cancel-your-memb ership_stillNeedHelp

  • [ADF, JDev12.1.3] When you use create/restoreSavepoint... Restore operation is still useful? And other doubts...

    Hallo,

    Dario and Timo advised me (in this thread Re: [ADF, JDev12.1.3] Master w/playback af:form only af:tables detail: how to handle insert and edit through forms?) I make a request using the functions create/restoreSavpoint to this fragment in my application.

    The tables are read-only, and the user can insert and modify records by a form of popup.

    Each table has its own pop-up that I created using a btf executed as diaolog (*).

    Before I open the popup, I create the backup point.

    BindingContext bctx = BindingContext.getCurrent();  
    DCDataControl dcDataControl = bctx.getDefaultDataControl();  
    String sph = (String) dcDataControl.createSavepoint();  
    AdfFacesContext.getCurrentInstance().getPageFlowScope().put("AdfmSavePoint", sph); 
    

    When the popup is closed, I restore the backup point if the Cancel button was clicked...

    Object confirmOrCancel = returnEvent.getReturnValue();  
    if (((String) confirmOrCancel).equals("cancel")) {  
      String sph = (String) AdfFacesContext.getCurrentInstance().getPageFlowScope().get("AdfmSavePoint");  
      BindingContext bctx = BindingContext.getCurrent();  
      DCDataControl dcDataControl = bctx.getDefaultDataControl();  
      dcDataControl.restoreSavepoint(sph);  
    } 
    

    I have these doubts:

    1. the button "CANCEL ALL" (so far) AM restore operation is still meaningful (is always useful) when you use the check points? Or can I avoid using the restore of the AM operation, creating a backup point before you enter the fragment and restore it if the user clicks on "RESTORE ALL"?
    2. for all tables: before opening the popup insert/change the backup point is implemented pageFlowScope under the same key 'AdfmSavePoint '. Is it OK or would it be better to use a different key for each table (for example 'AdfmSavePointTable1', 'AdfmSavePointTable2',...)?
    3. If the pageFlowScope already contains a checkpoint under the "AdfmSavePoint" key... What does if I give the floor to new .put ("AdfmSavePoint", sph)? Can I be sure that the old value is overwritten?
    4. is this safe with nested savepoint? For example in my case I want to create a backup before the fragment in the image point is displayed (and restore if the user leaves the fragment by clicking "RESTORE ALL"), then within the fragment, as I said above, I would manage other points of record when inserting/editing tables.
    5. I noticed that clicking on the button "RESTORE ALL" when it relates to the AM-restore operation causes this strange thing: when before displaying the fragment I call SetCurrentRowWithKey on the master istance VO... If I click on "ROLLBACK ALL" posted master VO Records changes and 1 minutes of the main of the VO table is displayed. Why the master istance VO is not reimain in the folder I've previously selected by SetCurrentRowWithKey?
    6. With reference to the expression (*) above. The BTF 'dialogue' I created contains only the page jspx with shape and a return to activity. I also tried a) create (and restore) the backup point, b) to call createInsert inside the "dialog box" operation BTF (see images below), but the createInsert on retail VO istance called inside the 'dialogue' BTF seems not to reflect on the table as when I call createInsert by calling btf. I have to make some adjustments in the 'dialogue' of BTF?

    Thank you

    Federico

    Federico,

    (1) Yes, what should happen if a user add or edit vo1 and click ok in the dialog box but decided that ask to work must be restored?

    (2) as long as you don't have that a dialog box is open, it should work.

    (3) the flowrate range of page is a map. You can put the same key more than once. If the key already exists, the value is replaced.

    (4) in fact, I don't know, but the sounds of complicated design. I guess you can record more points, but only in the order of creation. It's as if you try to rebuild the framework. BTF yo it even for you, when worn right. Please go to ADF Architecture Square and read and watch it task flow of related things.

    (5) this behavior is as expected. A restore resets all the iterators so thagetto point at the top of he. http://www.Oracle.com/technetwork/Developer-Tools/ADF/learnmore/OCT2010-OTN-Harvest-183714.pdf 'keep the line after cancellation' shows how to handle this situation.

    (6) I suppose have you refresh the table iterator, once you close the dialog box for the new data. But that's only a guess because it depends on how the btf share control of data and the your involved.

    Timo

  • In the 11 elements, I would like to learn more about slideshows. The specific individual slide duration.

    In the 11 elements, I would like to learn more about slideshows. The specific individual slide duration.

    Donald,

    There are two ways to address still Image duration. One is global and applied prior to importation. We could determine the desired approximate time, come on in Edition > Preferences > General > always in time. Then, all imported pictures have that duration (as well as titles and new features, such as video of Black).

    Once this general term has been defined, we can again and on an Image by Image basis, click on + drag on the rest of the Image, tail or head, to adjust the duration. By doing this, I would have the info panel open and visible, to see exactly how long I've changed.

    Good luck

    Hunt

    PS - I think you will love the book of Steve.

  • "We would like to inform that your accοunt expires in 72 hours, it is important to perform a verification of your information from now on, otherwise you accοunt will be closed. Please click the link below"this is an email I received support to itune.

    We would like to inform that your accοunt expires in 72 hours, it is important to perform a verification of your information from now on, otherwise you accοunt will be closed. Please click the link below. This is an email I received support to iTunes and I was wondering if I should do it

    I would not click on any link without further investigation.

    Is the link to an official source of Apple?

    You have a web address or URL of the link that you can post here?

    What happens when you go directly to AppleID or another connection site

    where there is no doubt of the authenticity? • Apple is not usually give

    you a countdown, so I think that the item that you see is a scam.

    PS: If you had a trial subscription to Match iTunes or other item

    You can check personally, or any other service you may already

    charged, the way back to Apple should be a known to ask them.

  • I would like to restore my passwords saved (only the passwords, any profile) to my laptop. Available, I have only a back-up of my previous drive C:

    I would like to restore my passwords saved (only the passwords, any profile) to my laptop. Available, I have only a backup of my previous C: drive.

    Claudia,
    You must do the following:

    • Locate the backup of your previous profile. See https://support.mozilla.com/en-US/kb/Profiles#How_to_find_your_profile - you will need to manually adjust the location of your backup, and shortcuts like %APPDATA%\microsoft\windows\sendto do not work (on Vista/7, %APPDATA%\microsoft\windows\sendto is defined as \AppData\Roaming C:\Users\username)
    • Locate your new profile. See above, but here you can use the help-> troubleshooting information button
    • Copy the following files from the old profile to the new profile with Firefox closed: signons3.txt, signons.sqlite

    See https://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile#Your_important_data_and_their_files

  • I have the version of visual studio 2010 ultimate and aparently there is a beta version of it 2011 and I would like to know if I can install the ultimate version 2011

    Hello, I have the version of visual studio 2010 ultimate and aparently there is a beta version of it 2011 and I would like to know if I can install the 2011 ultimate overwrting the 2010 release of visual studio 2010 ultimate version. should I uninstal it manually first? (even if I deleted the main application, some remained after) what should I do? I need help with this problem because I don't know if I need to uninstall the version of 2010 in order to install the new 2011 beta version or I just have to update like a normal program?

    Hello

    You'd be better suited post directly in the Visual Studio Forum for your questions.

    "" Installation and configuration of visual Studio".

    http://social.msdn.Microsoft.com/forums/en/vssetup/threads

    See you soon.

Maybe you are looking for

  • Contents of the hard drive

    I've recently switched to Apple from a PC. I would like to know if it is possible to see the content - directory, folders, etc... -from my hard drive on a pc?

  • What is the lightest and smallest, portable mac that will also allow me to use windows?

    For the longest time, I had a 10-inch Acer laptop suited me very well. Now, Acer, asus, etc., are not this kind of mini laptop and everything I looked into the pc world does not cut. So... am ready to turn to apple.  So I'm a total newbie in the worl

  • Can load Google, but "Failed to connect" to other sites

    I use Firefox with Mac OS 10.5.8 10.0.2. Recently updated to Firefox. Now, Google charges by default page as before, but receive the following: "Unable to connect", "Firefox can't establish a connection to the server...". ». This is true for all site

  • HP Mini 210-1076NR: HP mini 210 VGA to HDMI

    good day... has someone can help me to let me know how to send image of VGA to HDMI on TV? I already install the latest windows updates and have a VGA/HDMI cable, but the picture on the TV... Thanks in advance for any help or suggestion...

  • Use of the lack of report

    I use 15.2 TMS, and bridge usage report is AWOL.  I have no idea why this would be. Any ideas?