Af: table color dyanmic

HI ,
Using jdev 11.6 .
I have requirement to show the table row/column  in different color based on the some conditions . i have achieved by overriding the postQuery method and setting the color in transient attribute in voimple.
My questions related to the adf -style classes ,please provide style classes for over riding the table -column /row ? ( i m using the adf skining olny)
appreciate if any references  ADF-css styles class sample for table row /column and also related to table row coloring based on the some conditions .
thanks

Why did you overwrite the post query method?
What are the conditions and now are they calculated?
Read Frank's article about skins http://www.oracle.com/technetwork/issue-archive/2011/11-nov/o61adf-512006.html This should get you started.
Timo

Similar Messages

  • Background color shows through table color in firefox

    Hello,
    I am new to Dreamweaver and i am using CS3 and doing the cafe
    townsend tutorial. I make the background color balck and the table
    color a brick red, but in firefox the background color is showing
    through the table color, but in safari it shows up okay. can anyone
    help? i am on a mac.
    code below
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=UTF-8" />
    <title>Café Townsend</title>
    <style type="text/css">
    <!--
    body {
    background-color: #000000;
    -->
    </style>
    <script src="Scripts/AC_RunActiveContent.js"
    type="text/javascript"></script>
    <script type="text/javascript">
    function MM_CheckFlashVersion(reqVerStr,msg){
    with(navigator){
    var isIE = (appVersion.indexOf("MSIE") != -1 &&
    userAgent.indexOf("Opera") == -1);
    var isWin = (appVersion.toLowerCase().indexOf("win") != -1);
    if (!isIE || !isWin){
    var flashVer = -1;
    if (plugins && plugins.length > 0){
    var desc = plugins["Shockwave Flash"] ? plugins["Shockwave
    Flash"].description : "";
    desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave
    Flash 2.0"].description : desc;
    if (desc == "") flashVer = -1;
    else{
    var descArr = desc.split(" ");
    var tempArrMajor = descArr[2].split(".");
    var verMajor = tempArrMajor[0];
    var tempArrMinor = (descArr[3] != "") ?
    descArr[3].split("r") : descArr[4].split("r");
    var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] :
    0;
    flashVer = parseFloat(verMajor + "." + verMinor);
    // WebTV has Flash Player 4 or lower -- too low for video
    else if (userAgent.toLowerCase().indexOf("webtv") != -1)
    flashVer = 4.0;
    var verArr = reqVerStr.split(",");
    var reqVer = parseFloat(verArr[0] + "." + verArr[2]);
    if (flashVer < reqVer){
    if (confirm(msg))
    window.location = "
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";
    </script>
    </head>
    <body onload="MM_CheckFlashVersion('9,0,28,0','Content on
    this page requires a newer version of Adobe Flash Player. Do you
    want to download it now?');">
    <table width="700" border="0" cellspacing="0"
    cellpadding="0">
    <tr>
    <td height="90"><img
    src="images/banner_graphic.jpg" alt="" name="banner_graphic"
    width="700" height="92" id="banner_graphic"
    style="background-color: #993300" /></td>
    </tr>
    <tr>
    <td height="166" align="center"
    valign="middle"><script type="text/javascript">
    AC_FL_RunContent( 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','700','height','150','src','flash_fma','quality','high','pluginspage','http://www.adob e.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','flash_fma'
    ); //end AC code
    </script><noscript><object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
    width="700" height="150">
    <param name="movie" value="flash_fma.swf" />
    <param name="quality" value="high" />
    <embed src="flash_fma.swf" quality="high" pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash" width="700"
    height="150"></embed>
    </object></noscript></td>
    </tr>
    <tr>
    <td height="24"><img
    src="images/body_main_header.gif" width="700" height="25"
    /></td>
    </tr>
    </table>
    <table width="700" border="0" cellspacing="0"
    cellpadding="0">
    <tr>
    <td width="140" bgcolor="993300"> </td>
    <td width="230" align="center" valign="top"
    bgcolor="F7EEDF"><p>
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','widt h','202','height','186','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_Co mponentVersion=1&skinName=Halo_Skin_2&streamName=cafe_townsend_home&autoPlay=false&autoRew ind=false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspag e','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash',' movie','FLVPlayer_Progressive'
    ); //end AC code
    </script><noscript><object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
    width="202" height="186" id="FLVPlayer">
    <param name="movie" value="FLVPlayer_Progressive.swf"
    />
    <param name="salign" value="lt" />
    <param name="quality" value="high" />
    <param name="scale" value="noscale" />
    <param name="FlashVars"
    value="&MM_ComponentVersion=1&skinName=Halo_Skin_2&streamName=cafe_townsend_home&autoPlay =false&autoRewind=false"
    />
    <embed src="FLVPlayer_Progressive.swf"
    flashvars="&MM_ComponentVersion=1&skinName=Halo_Skin_2&streamName=cafe_townsend_home&auto Play=false&autoRewind=false"
    quality="high" scale="noscale" width="202" height="186"
    name="FLVPlayer" salign="LT" type="application/x-shockwave-flash"
    pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
    />
    </object></noscript>
    </p>
    <p><img
    src="completed_files/images/street_sign.jpg" width="202"
    height="136" /></p></td>
    <td width="330" bgcolor="F7EEDF"> </td>
    </tr>
    </table>
    <table width="700" border="0" cellspacing="0"
    cellpadding="0">
    <tr>
    <td height="24"><img
    src="images/body_main_footer.gif" width="700" height="25"
    /></td>
    </tr>
    </table>
    </body>
    </html>

    On a quick look, I think it's a css specifity problem.
    If you take the background color style out of the table and
    create a style in the head of the doc
    (like you did for the body), the color does show up.
    You need to give the outer table an ID and create the
    following style and add it just below the body
    style
    .maintable { background-color: #993300; }
    So the top of your document looks like this:
    <style type="text/css">
    <!--
    body {
    background-color: #000000;
    #maintable { background-color: #993300; }
    -->
    </style>
    This is what the outertable line should look like:
    <table id="maintable" width="700" border="0"
    cellspacing="0" cellpadding="0">
    PS: There also appears to be a syntax error with the flash
    script, which may cause some issues, but
    I can't help you with that sorry :-)
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    Book: Ultimate CSS Reference (aff link) |
    http://www.sitepoint.com/launch/005dfd4/3/133
    http://twitter.com/nadiap
    "grafix89" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hello,
    >
    > I am new to Dreamweaver and i am using CS3 and doing the
    cafe townsend
    > tutorial. I make the background color balck and the
    table color a brick red,
    > but in firefox the background color is showing through
    the table color, but in
    > safari it shows up okay. can anyone help? i am on a mac.
    >
    > code below
    >
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=UTF-8" />
    > <title>Caf? Townsend</title>
    > <style type="text/css">
    > <!--
    > body {
    > background-color: #000000;
    > }
    > -->
    > </style>
    > <script src="Scripts/AC_RunActiveContent.js"
    type="text/javascript"></script>
    > <script type="text/javascript">
    > function MM_CheckFlashVersion(reqVerStr,msg){
    > with(navigator){
    > var isIE = (appVersion.indexOf("MSIE") != -1 &&
    > userAgent.indexOf("Opera") == -1);
    > var isWin = (appVersion.toLowerCase().indexOf("win") !=
    -1);
    > if (!isIE || !isWin){
    > var flashVer = -1;
    > if (plugins && plugins.length > 0){
    > var desc = plugins["Shockwave Flash"] ?
    plugins["Shockwave
    > Flash"].description : "";
    > desc = plugins["Shockwave Flash 2.0"] ?
    plugins["Shockwave Flash
    > 2.0"].description : desc;
    > if (desc == "") flashVer = -1;
    > else{
    > var descArr = desc.split(" ");
    > var tempArrMajor = descArr[2].split(".");
    > var verMajor = tempArrMajor[0];
    > var tempArrMinor = (descArr[3] != "") ?
    descArr[3].split("r") :
    > descArr[4].split("r");
    > var verMinor = (tempArrMinor[1] > 0) ?
    tempArrMinor[1] : 0;
    > flashVer = parseFloat(verMajor + "." + verMinor);
    > }
    > }
    > // WebTV has Flash Player 4 or lower -- too low for
    video
    > else if (userAgent.toLowerCase().indexOf("webtv") != -1)
    flashVer = 4.0;
    >
    > var verArr = reqVerStr.split(",");
    > var reqVer = parseFloat(verArr[0] + "." + verArr[2]);
    >
    > if (flashVer < reqVer){
    > if (confirm(msg))
    > window.location =
    > "
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveF
    > lash";
    > }
    > }
    > }
    > }
    > </script>
    > </head>
    >
    > <body
    onload="MM_CheckFlashVersion('9,0,28,0','Content on this page
    requires a
    > newer version of Adobe Flash Player. Do you want to
    download it now?');">
    > <table width="700" border="0" cellspacing="0"
    cellpadding="0">
    > <tr>
    > <td height="90"><img
    src="images/banner_graphic.jpg" alt=""
    > name="banner_graphic" width="700" height="92"
    id="banner_graphic"
    > style="background-color: #993300" /></td>
    > </tr>
    > <tr>
    > <td height="166" align="center"
    valign="middle"><script
    > type="text/javascript">
    > AC_FL_RunContent(
    > 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
    >
    version=9,0,28,0','width','700','height','150','src','flash_fma','quality','high
    > ','pluginspage','
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Ve
    > rsion=ShockwaveFlash','movie','flash_fma' ); //end AC
    code
    > </script><noscript><object
    > classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=9,0,28,0" width="700" height="150">
    > <param name="movie" value="flash_fma.swf" />
    > <param name="quality" value="high" />
    > <embed src="flash_fma.swf" quality="high"
    > pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Versio
    > n=ShockwaveFlash" type="application/x-shockwave-flash"
    width="700"
    > height="150"></embed>
    > </object></noscript></td>
    > </tr>
    > <tr>
    > <td height="24"><img
    src="images/body_main_header.gif" width="700"
    > height="25" /></td>
    > </tr>
    > </table>
    > <table width="700" border="0" cellspacing="0"
    cellpadding="0">
    > <tr>
    > <td width="140"
    bgcolor="993300"> </td>
    > <td width="230" align="center" valign="top"
    bgcolor="F7EEDF"><p>
    > <script type="text/javascript">
    > AC_FL_RunContent(
    > 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
    >
    version=7,0,0,0','width','202','height','186','id','FLVPlayer','src','FLVPlayer_
    >
    Progressive','flashvars','&MM_ComponentVersion=1&skinName=Halo_Skin_2&streamName
    >
    =cafe_townsend_home&autoPlay=false&autoRewind=false','quality','high','scale','n
    > oscale','name','FLVPlayer','salign','lt','pluginspage','
    http://www.adobe.com/sho
    >
    ckwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_
    > Progressive' ); //end AC code
    > </script><noscript><object
    > classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=7,0,0,0" width="202" height="186"
    id="FLVPlayer">
    > <param name="movie" value="FLVPlayer_Progressive.swf"
    />
    > <param name="salign" value="lt" />
    > <param name="quality" value="high" />
    > <param name="scale" value="noscale" />
    > <param name="FlashVars"
    >
    value="&MM_ComponentVersion=1&skinName=Halo_Skin_2&streamName=cafe_townsend_home
    > &autoPlay=false&autoRewind=false" />
    > <embed src="FLVPlayer_Progressive.swf"
    >
    flashvars="&MM_ComponentVersion=1&skinName=Halo_Skin_2&streamName=cafe_townsend_
    > home&autoPlay=false&autoRewind=false"
    quality="high" scale="noscale"
    > width="202" height="186" name="FLVPlayer" salign="LT"
    > type="application/x-shockwave-flash"
    > pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Versio
    > n=ShockwaveFlash" />
    > </object></noscript>
    > </p>
    > <p><img
    src="completed_files/images/street_sign.jpg" width="202"
    > height="136" /></p></td>
    > <td width="330"
    bgcolor="F7EEDF"> </td>
    > </tr>
    > </table>
    > <table width="700" border="0" cellspacing="0"
    cellpadding="0">
    > <tr>
    > <td height="24"><img
    src="images/body_main_footer.gif" width="700"
    > height="25" /></td>
    > </tr>
    > </table>
    > </body>
    > </html>
    >
    >

  • Changing the table-color

    I built a Master/Detail application using Dreamweaver
    Developer Toolbox.
    I would like to change the gray color of the tables to other
    colors that are more suitable to my site.
    Is there anybody that can help me accomplish that ?
    Amanda Nguyen

    Hi,
    U need to create a context attribute say cell_design of type
    com.sap.ide.webdynpro.uielementdefinitions.TableCellDesign.
    Go to the desired table column properties for which u need to
    change the color bind cellDesign property with cell_design.
    Apply to all column if u need to change the color of whole row.
    Now u can set this cell_design with any color using
    wdContext.currentcontextelement.setCell_design(WDTableCellDesign.COLOR_OF_YOUR_CHOICE);
    Regards
    Surender Dahiya

  • ALV table coloring

    Hi All,
    I have a requirment like alv table shuld display in white color which we can see if we make the rows as editable but it shuld not be in editable mode.
    Regards
    Santhosh.

    Hi Santosh,
    I think you are looking for editable ALV, or you want to color alv row?? i am confusing.
    Please go through this...
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1?quicklink=index&overridelayout=true
    /people/sap.user72/blog/2006/01/09/wda--user-defined-functions-in-alv
    Cheers,
    Kris.

  • Table colors...

    To give you an idea of what my website looks like, the
    address is www.babybumps.net.
    I am rebuilding the site to be a bit more "edit friendly" and
    am running into a problem.
    On my master template I used a 4 column table for the layout
    of the links at the bottom (for Advertisers, Local Events, More
    Info, etc. The white below is a y-repeat background image (which
    includes the white, shadow and teal) placed on a teal background
    color.
    I set all of the table backgrounds to white and it looks
    exactly the way that I want it on the Master, even when I view it
    in the browser. However, when I create a nested template from the
    Master, it ignores the white background settings on the table
    itself, the background image below that, and fills the background
    of the table with the teal background color. Because I want the
    table to only be editable on the Master file, there is no way to
    adjust the background colors on subsequent templates or webpages.
    I have even tried adding the table inside a div tag with the
    background set as white and it still didn't work.
    Does anyone know why this might be happening or how I can fix
    it?

    Before doing anything else, read this -
    http://apptools.com/rants/spans.php
    It describes the single largest problem with using FW HTML or
    DW's LAYOUT
    MODE. That page will be a nightmare to maintain.
    > create a nested template from the Master
    Goodness - don't do that. Your page has >30 editable
    regions on it.
    Speaking of nightmares....
    Why do you feel like you need nested templates?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "ArtsyAndi" <[email protected]> wrote in
    message
    news:fpi0hf$6ja$[email protected]..
    > To give you an idea of what my website looks like, the
    address is
    > www.babybumps.net.
    > I am rebuilding the site to be a bit more "edit
    friendly" and am running
    > into
    > a problem.
    >
    > On my master template I used a 4 column table for the
    layout of the links
    > at
    > the bottom (for Advertisers, Local Events, More Info,
    etc. The white below
    > is a
    > y-repeat background image (which includes the white,
    shadow and teal)
    > placed on
    > a teal background color.
    >
    > I set all of the table backgrounds to white and it looks
    exactly the way
    > that
    > I want it on the Master, even when I view it in the
    browser. However, when
    > I
    > create a nested template from the Master, it ignores the
    white background
    > settings on the table itself, the background image below
    that, and fills
    > the
    > background of the table with the teal background color.
    Because I want the
    > table to only be editable on the Master file, there is
    no way to adjust
    > the
    > background colors on subsequent templates or webpages.
    >
    > I have even tried adding the table inside a div tag with
    the background
    > set as
    > white and it still didn't work.
    >
    > Does anyone know why this might be happening or how I
    can fix it?
    >

  • Change a cell/table color

    Hi,
    Rank beginner here. I am trying DW over FP and struggling.
    I have created a table with 3 rows. My first is the header.
    On the second I would like to change the color of the row. But in
    properties it only allows me to make changes to the fonts.
    I am following a video tutorial as I dyslexic and find coding
    and so on hard.
    Can anyone give me some advice on how to change the color of
    just this row?

    > But really why is Webdesign so caught up in code?
    That's life. If you aren't willing to invest the effort in
    learning it,
    then DW is not the program for you.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Daveontheroad" <[email protected]> wrote in
    message
    news:g5mctv$aak$[email protected]..
    > Got it, there was a small drop down arrow to the right
    of properties
    > hiding it.
    >
    > Hmmm, let me ask you something else that's always bugged
    me.
    >
    > I installed DW trial just to see the difference between
    this and FP. OK DW
    > is
    > more advanced for the professional.
    >
    > But really why is Webdesign so caught up in code?
    >
    > I mean I work in video editing and photography and life
    is much easier in
    > point and click gui land. Yet in web design land it's
    still code that
    > rules?
    > Why has webdesign never truely gone to the GUI (design
    mode)?? I know
    > people
    > can "do" more with code. But I can do more with an image
    my moving and
    > adjusting it than I ever could with code. Maybe I am the
    artistic type
    > then? lol
    >
    > Sorry is that sounds bad, not meant to be offensive,
    just curious why
    > there is
    > still so much code in webdesign? I think I better run
    back and hide in FP
    > eek
    >

  • Table colors disappeared after replacing a theme

    Hello,
    I have developed a certain table in Web Dynpro with rows in different colors: Problematic rows are painted in red, proper rows are painted in green.
    Everything is working OK.
    At this point I have replaced the standard theme to a custom one I've created and in this one I don't see the rows being colored at all.
    I went to the Complex Elements->Tables section in my theme but I can see all the colors there inside the preview sample table.
    What else do I need to check in there?

    Anyone.....?

  • Getting Spry Bar Color to Match Table Color

    I have a table at the top of my page and a spry bar within it. I'd like for the colors to match but I can't seem to figure out how. If possible, I'd like them both to be a light gray.
    http://www.hardgeared.com/TempPage-2.html
    Thanks for your help and guidance.

    Online 187 of HTML code view, change this:
         <body text="#FF0000" class="footer"
         width: 100%>
    to this:
    <body>
    On line 201, change this:
      <table width="959" border="0" background="999999">
    to this:
      <table width="959" border="0" style="background-color: #999999">
    Which background colors do you want for Spry Menu and tables?
    Nancy O.

  • WP document table color?

    Hello!
    I am trying to create a table in a word processing document that has black cells & white text. Is this possible? If so how can it be done? I am using Appleworks 6.2.4 if that helps.

    fruhulda wrote:
    There are often several ways to do he same thing. Insert table or use the spreadsheet frame is the same thing. You could call it table tool if you like.
    Up to CW/AW 5, there was no difference as AppleWorks did not support Tables. If you wanted a 'table', you used a Spreadsheet frame, or used an array of tab separated text, then used the Draw tools to rectangles and lines to form the 'table' grid.
    Tables were introduced in AW 6, and they are quite different from spreadsheet frames.
    A Spreadsheet frame, inserted into a word processing document contains by default a 40 column by 50 row spreadsheet with 72 x 14 point cells, not all of which are usually visible. When you click on a cell of a Spreadsheet frame, the menu bar changes to show the Spreadsheet menus and menu items.
    If you enter a formula into a cell, the formula is calculated and the result shown. In order to change the actual size of the spreadsheet (not just change the portion that is displayed), it is necessary to open the frame (Window > Open Frame) then use Format > Document from the Spreadsheet menu set.
    A table's size (in rows and columns) is set when the table is inserted (Table > Insert Table) or when a block of tab separated text is selected, then converted to a table (Table > Convert to Table). Column width defaults to whatever will fill the space between margins with equal width columns. Row height adjusts automatically to accommodate typed or pasted text (or objects). Click in a Table cell and the Word Processing menus and menu items are shown in the Menu bar. A formula entered into a Table cell is treated as text. And in the Window menu, Open Frame is greyed.
    There are other differences, but these are the most immediately apparent ones.
    Regards,
    Barry

  • How to make a table color or back ground image go on forever

    How do I make a table go on forever (to the right)? I know
    you can edit the size of the table, but if you make it larger than
    your own computer screen it makes you have to scroll left and
    right. I want to know how do I make a table go on forever with out
    making someone with a small screened computer have to scroll left
    and right.
    Thanks.,

    You can't. What is it you are trying to accomplish?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "-Michael--" <[email protected]> wrote in
    message
    news:eddbh5$a45$[email protected]..
    > How do I make a table go on forever (to the right)? I
    know you can edit
    > the
    > size of the table, but if you make it larger than your
    own computer screen
    > it
    > makes you have to scroll left and right. I want to know
    how do I make a
    > table
    > go on forever with out making someone with a small
    screened computer have
    > to
    > scroll left and right.
    >
    > Thanks.,
    >

  • Create dynmic deep internal table

    Dear all,
    is it possible to create a dynamic internal table which has a deep structure. The catch here is that component tables of the main internal table will determined dynamically.
    thanks a lot!!!
    Navjot

    Hi Navjot,
    Dyanmic internal table with deep structure is specially useful when we have to create an ALV with Colors or Style etc. Since we have CL_ABAP_TABLEDESCR class from RTTS, it is also possible to create a dynamic internal table with the deep structure. To create an internal table with deep structure, we need to first get the object definition of the table type. Than we have to add that as a component of our table definition and that's it.
    Try this :
    *& Report ZNP_DYNAMIC_DEEP_TABLE.
    *& Shows how to create dynamic internal table with deep strcuture
    *&   which can be used in the ALV to have Sytle table, Color table
    * 2.1 Creating the Deep strcuture field
      DATA:  lo_tab TYPE REF TO cl_abap_tabledescr.
      lo_tab ?= cl_abap_typedescr=>describe_by_name( 'LVC_T_SCOL' ).
      la_comp-name = 'COLOR_TAB'.
      la_comp-type = lo_tab.
      APPEND la_comp TO lt_tot_comp.
      CLEAR: la_comp.
    Regards
    Abhinab Mishra

  • Having a problem with commandButton attribute when i am using it under tabl

    Having a problem with {color:#800000}commandButton {color}{color:#339966}attribute {color}when i am using it under{color:#ff0000} table{color}
    I am using a command button under a table.
    here is the example
    <h:dataTable value="#{wlmHandler.plexes.plexes}" var="{color:#ff0000}onePlex{color}" border="0" cellspacing="0" cellpadding="0" width="100%" border="0">
    <h:column>
    <h:panelGrid border="0" cellpadding="0" cellspacing="0" columns="5">
    <h:commandButton action="" styleClass="tixbutton" value="#{labels.ADD}" onclick="#{onePlex.tran}"/>
    <f:verbatim> </f:verbatim>
    <h:commandButton action="#{createTransaction.transactionCommand}" styleClass="tixbutton"
    value="#{labels.SUBMIT}" actionListener="#{createTransaction.processAction}">
    <f:attribute name="dbName" value="#{wlmHandler.dbName}"/>
    <f:attribute name="plexName" value="{color:#ff9900}#{onePlex.name}"{color}/>
    </h:commandButton>
    </h:panelGrid>
    <h:/column>
    </h:dataTable >
    when i am using this plex name atribute it is giving nullPointerException
    {color:#ff9900}this value #{onePlex.name} i cant able to access inside the command button{color}

    balu i have tried by seeing u r blog.
    this is my structure of tables
    plexes (if i iterate plexes table gives plex object)
    |
    ------ plex (plex table gives transaction object)
    |
    ------transactions(transactions table gives transaction table)
    |
    here i will have a command link to this link i have to pass the plex name which
    will come from
    i tried in this command action with HTMLDataTable getRowData()
    i am not getting the selected row data .i am downcasting this getRowData() to plex.

  • Color  for a Field in alv output

    Hi All,
    I use a field in the ALV grid output which needs to display color (red or green) depending on certain validations. Please tell me how to display color for this field. The program uses oops.
    Thanks.

    Hi
    1. add one more field to ur final internal table say COLOR(4)
    2. in layout wa_layout-style_fname = 'COLOR'. " if its grid
    wa_layout-style_fieldname = 'COLOR'. "if its list
    3. read table itab index 3.
    itab-color = 'C410'.
    modify itab index 3
    4. see program SHOWCOLO for all color codes
    1. Add a field of data type CHAR(3) to the internal output table.
    2. Enter the color code in the appropriate field of the row to be colored in the internal
    output table:
    Code: 'Cxy'
    C = Color (all codes begin with 'C')
    x = color number ('1' - '9')
    y = highlight ('0' = off, '1' = on)
    3. Assign the internal output table color code field name to the IS_LAYOUT importing
    structure IS_LAYOUT-INFO_FIELDNAME field and pass this structure in the ALV call
    interface.
    To enable row coloring, you should add an additional field to your list data table. It should be of character type and length at least 4. This field will contain the color code for the row. So, let’s modify declaration of our list data table “gt_list”.
    you should fill the color code to this field. Its format will be the same as explained before at section C.6.3. But how will ALV Grid know that you have loaded the color data for the row to this field. So, you make it know this by passing the name of the field containing color codes to the field “INFO_FNAME” of the layout structure.
    e.g.
    ps_layout-info_fname = <field_name_containing_color_codes>. “e.g. ‘ROWCOLOR’
    You can fill that field anytime during execution. But, of course, due to the flow logic of screens, it will be reflected to your list display as soon as an ALV refresh occurs.
    You can color an entire row as described in the next section. However, this method is less time consuming.
    Coloring Individual Cells
    This is the last point about coloring procedures for the ALV Grid. The procedure is similar to coloring an entire row. However, since an individual cell can be addressed with two parameters we will need something more. What is meant by “more” is a table type structure to be included into the structure of the list data table. It seems strange, because including it will make our list data structure deep. But anyhow ALV Grid control handles this.
    The structure that should be included must be of type “LVC_T_SCOL”. If you want to color the entire row, this inner table should contain only one row with field “fname” is set to space, some color value at field “col”, “0” or “1” at fields “int” (intensified) and “inv” (inverse).
    If you want to color individual cells, then for each cell column, append a line to this inner table which also contains the column name at field “fname”. It is obvious that you can color an entire column by filling this inner table with a row for that column for each row in the list data table.
    Reward points if useful
    Regards
    Anji

  • Table Control Issue

    Hi all,
              I had a issue where in when I display some records in the table control, it is showing the records and the rest of the records are going into grey mode.
    For example, Iam getting 3 records into the table control.  From the fourth line of the table control, it is displaying the grey color.( I mean disable mode).
    I have a requirement where the end user must have the facility to enter the records manually also.    
    So, How to make the grids of the table control in such a way we can enter some data manually along with the imported data.
    Please let me get some ideas.
    thanks and regards
    Murali Krishna Tatoju

    Hi Murali,
    I have the following logic in the PBO and it works fine,
    DATA: tab_fill TYPE i,
            calc_fill TYPE i,
            add_fill type i,
            no_lines_add type i.
      CLEAR: tab_fill, calc_fill, add_fill, no_lines_add.
    *check the current line number and the data filled.
      DESCRIBE TABLE g_tc_rate_card_itab LINES tab_fill.{color:red} "g_tc_rate_card_itab----> internal table{color}
      IF tab_fill GE 7.
        calc_fill = tab_fill MOD 7.   {color:red}" Initial 7 rows are available in the table for input u can change this as per you requirement or the no. of rows initially available in your screen{color}
        IF calc_fill = 0.
         add_fill = tab_fill / 7.
         add_fill = add_fill + 1.
         no_lines_add = 7 * add_fill.
          tc_rate_card-lines  =  no_lines_add.  {color; red}" tc_rate_card ----> Table control name{color}
        ENDIF.
      ENDIF.
    By this way you can get rid of the ADD button since as soon as the 7th row is filled with data it adds up more 7 rows in the table control which are read for input.
    Regards,
    Abhijit G. Borakr

  • Unexpected results getting data from two fact tables through conformed dim

    Hi all,
    We are getting an unexpected behaviour in our OBIEE 10.1.3.3.3. We have this scenario:
    We have {color:#0000ff}2 fact tables{color}{color:#000000} called F1 and F2. F1 has one measure, f1m1 and F2 has another one, f2m1.
    We have {color:#0000ff}4 conformed dimensions{color}, called D1, D2, D3, Date.
    When we are requesting for individual fact tables, we are getting:
    date d1 d2 d3 f1m1
    dt1 - x - y - z - m1
    dt1 - x - y - z' - m2
    date d1 d2 d3 f2m1
    dt1 - x - y - z - m3
    dt1 - x - y - z'' - m4
    But, trying to obtain a compare scenario, we are getting
    date d1 d2 d3 f1m1 f2m1
    dt1 x y z m1 m4
    Instead of
    date d1 d2 d3 f1m1 f2m1
    dt1 x y z m1 m3
    Looking at query log, we have catched the reason. That's why BI Server is using to solve this request using ROW_COUNT() to join SAWITH0 and SAWITH1 in SAWITH2 result set. So, the order may not be the same in the results sets in every fact table. More or less, generated query is like:
    WITH
    SAWITH0 AS
    (select ....
    from F1),
    SAWITH1 AS
    (select ...
    from F2),
    SAWITH2 AS
    select from (select ...
    ROW_NUMBER() OVER PARTITION (....) c10
    from SAWITH0.d1 full outer join SAWITH1.d1 ....) D1
    {color:#ff0000}where (D1.c10 = 1){color}
    select SAWITH2. ....
    from SAWITH2
    order by c1..c10
    The problems seems to be that BI server is ordering the result sets SAWITH0 and SAWITH1 and getting row number to join this results sets, but this is not getting the correct result.
    Any ideas?
    TIA
    Javier
    {color}
    Edited by: jirazazábal on Mar 13, 2009 2:46 PM

    I have done a logical fact table with two fact table source on it.
    The Sql performed against the database was this one.
    -------------------- Sending query to database named PRODS_AIX (id: <<153418>>):
    WITH
    SAWITH0 AS (select sum(T21296.CONSUMERS_SALES_EURO) as c1,
         T21309.DIVISION_CODE as c2
    from
         DIVISION T21309,
         C_CONSUMERS_SALES T21296
    where  ( T21296.DIVISION = T21309.DIMENSION_KEY )
    group by T21309.DIVISION_CODE),
    SAWITH1 AS (select sum(T21356.ORDER_VALUE) as c1,
         T21309.DIVISION_CODE as c2
    from
         DIVISION T21309,
         DWH_SALES_ORDER_OVERVIEW T21356
    where  ( T21309.DIMENSION_KEY = T21356.DIVISION_KEY )
    group by T21309.DIVISION_CODE)
    select distinct case  when SAWITH0.c2 is not null then SAWITH0.c2 when SAWITH1.c2 is not null then SAWITH1.c2 end  as c1,
         SAWITH0.c1 as c2,
         SAWITH1.c1 as c3
    from
         SAWITH0 full outer join SAWITH1 On nvl(SAWITH0.c2 , 'q') = nvl(SAWITH1.c2 , 'q') and nvl(SAWITH0.c2 , 'z') = nvl(SAWITH1.c2 , 'z')
    order by c1As you can see one select (SAWITH0) for the first fact table C_CONSUMERS_SALES and one select for the second fact table DWH_SALES_ORDER_OVERVIEW (SAWITH1 ) and the two statement are joined with a full outer join.
    I ask me why you have the three select (SAWITH0,SAWITH1 and SAWITH2). Can you please paste the complete SQL performed ?
    Can you tell us also which SQL is performed if you select only the columns from one fact table and not for the other ?
    Regards
    Nico
    http://gerardnico.com

Maybe you are looking for

  • Question about GLPCA table

    hi gurus, i need to find a relation between profit center and G/L account to do same reporting on charges by profit centers. in table GLPCA i have the fields i need, but i have a question: are all the charges traced in this table (GLPCA) ? in other w

  • Old presario sr1030z won't load OS on new hard disk.Error SW build ID different. What gives?

    Using original system disks supplied with PC, I have re-formatted a replacement hard drive and created partitions. The system recovery proceeds normally until the boot for initial setup. Then I get an error titled supplemental disc (which BTW is neve

  • Touch to Express connection issue

    I am using Airport Express with iPod touch 5.0.1, to play music and Pandora through my home stereo. The connection will work great for a day or two with no interruptions and then begin to intermittently drop to the point that it will no longer reconn

  • Indexing table of XMLType

    Hi I have created an table in XML DB of type XMLType. Can anyone tell me how I can index this table? Oracle version is 9.2.0.3.0 Thanks

  • FMS in Batch field to bring data from IGN1 (Goods Receipt)

    Dear all I'm using B1 8.8 PL16. I need to take some information in Goods Receipt lines in to the batch information. I tried the query $[$30.10.0] to do the FMS in a field of Batchs data. The query works if is in a goods receipt line but not in the fi