CommandToolbarButton Visually Different in Demo, No Tag Differences

Looking at the af:commandToolbarButton in the TagGuide of the ADF demo, I noticed that some buttons are rendered initially looking like a button and others are "flat," and don't look like a button until you hover over them. There is nothing in the button tag that appears to make this distinction and the buttons in question do not have id attributes to apply a different style.
Here is a portion of the code from the demo page. Looking at the tag guide, the "No icon" button looks like a button, but the "back" and "forward" buttons do not. Also look at the "Click" and "Me" buttons, though code not posted here.
<af:group>
                      <af:commandToolbarButton text="No icon" shortDesc="No icon" />
                      <af:commandToolbarButton text="back" shortDesc="back"
                        disabled="true"
                        icon="/images/backarrow.gif"
                        disabledIcon="/images/backarrow_gray.gif" />
                      <af:commandToolbarButton
                        text="forward"
                        shortDesc="forward"
                        icon="/images/icon_forward_button.gif" />
                    </af:group>Can someone tell me how to go about getting my commandToolbarButtons to look like a button?
Thanks,
Al

Ric,
I have CommandToolbarButtons with text only (no icons), and I want them to appear as buttons, not flat, but they appear flat, contrary to what you are saying the expected behavior is. Any ideas?
I created my toolbar/buttons by dragging the components into my jspx file, the only attributes I changed were the button text and ids and added actions.
Here is my code:
<af:toolbox binding="#{backing_Bean1.toolbox1}"
            id="toolbox1">
  <af:toolbar binding="#{backing_Bean1.toolbar1}"
              id="toolbar1" flex="0">
    <af:group binding="#{backing_Bean1.group2}"
              id="group2">
      <af:commandToolbarButton text="Add"
                               binding="#{backing_Bean1.addButton}"
                               id="addButton"
                               action="add"/>
      <af:commandToolbarButton text="Delete"
                               binding="#{backing_Bean1.deleteButton}"
                               id="deleteButton"
                               disabled="true">
        <af:showPopupBehavior popupId="deletePopup"
                              align="afterEnd"
                              alignId="deleteButton"/>
      </af:commandToolbarButton>
    </af:group>
  </af:toolbar>
</af:toolbox>Thanks,
Al

Similar Messages

  • BI 4.0.6 Visual Differance - Plugin not found error. (VDS 00007)

    To All,
         Issues with Visual Differnace in BI 4.0 w/ SP6, still unable to run compare between LCMBIAR.  I am getting Plugin not found error. (VDS 00007).
    Does anyone have Visual Differance working yet.
    Gavin

    Gavin,
         This is know error, check out the support message
    1575010 - SAP BI 4.0 Visual Difference error : Plugin not found error. (VDS 00007)
    Check out the Resolution:
    Resolution
    This behavior is by design.
    It is finally working under BI 4.1
    Regards,
    Ajay

  • Why my calendar display different there is one day difference from different  when I see main screen and open the calendar

    See my Why my calendar display different there is one day difference from different  when I see main screen and open the calendar

    I too am having the same issue only I am in Regina, Canada.  iCloud appears to think Regina, Canada is in the Central time zone which it is, but it does not use Daylight Savings time.  My PC is Windows 7 and I am using Outlook 2010.  I have iCloud on iPhone 5 and iPad 2.   Terribly frustrating!

  • MM INVOICE created with different Payment Terms and 2 differents PO.

    I will explain with an example to understand better the issue and why this could happen, (for the same Co.Code):
    On 05.09.2011, 5203795529 was posted with payment terms D030.
    At that time, PO #: 4501105395 was having payment terms D030 while PO #: 4501232207 was having payment term D031.
    Invoice 5203795529 was posted successfully.
    On 12.09.2011, 5203806574 was posted with payment terms D030.
    At that time, PO #: 4501105395 was having payment terms D030 while PO #: 4501232207 was having payment term D031.
    Invoice 5203795529 was posted successfully.
    In OCT, user receives another invoice for this 2 POs (4501232207 & 4501105395) and trying to post MIRO again but this time, user encountered error 'Payment terms in purchase order 4501232207 differ from current terms'. In order to proceed, user has changed payment term for 4501105395 from D030 to D031 on 17.10.2011 and proceed with invoice posting without error. 5203878342 was posted on 17.10.2011.
    The vendor always has the same Payment Term: D031
    Now the question is, why user is able to post without any problem previously even though there's different payment terms on both POs and not now anymore?.
    Thanks

    Thanks Jayavar,
    Nobody has changed anything, (I mean the PO Payment terms),  until October in PO. 4501105395
    The error message is when the user try to post with MIRO PO´s (4501232207 & 4501105395):
    "Terms of payment in purchase order 4501232207 (always with Payment term D031), differ from current terms"
    Message no. M8349
    Diagnosis:
    The terms of payment in the current invoice differ from those in the current purchase order 4501232207, other terms of payment were stipulated:
    Terms of payment key D031
    1st cash discount period 31 days 0,000%
    Either you have selected more purchase orders with different terms of payment, or you have changed the terms of payment manually.
    But the strange thing is in SEP, there's already this difference & there is no problem posting the invoice & the problem only comes when in OCT.
    Thanks and Rgs
    Francisco

  • Problem using different plugins via OBJECT tag

    Hi all,
    before installing JRE 1.5.0_06 everything was well. I had 3 different JREs (1.3.1_02, 1.3.1_08, 1.4.2_06) installed on one Windows system which could be invoked in Internet Explorer 6 for an applet as described in http://java.sun.com/j2se/1.5.0/docs/guide/plugin/developer_guide/version.html
    example:
    <HTML>
    <HEAD>
    <TITLE>Java Plugin 1.3.1_08</TITLE>
    </HEAD>
    <BODY>
    Java Plugin 1.3.1_08:�
    <OBJECT classid="clsid:CAFEEFAC-0013-0001-0008-ABCDEFFEDCBA" width="150" height="25">
    Plugin missing
    <PARAM name="code" value="HelloWorld.class">
    </OBJECT>
    </BODY>
    </HTML>
    (Note: The output of my HelloWorld class is the VM's version number.)
    After installing 1.5.0_06 it doesn't work anymore. The new 1.5.0_6 is always used. Does anybody have a clue?
    Thanks in advance
    Peter

    I've seen a similar problem that didn't seem to exist with JRE 1.5.0_05 but does with 1.5.0_06. On the JRE 1.5.0_06 workstation the Windows registry contains CAFEEFAC-... entries for what looks to be all 1.3/1.4/1.5 JREs and points them all to the 1.5.0_06 JRE plugin dll, even though there is still a 1.4 JRE on the workstation. So even when you specify an OBJECT tag with a classid such as classid="clsid:CAFEEFAC-0014-0001-0010-ABCDEFFEDCBA" that should load the 1.4 plugin by design, the 1.5 plugin is loaded. This seems to defeat the multi-version JRE support. The JRE 1.5.0_05 workstation on the other hand didn't overwrite CAFEEFAC-... Windows registry entries for previous JREs, and properly loads a specfic JRE's plugin when specified by a CAFEEFAC-... classid in the OBJECT tag.

  • I cannot get ipod to start, Logo for power is the only one that appears but it will not recharge either by using pC or dock. I have used two different connecting wires but no difference in response

    I cannot get Ipod to start. The only logo that comes up is the power needed but in spite of connecting the ipod to PC and using two different connection leads the ipod does not respond. I also tried to power it using a i station 7 but no difference. I tried all the usual pressing of both menu and play buttons. Is it fixable?

    Thanks for your tip. I tried leaving the ipod in the I -Station  7 overnight and then reconnected it to my PC> It asked if i wanted to reset to factory settings. I did this and then the Apple logo came back on .After that a very sad looking logo of an ipod came on with  www.apple.com/support/ipod underneath. I feel that either burial or cremation is my option now for this old ipod.

  • Can I get my Note 3 Replaced with a newer build or switch to a different phone and pay the difference?

    First off, let me say, I really love my Galaxy Note 3 -- it is an awesome Smartphone...  Unfortunately, I am one of the users of the problematic Note 3s...  I got the phone and it worked great for about the first week I had it (I got it outside of the area where I live)...  then  I got it home... I usually have a good 4G signal at home -- inside and out.
    My office is literally just on the other side of my college campus (less than a mile away)...  I go from a good 4G signal to no signal in my office, with the exception of about a  1 foot square section on my desk where I can get 1x, and occasionally 4G.  I worked with the support team on Twitter and was sent a new SIM card, and that seemed to help unfil a few weeks ago.
    Every other Verizon 4G phoen I have seen at my office almost always has at least 2 bars of 4G... If not 4G, then it will have a perfect 3G signal.  (To compare, I upgraded from the iPhone 4, which never had a problem getting a 3G signal anywhere)...  I would expect the Note 3 would at least keep some kind of a signal in an area where everybody's 3G signal is nearly perfect....   At the local walmart, I can barely get a signal outside, and you can forget it inside...  (Ironically, there's a verizon store at this shopping center as well... when I walk in the verizon store, my phone magically switches back to a decent 4G signal...)
    Ideally, I'd take new Note 3 that doesn't have this problem, or I could upgrade to the Note 3 Developers Edition that also doesn't have this issue.  I really love the Note 3 and would prefer to stay with the Note 3...
    How can I work with you guys to make this happen?
    Thanks!

    Hey Lyndsey & Ada,
    I appreciate yawl following up with me -- this is the first time I have actually been able to get signed into my community account in a while.
    I did managed to get some help out of the Twitter support team and they sent me another phone.  My second phone (the one I just received a couple of weeks ago now) definitely worked better for a few days and then went bad again.  I am beginning to wonder if the PRL needs to be updated...  Unfortunately, I do not remember what the original PRL was when I first turned the phone on.  But I know that it is on 15296 now.
    I am back to having to leave my phone sitting in one particular spot in my office where it has any kind of signal.  I go back to my original question -- since I have had so many problem with this phone, can I upgrade to the Note 3 Developers Edition and just pay the difference?
    Thanks!
    ~Brant

  • Using different content with template tag (struts)

    I developed a page according to the examples on the following link.
    http://jakarta.apache.org/struts/api/org/apache/struts/taglib/template/package-summary.html
    my problem is, that i want to use different pages as content. How can i do this?? do i need, to write multiple pages like this??
    <%@ taglib uri='/WEB-INF/tlds/struts-template.tld' prefix='template'>
    <template:insert template='/chapterTemplate.jsp'>
    <template:put name='title' content='Templates' direct='true'/> <template:put name='header' content='/header.html' />
    <template:put name='sidebar' content='/sidebar.jsp' />
    <template:put name='content' content='/introduction.html'/>
    <template:put name='footer' content='/footer.html' />
    </template:insert><%/*"introduction.jsp"Specify template for this page (chapterTemplate.jsp).The chapterTemplate.jsp defines the layout positions for fiveelements: title, header, sidebar, content, and footer.Specify the source file (html or jsp) for each element.*/%>

    slight typo .. corrected version
    <definition name="master" path="/chapterTemplate.jsp"> 
      <put name="title" value="title.jsp" /> 
      <put name="sidebar" value="sidebar.jsp" />        
      <put name="body" value="body.jsp" /> 
      <put name="footer" value="footer.jsp" />
    </definition>
    <definition name="a.struts.def" extends="master"> 
      <put name="body" value="anotherBodyA.jsp" />
    </definition>
    <definition name="b.struts.def" extends="master"> 
      <put name="body" value="anotherBodyB.jsp" />
    </definition>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Ejb remotly accessed from different ejb without parent tag

    Hi,
    is there any way, how to access EJB A deployed in a.aer from another EJB B deployed in b.ear? a.ear and b.ear are deployed at the same IAS 9.0.4.2 and neither of these EAR's is parent EAR ( don't want to use parent tag)?
    Thank you very much for any advice.
    Eugen

    Hi,
    is there any way, how to access EJB A deployed in a.aer from another EJB B deployed in b.ear? a.ear and b.ear are deployed at the same IAS 9.0.4.2 and neither of these EAR's is parent EAR ( don't want to use parent tag)?
    Thank you very much for any advice.
    Eugen

  • Would these 2 different Sorting methods makes a difference in performance?

    Hi I'm using vs2012.
    My page is loading up slow.  I was wondering if there is a performance difference to these 2 Sort methods?  The sorted collection is then bind to a gridview control in my web page.
    List<UserPrincipal> users = new List<UserPrincipal>();
    users.OrderBy(x => x.SamAccountName).ToList(); 
    and 
    users.Sort(delegate(UserPrincipal a, UserPrincipal b) { return string.Compare(a.SamAccountName, b.SamAccountName); });
    Thank you.
    Thank you

    First, thanks everyone for your help and input.
    I checked the vm that I use as a web server.  In the Windows task manager, the cpu shows 1% usage and 8GB of ram only 1.6 GB are used.  
    I step through program many times but never notice any sticky spot so I did it again this time looking out for possible performance issue.  It turns out that the Sorting loc steps right through with no delay.  Setting a few break points to measure
    where the performance problem could be at my local development PC finds NADA!  First break points set at the Page_Load event and then more break points at some other major code block and they all just step right through with no problem.  
    It does take almost 5 seconds for VS to hit the first BP, at Page_Load event.  Is this normal?  Any other tool that I can use to find out what's causing the slow page load from the web server?
    Thank you.
    Thank you

  • How can I create a widget using a visual different from its parent?

    Hi All:
    I have a 8-bit-depth shell widget, how can I create a child widget using 24-bit-depth visual, the child is a XmDrawingArea. I cannot set XmNvisual.
    But why GLwCreateMDrawingArea() can?
    Thanks?

    Move your formulas in a non header column.
    In the cell A2 of the table "aux", the formula is :
    =IF(ISBLANK(main :: A2),"",main :: A2)
    then I applied Fill Down.
    Yvan KOENIG (VALLAURIS, France) mardi 2 août 2011 15:07:54
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Why are Navigation Tabs visually different in IE than in Firefox? - Fix?

    I have an Apex 3.2 app that is using Theme 15. I have chosen to use standard tabs for navigation between pages. In Firefox the tabs look very good. Lined up and spaced nicely with titles.
    Problem.....when I go to IE and check out the application, the tabs are a mess. The class = t15CurrentTabCenter (which holds the tab title) is shown enlarged and the top of the cell or class (?) is above the top of the tab_close_c.gif that is on the side of it.
    I wish I could insert a picture here to show you. Because I know I am not explaining this good.
    But, if anyone has knowledge of what is going on and how I can fix the look in IE, I'd really appreciate hearing from you.
    Thanks,
    Maggie

    Well, I found the answer at this thread:
    Re: Theme 15 - Problem with Tab Image Alignment
    I wasn't trying to wrap a title on any tab, but I guess IE was.
    Thanks for the past thread.
    Maggie

  • Several different body tags

    Dear Great Ones,
    Hi, and hope all is well...
    In the site, there are different sections of the site that have different colored backgrounds. That is some sections have blue, some yellow, some pink, for example.
    These are styled with the body tags, meaning the different sections have body tags assigned different colors.
    When using CSS does one have to have a different style sheet for each different color body tag background, or is there someway to assign, say 3 sections that each use a different color body tag a name so all the body tag colors can be on the same style sheet?
    For example: say section 1 is blue, section 2 is pink, sectioin 3 is yellow. Can there be 1 style sheet that lists all 3 body tags with their different colors?
    What do you think?
    Thanks ever so much,
    Sincerely,
    Hope

    hope1 wrote:
    Dear Snakeyez02,
    Thank you very much for your kind reply and caution..
    Ok, that is understandable.
    What about styling, say, all the html docs in 1 folder have blue assigned to the body tag, and all the html docs in another folder have pink assigned to the body tags. Is there some way to list those all on one CSS style sheet? Or does one have have 2 different style sheets?
    Thanks again so very much,
    Sincerely,
    Hope
    In this example you would need 2 style sheets if you are redefining the body tag.  Typically if your pages will be styled differently like with drastically different background colors you would probably want to load different colors for other elements on that page so that you are using complimentary colors and do not bother your visitors.
    There is nothing wrong with having different style sheets for this type of use.

  • Merge Smart tags of different languages

    Hi,
    I started by installing PSE8, the French version and let it run the analyser for quite a while.
    I then decided to replace it with the English version and now I ended up with 2 different sets of Smart tags
    French and English. How do I move the French Smart tags onto the corresponding english ones, and then delete
    the French tags when they are empty?

    The People tags created by the automatic face recognition (the Find People For Tagging command) do inded store the facial features and the rectangles identifying individual faces associated with the tag.  So if you delete such a People tag, you lose that information.
    However, a Smart Tag is associated with the entire photo, and there isn't any information extracted from the photo used to identify other photos, such as there is with face recognition.  So deleting a Smart Tag won't affect future tagging by the Auto-Analyzer.
    If you continue to use the Auto-Analyzer, however, I recommend you read this FAQ:
    http://www.johnrellis.com/psedbtool/photoshop-elements-faq.htm#_Problems_with_the
    It has a number of serious problems.

  • One program for pc and mac with different imports

    I am trying to port my Java program from the PC to the MAC. I would like to have one program that works on both, the PC and the MAC. So I am using the
    if (System.getProperty("mrj.version") == null) //PC
    else //MAC
    condition to see if I am on the PC or MAC for making sure that the About menu is at the Help menu on top of the application window (PC) or at the Program menu on top of the screen (MAC) and the Control key (PC) or Command key (MAC) is used.
    However, the Mac also uses additional imports, such as
    import com.apple.laf.*;
    import com.apple.mrj.*;
    import com.apple.eawt.*;
    I cannot make an if statement before the imports. How can I make sure that the imports are only used on the MAC?
    Thanks for your time!

    >
    ..my program has a GUI...>Cool. OK - if you have not tried applications launched by JWS (Java Web Start) it is usually handy to get a feel for how they work for the end user. The biggest difference is between sandboxed applications, and ones that request extended permissions in the form of either j2ee-application-client-permissions or all-permissions. The first removes the warning banner from the bottom of windows, and adds a few other allowable actions, while the latter is, as it implies - all permissions.
    Examples of all-permissions/sandboxed can be seen in this [demo of the JNLP fileservice|http://pscode.org/jws/api.html#fs].
    >
    .. It is a computer graphics program, and it has a Tools palette where you can specify what and how you want to draw or select or move, and it has a Measurements palette, where you can use numbers for your drawing.>Does it offer to export the resulting graphics (e.g. save them to disk)? Does the program load graphic objects from disk? The reason I pointed to a demo of the differences between sand boxed and trusted apps., is because if the app. wants to 'access the local disks' it will either need to request all-permissions or as demonstrated in the example, use the [JNLP API|http://java.sun.com/javase/6/docs/jre/api/javaws/jnlp/index.html] (a group of classes only available to apps. launched by webstart) to do common things like access disks or printer, or take control of downloads...
    If you click the [Launch File Service (sandboxed) demo|http://pscode.org/jws/filetest-sandbox.jnlp] link, you can see what the experience would be like for the end user if the app. were converted to use the JNLP API for file I/O and was delivered entirely sandboxed.
    Of course, if your app. could work entirely sand boxed, like an applet - no code signing or extra permissions would be necessary, but that is uncommon for a desktop application.
    >
    So could you please give me some explanation or reference how to do launching it using webstart, and putting the mac specific resources into a resource section flagged for the Mac? >Launching an app. via webstart is not entirely 'simple', especially if you are new to it. OTOH it is well worth the effort - for the sake of the end user.
    The very basics of webstart is that you create a JNLP file to launch the app., I guess it is similar to the Mac .plist (or whatever they are) that you are discussing in another thread. Java JNLP files are a form of XML. Here is an example of what one might look like for an app. that provides different resources to different OS.
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0"
          codebase="http://ananya.com/lib"
          href="ananyacurves.jnlp">
      <information>
        <title>Ananya Curves</title>
        <vendor>Ananya Systems</vendor>
        <description>Ananya Curves - Computer Graphics</description>
        <offline-allowed/>
        <shortcut online="false">
          <desktop/>
          <menu submenu="AnanyaSystems"/>
        </shortcut>
      </information>
      <security>
           <all-permissions />
      </security>
        <resources>
          <j2se version="1.6+" />
          <jar href="AnanyaCurves.jar" main='true' />
        </resources>
        <!-- This is it! Supply the mac specific classes ONLY to Macintosh OS. -->
        <resources os='Mac'>
          <jar href="mac-specific.jar" />
        </resources>
      <application-desc />
    </jnlp>
    >
    ..Well, I am a complete beginner at this.>It can be a steep learning curve to first use JWS successfully, but it is well worth it.
    There is a good [overview of webstart|http://java.sun.com/developer/technicalArticles/Programming/jnlp/], but I also find it handy to keep the documentation on the [JNLP file syntax|http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/syntax.html] nearby.
    Unfortunately many IDEs (and people) are not that competent at writing JNLP files, so I provide a JNLP XSD and [YAX-V|http://pscode.org/xml/xmltools.html#yaxv] to validate them.

Maybe you are looking for