The celds colors with xsl

i am using jsp with xml and xsl
I show the results in a table , each in a td.
how can i cahnge the td color in the xsl template?
the example are this forums.
how to change in a xsl template the td color?
thanks

This is clearly an XML/XSL question, I don't know how it got into the JSP forum. Or it might even be an HTML question.
Are you asking how to assign a colour to a table cell in HTML? That's <TD bgcolor=...>. Or if you are generating TD elements in your XSL, you can generate them complete with the bgcolor attribute. If you have existing TD elements that you are transforming, you can transform them to that format too. Sorry I can't be more detailed, I really can't tell what you are trying to do.

Similar Messages

  • How Do I Save the Background Color with my File

    I am operating on a Mac Air Book with the new Adobe Creative Cloud. I am new to Illustartor, so do not know how to use it well. I saved my document as a pdf, however, in the preview, it does not have the background color, but is jjust plain white. How can I save my document so that the color will show onto the pdf?

    this is how it looks on Adobe Illustrator
    however, when I save it as a PDF, it looks like this
    how can I save it so that the color in the background from the first image show on the PDF?

  • Filling the transparent color with a new color in an image

    Hi,
    I need to fill the transparent color of an imageicon with a new color.
    I tried building a filter, but i have no results.
    Here's my code:
    private static class TransparentColorFilter extends RGBImageFilter {
    private int transparentColor;
    private int newColor;
    public TransparentColorFilter(int transparentCol, int newCol) {
    canFilterIndexColorModel = true;
    transparentColor = transparentCol;
    newColor = newCol;
    public int filterRGB(int x, int y, int rgb) {
    if (rgb == transparentColor) {
    return newColor;
    return rgb;
    public static ImageIcon makeColoredIcon(ImageIcon icon, int color) {
    PixelGrabber pg = new PixelGrabber(icon.getImage(), 0, 0, 1, 1, false);
    try {
    pg.grabPixels();
    } catch (InterruptedException e) {
    return icon;
    IndexColorModel cm = (IndexColorModel)pg.getColorModel();
    int trans = cm.getTransparentPixel();
    if (trans == -1) return icon;
    return new ImageIcon(Toolkit.getDefaultToolkit().createImage(new FilteredImageSource(icon.getImage().getSource(),new TransparentColorFilter(cm.getRGB(trans), color))));
    and the call is
    ColoredImageIcon c = new ColoredImageIcon();
    Color cc = Color.RED;
    ImageIcon newIcon = c.makeColoredIcon(myIcon, cc.getRGB());
    where myIcon is an IconImage.
    Where is wrong? I need to create a new ColorModel with no transparent pixel?

    10195331= 0x9B9183 in hexa notation if this helps.

  • I have a Canon MX880. It quit printing with the cyan color for no apparent reason.

    I have a Canon MX880 printer. For some reason, it no longer uses the cyan color with printing. I have all colors except those that need cyan. The cartridge is full. Cleaning didn't help. 
    Solved!
    Go to Solution.

    Hi br3753,
    I know you mentioned already doing cleanings, but I wanted to recommend if you havent already done so to please try 3-4 consecutive cleanings for the best results.  If this does not work I would recommend using the Contact Us link to get in touch with out live support staff who can provide warranty options.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • How to blink the appliaction titlebar with different color ?

    Hi guys
    I stuck in a problem . actually i want to blink the titlebar color with 2 different color while the window is in minimize state.
      just like skype when the message comes the titlebar blinks with two different colors if it is in minimize state.
    Please guide me.
    Thanks and regards
      Mohit

    Hi Mohit,
    You could try using the notifyUser() method for your native window. See http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/NativeWin dow.html#notifyUser() for more information.
    Hope that helps.
    Regards,
    Sanika

  • How to change the background color of a screen field

    Hi All,
    I have created a screen, in the output, the fields in the screen are having same color with the screen.
    My client want the fields to be in the gray color.
    For more clarification,
    Goto SE11, Enter any table name, Click on display
    In the next screen, observe the fields
    Name, Short text, Last changed, Status are in the same color with the screen. Where as their values...
    MARA, Material Master: General Data, etc are in the screen with gray background, I want in that way.
    Any hint...
    Thanks,
    Kal Chand

    hi
    As i understand, in your scree u have taken "pushbutton" instead of taking  "I/O field"
    So make ur fields to "I/O fields"
    Reward if it is helpful.
    Thanks
    Siva Kumar

  • Is there a way to change the font color for emailing and the signature?

    Is there a way to change the font color with email signature on the iPhone and iPad?
    I changed the color in Word on my laptop, emailed and copied to my signature, but it converts it back to black........

    Looks like you didn't get a reply on your post, but it is still a problem.  Font size is supposedly changeable via "Accessibility" in Settings, but it doesn't work.  You can turn on "Zoom".

  • How to programmatically change the cell color of an ADF table ?

    Hi all,
    I have an ADF table with some fields on it. Depending on the value of a field named, say, "F1", I would like to change its background color.
    So far I can change the field color with this EL expression inside the InlineStyle table column property:
    font-size:medium; background-color:#{viewScope.myBean.setColor};
    where setColor is a bean function, in where I access the field "F1" via binding, parse its value, and return the right value - so far, so good.
    The bad thing is, the InlineStyle affects that field in all the rows of the table, while I would like to change only the field in the rows, which have that specific value in it.
    So for example having the rows:
    F1
    abc#1 ----> currently selected row
    cde#2
    efg#3
    I want to change the background color to all the F1 fields which have a "1" after the '#' and let the other "F1" row cells background color stay unchanged.
    But as you can imagine, the InlineStyle affect the "F1" background color in all the rows (assuming that the first row of the table is selected).
    So the question: how to access a single cell of a row in an ADF table, and programmatically change its background color ?
    So far I can iterate through the ADF table with:
    BindingContext bindingctx = BindingContext.getCurrent();
    BindingContainer bindings = bindingctx.getCurrentBindingsEntry();
    DCBindingContainer bindingsImpl = (DCBindingContainer) bindings;
    DCIteratorBinding dciter = bindingsImpl.findIteratorBinding("aTableIterator");//access the iterator by its ID value in the PageDef file
    RowSetIterator rsi = dciter.getRowSetIterator();
    System.out.println("rsi getrowcount = " rsi.getRowCount());+
    Row row = null;
    +if (rsi.getRowCount() > 0) {+
    row = rsi.getCurrentRow();
    System.out.println("row attr = " Arrays.toString(row.getAttributeNames()));+
    System.out.println("class : " row.getAttribute("F1").getClass().toString());+
    +}+
    +while (rsi.hasNext()) {+
    row = rsi.next();
    System.out.println("row attr = " Arrays.toString(row.getAttributeNames()));+
    +}+
    Regards,
    Sergio.

    Hi,
    I mean a specific cell within a row.
    Here are two pictures that show an ADF table with two rows and some fields on it:
    https://skydrive.live.com/?cid=7D3084D8BF755808&id=7D3084D8BF755808!107&sc=documents#cid=7D3084D8BF755808&id=7D3084D8BF755808!107&sc=documents
    bild_A is what I have, bild_B is what I would like. Note that:
    in bild_A the first row contain a yellow background color for the field F4 and an orange background color for the field F5. This is correct, because F4 has an "1" at the end of its string value, and F5 has a "3" at the end. So far so good.
    But the second row (again, bild_A) has also the fields F4 with yellow background color, and the field F5 with orange background color, even if the value in both fields is 0.
    What is should be, is shown in bild_B.
    The problem is that the solution provided affects all the cells of the column, while I need to change the background color of a single cell, and leave the other unchanged (see bild_B).
    I hope that clarify a bit :)
    Sergio.

  • Why do you need to shift click to select stroke color with eyedropper tool?

    Hi,
    Quick question..
    Why do you need to shift click to select the stroke color with the eyedropper tool?
    I had the problem where I could not do this earlier and found the solution on this forum.
    However I still do not understand the reason for this.
    Appreciate if anyone could explain it to me.
    Thanks in advance.
    Nori

    Hi, Nori,
    If you have the red and blue rectangle selected and the Fill square selected in the tool panel, as at bottom left, then hold the shift key down and click with the eyedropper on the green stroke in the upper rectangle, then the red fill will turn green but the stroke stays blue. If you select Stroke, as at bottom right, then shift-click with the eyedropper on the green stroke, the blue stroke will turn green but the fill stays red. With Fill selected and shift-click on the yellow fill, the red fill turns yellow; with Stroke selected the blue stroke turns yellow. If you do not depress the shift key, the red and blue rectangle will become yellow and green.
    It's complicated to explain, but I think that if you try it step by step it will make sense to you.
    Peter

  • How do I hide the background color?

    I am having trouble with backgrounds, I think.  When I move a clip to the work area all I get is a solid red color I believe it to be the background color) with the sound still there.  What am I doing wrong?

    I'm not sure why you're seeing red. If anything, a background should be black before you add anything to it.
    If you want a background behind a clip, just put it on the Video 1 track and put your clip on the Video 2 track above it.
    If your clips are all coming out red, it could be that they're using an incompatible codec or that you've got a mismatch between project settings and your source. What type of camcorder did this video come from and how did you get it into your computer? What project settings are you using in Premiere Elements?
    I've got several books available on Premiere Elements available on Amazon.com and from Muvipix.com. If you need some introductory training with Premiere Elements, check out my Basic Training with Premiere Elements tutorials, the first batch of which are free on Premiere Elements support site http://Muvipix.com.

  • When converting word doc to pdf, my images with text only show the background color of the text box.

    I have a word doc that I am trying to conver to pdf.  I have jpegs with text boxes on top of them on one page.  It looks great on the screen but after I convert to pdf, the text boxes only have half the text, the first half of the text box is just white - the background color.  If I take the background color out of the text box, the text converts over fine but I need the background color.
    I have tried many things here on the print settings, standard, high quality print, unchecking the compression on the images.  Any help?

    Thank you for your posting. These forums are specific to the
    Acrobat.com website and it's set of hosted services, and do not
    cover the Acrobat family of desktop products. Please visit the
    following forums for any questions related to the Acrobat family of
    desktop products:
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/

  • Populating the screen area with color

    Please help me
    how could i populate the screen area with color based on the x,y position values getting from the database table
    x,y positions are saved in the database already i want to use those values

    Do you mean if x is 200 and y is 300 then you want a color like 0x200300?

  • How to highlight the entire folder with the tag color, as before?

    I've always highlighted important folders with colors, so that they stand out among others in a list for quicker access. Now in Mavericks list view, there is only a small color dot to the right of the folder's name (sometimes very far from the folder's name if the column is large). As a result, it is much harder to pick important folders. Is there any way to apply the tag color to the whole folder, as it used to be in all previous systems? Or at the very least, to move the dot to the left of the folder name within lists, as in Icon view? I really hope Apple did not remove this feature simply for the sake of design. Thanks.

    mistersquid, S. G. is actually referring to the new Tags feature in Mavericks. This replaces entirely the Labels feature in previous versions of the OS, as far as I can tell.
    Labels would let you apply a color highlight to a folder. It would appear as a color behind the entire row.
    With Mavericks, however, Labels are gone and are replaced with Tags, which just puts a small colored dot off to the right of the folder name (and it's always like this, not just when you click on the folder), and some of these aren't distinct enough from one another (i.e. purple and gray look almost identical if you're scrolling through a series of "gray" folders pretty quickly—you may miss that one purple dot). Also, like S. G. mentioned, these can be pretty far off in your periphery if you've got long folder names, so this just adds another level of "hard-to-see-ness" (it's a technical term ).
    I'm a graphic designer and I have been using Labels to colorize my job folders according to their current status. For example:
    No label = job is open/in progress.
    The next color schemes were more of a "stop light" effect, going from red to green:
    Red = job is approved. Prep final files and send to printer/client.
    Yellow = job is done. Prepare job ticket/calculate time for billing.
    Green = job is done and job ticket is ready to go (hence the green color) to my co-worker for billing/invoicing.
    Gray = job is finished/billed/closed (i.e., I've "grayed it out").
    Purple = job transferred to another co-worker (i.e., I got too busy and they're working on it now). This one is a rarer color, and with Tags it's a bit difficult to discern one or two purple (more like a light lavender) dots in a sea of gray ones.
    I agree with S. G. and would love to see a stronger means of identifying the status of a project at a glance reappear—perhaps as a selectable alternative to Tags in the Finder preferences (because I can definitely see how the two means of colorizing a folder could compete with one another), like a checkbox to the effect of "Use Labels instead of Tags," similar to the "Open folders in tabs instead of new windows" option.
    Feedback submitted. Thanks, yodathejedi, for the link.
    Message was edited by: Xiebinrui -- oops, duplicated word. Fixed!

  • Is there a way to change the pin color in iPhoto so I can pin my photos  and places from those from others.  i think it would be cool to see where my friends have also been but not mix it with mine.  Thanks

    s there a way to change the pin color in iPhoto so I can pin my photos  and places from those from others.  i think it would be cool to see where my friends have also been but not mix it with mine.  Thanks

    No
    Suggest to Apple
    You can make a smart album based on camera to seperate photos
    LN

  • Indesign issues. Impossible to fill a form created by the pen either with color either with an image. The image is there but is invisible. Same problem with the line (impossible to color it or to change the tickness. Is there anything to change in the pre

    I have recently installed Indesign CC (I had the CS 5.5). I have some issues in doing simple things such as fill in a forma created with the pen either with a color either with an image. The image is there but is invisible. same issue when I want to draw a line. Impossible to color the line  and when I increased the thickness, it was creating a sort of wrap around the shape. have you ever encountered this kind of issue ? Thanking the community for his help.

    You will probably get better help in InDesign
    This forum is about the Cloud as a delivery process, not about using individual programs
    If you start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

Maybe you are looking for

  • How to make a tabstrip visible and invisible again?

    Hi I have a GUI with Fields, Texts, Checkboxes, Radio buttons, a Button and of course a tabstrip with 7 tabs. Before I want to show some data in the tabs of the tabstrip, I have to fill the fields, check a radio button and checkboxes. After filled al

  • 2 wireless BT speakers, 1 iphone5 playing iTunes-does that work?

    Hi wondering if someone has a recommendation. I ride bikes with a friend and would like to share my iTunes music in the ride. Could we each hang a "grenade" wireless Bluetooth speaker from out bikes and BOTH be able to hear my iTunes. Or other option

  • Thumbnail opens window to watch youtube...how?

    I want a thumbnail to display the HTML widget that has the embed code (or even the youtube widget) for a youtube in a properly sized window (say 50px bigger than video). I have looked at a lot of Tips & Tricks type web sites, and have not been able t

  • PL/SQL To Replcate Data

    I'm working on a project where I need to transfer records between two Oracle 9i databases running on separate servers in response to a user clicking a button on a Windows form. My intial thoughts were to create a table one one database which I could

  • Is upgrading to Mac OS X Mountain Lion applicable to other countries, like the Philippines?

    Is free upgrading to Mac OS X Mountain Lion applicable to other countries, like the Philippines?