How to change the button colour automatically????

i want to change the button color automatically ,if there is no data in next page ....plzz help

Hi,
create a binding for the data collection displayed on next page and do
styleClass=#{bindings.iterator.estimatedRowCount<=0?'redClass' : ''}
Then define a custom skin (see how to skin an application in the web developer guide) and use
.redClass .af|commandButton{background-color:red}
in this skin. Now when the page renders or when you PPR the button, the color should apply or not. Btw, the same EL on the disabled property or the rendered property would do the same trick (probably better than just a color change)
Frank

Similar Messages

  • How to change the outlook -colours - of calendar

    how to change the outlook -colours - of calendar

    I think it is not necessary to modify the Calendar button size.
    The Calendar button actual size is 20X20.
    But the gif file which is used by Calendar button is not filled by icon.
    It seems that the height is smaller than the other buttons.
    Edited by: user12291797 on Dec 3, 2009 12:59 AM

  • How to change the button's clicked color

    Dear all,
    How to change the button's clicked color
    I want it to be white in color as my button's background color is white
    Thanks

    How to change the button's clicked colorvia the UIManager

  • How to change the button image in theme editor

    How can i change the button image in theme editor. If i upload another button image in theme editor it doesn't show me the full image. it cuts it from the right. how can i view  the full image as a button.
    Thanks

    HI,
      Check this link
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/ep/modifying%252bthe%252blogon%252bpage
    Custom logon page
    Portal Customizations Intro - Login Part 1
    Change the portal logon page image programmatically
    Branding
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a000df6b-586a-2910-e6be-9fee831d5a30
    Thanks,
    Gopi

  • How to change the button size of Calendar prompt

    I want to change the button size in Calendar prompt. How to change it?
    Thank you!

    I think it is not necessary to modify the Calendar button size.
    The Calendar button actual size is 20X20.
    But the gif file which is used by Calendar button is not filled by icon.
    It seems that the height is smaller than the other buttons.
    Edited by: user12291797 on Dec 3, 2009 12:59 AM

  • How to change the font colour in jstudio

    Dear friends
    I develop one application in jstudio.I use localizationsurropt and message properties to be used to set the japanese language.And i use net beans to support mobile device.It is a mobile application.The current text colour will be black in message properties.I want to change the text will at different colour.I dont know how to change.Please any one can help me.Its urgent.
    regards
    sridhar

    I use this program.In program the "str1"used which referred to get the string from message.properties.I pass the string there only.I dont know how to the color in message properties.
    public void mPage19(Graphics g){
         g.setColor(255,0,0);
         bPrint=false;
         // g.setColor(70,70,70);
              if(temp==4){     //Prone Half Lotus
                   str1=LocalizationSupport.getMessage("BENEFIT1");     
         else if(temp==5){     //Head Stand Position
                   str1=LocalizationSupport.getMessage("BENEFIT2");
         else if(temp==6){     //Shooting Bow Pose
                   str1=LocalizationSupport.getMessage("BENEFIT3");
              else if(temp==7){     //Intense East Stretch Posture
                   str1=LocalizationSupport.getMessage("BENEFIT4");     
              else if(temp==8){     //Seated Angle
              str1=LocalizationSupport.getMessage("BENEFIT5");
              else if(temp==9){     //The Peacock Posture
                   str1=LocalizationSupport.getMessage("BENEFIT6");
              else if(temp==10){     //Head to Ankle Posture
                   str1=LocalizationSupport.getMessage("BENEFIT7");
              else if(temp==11){     //Standing Bow Posture
                   str1=LocalizationSupport.getMessage("BENEFIT8");
              else if(temp==12){     //Expanded leg Stretch
              str1=LocalizationSupport.getMessage("BENEFIT9");
              else if(temp==13){     //The Warrior Posture
                   str1=LocalizationSupport.getMessage("BENEFIT10");
         }

  • I have updated my OS to IOS 7. how to change the icon colours

    I have just updated IOS 7 on my Iphone 5. How do I change the bright ness  or colours of the icons on the screen

    Hi there,
    You mean only icon's? I don't think there is an option for that.
    All Brithness: Settings - Wallaper & Brithness or Control Center.
    Hope it helps,

  • How to change the button dynamically?

    Hi,
        My Application is that,when i will press the button(on state-Enliglish text will come on the button,off state-Hindi Text will come on the button).
    So,my problem is that i can't write hindi text on the button,so only way is that i can port the image from the file,so how cal i do this without customizing the button.
    With Regards
    Dibya

    Broken Arrow wrote:
    Baji wrote:
    Place a boolean button in the LabVIEW front pannel and right click>>Advance>>Customize. ......
    Message Edited by Baji on 05-29-2009 04:23 PM
    The question, for whatever reason, was how to do this without customizing the button, although your solution is obviously the best way to do it, and how it is meant to be done.
    So, my question to the original poster, why can't you customize the button like Baji has suggested?
    Agreed.
    I would also encourage posting both in English and your native tongue to try and clarify the issue.
    Looking forward...
    Dynamic language changes are best handled using property nodes to change the captions and text of all FP objects. It is a lot of work to set-up the first time but once completed, maintaining the code is straight froward.
    If there are issues with just changing properties not fullfilling all reqs then a Picture Control takes care of most of the "all other cases" rather well (but is seldom trivial).
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to change the button lable for LOV ??

    when you press for lov you will get this LOV pop up. At the pop up, there are button , CANCEL,OK and FIND. i want to change to different word.
    any idea...how to do it.
    hairol

    see.. this is my problem,
    i'm writing a program to be used by users who don't speak english. I can change the prompt, lable and since the character set used is similar to english and that language is not supported so we use english.
    the problem is that these three button cannot display correct word for it. so my application will become half english and half other language.
    It believe it looks ugly.
    can't oracle do something to solve this problem.
    hairol

  • How to change the Button content as CamelCasing in Windows phone 8.1 Message dialog

    This was already raised in
    Stack over flow, While showing the native Message dialog in Windows phone, i cant change the captions as camel case of command buttons. Is this a bug with windows phone 8.1(WinRT) are is there any workaround to fix this issue?
    Sankar

    This isn't recommended and violates the system style.
    If you want a custom dialog you need to use a different control. The MessageDialog always lower cases the buttons to match the system style and is not generally customizable.
    If you use a ContentDialog you can customize it fairly extensively, and it doesn't try to fix the case of its buttons. You'll probably want to create your own ContentDialog class (there's a template under Add.New Item...) with your desired contents, but here's
    a quick content-free example:
    ContentDialog cd = new ContentDialog();
    cd.Title = "My Title";
    cd.PrimaryButtonText = "CoNtInUe";
    cd.SecondaryButtonText = "sToP";
    await cd.ShowAsync();
    Also note that the guidelines
    for message dialogs suggest using clear and specific verbs rather than generic OK/Cancel.

  • How to change the Format Colour?

    Hi,
    I found that something are really useful~in the Inspector~Link tab~Format tab,it can change the colours of the instruction like NEXT,PREVIOUS...
    But this useful skil only able to apply on some pages like the Blog~Entries;but it seems doesn't work on the page of Photo Album~those command of Back to index,play slideshow,subscribe...are not able to change as the changing in Blog Entries...
    May someone teach the skil to do that?or...it can't be?
    Thanks!!

    Hi Richard,
    I think you're referring to the entries in the "Body" section of the tab definition.
    Look further down the page at the "Current Tab" and "Non Current Standard Tab" settings - this is where the actual tabs are constructed.
    Regards
    Andy

  • How to change the Button Style

    I have some buttons(all are submitt buttons) in my page, when i run my page locally the styles are same but when i deploy it in server the button style changes to rectangular, i tried by giving attribute set value to /oracle/apps/fnd/attributesets/Buttons/Go, even then the same problem, can any one give me the solution for this

    Babu,
    Can you confirm Self Service Accessibility Features profile value is set to "Standard Accessibility".
    --Mukul                                                                                                                                                                                                                                                                                                       

  • How to change the background colour of the Passport size photos already available in soft copy

    Please advise to change the back ground color of the Passport photos already available in soft copy

    If images have transparent backgrounds you can change the fill color of the frame, otherwise you'll have to use an image editor like Photoshop.

  • How do you change the background colour of the bottom part of calendar on iPhoto

    I have created a few calendars and photo books from iPhoto, but can't seem to find how to change the background colour of the bottom part of the calendar (where you write) to match the top part where you insert the photos.  Consequently you end up with a mismatch which doesn't look as good.  I can't believe that apple have not considered this since here are about 5 or 6 colours to choose from on the top section.  I am not running the latest version of iPhoto (which is 11 I think) as I'm not on Lion- is this significant??

    Some theme will let you change the color of both pages. The travel themes, Vintage, Seasons, Kids, Colored Paper, Modern Lines, Classic (only the border around the date area), With the Big Date theme you can change the background on both pages.
    Send a feature request to Apple via http://www.apple.com/feedback/iphoto.html.
    OT

  • How to change the colour of chart in WAD.

    Hi,
    I have problem with web report. The web report with bar charts used to show with different colours earlier. Now when I execute the web report, the chart displays in single colour (All the rectangular bars in the charts are displayed in single colour say for example red). customer would like to see the chart with different colours. Please put some lights on it how to change the colour of chart in the report.
    Thanks,
    Sravan.

    Hi Krish,
    I have followed the steps which you suggested, but I am unable to see the changes when I execute the web report.
    I could able to see the colour changes to the bars in the chart in the preview (i.e when I select the series 1 and change the colour for series 1 under Area properties). Like that I have done for all the 5 series, then I have clicked on Complete button, saved the web template and executed it, and I could able to see the changes in the preview but not in the report after execution.
    I have two charts in my case, one is <b>Job function</b> chart and the other is <b>Job type</b> chart. The Job function chart is displaying with different colours from the begining, but the job type chart is displays all the columns in RED colour.
    Is there any setting I need to do after selecting the colour at the series level.
    Please correctt me if I am worng in doing the procedure.
    Please update me how to do it...It is usefull if you can come back to me ASAP .
    Thanks,
    Saravanan.
    Message was edited by:
            SARAVANAN PAYANI
    Message was edited by:
            SARAVANAN PAYANI
    Message was edited by:
            SARAVANAN PAYANI

Maybe you are looking for

  • What font is used for the menu of Illustrator CS5?

    What font is used for the menu of Illustrator CS5? I know how to change the default font, which is used to input characters. But, I do not know how to check the font used in the menu. Is it the font that is described in the following files? C:\Users\

  • Inserting an html file into a div

    I have an html file that includes jQuery script, CSS and image links (a rotating banner). I need to insert it into the wrapper template on the front of my site. Currently there is a rollover image where I need the banner to go; <!-- InstanceBeginEdit

  • Pacman upgrade error with /usr/lib/libgmp.so.1

    /media # pacup Password: :: Synchronizing package databases... core is up to date extra is up to date error: failed retrieving file 'community.db.tar.gz' from ftp.archlinux.org : Connection reset by peer error: failed retrieving file 'community.db.ta

  • Help with a Kernel Oops that I don't understand

    I'm in the process of installing Arch on a new setup based on a Zotac-IONITX-b motherboard. I have pretty much come to the end of the initial set up of Arch but I am experiencing something that makes me clueless, A kernel Oops. This is the output fro

  • Basic /12 through indirect evaluation

    Dear All, My client have a scenario. Medical amount is 1/12 of basic pay.  Both Basic Wage and Medical Wage and entered in Infotype 0008 In infotype 0008 basic pay when Medical wage is entered system should calculate 1/12 of basic eg. Basic pay 15000