Alternating backgroundcolor for h:dataTable...

Hello,
how can i implement a dataTable with alternating back-ground-colors per row???
Thank you - greetings Sebastian

You can use the tag rowClasses and specify 2 different CSS styles:
<h:dataTable rowClasses=:"evenRows,oddRows" ...

Similar Messages

  • How can i set the alternating colors for a table rows

    Dear All,
    Please any one help me how can i set the Alternating colors for Table Rows.
    i created a theam there i set the background alternating color to brown and i set the table design properity to alternating. but it is not reflecting.

    Hi,
    The design property in Table properties should work for your requirement. Select "alternating" value for design.
    Please see the API below:
    design
    Determines the appearance of the table. The property design can take the following values and is represented by enumeration type WDTableDesign.
    alternating - The table rows are displayed alternately in a different color.
    standard - The table background has one color. The individual table rows are displayed with grid net lines.
    transparent - The table background is transparent. The individual table rows are displayed without grid net lines.
    Check whether you have changed the right property or not? Also table should contain more than one rows to test this scenario.
    Regards,
    Jaya.
    Edited by: VJR on Jun 17, 2009 6:43 PM

  • Alternative formula for condition base value in cross-application

    Hi,
    I need inputs regarding an issue as:-
    In "TAXINJ" Tax pricing procedure, for a ZXXX  excise related condition type the alternate condition base value (Alternative formula for condition base value) must be of  YXXX condition type of MM Purchase pricing Procedure.
    How to acheive Alternative formula for condition base value in cross-application area as both condition type belongs to different Application area i.e.  ZXXX belongs to TX and YXXX belongs to M.
    One way or only way is thro' routine but I do not know How it works? 
    Thanking you.
    Prashant

    routine is only the best way for u in this case
    u will have to use subtot may be 6 or 4 in MM pricing procedure
    and write a routien in Tax procedure, i n that u will have to write a code where in ur sustem will featch this value in sub total and act a a base for ur cond type in Tax proc for ue condition type.
    what is your excat requirement
    there might be other work around that can help u around
    hope this works
    or write t routines one in MM and Other in Tax proc for ur issues

  • Used of 362 & 363 Alternative formula for condition base value in Define Procedures (Tcode obyz)

    Dear
             what is the  used of 362 & 363 Alternative formula for condition base value in Define Procedures (Tcode obyz)

    362 is used for to pick base value to BASB condition type from MM pricing procedure
    363 is used for all sales tax {VAT (Inventory or set -off) & CST}.
    Tax Calculation on Freight - Different Scenarios
    Please  go through this  link  and  you will know  very well a bout  362 and  363  usage

  • Alternative tcode for AL02 in ECC 6.0

    Hi All,
    AL02 is a tcode in 4.7, its obsolete in ECC 6.0 . i want the alternate tcode for this in ECC 6.0.
    can u suggest me some process to find such alternative tcodes for the obsolete one in the higher versions.

    Hi Nasreen,
    The new Tcode for AL02 is RZ20 in ECC 6.0
    Check this Wiki for the list of old and new Tcodes:
    https://wiki.sdn.sap.com/wiki/display/ERP6/TransactionsChangedinECC6.0
    Regards,
    Chandra Sekhar

  • Alternative data for Vendor

    Hello,
    I would like to use the alternative data for the vendors. But, I canu2019t manage information such as planning cycle at the vendor level.
    The information comes from the material and not from the alternative data of the vendor.
    For example, the MRP always consider the planning cycle from the material and not from the vendor.
    Help would be appreciated.
    Regards

    Hello,
    I dont think u can maintain information relating to material in vendor master..instead u can try in souce list for vendor-material combination.
    Since MRP/Planning will be pertainied to plant-material, you can maintin them at material level and at plant level for proper planning....
    BR,
    Krishna

  • Automatically Assign Alternative Key for BO

    I have created a BO and an Alternative Key for the BO. The screen works fine as long as the user enters an ID in the Alternative Key field. Is it possible to:
    1) Have the Alternative Key be optional and if not filled in (at the first save) have the system assign the "next number" automatically
    2) Have the Alternative Key be only system assigned to the "next number"
    If either of these is supported, what is necessary to do this? For scenarion 2) I could see that perhaps an Alternative Key is not needed at all. However I do need some reference to the object instance.
    Thank you!

    This makes some sense, but I don't think I would have thought of it. When would the "fetch next number" action be called, from Event-AfterModify? Assuming this, then the first test would be to see if the number had already been fetched.
    In this scenario, I would not care about "losing" numbers so I presume that I would dedicate the "next number" when it is fetched. If you try this, please let us know how it worked out.
    I just noticed that if I attempt to create a sales order from the iPhone app that the new sales order screen comes prepopulated with an ID. This would imply a different strategy than using Event-AfterModify. Implies that the code is being executed upon field initiation.
    Edited by: Greg Damian on May 23, 2011 9:59 PM

  • Alternative method for loadObjectLibrary()

    Hi,
    Iam new commer to this openscript.Urgent.. Please any one help me which one is the alternative method for loadObjectLibrary() in openscript9.2.

    Termination
    Set Up Personnel Actions
    Create reasons for Personnel Actions
    Define Action Type for Termination
    Define Infogroups
    Determine Periods of Notice
    Before making the settings in feature 40TRM, you must set the same Action Type for the Action
    Reasons N0, N1 and N2 in the table view Reason for Action (V_T530).
    you can use IMG link under Payroll India -> Termination -> Create reasons for Personnel Actions.
    For example- if 40TRM return value is 10 then there shud be action reasons N0, N1, N2 for the Action 10 in V_T530.
    well 1 more thing, enter the pernr in termination workbench and press ENTER then try to check F4 of 'Reason'.
    I know it looks funny but as the pernr is mandatory field there, you need to press 'Enter' after this.
    Determine Deadline Type
    Maintain Calculation Factor for Retiral Benefits
    Calculation method for Notice Pay
    Try this hope u have maintained the Gratutiy configuration correctly

  • What is an alternative download for microsoftt word using a mac bookair?

    what is an alternative download for microsoftt word using a mac bookair?

    Office 2004 and Other Applications Don't Work in Lion/Mountain Lion
    If you have Office 2004 which is a PPC-only suite, it will not work in Lion/Mountain Lion. You need to upgrade to Office 2011 - Mactopia - or you can try the freeware suite, Libre Office, that is functionally similar to Office 2007 for Windows except it works on Lion/Mountain Lion.
    You may want to consider as well:
    These two suites are similar to Libre Office but not as current or as well-supported:
    NeoOffice
    Open Office
    And, then there is Apple's iWork suite:
    Pages - word processing and layout
    Keynote - presentation
    Numbers - spreadsheet
    Each can open and save Office compatible files. They may be purchased separately via the Mac App Store for $19.99 each.
    As for other software, any PPC-based software will not run in Lion or Mountain Lion because Rosetta is no longer part of OS X. You will need to upgrade to Intel versions of the software.
    (Access to the Mac App Store requires Snow Leopard 10.6.6 or higher and an Apple ID.)

  • Alternative Table for KONV & BSET

    Hi,
    I have a requirement in which i am using KONV & BSET table..but these are cluster tables...so the it is taking so much of time to fetch the data from these two tables....can any body please tell me about the alternative table for konv & bset so that the execution time will be moch more lesser than the previous one..
    Arunima

    Hi,
    The BSET problem is solved......
    but for KONV problem...i used this code.....
    SELECT-OPTIONS:
                    s_vend FOR rbkp-lifnr.
    SELECT knumv
             lifnr
             kschl
             FROM konv AS a
             INTO CORRESPONDING FIELDS OF TABLE it_konv
             WHERE lifnr IN s_vend
             AND kschl IN ('FRB1','FRC1','ZF01','ZF02','ZM12','ZM16','ZM17').
    Arunima

  • Provide alternative content for object

    I'm trying to make my site accessible. I have used Bobby to
    check for accessibility. I have an error pointing to my embedded
    flash moive. The error is provided alternative content for each
    object, line 227.
    How do I do that?
    Line 227:
    <param name="quality" value="high" />
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
    width="600" height="80">
    <param name="movie" value="flash/indexFlash_071206.swf"
    />
    <param name="quality" value="high" />
    <embed src="flash/indexFlash_071206.swf" quality="high"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash" width="600" height="80"
    alt="This is a flash movie of traction power and overhead catenary
    equipment manufactured by IMPulse NC."></embed>
    </object>

    Trying to make Flash accessible is like trying to make a silk
    purse from...
    well, a sow's ear, you know? What does this Flash do for you?
    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
    ==================
    "pqer" <[email protected]> wrote in message
    news:e9m667$qg7$[email protected]..
    > I'm trying to make my site accessible. I have used Bobby
    to check for
    > accessibility. I have an error pointing to my embedded
    flash moive. The
    > error
    > is provided alternative content for each object, line
    227.
    >
    > How do I do that?
    >
    > Line 227:
    >
    > <param name="quality" value="high" />
    >
    > <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=6,0,29,0" width="600" height="80">
    > <param name="movie"
    value="flash/indexFlash_071206.swf" />
    > <param name="quality" value="high" />
    > <embed src="flash/indexFlash_071206.swf"
    quality="high"
    > pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    > type="application/x-shockwave-flash" width="600"
    height="80" alt="This is
    > a
    > flash movie of traction power and overhead catenary
    equipment manufactured
    > by
    > IMPulse NC."></embed>
    >
    > </object>
    >

  • Alternative Content for Object

    Hi all,
    I have a couple of SWF movies in the page
    http://www.gottservices.com/home.asp
    and I'm trying to get the page to pass at level 2 for accessibility
    in Bobby Watchfire. I'm getting the error reported:
    'Provide alternative content for each OBJECT.' for each
    included SWF file. Could anyone suggest what I need to do?
    Best wishes
    Dave

    try pushing ALT+F4 when you open flash

  • Attribute styleclass invalid for tag dataTable according to TLD

    I'm trying to use the styleclass attribute for the dataTable tag as described in Sun's "Core Java Server Faces", pg 179.
    I get the error "Attribute styleclass invalid for tag dataTable according to TLD".
    Any ideas?

    Oooops. I missed the capitalisation of "C" in styleClass.
    Works now.

  • Is there an alternative replacement for the JConsole?

    When I use the JConsole to look at certain JMX values then
    it occurs often that entry fields and info texts are very short and uncomfortable.
    Is there an alternative replacement for JConsole?
    Peter

    JoachimSauer wrote:
    [J]VisualVM has a useful MBean view as well.I really like that one. I have also used MX4J as JMX client a couple of years ago. It was good at that time, don't know how it is now.
    Kaj

  • Location.href not working in firefox. Is there any alternative script for that?

    window. location.href not working when i try to submit an ajax form.
    I am a programmer. This code works on all browser except firefox.
    Any solution for this? or any alternative code for location.href?

    A good place to ask advice about web development is at the mozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the mozillaZine forum site in order to post at that forum.

Maybe you are looking for