[JDev12.1.2, ADF] af:table - why do setting AutoHeightRows reduce the width of the table?

Hallo,

my table must have a height of 20 lines.

So I set AutoHeightRows = 20 but... when I run the application from the width of the table it is reduced by half, and the first fields are displayed.

Where I'm wrong?

Thank you

Federico

After setting the AutoRowHight to 20 make the StyleClass "AFStretchWidth", and it will work.

Not sure if this is a bug or a feature.

Timo

Tags: Java

Similar Questions

  • Why can't I reduce the file size of virtual disk?

    Workstation help 8.0.4, why is the file size of virtual disk for my more bigger than the amount of space used within the instance instance?

    The instance (Windows 7 Ultimate 32 bit) HARD drive is 40 GB... He is currently using 28.6 GB of this space.

    But the hard for instance file is 34.5 GB size - it is more than 20% larger.

    I defragmented the drive on the instance.

    I defragmented and compacted file hard (via the 'vmware-vdiskmanager' command line utility)

    I defragmented the host drive.

    Any not really - I'm just curious as to why I can't get it down to a smaller size (mainly to speed up backups)

    Narrowing of a virtual disk is done in two steps. Unused disk space must first be cancelled in the comments, what OS, then blocks not null the hard are copied to a new file hard. With VMware Workstation 8, you can start this process in the VMware Tools window (right-click the icon in the system tray)

    André

  • Why Windows does not reduce the volume when I get calls online?

    Hello

    When I got online calls in the past, the volume of other reduced noise. This no longer. How can I fix it?

    Thank you

    LD.

    Hello, LD,

    It's just a setting that needs to be corrected. To resolve this issue, follow these steps:

    1. Click Start , then click Control Panel
    2. Click on hardware and sound
    3. Click sound
    4. Click Communications
    5. Try to reduce the volume of other sounds by 50% or reduce the volume of other sounds of 80%
    6. Click OK

    Hope this helps,

    Bobby

  • How to clear the selection on an ADF faces table?

    I thought I'd call setSelectedRowKeys (null) gives the desired result. However it is not. Can you think of a reason why it would not clear the selection? What should I do?

    Here's the specific scenario:

    I have a two ADF faces table tell A and B with a column each and both of them have simple lines and their rowSelection property is set to "single". Now the requirement is when a line is selected from A, it must clear all selections of B and vice versa. So I registered selectionListeners on the tables and the code that is running inside this method does the following for the table has not been selected :

    tablenNotSelected.setSelectedRowKeys (null);

    lets say, I click on a first line, then on a row of B. So far so good. So if I click on the A, the control won't to the SelectionListener method. I think that SelectionEvent isn't getting fired no doubt because the previous selection has not been erased.

    JDev version I use is JDEVADF_MAIN_GENERIC_121113.1351.6521

    What I'm missing here?

    Published by: 981525 on January 23, 2013 08:20

    try to add addPartialTarget (table) after you turn off the selection.

  • Article 059 (filter how-to ADF related tables by date range) in JDeveloper 12 c (12.1.3)

    Hello.

    I try to implement a solution to article 059 (filter how-to ADF related tables by date range) in JDeveloper (12.1.3) 12 c but hothing happen when I start this example.

    Could someone advise me what to do to make this example work properly on JDeveloper 12 c?

    I made the example work again. The problem is that you can't somehow store new attribute values in the card more. If you store the values for the filter to a different place, it works again.

    Please read the complete solution in my blog https://tompeez.wordpress.com/2015/04/11/how-to-filter-adf-bound-tables-by-date-range-jdeveloper-12-1-x/

    You can download the workspace of GitHub. The link is provided at the end of the blog.

    Timo

  • How to call a display object with the criteria of the different point of view in each line an ADF BC table (Urgent)

    Hello world

    I use 11.1.1.7 version of Jdeveloper. I have a table adf BC. I need to call another ADF BC table inside the table. I need get the questionId from each row in the main table and fix the questionId as a point of view of the criteria drop inside the main table. I use to execute with parameter but always get the id of the last row question and criteria of this id as a point of view to each row of the table. How can I do this? 

    < af:table value = "#{bindings." AttachmentYesNoVO11.collectionModel}.

    var = "row" rows = "#{bindings." AttachmentYesNoVO11.rangeSize}.

    emptyText = "#{bindings." AttachmentYesNoVO11.viewable? "{'No data to display.': 'Access Denied.'}".

    fetchSize = "#{bindings." AttachmentYesNoVO11.rangeSize}.

    rowBandingInterval = "0" id = "t2".

    "partialTriggers =": cb4: cb3 ".

    styleClass = "AFStretchWidth" inlineStyle = "height: auto;"

    width = "1250" >

    < af:column sortProperty = "#{bindings." AttachmentYesNoVO11.hints.Question.name}.

    sortable = "false".

    headerText = "#{bindings." AttachmentYesNoVO11.hints.Question.label}.

    ID = "c10" width = "300" >

    < af:inputText value = "#{row.bindings.Question.inputValue} '"

    label = "#{bindings." AttachmentYesNoVO11.hints.Question.label}.

    required = "#{bindings." AttachmentYesNoVO11.hints.Question.mandatory}.

    columns = "#{bindings." AttachmentYesNoVO11.hints.Question.displayWidth}.

    maximumLength = "#{bindings." AttachmentYesNoVO11.hints.Question.precision}.

    shortDesc = "#{bindings." AttachmentYesNoVO11.hints.Question.tooltip}.

    ID = "it1" lines = '8' readOnly = "true" contentStyle = "width: 330px; "margin: 10px" >

    < f: validator binding="#{row.bindings.Question.validator}"/ >

    < / af:inputText >

    < / af:column >

    < af:column headerText = "#{bindings." AttachmentYesNoVO11.hints.ApplicationId.label}.

    ID = "c1" width = "300" >

    < af:table value = "#{bindings." AttachmentVO1.collectionModel}.

    var = "row" rows = "#{bindings." AttachmentVO1.rangeSize}.

    emptyText = "#{bindings." AttachmentVO1.viewable? "{'No data to display.': 'Access Denied.'}".

    fetchSize = "#{bindings." AttachmentVO1.rangeSize}.

    selectionListener = "#{bindings." AttachmentVO1.collectionModel.makeCurrent}.

    rowSelection = 'single '.

    Binding = "#{uploadDownloadBean.downloadTable} '"

    rowBandingInterval = "0" id = "t1".

    partialTriggers =': cb5: cb6: cb7: cb10 ">"

    < af:column id = 'c12' width = '0 '.

    headerText = "Download File" >

    < af:commandButton text = "#{row.bindings.FileName.inputValue}" id = "cb23" > "

    < af:fileDownloadActionListener

    filename = "#{row." Bindings.FileName.inputValue}.

    Method = "#{uploadDownloadBean.downloadFile} '"

    contentType='"#{row.bindings.MimeType.inputValue}"'/ >

    < / af:commandButton >

    < / af:column >

    < / af:table >

    < / af:table >

    User, because the two tables have a relationship, we call matter detail relationship, you can use a link view defining the relationship, and the framework will be the selection detail for you automatically.

    The next thing is that you can not put a table in a column of a table. This is not supported by the table component. You can use a picture of the tree for this, or tables cascading as I show in JDeveloper 11.1.2.1: cascade Tables | JDev & ADF Goodies

    Timo

  • [JDev12.1.2, ADF, GlassFish 4] A few questions on the tutorial of Shay "Deploy Oracle ADF Essentials Applications to Glassfish"

    Hallo (Shay),

    I want to deploy my application Web ADF to GlassFish that is installed on a different server from the development computer.

    The application interacts with a MS SQL Server database.

    I have some doubts/questions on the tutorial of Shay https://blogs.oracle.com/shay/entry/deploying_oracle_adf_applications_to

    So far in the development phase, I deployed the application only to the JDeveloper-itegrated WebLogic Server on the development computer.

    Creating a connection pool

    • I could successfully creates a pool of connections only by copying the sqljdbc4.jar library in the C:\glassfish4\glassfish\libdirectory. Is this OK or should the library remain in C:\glassfish4\glassfish\domains\domain1\lib?
    • Is there a way to hide the password in the additional properties?
    • Is there any setting for the property should do (especially for MS SQL Server)? For example, somewhere I read that the isolation of transactions should be set to read uncommitted... but I did not understand why.
    • What is the difference between types java.sql.DataSource resources and java.sql.XADataSource?

    In JDeveloper application configuration

    • Since the beginning of its development, the local configuration of the application Module has the name of data source (JDBC data source) set to java: comp/env/jdbc/MyDatabase_DB_SQLServerDS. If I change this field value to jdbc / < name_of_jdbc_resource_created_in_GlassFish >, as in the tutorial of Shay, it is not longer possible to run the application in JDeveloper (so using the WebLogic JDeveloper-itegrated server). Why? What's wrong?
    • JDeveloper offers only the choiche GlassFish 3.1 as a platform for the deployment, but I'll use GlassFish 4. Perhaps this cause problems?

    Taking care of the libraries used by the application

    • In the project properties, between the libraries and railways class there are a few additional libraries I've used in applications. Here's the JAR files I put in C:\JDeveloper\lib. I copy these libraries on the production server? If Yes, where?

    Other questions

    • What is the difference between putting a library in the lib of GlassFish folder and put it in the folder lib of Domain1?
    • Deployment procedure used by Shay in his tutorial might also be used to deploy the application on a remote production server?
    • Is there a way to manually delploy an application, for example by copying manually under GlassFish project folder?
    • My final goal is as follows. I have a clean Setup that allows me (1) to continue to run the application in JDeveloper on its built-in WLS, (2) to test the application to the GlassFish that I have installed on the computer development and (3) delploy the application on the remote production server. Could help me do that?

    These are a lot of questions.

    I thank in advance all the users who want to respond and I hope that the answers to these questions will help also others.

    Ciao,.

    Federico

    Federico - most of your questions is generic Glassfish questions that do not specifically have anything to do with ADF - I recommend that you post on the forum of Glassfish. (Or read the Glassfish documentation for things like the difference between directories and deployment/admin console).

    >>

    • Since the beginning of its development, the local configuration of the application Module has the name of data source (JDBC data source) parameter tojava:comp / env/jdbc/MyDatabase_DB_SQLServerDS. If I change the value of this field of jdbc /, as in the tutorial of Shay, it is not longer possible to run the application in JDeveloper (so using the WebLogic JDeveloper-itegrated server). Why? What is the problem?

    This is because JDeveloper uses an integrated WebLogic when you run and therefor cannot use the data source of Glassfish.

    I suggest that make you this change only when you go to deploy on Glassfish.

    >>

    • JDeveloper offers only the choiche GlassFish 3.1 as a platform for the deployment, but I'll use GlassFish 4. Perhaps this cause problems?

    We don't know, as the matrix of certification for the ADF will show that we have not tested/certified this combination.

    Oracle JDeveloper and ADF 12 c (12.1.3) supported systems

    >>

    • In the project properties, between the libraries and railways class there are a few additional libraries I've used in applications. Here's the JAR files that I put inC:\JDeveloper\lib. I copy these libraries on the production server? If Yes, where?

    Use the properties of project-> libraries and class path to add the jar or create a library and add it to your project.

    Make sure that this library is deployed by default.

    >>

    • Deployment procedure used by Shay in his tutorial can also be used to deploy the application on a remote production server

    Yes

    > Is there any property setting should do (especially for MS SQL Server)?

    Oracle ADF business with several databases components

  • Panel request ADF with Table does not work

    I am simple search.jsf of JSF page. In the search.jsf , I have an ADF search form. I drag and drop the view criteria into the Panel Query ADF with Table. The user search result will be displayed in a table ADF. The View object is simple no LOVs no variable binding even no where clause.



    Everything works fine if I run the page separately not with in the workflow. But if I turn the page with in a workflow, the search engine does not work.

    The workflow structure is simple, it has towed home.jsf and search.jsf pages and there is a control of navigation of the home page to the Search page. The problem is that the search engine is not work IE when I press the default search key that doesn't come with the form no coming on the data table.,.


    I use Jdeveloper with ADF technology 11.1.2.3

    My God, what a ridiculous and foolish.

    Partial trigger is missing.

    I have to add the id of the request to the partial trigger on the table. I thought that his coming by default to search forum.

    What a waste of time...

  • ADF problems Table height. Need to auto height adjustment.

    Hi all
    I have a picture of the ADF. But its height is now adjusted automatically according to the number of lines.
    Regardless of the number of lines, the height is fixed. It leaves a huge part of the empty space if there are a few lines, or it has a scroll bar if they are too many.

    Here is the UI http://www.flickr.com/photos/84002714@N05/7692948244/
    and I would like to have all the lines that have been displayed with no additional white space or the scroll bar.

    My table is
     <af:table value="#{bindings.ConnectorWSEndPoints11.collectionModel}"
                                                      var="row"
                                                      rows="#{bindings.ConnectorWSEndPoints11.rangeSize}"
                                                      emptyText="#{bindings.ConnectorWSEndPoints11.viewable ? 'No data to display.' : 'Access Denied.'}"
                                                      fetchSize="25"
                                                      rowBandingInterval="1" id="t4"
                                                      columnStretching="last"
                                                      styleClass="AFStretchWidth"
                                                      visible="true" width="800"  />
    The structure is
    <af:panelStretchLayout id="psl2" >
            <f:facet name="center">
                     <af:panelFormLayout id="pfl1">
                              <af:panelLabelAndMessage label="#{rscBundle.WEB_SERVICE_END_POINTS}">
                                            <af:table ...>
    //closing tags
    And the myjdev version is 11.1.1.6.0

    Thanks to you all!

    Use the property autoHeightRows of the table:
    http://andrejusb.blogspot.com/2011/06/ADF-11g-R2-improvement-ADF-table.html

    http://jdevadf.Oracle.com/ADF-richclient-demo/docs/tagdoc/af_table.html

  • Why do you say that the FACT table is off standard? I just don't understand.

    Why do you say that the FACT table is off standard? I just don't understand.

    According to my understanding, normalization is the process of getting rid of redundant. So, the fact table have redundant. So how is it that they say it is off standard.

    What dimension tables? They are also OF normailzed?

    Can you explain in words simple pls.

    Fact tables are generally standardized.

    Dimensions are usually denormalised because they often contain descriptive and rollup/hierarchical data repeated. Snow flake off a dimension will normalize the data.

    See you soon
    If

  • [ADF, JDev12.1.3] How to manage cookies (configure/create/read) in the ADF applications?

    Hallo,

    I would like to create a cookie in my ADF application.

    To start I used the code shown in this thread code example for create / read a cookie value? but the cookie seems to not be created.

    It is not present in Firebug or it can be retrieved by the code.

        Cookie userCookie = new Cookie("myCookie", "hello");
        userCookie.setMaxAge(-1);
        FacesContext ctx = FacesContext.getCurrentInstance();
        ((HttpServletResponse) ctx.getExternalContext().getResponse()).addCookie(userCookie);
    
    
        Cookie retrieveCookie = (Cookie) ctx.getExternalContext().getRequestCookieMap().get("myCookie");
        if (retrieveCookie != null)
          System.out.println("My cookie is: " + retrieveCookie.getName() + " " + retrieveCookie.getValue());
    

    What's not in the code?

    There may be something to confiure in the application of the ADF?

    Thank you

    Federico

    1. Cookie userCookie is new Cookie ("MyCookie", "Hello");.
    2. userCookie.setMaxAge(-1);
    3. FacesContext ctx = FacesContext.getCurrentInstance ();
    4. (Ctx.getExternalContext () m:System.NET.FtpWebRequest.GetResponse ()) .addCookie (userCookie) (HttpServletResponse);
    5. Cookie retrieveCookie = ctx.getExternalContext () .getRequestCookieMap () .get ("myCookie") (Cookie);
    6. If (retrieveCookie! = null)
    7. System.out.println ("my cookie is:" + retrieveCookie.getName () + "" + retrieveCookie.getValue ());

    Is - this code is run from the same method in java?

    If this will not work (cookie is added to the http response if you can't get this until the next http request arrives)

    Dario

  • Reduce the size of a table.

    Hello group,

    To reduce the size of a table, that I was asked to remove about 2 million lines, however queriying dba_segments after having removed the lines, the value of the BYTES column to the same value stay.

    Why?, how ask Oracle to reduce the table itself.

    Thank you very much.

    user12003066 wrote:
    Hello group,

    To reduce the size of a table, that I was asked to remove about 2 million lines, however queriying dba_segments after having removed the lines, the value of the BYTES column to the same value stay.

    Why?, how ask Oracle to reduce the table itself.

    What happens when you run this?

    exec dbms_stats.gather_table_stats ('schema', 'your_table_name');

    Aman...

  • Why Safary does not load the content of pages?

    Why Safary does not load the content of pages? I mean, when I hover over the places where should be the content, he is always showing the "redirect to: [email protected]/" lower left. My Safari is 9.5 and worked fine until Safe Fimder Virus get inside my computer. Mozilla Firefox is a bit slower. If someone could give me an idea on how to deal with it, I would be happy.

    Sorry if my English is not good, I am a Brazilian who is still learning English

    Your English is very good!

    Redirects are usually due to adware or malware.

    Download the run MalwareBytes.

    It of free and takes only a minute or two. Which should remove all adware and malicious software on your Mac.

  • Why itunes continue to change the type of my music?

    Why doesn't iTunes change the kind of some of my music to a number of 'Rock' to '17' to play, more importantly, how do I stop doing that?

    If it comes to music that you are streaming, or was accompanied in iCloud music library or iTunes Match, then there is not much that can be done. That's how it is coded by the distributor in iTunes. You can report this error directly to Apple via this link http://www.apple.com/feedback/

  • Why is not available in the US store loose Office mac app?

    Why is not available in the US store loose Office mac app? Are their outstanding issues with the app?

    You must apply to the developer. Apple reserves the right to remove an element if it does not perform to his expectations or a developer may not able to promote and sell a product around the world due to specific restrictions

Maybe you are looking for

  • 27 "imac does not

    I bought an imac 27 "with a fast processor, disk 1 TB fusion, the Core i7 and 16 MB of ram. I did a restore from time machine on the new computer, and it worked very well, but the next day that he would not recognize the keyboard or the mouse. Techni

  • Office Jet Pro 8500 black ink cartridge will not print

    black ink does not print and alignment fails.  I cleaned the printheads through all the levels.  The colors print perfectly but black will not print.  I have reset the printer, run test pages, but still no black ink and unity trys to align, but fails

  • Critical error: cannot find the file [CardGames.dll]. The game cannot continue.

    I recently noticed this error message- Critical error: cannot find the file [CardGames.dll]. The game cannot continue. whenever I try to click on a card game.  Help, please!  Is there something I can download again to fix this error?

  • C3180 always prints a test page to the power on

    Everytime I turn on my Photosmart C3180 prints a test alignment page. How can I stop this?

  • Jabber-config file update on CUCM 10.5.2

    I am looking to update my jabber file - config.xml and turn on numbering URI.  I know that I need to add this: true It has now than that: UDS true mail Couple questions. 1. How can do a test this locally?  I tried a few different methods and they do