Problem with column sorting in af:table

Hi,
I am populating an af:table using programmatic view object. One of the columns of the table has its sorting set to true. However, when i click on the sort arrow in the column, no data is loaded, and it displays a message "No data to display."
Kindly, help me in resolving the issue. Thanks in advance for yours assistance.
Regards,
Max.

Hi all,
I have an exact scenario what you explained. Let me explain my scenario and the way i implemented.
Mine is also custom java data source implementation where i get data from a service. Followed the implementation details given in document.
How the framework works:
1. code to retrieve data from service is written inside executeQueryForCollection.
2. hasNextForCollection returns true or false based on the no. of data fetched. setFetchComplete(true) is set when it reaches the end of retrieved data.
3. createRowFromResultSet will be called until setFetchComplete is set to true.
Worked fine and i am able to get the data in my view object.
1st Issue:
Since the code to retrieve data from service is written inside executeQueryForCollection, everytime it is getting executed whenever executeQuery is called (eg. in-memory filtering/sorting, table filtering, table sortine), which is a performance issue. I don't want to call my service often since i've retrieved all the data already.
Tried:
I added an if condition inside executeQueryForCollection to skip service call (skipped only service call but not hasNextForCollection() and super.executeQueryForCollection()) by adding a service call flag. Default flag value is false. Whenever we need service call, we need to set the flag (i.e. it is actually a property with setter and getter) to true, followed by executeQuery().
2nd issue:
when user performs table filtering/sorting, since i skipped the service call, since there is no rows to populate, createRowFromResultSet() will not be called and so i couldn't see any data in table at all. (I don't know why it expect me to give data.)
Tried:
To solve this, i added a local variable to keep the retrived data from service. Whenever i perform service call, i'll keep the data in a local variable. By doing this, whenever executeQueryForCollection is called, i'll check the service call flag. It will be false. In the else part i set the local variable data as user data for collection. The only difference in this implementation is that instead of serving the data from service, i serve data from the local variable. By doing this, filtering/sorting is working fine and i am able to avoid the service call too (but i am not able to avoid the createRowFromResultSet().)

Similar Messages

  • Problem with Column Sorting in Request Table View

    We've enabled column sorting on the table view in an Answers request but it doesn't work when more than around 400 rows are returned. It works Ok when fewer than 400 rows are returned. Does anyone know if there is a specific limit to the number of rows where column sorting works?
    Thanks,
    Mike

    I've dug into the query log a little more. When this request returns more than around 400 records and you click on a column heading to sort the table view, the query from the log is not changing to reflect the new sort order. It stays as whatever the default sort order was for the request.
    Column heading sorting on other requests in different subject areas on this same server works fine. I've tested this other request with up to 6400 rows returning and it's sorting works.
    All caching is turned off for the subject area.

  • Problem with column sort in myFaces dataTable

    Hello,
    In my dataTable I am trying to do a column sort on each column, When i click on the column header link nothing is happening. Could somebody please help. Please let me know if I am missing something.
    Here is the code.
    The jsf is as follows:
    <h:panelGrid columns="1" styleClass="tableHeaderAction">
    <t:dataTable id="fooS" value="#{supervisorsDto.tableRows}"
    var="tableRow" rows"30" styleClass="dataTable"
    headerClass="tableHeader" first="0"
    columnClasses="string,string,string,string"
    rowClasses="odd,even"
    sortAscending="#{supervisorsDto.ascending}"
    sortColumn="#{supervisorsDto.sort}"
    preserveSort="true" >
    <t:column>
    <f:facet name="header">
    <t:commandSortHeader columnName="lastName" arrow="false">
    <t:outputText value="#{screen.lastName}" />
    </t:commandSortHeader>
    </f:facet>
    <t:outputText value="#{tableRow.lastName}" />
    </t:column>
    <t:column>
    <f:facet name="header">
    <t:commandSortHeader columnName="firstName" arrow="false">
    <t:outputText value="#{screen.firstName}" />
    </t:commandSortHeader>
    </f:facet>
    <t:outputText value="#{tableRow.firstName}" />
    </t:column>
    <t:column>
    <f:facet name="header">
    <t:commandSortHeader columnName="loginName" arrow="false">
    <t:outputText value="#{screen.loginName}" />
    </t:commandSortHeader>
    </f:facet>
    <t:outputText value="#{tableRow.loginName}" />
    </t:column>
    <t:column>
    <f:facet name="header">
    <t:commandSortHeader columnName="team" arrow="false">
    <t:outputText value="#{screen.team}" />
    </t:commandSortHeader>
    </f:facet>
    <t:outputText value="#{tableRow.team}" />
    <h:inputHidden id="key" value="#{tableRow.empID}" />
    </t:column>
    </t:dataTable>
    </h:panelGrid>
    The sort method in SupervisorsDto is as follows:
    public class SupervisorsDto implements Serializable {
    private String sort="lastName";
    private boolean ascending= true;
    @SuppressWarnings("unchecked")
    public void sort(final String column,final boolean ascending)
    Comparator comparator = new Comparator()
    public int compare(Object o1, Object o2)
    Supervisors c1 = (Supervisors)o1;
    Supervisors c2 = (Supervisors)o2;
    if (column == null)
    return 0;
    if (column.equals("lastName"))
    return ascending ? c1.getLastName().compareTo(c2.getLastName()) : c2.getLastName().compareTo(c1.getLastName());
    else if (column.equals("firstName"))
    return ascending ? c1.getFirstName().compareTo(c2.getFirstName()) : c2.getFirstName().compareTo(c1.getFirstName());
    else if (column.equals("loginName"))
    return ascending ? c1.getLoginName().compareTo(c2.getLoginName()) : c2.getLoginName().compareTo(c1.getLoginName());
    else if (column.equals("team"))
    return ascending ? c1.getTeam().compareTo(c2.getTeam()) : c2.getTeam().compareTo(c1.getTeam());
    else return 0;
    Collections.sort(tableRows, comparator);
    public void sort(String sortColumn)
    if (sortColumn == null)
    throw new IllegalArgumentException("Argument sortColumn must not be null.");
    if (sort.equals(sortColumn))
    //current sort equals new sortColumn -> reverse sort order
    ascending = !ascending;
    else
    //sort new column in default direction
    sort = sortColumn;
    ascending = isDefaultAscending(sort);
    sort(sort, ascending);
    protected boolean isDefaultAscending(String sortColumn)
    return true;
    public String getSort() {
    return sort;
    public void setSort(String sort) {
    this.sort = sort;
    public boolean isAscending() {
    return ascending;
    public void setAscending(boolean ascending) {
    if(ascending != this.ascending)
    this.ascending = ascending;
    Thanks!

    I think I get really good at answering my own questions.
    It seems when you select the sort option on a column you must also set the "Sort Sequence".

  • Problem with column sort option

    I have a two page form application. Page 1 shows a list of entered estimates for a sales consultant. Page 2 is the detailed estimation page. When I delete the record on the detail-page and branch back to page 1 I get the follwoing error. "failed to parse SQL query: ORA-06502: PL/SQL: numeric or value error: NULL index table key value". This happens only when I remove the last estimation record AND I have at least one column flagged as "sort". If I take the sort option of the column(s) it is working fine. If I exit the page and come back-in again everything is fine as well. I have specified to clear the cache when I branch from page 2 to page 1. I hope this is enough detail.

    I think I get really good at answering my own questions.
    It seems when you select the sort option on a column you must also set the "Sort Sequence".

  • Problem with columns in the middle of my book

    I am writing my second book with Pages 2.02 and have run into a problem with columns. I want to add a long list of items as a list with check boxes for readers to check off. If I paste in enough text for three or four pages of two columns it gets messed up in various ways - the text flows into the following text if I don't use section breaks at the end instead of layout breaks, if I use section breaks it solves that one, but if I add anything to the list it changes all the columns across the pages so that one or several of the pages has way less in the right column than in the left. So far the left column fills the entire page all the time, but the right column has lots of spaces. If I switch back and forth from one column to two, it fixes it. If I add text before the list section it messes everything up again and because there is a section break I end up with a little bit of text on the last page and a huge gap before the single column part that follows.
    Does anyone know how to get reliable results that will not mess me up when adding content before the list or in the list itself?
    PowerBook G4   Mac OS X (10.4.8)  

    Hi Cymru,
    Thank you for thinking about my problems. I guess I s half asleep when I posted and it didn't make sense.
    I have so far 77 pages of the book divided into several chapters via section breaks. Inside the 5th section there is almost two pages of paragraphs. Those paragraphs could become 3.75 pages or who knows how long before the list of items. The list of items is 226 items separated by carriage returns and go from one word with 5 characters to 7 words and 34 characters. It needs to be a list with check boxes before them so that the user can check off the items that apply. It is a workbook about turning bipolar into an advantage and is currently 8.5 x 11 and printed on my laser printer for now, but when completed will be more like 8 x 10, so it needs to resize without major hassles.
    I have tried every combination of breaks to get the list to flow in two columns, but perhaps have not done the correct combination. I show invisibles and layout. At the end of my paragraphs I do a paragraph return. I then do either a section break or a layout break, followed by a paragraph return and another layout or section break. I then put my curser before the paragraph break, but after the first section/paragraph break, and set columns to 2, evenly divided by default with 3.2026" columns and .3375" gutter, but I want them to change with page size in the future.
    Once set up, I copy the text out of BBEdit and paste into the left column. It takes up several pages because it is formatted to do double spaces, so I use one of my styles to make it bold and single spaces. I then apply list style with image bullets and one of the default box images that came with Pages. There are 5 items in each column on the first page because it is close to the bottom, but flows into the next two pages. (with text edits it might end up 20 items in each column on the first page) The second page has 39 items in each column and the last page has 8 items in the left column only, but if with section breaks take up the whole page and the next paragraphs start on the next page. If I then add items to the list, every page gets messed up and the second page ends up with 39 on the left column and less items in the right column for each added item.
    If I use layout breaks instead of section breaks, the paragraphs following my lists (now with only one column) end up under the list. What that means is I can see my bold items, but beneath them are my paragraphs that belong after the list. I can see the layout break at the end of the list, but the columns that are shown as part of the 'view layout' are visible right over the single column text also for the rest of the page. The only way to solve that is to go with section breaks and put up with the gap from the end of the list to the following paragraphs.
    I hope this makes more sense.
    Tom
    PowerBook G4   Mac OS X (10.4.8)  

  • Problem with Indesign CC 2014 and tables

    Problem with Indesign CC 2014 and tables. The text rearranges itself when I delete or add something in a table; the footnotes to the text associated with the overlap even getting unreadable. Just click on the chain symbol in the window and everything is fine. Why?

    try circumventing your cc app and see if that helps:
    if you follow all 7 steps you can directly download a trial here:  Adobe CC 2014 Direct Download Links: Creative Cloud 2014 Release | ProDesignTools
    if you have a problem starting the download, you didn't follow all 7 steps, or your browser does not accept cookies.
    the most common problem is caused by failing to meticulously follow steps 1,2 and/or 3 (which adds a cookie to your system enabling you to download the correct version from adobe.com).
    failure to obtain that cookie results in an error page being displayed after clicking a link on prodesigntools.com or initiates the download of an incorrect (eg, current) version.

  • Problem with background formatting in pivot table

    Hello,
    I have a problem with background formatting in pivot table. I can't change background (light blue rectangular in upper left corner). Do you have any idea how to do it?
    Here is the link to the picture of the pivot table:
    http://img163.imageshack.us/img163/110/unledfyq.png
    I would be grateful for any help.
    Regards,

    Hey,
    Check this link once, you will need java script to acheive this:
    http://everythingoracle.com/obieehdom.htm
    scroll down to this topic: Parsing using HTML DOM
    Please award points if helpful.
    Thanks,
    -Amith.

  • Problem with column heading sorting

    I have a problem with a classic report.
    I created a simple report. We want to sort the report, when we click the column heading. But when we cklick on the column heading, nothing happens. In firefox we get the error "apex.jQuery.datepicker is undefined".
    When we created another simple report and connect against another database (but the same web-server), we can sort the report, when we cklick a column heading. On both databases we installed the same apex version (=4.0.1.00.03).
    on "apex.oracle.com" (workspace:ama / user:demo / pwd:demo) I created an example.
    what is wrong?? Can anyone help me ??
    Thanks
    Robert

    Hi Jari,
    yes, you are right. I changed my query. I attempted to find a solution and so I changed the query several times => I used other tables, with or without date columns, with or without columns in the select and so on.
    You said, the problem is the authentication scheme. It crossed my mind that I do another change:
    during the creation of my application apex created a login page => page 101. For my example application I don't need a login page, and so I droped the page. After starting the application I saw the error message "page 101 not found ". So I searched for a property where apex definies the "start page" respectively "login page". But I don't found anything. Then I looked into the export file and searched for "101". I found the package procedure "wwv_flow_api.create_auth_setup" and the parameter "p_invalid_session_page", which receive the value "101". In apex the property "Session Not Valid Page" was blank. So I inserted the page number "1" (=the first and sole page in my application).
    After the explained changes I could start my report.
    I don't know, whether these informations help to find the problem!
    Regards
    Robert

  • WD ABAP: Problem with Header text wrapping in Table Column

    Hi,
    I am unable to achieve Header Text wrapping for the TABLE columns. I have set the property "HeaderTextWrapping" to TRUE for each column and the "Fixed table layout" property has been set to TRUE.
    Is there some property of the table/column I have to set to achieve this? Or does selection of a specific property remove option of HeaderText Wrapping?
    Thanks,
    Adithya

    hi..
    Try increasing the width of column keeping other thing as it is as you have done. And yes check whether cell editor property wrapping is set true.

  • Weird problem with mysql query and data table buttons !!!!

    Hi,
    I'm using jsc 2 update 1 on windows and mysql 4.1 . I have a page with a data table. One column of the data table contains "Details" buttons.
    Source query for the table is :
    SELECT tbl_tesserati.idtbl_tesserati idTesserato,
    tbl_tesserati.num_tessera,
    tbl_tesserati.nome,
    tbl_societa.codice_meccanografico
    FROM tbl_tesserati
    INNER JOIN tbl_rel_tesserato_discipline_societa ON tbl_tesserati.idtbl_tesserati = tbl_rel_tesserato_discipline_societa.id_tesserato
    INNER JOIN tbl_cariche ON      tbl_rel_tesserato_discipline_societa.id_carica = tbl_cariche.idtbl_cariche
    INNER JOIN tbl_qualifiche ON      tbl_rel_tesserato_discipline_societa.id_qualifica = tbl_qualifiche.idtbl_qualifiche
    INNER JOIN tbl_discipline ON      tbl_rel_tesserato_discipline_societa.id_disciplina = tbl_discipline.idtbl_discipline
    INNER JOIN tbl_societa ON      tbl_rel_tesserato_discipline_societa.id_societa = tbl_societa.idtbl_societa
    LEFT JOIN tbl_province ON tbl_societa.provincia_sede_sociale = tbl_province.idtbl_province
    LEFT JOIN tbl_comuni ON tbl_societa.comune_sede_sociale = tbl_comuni.idtbl_comuni
    LEFT JOIN tbl_rel_tesserato_discipline_praticate ON tbl_rel_tesserato_discipline_praticate.tessera_id=
    tbl_rel_tesserato_discipline_societa.idtbl_rel_tesserato_discipline
    LEFT JOIN tbl_discipline_praticate ON tbl_discipline_praticate.idtbl_disciplina_praticate=tbl_rel_tesserato_discipline_praticate.disciplina_praticata_id
    WHERE
    tbl_tesserati.cognome LIKE ?
    AND tbl_tesserati.nome LIKE ?
    AND tbl_rel_tesserato_discipline_societa.id_societa LIKE ?
    AND tbl_tesserati.idtbl_tesserati LIKE ?
    AND tbl_cariche.idtbl_cariche LIKE ?
    AND tbl_qualifiche.idtbl_qualifiche LIKE ?
    AND tbl_tesserati.data_nascita >= ?
    AND tbl_tesserati.data_nascita<= ?
    AND tbl_discipline.idtbl_discipline LIKE ?
    AND codice_affiliazione LIKE ?
    AND tbl_societa.denominazione LIKE ?
    AND YEAR(tbl_rel_tesserato_discipline_societa.data_scadenza) LIKE ?
    AND (tbl_province.nome LIKE ? OR tbl_province.nome IS NULL)
    AND ( tbl_comuni.nome LIKE ? OR tbl_comuni.nome IS NULL)
    The tbl_tesserati.data_nascita is a mysql date field.
    The click event handler code for the "Details" Button is:
    public String btnModificaTesserato_action() {
            try{
                TableRowDataProvider rowData= (TableRowDataProvider)getBean("currentRowTesserati");
                getRequestBean1().setId_tesserato((Long)rowData.getValue("idTesserato"));          
            } catch(Exception ex) {
                log("errore nella query",ex);
            return "dettaglioTesseratoSocieta";
        }When i run the project and open the page the table is correctly rendered and populated with some rows. But when i click on details button nothing happens, the page is simply reloaded.
    If i set a breakpoint in the code line   TableRowDataProvider rowData= (TableRowDataProvider)getBean("currentRowTesserati");the debbuger does not stop the code execution ! As if the button was never clicked!
    I tried to modify the source query to :
    SELECT tbl_tesserati.idtbl_tesserati idTesserato,
    tbl_tesserati.num_tessera,
    tbl_tesserati.nome,
    tbl_societa.codice_meccanografico
    FROM tbl_tesserati
    INNER JOIN tbl_rel_tesserato_discipline_societa ON tbl_tesserati.idtbl_tesserati = tbl_rel_tesserato_discipline_societa.id_tesserato
    INNER JOIN tbl_cariche ON      tbl_rel_tesserato_discipline_societa.id_carica = tbl_cariche.idtbl_cariche
    INNER JOIN tbl_qualifiche ON      tbl_rel_tesserato_discipline_societa.id_qualifica = tbl_qualifiche.idtbl_qualifiche
    INNER JOIN tbl_discipline ON      tbl_rel_tesserato_discipline_societa.id_disciplina = tbl_discipline.idtbl_discipline
    INNER JOIN tbl_societa ON      tbl_rel_tesserato_discipline_societa.id_societa = tbl_societa.idtbl_societa
    LEFT JOIN tbl_province ON tbl_societa.provincia_sede_sociale = tbl_province.idtbl_province
    LEFT JOIN tbl_comuni ON tbl_societa.comune_sede_sociale = tbl_comuni.idtbl_comuni
    LEFT JOIN tbl_rel_tesserato_discipline_praticate ON tbl_rel_tesserato_discipline_praticate.tessera_id=
    tbl_rel_tesserato_discipline_societa.idtbl_rel_tesserato_discipline
    LEFT JOIN tbl_discipline_praticate ON tbl_discipline_praticate.idtbl_disciplina_praticate=tbl_rel_tesserato_discipline_praticate.disciplina_praticata_id
    WHERE
    tbl_tesserati.cognome LIKE ?
    AND tbl_tesserati.nome LIKE ?
    AND tbl_rel_tesserato_discipline_societa.id_societa LIKE ?
    AND tbl_tesserati.idtbl_tesserati LIKE ?
    AND tbl_cariche.idtbl_cariche LIKE ?
    AND tbl_qualifiche.idtbl_qualifiche LIKE ?
    AND tbl_tesserati.data_nascita >= ?
    OR tbl_tesserati.data_nascita<= ?
    AND tbl_discipline.idtbl_discipline LIKE ?
    AND codice_affiliazione LIKE ?
    AND tbl_societa.denominazione LIKE ?
    AND YEAR(tbl_rel_tesserato_discipline_societa.data_scadenza) LIKE ?
    AND (tbl_province.nome LIKE ? OR tbl_province.nome IS NULL)
    AND ( tbl_comuni.nome LIKE ? OR tbl_comuni.nome IS NULL)
    Using this query everything works well !! The click handler works and the debugger too !!
    I changed only the AND in OR !!!
    I also tried to change mysql-x-x-connector driver but without solving my problem.
    Can someone help me ?
    Thanks
    Giorgio

    You'll find that it is more to do with the way MySql deals with dates than anything else! Depending on how your date field is setup, then try using a BETWEEN statement for those 2 lines in your first query e.g.
    AND ( tbl_tesserati.data_nascita BETWEEN ? AND ?)
    The date column needs to be in the ISO format to work. If you examine your second query output, you might discover that the output is only going to refer to one parameter (probably the OR one). Did you manage to view the output logs from the application server? You would have got an idea from there with a message like stating a conversion error'.
    Alternatively, you could try using the to_days() function and convert it directly to a number which would be a lot easier to deal with. For example:
    AND to_days(tbl_tesserati.data_nascita >= ? )
    AND to_days( tbl_tesserati.data_nascita<= ? )
    Or try the BETWEEN version with to_days() and see what you get.
    More info about date formatting (v5) here:
    http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_to-days
    Before I forget, sometimes you may need to treat dates as Strings rather 'Long' as you did.
    As a matter of interest, did you try your query in a different piece of software?
    If my queries are a little more complicated, I tend to try MySql queries out in the free MySql query browser and also double check in another to verify certain issues. I found it easier to develop SQL in a seperate program then import the final version to JSC making the required modifications for parameters.
    Message was edited by:
    aerostra

  • Problem with column selection in GUI_DOWLOAD

    Hi everyone !
    I want to save data from an internal table to a DAT file using GUI_DOWLOAD. In this internal table, there are 2 colums that won't be downloaded so I call the FM this way :
        CALL FUNCTION 'GUI_DOWNLOAD'
             EXPORTING
                  FILENAME                = L_FILE
                  FILETYPE                = 'DAT'
                  COL_SELECT              = 'X'
                  COL_SELECT_MASK          = V_COLSELECT
             TABLES
                  DATA_TAB                = TAB_OUT
                  FIELDNAMES              = TAB_FIELDNAMES.
    V_COLSELECT contains an 'X' for each column I need to be downloaded and a space for the 2 other columns.
    In the result file, the columns that I didn't select don't appear BUT there are 2 columns with no header and filled with zeros at the right edge of the file. I don't know where these 2 columns come from. Maybe a problem with fieldnames but I'm not sure (in TAB_OUT, all columns are present but in TAB_FIELDNAMES there are only headers for the selected columns).
    If anybody have an idea, please just tell me.
    Points will be rewarded for helpful answers.
    Thanks.
    Nicolas.

    Hi,
    Try to keep fields same in TAB_FIELDNAMES and TAB_OUT. because anyway you are using COL_SELECT_MASK.
    I think you are using COL_SELECT_MASK properly ie
    if you have 6 field in the TAB_OUT out of that you need to donwload 1,3,6 then your
    COL_SELECT_MASK will be X X  X
    aRs

  • Problem with ORA-19025 when joining tables

    I am querying a table that stores xml datata in an xml column. I an query this column without problems. If I join the table with another table (not xml). I get the error below.
    ORA-19025: EXTRACTVALUE returns value of only one node
    19025. 00000 - "EXTRACTVALUE returns value of only one node"
    *Cause:    Given XPath points to more than one node.
    *Action:   Rewrite the query so that exactly one node is returned.
    I don't seem to have any subnodes in the fields I am querying and I dont know how joining to the second table introduces the problem.
    This produces the error I mentioned before
    SELECT a.NAME,
    EXTRACTVALUE(xmltype(a.DOCUMENTATION), '/metadata//idinfo/citation/citeinfo/title') TITLE,
    EXTRACTVALUE(xmltype(a.DOCUMENTATION), '/metadata//idinfo/citation/citeinfo/origin') ORIGIN,
    EXTRACTVALUE(xmltype(a.DOCUMENTATION), '/metadata//idinfo/citation/citeinfo/pubdate') PUBLICATION_DATE,
    GDB_ITEMTYPES.NAME
    FROM GDB_ITEMS_vw a, GDB_ITEMTYPES b
    where a.UUID = b.UUID
    This one gives no error
    SELECT a.NAME,
    EXTRACTVALUE(xmltype(a.DOCUMENTATION), '/metadata//idinfo/citation/citeinfo/title') TITLE,
    EXTRACTVALUE(xmltype(a.DOCUMENTATION), '/metadata//idinfo/citation/citeinfo/origin') ORIGIN,
    EXTRACTVALUE(xmltype(a.DOCUMENTATION), '/metadata//idinfo/citation/citeinfo/pubdate') PUBLICATION_DATE,
    FROM GDB_ITEMS_vw a
    I am using 11g 2
    Any suggestions are welcome
    Thanks
    Edited by: user3444035 on Mar 18, 2011 1:43 PM

    Hi,
    Could you give some sample data from GDB_ITEMS_vw and GDB_ITEMTYPES?

  • Apache FOP Problem with column width

    We are using Apache FOP to generate simple pdf documents out of reports.
    My problem is that the table in the pdf is as standard filled in with columns of same length.
    Further on the content of some table fields is to large or sometimes there is to much room.
    is there any possiblity to let fop react like html?
    The smallest table field size should be like the content. I don't want to adjust all my reports, cause there are really many reports with pdf printing.
    anyone an idea how to solve this with FOP?
    i have no BI pubisher or other reporting engines for this problem
    thx so far

    Oliver,
    I think what you're looking for is having your column width automatically adjusted based on the content of your column values. That is not possible with the built-in, generic XSL-FO template. What you can do is manually adjusting the column width to appropriate values on the print attributes page.
    Regards,
    Marc

  • APEX - Problem with column attributes - Simple Checkbox

    Hi,
    I've a problem with one of my report.
    select * from (
    SELECT
    APEX_ITEM.CHECKBOX(2,audsid,'UNCHECKED') KILL,
    INST_ID,
    AUDSID,
    SID,
    I changed the attributes one of the column in report to Simple Checkbox. Display is working fine and I see correctly checkbox inside the column, but when I trying to trigger process which is based on that column, I'm getting below error:
    wwv_flow.accept: SIGNATURE (parameter names) MISMATCH
    VARIABLES IN FORM NOT IN PROCEDURE: F01_NOSUBMIT
    NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM:
    Process code looks like below:
    BEGIN
    FOR i IN 1..APEX_APPLICATION.G_F02.count
    LOOP
    rec_audsid := APEX_APPLICATION.G_F02(i);
    stmt...
    stmt...
    Could you pls help me with this? How I can submit correctly data to my process from that Simple Checkbox item?
    Thank in advance for help.
    Regards
    Mariusz
    Edited by: user8763881 on 17-Aug-2010 08:12
    Edited by: user8763881 on 17-Aug-2010 08:12
    Edited by: user8763881 on 17-Aug-2010 08:12

    Hi Marc,
    I am trying to use this simple check box to update records in a tabular form that is created through tabular form wizard.
    Now as what you said I included one more column in the tabular form sql query for my check box column.
    Lets say, if my table column name is sent_msg_ind then I have this included as below
    select sent_msg_ind, --hidden
             sent_msg_ind as sent_msg_ind_no_submit --simple check box
    from table_x;Now how to propogate the value of simple check box(1 - checked and 0 - unchecked) value into hidden field.
    I am using this tabular form to just update the records based on what is being fetched using the primary key from the previous page.
    Any example or demo would be highly appreciated here.
    Thanks,
    Teku
    Edited by: Teku on May 19, 2011 10:05 AM

  • Problem with column break in word 2010

    Hi,
    I have a 2 column document. Some how i feel it has inserted a column break in the middle of page 7 of my word document which consists of 12 pages. It is a reviewed document & tracking is also going on and 'Track Changes: On' message is also visible on my
    progress bar. On page 7 i have a figure also which is one column wide. The text above this figure goes on to next column after 9th line. There is still a 3 line gap between my text & figure. But its moving the text to next column. After the figure it shows
    me the text which should come after the moved text. It was showing me section break continuous but then i deleted it but still the problem persists. Please guide me how to fix this problem.
    Zulfi.

    Hello,
    I have replicated and confirmed the problem with LabVIEW 2010, Report Generation Toolkit 2010 and Word 2010.  I have filed this to R&D under CAR ID #257414.  As a workaround you can manually set each cell using Word Edit Cell.vi.  I have attached a simplified representation of this unexpected behavior as well as the workaround.  Hopefully this helps everyone out!
    David_L | Certified LabVIEW Architect
    LabVIEW Tools Network | LabVIEW Tools Network Developer Center
    Attachments:
    Word 2010 Table CAR.vi ‏17 KB
    Word 2010 Table FIX.vi ‏22 KB

Maybe you are looking for

  • IChat 4 AV does not work in Leopard

    iChat 4 AV does not work in OS 10.5. iChat 3 worked in OS 10.4.x with no problems. Why the problem? I have iMac G5 20-inch with 2.5-gb memory using Motorola SB5101 cable modem provided by ISP Roadrunner (Brighthouse Bakersfield CA). I am relatively n

  • How to install ADF Runtime libraries to an Oracle Application Server 10g?

    Scenario: - JDev 10.1.3 (production) installed on my Win XP station. - OC4J 10.1.3 Standalone installed on my Win XP station. - OAS 10.1.3 (not OC4J Standalone) installed on a Linux SuSe server. - I have admin credentials for the OAS but don't for th

  • Blank screen in itunes 10.5 on t410

    Get a Blank screen when trying to open Itunes store I have installed removed installed software

  • How to use odiSqlUnload in a package?

    I'm trying to use the odiSqlUnload tool in a package. And I am specifying the following as the parameters: Target File Name With Path - /home/testlocation/test_filename Connection Information - <%=odiRef.getInfo("SRC_JAVA_DRIVER")%> <%=odiRef.getInfo

  • DQE - Business Object Attributes not shown

    Hi, can anybody please help me in solving the following problem. I want to implement drag & relate for my EP 6 (sp13). I connected a sap crm system an imported some business objects from there (DRSPFLI and DRCARR). When I now want to check the relati