Hiding and showing borders on tables nested inside other tables

I'm using this code:
<?CHOOSE:?><?WHEN:position() > 1 ?><?attribute@incontext:border-top-color;'black'?>
<?attribute@incontext:border-top-style;'solid'?>
<?attribute@incontext:border-top;'0.25pt'?>
<?end when?>
<?end choose?>
I want the top border to apply to the entire row, not just the cell. This is probably easy syntax but it isn't accepting anything i throw at it.
Edited by: CISguy on Feb 23, 2010 4:32 PM
Edited by: CISguy on Feb 24, 2010 10:49 AM

I got it to work, but I think the PDF output is just buggy and code only works when it wants to. If anyone else is trying to use a table inside a table and is facing the "unexpected thick table border" issue, this is because of the table borders stacking on top of each other. I got it to work by disabling almost all borders on the inner table and using this code to show a border when i wanted it to.
<?if@row:position() >1?>
<?attribute@incontext:border-top-color;'black'?>
<?attribute@incontext:border-top-style;'solid'?>
<?attribute@incontext:border-top;'0.25pt'?>
<?end if?>

Similar Messages

  • How to create Table Popins inside a table using Java Webdynpro

    Hi All,
    I am working on a Java Webdynpro project and one of our requirements is to create Table popins inside the Table. I need to popin data beneath the row based on a value selected from the DropDown Box which is one of the  column in the Table.
    Also, I need to display vertical scrollbar instead of  Table Footer to scroll thru the table rows. Any ideas.........
    I would appreciate if you can let me know how can I do this. I am working on the 7.0 version of Java Webdynpro.
    Thanks for your time and consideration!
    Regards,
    Madhavi

    Hi,
    Please refer the following link:
    Re: Table popins
    step by step procudure to create table popin on lead select.
    thanks & regards,
    Manoj
    Edited by: Manoj Kumar on Apr 1, 2008 10:17 AM

  • After syncing iPhone 6 (iOS 8.0.2) music is unplayable and shows up as 80 GB of "other"

    After syncing iPhone 6 (iOS 8.0.2) music is unplayable and shows up as 80 GB of "other". The most recent backup also has this problem. Have I lost everything? I tried unsyncing all music and apps and re-syncing but the 80 GB other seems out of m

    When I look in usage on my iphone the storage only shows my current apps, contacts, photos, etc the 80 gb is absent and unavailable.

  • Hiding and showing columns in JTable

    Hi
    When I use removeColumn on a JTable I see that
    it also disapears from the tablecolumnmodel. (I thought that the jtable was the view and the data would remain in the tablecolumnmodel)
    So how do I show the column again ?
    //I used the following
    TableColumnModel colModel = table.getColumnModel();
    TableColumn tc = table.getColumn("header one");
    table.removeColumn(tc);
    Thanks
    Tim

    You are misreading it (I believe). The column is removed, but the data still exists in the model. The information about the column itself is lost.
    What I did, when columns are removed (I call it hiding), I remove them from the table and keep them in an arraylist. When I want to bring them back, I find it in the arraylist, add it back to the table and then move it to the correct place.

  • Cfgrid hiding and showing columns dynamically

    I am trying to get my grid and some checkboxes to integrate
    with each other in order to show and hide different columns through
    actionscript. I am using the code found at this website:
    http://www.asfusion.com/blog/entry/mxna-reader-built-with-cfforms
    and I have been having no luck in trying to implement it. I
    would like to do away with the .as files that come along with this
    code but I can't get it to work with or without it. Does anybody
    know how to do this, I am at a loss and I need to get it working
    soon.
    Thanks in advance!
    Jeff
    Here's the code I have been working with:
    <cfformitem type="script">
    <!---
    function _global.hideColumns()
    _global.postColumns = [];
    for(var i =0; i< contactList2.columnCount; i++)
    _global.postColumns.push(posts.getColumnAt(i));
    contactList2.removeColumnAt(6);
    contactList2.removeColumnAt(5);
    contactList2.removeColumnAt(4);
    contactList2.removeColumnAt(3);
    function _global.setColumn(target, col)
    if(target.value)
    contactList2.addColumn(_global.postColumns[col.index]);
    contactList2.spaceColumnsEqually();
    contactList2.getColumnAt(0).width = 0;
    else
    for(var i = 0; i< contactList2.columnCount; i ++)
    if(contactList2.getColumnAt(i).columnName == col.data)
    contactList2.removeColumnAt(i);
    </cfformitem>
    <cfform action="#cgi.script_name#" method="post"
    name="form" preservedata="true" preloader="yes" format="flash"
    height="605" width="765" skin="haloblue"
    style="themeColor:##56A1E1; marginRight:0;
    background-color:##7B8DA1;">
    <cfgrid name="contactList2" query="GetActivity"
    rowheaders="false" height="365" colheaderalign="center"
    colheaderfontsize="12" colheaderbold="yes"
    onchange="getUrl('act_view.cfm?ActivityID=' +
    contactList2.dataProvider[contactList2.selectedIndex]['ActivityID']);">
    <cfgridcolumn name="ActivityID" display="no">
    <cfgridcolumn name="Title" header="Activity Title"
    width="150">
    <cfgridcolumn name="Details" header="Details">
    <cfgridcolumn name="SiteArea" header="Site Area"
    width="70">
    <cfgridcolumn name="Mission" header="Mission"
    width="70">
    <cfgridcolumn name="Date" header="Activity Date"
    mask="mm/dd/yyyy" width="95">
    </cfgrid>
    <cfformgroup type="horizontal" height="14">
    <cfinput type="text" name="columns" visible="no"
    label="Check here to show columns:" width="0">
    <cfinput type="checkbox" name="chktitle" checked="true"
    label="Title" onClick="_global.setColumn(chktitle, {index:1,
    data:'title'})">
    <cfinput type="checkbox" name="chkdetails" checked="true"
    label="Details" onClick="_global.setColumn(chkdetails, {index:2,
    data:'details'})">
    <cfinput type="checkbox" name="chkSite" checked="false"
    label="SiteArea" onClick="_global.setColumn(chkSite, {index:3,
    data:'siteArea'})">
    <cfinput type="checkbox" name="chkMission"
    checked="false" label="Mission"
    onClick="_global.setColumn(chkMission, {index:4,
    data:'mission'})">
    <cfinput type="checkbox" name="chkDate" checked="true"
    label="Date" onClick="_global.setColumn(chkDate, {index:5,
    data:'Date'})">
    </cfformgroup>
    </cfform>

    Hmm. Perhaps the problem is that when these columns are hidden or shown, the data is cleared out so there is nothing visible in any column.  Still, shouldn't the width stay static according to the width I specified for each column?  It seems like a bug, really, but I'm not sure why it seems uncommon.
    Unfortunately an upgrade to Flex 3 isn't possible at the moment, I don't think.

  • Lock row in 1 table while update other tables

    Gurus,
    I want to read 1 table. If the date is less than today, I want to update 4 other tables. I only want to do this update once a day.
    While the 4 other tables are being updated, I want the other web users to pause for the update while this procedure runs.
    Is there a better way to do this?
    TIA
    Steve42
    Here is what I have:
    CREATE OR REPLACE PROCEDURE TEST_TODAY2 AS
    -- to create the table
    -- create table test_today(updated_date date);
    -- insert into test_today(updated_date) values (sysdate-1);
    -- select * from test_today;
        cursor daily_update_cur is
        select updated_date from test_today
          for update of updated_date;
       last_updated_date date;
    BEGIN
      NULL;
        open daily_update_cur;
        fetch daily_update_cur into last_updated_date;
        IF  trunc(last_updated_date) < trunc(sysdate) THEN
           -- update 4 other tables
           -- After those are updated,  update test_today
           dbms_output.put_line('After updating tables');
           update test_today set updated_date=sysdate;
        ELSE
           dbms_output.put_line('Tables already up to date');
           null;
        END IF;
        execute immediate 'commit';
        close daily_update_cur;
    END TEST_TODAY2;Edited by: BluShadow on 15-Oct-2012 14:22
    Please use {noformat}{noformat} tags before and after your code as described in the FAQ: {message:id=9360002}.
    I've corrected it this time for you.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Steve,
    I just checked your requirements and program. It seems fine.
    You can modify something on this. As below part is not required as it ll never happen.. :)
        ELSE
           dbms_output.put_line('Tables already up to date');
           null;
        END IF;
    /* execute immediate 'commit';  -- No need to write in dynamic sql as its not a DDL statement */
    commit;Sorry for going out of topic.
    Since I'm a NEWBIE, I just wanted to make sure that this would work before
    we roll this out to LIVE PRODUCTION.Newbie is defined on the basis of the date you joined/registered. It never asked for your experience or a screening while signing up.
    Better you can have an other idea to filter out people by their replies/sense with quality/weight of statements as newbies or experts ! .. :)
    Thanks!

  • Using Pipeline Table functions with other tables

    I am on DB 11.2.0.2 and have sparingly used pipelined table functions but am considering it for a project that has some fairly big (lots of rows) sized tables. In my tests, selecting from just the pipelined table perform pretty well (whether it is directly from the pipleined table or the view I created on top of it). Where I start to see some degregation when I try to join the pipelined tabe view to other tables and add where conditions.
    ie:
    SELECT A.empno, A.empname, A.job, B.sal
    FROM EMP_VIEW A, EMP B
    WHERE A.empno = B.empno AND
          B.mgr = '7839'
    I have seen some articles and blogs that mention this as a cardinality issue, and offer some undocumented methods to try and combat.
    Can someone please give me some advice or tips on this. Thanks!
    I have created a simple example using the emp table below to help illustrate what I am doing.
    DROP TYPE EMP_TYPE;
    DROP TYPE EMP_SEQ;
    CREATE OR REPLACE TYPE EMP_SEQ AS OBJECT
           ( EMPNO                                         NUMBER(10),
             ENAME                                         VARCHAR2(100),
             JOB                                           VARCHAR2(100));
    CREATE OR REPLACE TYPE EMP_TYPE AS TABLE OF EMP_SEQ;
    CREATE OR REPLACE FUNCTION get_emp return EMP_TYPE PIPELINED AS
    BEGIN
      FOR cur IN (SELECT
                    empno,
                    ename,
                    job
                  FROM emp
             LOOP
               PIPE ROW(EMP_SEQ(cur.empno,
                                cur.ename,
                                cur.job));
             END LOOP;
             RETURN;
    END get_emp;
    create OR REPLACE view EMP_VIEW as select * from table(get_emp());
    SELECT A.empno, A.empname, A.job, B.sal
    FROM EMP_VIEW A, EMP B
    WHERE A.empno = B.empno AND
          B.mgr = '7839'

    I am on DB 11.2.0.2 and have sparingly used pipelined table functions but am considering it for a project that has some fairly big (lots of rows) sized tables
    Which begs the question: WHY? What PROBLEM are you trying to solve and what makes you think using pipelined table functions is the best way to solve that problem?
    The lack of information about cardinality is the likely root of the degradation you noticed as already mentioned.
    But that should be a red flag about pipelined functions in general. PIPELINED functions hide virtually ALL KNOWLEDGE about the result set that is produced; cardinality is just the tip of the iceberg. Those functions pretty much say 'here is a result set' without ANY information about the number of rows (cardinality), distinct values for any columns, nullability of any columns, constraints that might apply to any columns (foreign key, primary key) and so on.
    If you are going to hide all of that information from Oracle that would normally be used to help optimize queries and select the appropriate execution plan you need to have a VERY good reason.
    The use of PIPELINED functions should be reserved for those use cases where ordinary SQL and PL/SQL cannot get the job done. That is they are a 'special case' solution.
    The classic use case for those functions is for the transform stage of ETL where multiple pipelined functions are chained together: one function feeds its rows to the next function which feeds its rows to another and so on. Each of those 'chained' functions is roughly analogous to a full table scan of the data that often does not need to be joined to other data except perhaps low volumn lookup tables where the data may even be cached.
    I suggest that any exploratory or prototyping work you do use standard relational tables until such point as you run into a problem whose solution might require PIPELINED functions to solve.

  • How to del table ref in other table .

    Dear all,
                i was deleteing a table which was refrenced in other table , so it was asking me to del the fk then delete the table.
    is there any way exists, to del the table and its relation used in other tables.
    yours sincerley

    You can try one of the solutions provided in this thread:
    http://stackoverflow.com/questions/15107238/how-can-i-drop-a-table-if-there-is-a-foreign-key-constraint-in-sql-server

  • Hiding and showing Flash Player causes a reload

    I have a Flex application embedded in an IFRAME that is
    inside a DIV.
    If I hide the DIV and then make it visible, the application
    reinitializes itself. Is there a way to keep this from
    happening?

    Instead of showing/hiding the DIV, you could try to change
    its size to 1px height and 1px width.
    I guess it's not a real good way to do it, but it may works
    :)

  • Trouble hiding and showing captions with a single button

    I am trying to show a caption (MSO) with the click of a button and then hide it again with the same button. I have created a MSO with two states one with the text, one without and then created an icon with a plus sign [normal] that triggers the second state that has the text. After the button is pressed it changes to a minus sign [click] the next step is where I am running into trouble. I just want the user to be able to click the minus button to hide the caption before moving on to the next page or article. I have tried every button state combination but can't hide the caption short of creating a new button somewhere else on the page, this is not desired. I have seen this function in publications like National Geographic, and Vogue so I know it is possible. It seems so simple but I can't figure it out. Being able to close the caption after showing it will add another level of interaction and professionalism to my publication...please help someone.

    Being inmersed in this thing, I am gathering some instructions and notes about very basic DPS things for our working team use and my Spanish speakers readers. Here you have the first one: Cómo hacer que un pie de foto se muestre al pulsar encima de la imagen en InDesign para DPS
    They are based in Bob Bringhusrt's DPS tips —thanks a lot!—, what I have read in this forum and the Adobe's help data.
    There's a translate button that works quite fine.
    Is that of any help? Hope so
    Gustavo (Posting from heat-melting Madrid)

  • Data grid within advanced data grid (Hiding and showing columns)

    Hi,
    I have a dta grid within advanced datagrid. When the row of advanced data grid is expanded, the datagrid opens up.
    I want to control the columns of datagrid based on the value of a field in advanced data grid. I want to show all the columns of the datagrid if the field value of advanced data grid is "X" else I want to show only few columns of the data grid.
    I will set the id for all the columns of the datagrid. Then I think I can write some code in a method to set the visibility of the columns and assign the function to item opening property of the advanced data grid.
    Please give me some ideas.
    Regards,
    Mahee   

    Hi,
    Please go through following links:
    http://www.cflex.net/showFileDetails.cfm?ObjectID=553
    http://flexmusings.wordpress.com/2009/08/03/hide-row-column-datagrid/
    http://www.java2s.com/Code/Flex/Grid/HidinganddisplayingDataGridcolumns.htm
    Thanks and Regards,
    Vibhuti Gosavi | [email protected] | www.infocepts.com

  • Hideing and showing a page or security for some pages

    i have developed an applciation where in which i want users to have acces
    to some pages and some pages are secured they can be viewed only after entering some credentials.
    how can we do this some body help me

    Create an authentication scheme and an authorization scheme (under Shared components)
    and in the page attributes (top left) you can select these schemes to be active for the page.
    Hope this helps.
    Leo

  • Querying Nested Tables with Multiple other Tables

    I am trying to query columns from a table and it's nested table and do a join to another table.
    SELECT IM.*,
    IMP.PROGRAM_ID,
    S.STAGE_NAME
    FROM TB_ITEM_MASTER IM , TABLE(TB_ITEM_MASTER.PROGRAMS) IMP, TB_STAGE S
    WHERE S.STAGE_ID = IM.STAGE_ID
    AND IM.PROGRAM_ID IN(1,2);
    When running this query I receive the error:
    ORA-00904:"TB_ITEM_MASTER"."PROGRAMS": Invalid Identifier
    I actually copied this query straight from an Oracle Documentation, just replaced my table names with theirs. This query will almost be like a template to me as the program_id field in the Nested table is very cruicial to me. I will joining many tables to TB_ITEM_MASTER and using the where clause against program_id. What's the problem here?
    Please advise.
    ps. Did I mention how much I hate working with this Nested table stuff:(

    You must use the alias name, not the table name.
    SQL> create type employee_obj as object (empno number) ;
      2  /
    Type created.
    SQL> create type employees_nt is table of employee_obj ;
      2  /
    Type created.
    SQL> create table departments (deptno number(2), dname varchar2(20), employees employees_nt)
      2  nested table employees store as employees_table
      3  /
    Table created.
    SQL> insert into departments values (1, 'DEPT #1', employees_nt(employee_obj(2), employee_obj(3))) ;
    1 row created.
    SQL> insert into departments values (22, 'DEPT #2', employees_nt(employee_obj(22), employee_obj(33))) ;
    1 row created.
    SQL>
    SQL> SELECT IM.*,
      2  IMP.empno
      3  FROM departments IM , TABLE(IM.employees) IMP
      4  WHERE IM.deptno IN(1,2);
        DEPTNO DNAME
    EMPLOYEES(EMPNO)
         EMPNO
             1 DEPT #1
    EMPLOYEES_NT(EMPLOYEE_OBJ(2), EMPLOYEE_OBJ(3))
             2
             1 DEPT #1
    EMPLOYEES_NT(EMPLOYEE_OBJ(2), EMPLOYEE_OBJ(3))
             3
    2 rows selected.
    SQL>

  • Filling temporary table with two other tables.

    Hi everyone,
    In an start routine, I would like to do the following :
    read values in an internal table, save it in temporary table tab1.
    read values in an internal table (the same with a different request) and save it in temporary table tab2.
    save with no duplicate keys and in a sorted table tab3 the result of the two tables.
    I have coded like this, but it doesn't work, since the final table is empty.
    Indeed, the system says it is tried to insert a duplicate key. How is it possible using instruction INSERT ?
        DATA : t_agence_1 TYPE SORTED TABLE OF ty_agence
                       WITH UNIQUE KEY /BIC/C_AGENCE2
                       WITH HEADER LINE.
        DATA : t_agence_2 TYPE SORTED TABLE OF ty_agence
                       WITH UNIQUE KEY /BIC/C_AGENCE2
                       WITH HEADER LINE.
        DATA : t_agence TYPE SORTED TABLE OF ty_agence
                       WITH UNIQUE KEY /BIC/C_AGENCE2
                       WITH HEADER LINE.
    SELECT * FROM /BIC/PC_AGENCE2
          INTO CORRESPONDING FIELDS OF TABLE t_agence_1
          FOR ALL ENTRIES IN DATA_PACKAGE
               WHERE CALMONTH = DATA_PACKAGE-CALMONTH
               AND /BIC/C_AGENCE2 = DATA_PACKAGE-/BIC/C_AG1
               AND objvers = 'A'.
         IF sy-subrc = 0.
           INSERT LINES OF t_agence_1 INTO TABLE t_agence.
         endif.
       SELECT * FROM /BIC/PC_AGENCE2
          INTO CORRESPONDING FIELDS OF TABLE t_agence_2
          FOR ALL ENTRIES IN DATA_PACKAGE
               WHERE CALMONTH = DATA_PACKAGE-CALMONTH
               AND /BIC/C_AGENCE2 = DATA_PACKAGE-/BIC/C_AG2
               AND objvers = 'A'.
       IF sy-subrc = 0.
              INSERT LINES OF t_agence_2 INTO TABLE t_agence.
       endif.
    Thanks if you can help !
    regards
    fred
    Edited by: Christophe BELIN on Dec 5, 2008 3:43 PM

    Shanon,
    You would handle the parent with two child tables exactly the same way you would a parent with one child.
    1) Bring in all 3 tables through the Database Expert.
    2) On the Links Tab, place the parent table on the left of the window and the two child tables to the right (yes there is a reason for doing this).
    3) Delete any CR generated links between the tables.
    4) "Draw" a link that starts from the parent table to the 1st child table and then again, from the parent to the 2nd child.
    a. I'm assuming that you know which fields to link on.
    b. No links between children.
    5) Once you have both links in place right click them and change the "Link Type" to "Left Outer Join"
    a. The reason for doing this: It allows ALL of the parent records to come through, even if they do not have any matching records in
    one or both of the child tables.
    Hope this helps,
    Jason

  • Sum of qty of four tables comapring with other table

    I had four tables voy,bl,subbl,dcd, i have to find sum of qty form SUBBL and qty from DCD for all subbl group by CCD
    TABLE VOY
    INTVCN VCN
    10 TEST
    TABLE BL
    VCN BL
    10 200
    10 201
    TABLE SUBBL
    subbl     bl     subbl     ccd     qty
    100     200     s1     c1     100
    101     200     s2     c1     60
    102     200     S3     C2     20
    103     201     s1     c1     40
    104     201     s2     c1     20
    TABLE DCD
    crg_seq_no     subbl     qty      weight
         1     100     50     
         2     100     25     
         3     101     30     
         4     101     20     
         5     102     20     
         6     103     20     
         7     103     10     
         8     104     20     
    Following query was executed but we are getting wrong sum for qty (SUBBL)
    Query
    select d.ccd,sum(d.qty),sum(f.qty) from
    (Select distinct a.ccd,a.subbl,a.qty from subbl A, bl B, voy C
    Where a.bl = b.bl and b.vcn = c. intvcn and c. vcn = 'TEST') D,subbl E, dcd F
    where d.ccd = e.ccd and d.subbl = e.subbl and d.subbl = f.subbl
    group by d.ccd
    Result
    CCD SUM(D.QTY) SUM(F.QTY)
    C1 420 175
    C2 20 20
    Expected result
    CCD SUM(D.QTY) SUM(F.QTY)
    C1 220 175
    C2 20 20

    Hi,
    This query is OK with you.
    But i don't know why you use distinct in first inline view
    select d.ccd,sum(d.qty),sum(f.qty) from
    (Select distinct a.ccd,a.subbl,a.qty from subbl A, bl B, voy C
    Where a.bl = b.bl and b.vcn = c. intvcn and c. vcn = 'TEST') D,
    (select subbl,sum(qty) qty from dcd group by subbl) F
    where d.subbl = f.subbl
    group by d.ccd
    Bye
    Chitta

Maybe you are looking for

  • Divx Plus Player for Mac OSX 10.5.8

    Unfortunately, I clicked the "upgrade now" button in a Divx pop up while trying to start buffering an online video stream. That's when my nightmare began.  I have no clue what type of Divx version I had before, but this new, upgraded version has made

  • How to parse a XML file

    I am a new learner to XML & JAVA,I dont't know how to parse the XML file using JAXP,Who can tell me,Who can write an Example? thx Best Regards.

  • Mouse pointer on occasion has a small scrolling bar

    that shows up and is really annoying is this a Vista or toshiba thing and can I uninstall it. Thanks!

  • Query Nested table (collection)

    I try to query on a nested table (collection). How ever, I get a 600 error. Is there any way to reuse the result of query in the store procedure? SQL> DECLARE 2 TYPE T_PER_ID IS TABLE OF PERIOD.PER_ID%TYPE; 3 V_EXP_PER_ID T_PER_ID; 4 V_EXP_PER_ID2 T_

  • System update reports no packages on Z60m restored to a Jan-2006 factory state

    Hi, I have just rebuilt my Z60m (type 2529-FKG) following a hard drive failure, reinstalling from a set of rescue and recovery disks I made last year. While Windows has downloaded a load of updates, system updaters claims none (aside from an update t