Look & Feel problem one iview differs

Hi there,
I have got a problem displaying one iview, one of the iviews in our portal uses a different background color. This color is not mentioned in the theme used within the portal.
I checked the sap.useWebDynproStyleSheet parameter in the visual administrator which is set to default (false) so all the iviews should use the portal theme.
How is it posible that this particular iview-application uses this different style. Is there some kind of override?
thanks
Ron

Ron
If you are using an iview which is build using an application say for example as JSP application and you forced the colors in the application then the iview will show the color which is coded in the JSP.
Thanks
Lakshmi
Reward Points if useful !!

Similar Messages

  • Rendered Nodes in JTree, Look&Feel Problem

    Hallo,
    I make a small JTree and write my own TreeNodeRenderer which renders in each case a simple JPanel with Titled-Border an 2 JLabels.
    If I adjust Metal Look&Feel the rendered Nodes are displayed correctly. (The JPanels size is about 300x200 pixels)
    With other L&Fs (windows, motif, plastic from jgoodies) there is only the title of the TitledBorder displayed.
    I meet the Problem as i programmed a more complicated JTree with rendered TreeNodes.
    Do you know the problem and a solution? I don't want to setting up Metal look for my application.
    The following link contains the source of the example in an executable jar file:
    http://home.arcor.de/Thomas-Pfaff/treetest.jar
    thanks for all answers

    I found the answer of my question....
    http://onesearch.sun.com/search/clickthru?qt=TreeCellRenderer&url=http%3A%2F%2Fbugs.sun.com%2Fbugdatabase%2Fview_bug.do%3Fbug_id%3D4656280&pathInfo=%2Fonesearch%2Findex.jsp&hitNum=1&col=support-all

  • Custom Look&Feel problems with ComboBoxEditor

    hi, im trying to create a custom look and feel and have some problems with the ComboBoxEditor. the non-editable combobox works fine, but the editable makes problems. if i select an item from the dropdown, the value doesn't get updated in the editor and trying to select text results in this error:java.lang.IllegalArgumentException: Invalid location
         at javax.swing.text.JTextComponent.getSelectedText(JTextComponent.java:1453)
         at javax.swing.text.JTextComponent$AccessibleJTextComponent.getSelectedText(JTextComponent.java:2192)
         at javax.swing.text.JTextComponent$AccessibleJTextComponent.caretUpdate(JTextComponent.java:1885)
         at javax.swing.text.JTextComponent.fireCaretUpdate(JTextComponent.java:356)
         at javax.swing.text.JTextComponent$MutableCaretEvent.fire(JTextComponent.java:3165)
         at javax.swing.text.JTextComponent$MutableCaretEvent.mouseReleased(JTextComponent.java:3220)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)im using this code
    import java.awt.Component;
    import javax.swing.ComboBoxEditor;
    import javax.swing.JTextField;
    public class PlastikComboBoxEditor extends JTextField implements ComboBoxEditor {
         private Object value ;
         public Component getEditorComponent() {
              return this;
         public void setItem(Object anObject) {
              value = anObject ;
              super.setText(value.toString());
         public Object getItem() {
              return value ;
    }has anyone a clue how to fix this?

    as always. just got the idea a few minutes after posting. the problem was, that i cached the TextFieldUI in the textfieldui class instead of creating a new UI for every textfield. now it works fine.

  • Look & Feel Problem when switching to JRE1.6.0_10 (GTK error on fedora 9)

    Hi,
    I have switched a Swing app I'm developping from openjdk to sun jdk1.6.0_10 in order to track memory leacks (the profiler I wish to use tells me openjdk is not stable enough to get itself installed).
    Now I have problems displaying some of the GUI components : background in some JPanel herited classes (propertysheet l2fprod component), buttons on combo boxes.
    I get these messages in the console :*
    +(<unknown>:6330): Gtk-WARNING **: Attempting to add a widget with type GtkButton to a GtkComboBoxEntry (need an instance of GtkEntry or of a subclass)+
    +(<unknown>:6330): Gtk-CRITICAL **: gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed+
    +(<unknown>:6330): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth == gdk_drawable_get_depth (window)' failed+
    +(<unknown>:6330): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth == gdk_drawable_get_depth (window)' failed+
    As far as I know it's running fine under XP with jre 1.6.0_07. The problems occurs at runtime with jre1.6.0_10 on Fedora9. It's okay if I launch it with openjdk (but I can't use my profiler !). I didn't try other jre versions on my Linux box neither I know if the problem occurs under XP with jre1.6.0_10.
    Here's the config I have this problem on :_
    OS/Desktop : Fedora 9 (kernel 2.6.25.14.fc9.i686), GNOME 2.22.3
    VM : Java HotSpot(TM) Client VM version 11.0-b15
    Library path:
    /usr/java/jre1.6.0_10/lib/i386/client:/usr/java/jre1.6.0_10/lib/i386:/usr/java/jre1.6.0_10/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
    Boot class path:
    /usr/java/jre1.6.0_10/lib/resources.jar:/usr/java/jre1.6.0_10/lib/rt.jar:/usr/java/jre1.6.0_10/lib/sunrsasign.jar:/usr/java/jre1.6.0_10/lib/jsse.jar:/usr/java/jre1.6.0_10/lib/jce.jar:/usr/java/jre1.6.0_10/lib/charsets.jar:/usr/java/jre1.6.0_10/classes
    Any Ideas ?
    Edited by: squiggly on Oct 24, 2008 1:59 AM

    I have no experience with cscript, but by typing cscript in a command prompt i get:
    Microsoft (R) Windows Script Host Version 5.7
    Copyright (C) Microsoft Corporation. All rights reserved.
    Usage: CScript scriptname.extension [option...] [arguments...]
    Options:
    //B         Batch mode: Suppresses script errors and prompts from displaying
    //D         Enable Active Debugging
    //E:engine  Use engine for executing script
    //H:CScript Changes the default script host to CScript.exe
    //H:WScript Changes the default script host to WScript.exe (default)
    //I         Interactive mode (default, opposite of //B)
    //Job:xxxx  Execute a WSF job
    //Logo      Display logo (default)
    //Nologo    Prevent logo display: No banner will be shown at execution time
    //S         Save current command line options for this user
    //T:nn      Time out in seconds:  Maximum time a script is permitted to run
    //X         Execute script in debugger
    //U         Use Unicode for redirected I/O from the consoleDoesn't this mean that the script file name should come before the option (//Nologo)?
    I run XP SP 3.

  • How to standardize the look & feel of different vendor JSF components?

    Hi,
    There are various JSF components created by different parties. For example, Tomahawk from Myfaces, ADF faces from Oracle, SUN components that provided in Java Studio creator. They look different.
    Can we standard the look and feel for these various components when we use them in a same project? so that it wouldn't look that different when the page is displayed to the end user.
    Please advise.
    Thank you.

    Hi,
    Can you be more specific how to achieve that using css? You mean the look and fee that we see is not an image?
    Have you seen how Oracle ADF face look & feel is like?
    How to change its look to what we have SUN offered in its Java studio creator 2?
    Please advise.
    Thank you.

  • How to show different Look & Feel to different users?

    Hi,
    how to show different Look & Feel to different users?
    Thanks & Regards,
    Venu--

    If you want the user to select then LookAndFeel then Visitor Tools.
    If you want to use code and dynamically change it then http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/javadoc/index.html?com/bea/netuix/laf/PortalLookAndFeel.html
    if you have only a few combinations then you could even create different desktops and direct the user to the appropriate url

  • I bought movies from iTunes but decided to download later as I was still looking for another one.  Now I can't find anyway to download them.  Anybody had the same problem?

    I bought movies from ITunes but decided to download later as I was still looking for another one.  Now I can't find a way to download them.  Anybody have the same problem?  Help, please.

    Hello William
    Check to make sure that in iTunes Preferences that Show iTunes in the Cloud purchases is check or check in the iTunes Store under Purchased to see if it rests there.  If you still cannot locate them, the report the issue to the iTunes Store.
    Download past purchases
    http://support.apple.com/kb/ht2519
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase
    http://support.apple.com/kb/HT1933
    Regards,
    -Norm G.

  • Why has the new ipod nano no connector for a speaker dock?  The white blank at the bottom looks as if one was intended, but then there were design problems?

    Why has the new ipod nano no connector for a speaker dock?  The white blank at the bottom looks as if one was intended, but then there were design problems?

    IKR! But u an order a connector that can plug nto any old speakers and then connect to your charger port and it will play music!

  • JFileChooser problems in GTK look&feel

    Hi,
    the JFileChooser dialog is just ugly and not acceptable when using the GTK look&feel, there are so many layout problems and display errors. It also does not look like the native dialog. I'm using Ubuntu Linux 7.10 and Gnome 2.20.
    My application uses the GTK look&feel, because most of the normal widgets look nice. Is there a way to use the same JFileChooser dialog layout as it is in the Metal look&feel when using the GTK look&feel? This would be an acceptable workaround...
    Thanks,
    Stefan

    I don't believe it will be supported under any platform but *nix platforms.  The GTKLookAndFeel currently requires native theme information which is not available on the Windows platform.                                                                                                                                                                                                                                                                                                                                                                                       

  • Passing output of one iView as input to another iView using Visual Composer

    Hi
    I need urgent help. Is it possible to pass data from one iView to another using the Visual Composer tool. If it is how? Does anyone have an example or know where I can find one.
    Here is my example:
    I have created one Page with two iViews on the page. In the first iView i have a Bapi that accepts an ID number of a business partner as input and returns details like Name, Surname , title etc as well as the SAP Business Partner Number. The second Iview uses a Bapi that returns the Address details of the business partner.My problem is that I need to use the Business Partner Number from the first iView as the input into the second iView. Is this possible using Visual Composer? There will be a series of additional all bringing back different details of the same Business Partner and will need to use the same Business Partner Number.
    Please advise me if this is possible using VC or if not suggest an alternative way of doing it.
    Thanks in advance for the help. 
    Regards
    Yusuf Gangat

    Yes you can do this.
    You can use ports (Signals) for this.
    In order to explaing this, I will call the 1st iView - the source iView and the 2nd one - the target iView.
    1. In the source iView create an "Out Port" from the form or table where you have the details you want passed. Name it anyway you want (in the Properties task pane).
    2. In the target iView create an "Input Port" and connect it to the input of the BAPI you want run.
    3. Make sure that both ports have exactly the same name (it's case sensitive). and the same fields.
    4. Deploy the 2 iViews to the portal, put them in the same page.
    Data should be transferred now between the iViews.
    Lior

  • 10G StrutsPageFlow Look/Feel/Use

    Look and Feel:
    In a post Brian Fry stated they are looking at Look and Feel for future releases. Today I was playing with the Struts Page Flow and here are a few Look/Feel/usability items
    Again Thanks All
    A
    =============================
    Add a full screen editor for Diagram Editing (Allow hot keys to floating pallets). Multiple monitor support if not already there.
    More options for direct access on right click of objects to code, properties, ect.
    Usability
    I used the BC4J toy store example from Steve Muench and created a StrutsPageFlow from struts-config.xml. What a mess.
    Next I right clicked on the diagram Diagram|Refresh Diagram from all Pages... Even worse.
    I Right Clicked and selected Layout Diagram|Right to Left. This creates an unusable document that I could not find a way to get back to usable by clicking. The anchors in the lines do not clean up when the lines are moved or straightened.
    I think I see the error in my logic for the next one but it seems to still be a problem in the way the system keeps the PageFlow, XML and code, consistent when using cut and paste. I do not know the exact path to recreate problem:
    *after the Layout Diagram Results above I hand edited the whole pageflow to get all the bad anchors out and the whole diagram on a single page. 
    *Next I selected all items on the Struts Page Flow and  used cut from the menu to cut  all the Items displayed
    *I deleted the page flow using File| Erase from Disk.
    *I Creaed a new page flow and Pasted all the items back.  They came back and looked like the page flow I cut but they were hollow, cold, and empty.
    *This destroyed the PageFlow, config. xml, and project.
    oops.
    More Later ?
    A

    Arron,
    Certainly the default layout of an imported struts-config in the preview is not pretty - For production it will automatically do a Hierarchical Top to Bottom which is a little better but we have to do some further work to tweek the label and line positioning - this is an area which will constantly evolve for the better...
    Cut copy paste on the diagram does not work in Preview - it is fixed for production so I'm sorry about that.

  • Query regarding portal look & feel

    Hi All,
    I have deployed my j2ee application on sap. I also need to change look & feel of my pages(iviews) when user changes portal theme. For this I am passing url of css used by portal to my application, but I am fetching it in login page only and putting it in session so that all pages use the same css, hence user need to click on the first page of my application to reflect changes.
    Problem is that if user has opened another page and he changes portal theme, it gets reflected in portal standard components but not in my pages until I click the first page that is for login.
    How can I achieve portal's look & feel.
    Please suggest...

    Hi,
    Check this link
    Portal Branding for specific user
    Portal Customizations Intro - Login Part 1
    http://help.sap.com/bp_epv260/EP_EN/documentation/EP/N08_BB_ConfigGuide_EN_US.doc
    A fast and easy Portal logon page customizing
    Regards
    Arun

  • What happened to my Look & feel !!!

    What happened to my Look & feel !!!
    Hi,
    Can someone help me !!!
    I upgraded my JRE version from 1.3 to 1.4
    I never explicitely specified any look and feel
    As I am running my application with the 1.3 version, I've got one look& feel, and another with the 1.4 version ...
    the problem is that the latest look & fell is ... say ... horrible ?
    Can someone help me ?
    Is there an instruction to write to come back to the older laf ?
    thanks in advance !

    do I need to update my java.policy file, so that LAF could be changed?
    the problem is that when I set Windows LAF with all permissions:
    grant
         permission java.security.AllPermission;
    everything works fine, but when I use my own java.policy file, it gives me a Metal LAF.
    is there a special Permission class for LAF?
    thanks!

  • Customizing ADF Faces Look & Feel. Some questions & suggestions

    Hi everybody,
    We are developing an application with ADF Faces using JHeadStart. For the moment, I am studying the way we must modify the JHS templates to adapt each element to our needs.
    As it's told in the JHeadStart Developer's Guide, there are two ways to customize Look & Feel:
    1) Modifying the templates
    2) ADF Skinning
    I'm using both methods, but I feel that thay are not good enough to adapt the L&F to our customer requirements.
    My main problem now is in the ADF Table customization. I want to use ADF Table because it offers us a lot of features that are not in the jsf table (the selection column, the table overflow...), and is very usefull combined with the generated JHS code. But at the same time, it doesn't offer a lot of functionality in the look & feel customization. Using JSF Table, I can set the CSS style for headers, rows, columns, the table, I can set the border, cellspacing and cellpadding. But I cannot do
    any of these thing (or at least, I don't see how) with the ADF Table.
    Our customer (a government) have a strict definition of the look & feel of his web applications. They want we use their CSS styles definition file, so they can modify at once the Look & Feel of all their applications. Modifying the L&F through skinning generate other styles, not use the style classes in our CSS (o so I think).
    So, the questions:
    1) There is any way to set the suitable styles for the ADF Table components (headers, rows)?
    1bis) Why, If I have defined a new skin, with only just a few selectors, some styles from oracle are applied? Maybe because the render kit in the 'adf-skins.xml' is "oracle.adf.desktop"? If it is true, how can I make that they are not used, I must implement a render kit or can I use another existent?
    2) Can I decide how looks the select column (for example a button instead of a radio button)? Can I decide where does it goes (right or left)?
    3) There is any way to hidden the text Show/Hide of the showDetail in the table (the tableOverflow), as I can change the icons through skinning? If it is not possible, How can I overwrite the text. I need it in Catalan, but it is shown in English for this locale. Where is the message bundle I should overwrite?
    4) There is any way to force a tree to start fully expanded?
    5) There is anywhere documentation about the javascript functions used in ADF and their meaning? I think for example in the previous question. If I knew which javascript function I should call for expand the tree and its parameters, I could put the call in the onload event of the body.
    6) I use a selectInputDate. I have skinned the launch-icon, and I would like to do a similar thing in the chooseDate that is opened in a new window. But It seems not to be affected for my skinning directives (if I put a chooseDate in the same page, its L&F follow the skinning rules I've defined). I don't know if this dialog is an ADF feature or a JHS generated feature.
    7) There is any way to keep unmodified the id I've choosed for a component? (I mean, an inputText with id="hello" in a form with id="form" will have in the HTML an id = "form:hello", but I would like it to be simply 'hello')
    8) How can I control the position and the size of a dialog (the chooseDate dialog or a dialog I've created)? In the cases I've been testing, it seems the dialog is forced to resize depending on the content. I would like to know if I can establish a fixed size.
    9) There is any way to open a non-modal dialog? (which I could keep open at the same time that another instance of the same dialog)
    For the moment, I think I have no more question. But give me time.... :-D
    The suggestion I've to do is basically more flexible components for a better customization (for example, the styles settings I've talked about previously). ADF components are nice and powerful, but I think they should generate pages that follow the tendencies in the web development: tableless pages (I cannot understand the utility of the objectSpacer existing the margins), use of CSS for layout...
    Any answer, comment or suggestion will be welcome.
    Carles.
    Message was edited by:
    cbios

    I have been able to make the UIX 2.2 and ADF Faces LAF look near identical by updating the oracle-desktop.xss file within UIX 2.2 as follows
    <!-- Change the accent color ramp to tan -->
    <style name="DarkAccentBackground">
    <!--<property name="background-color">#cccc99</property>-->
    <property name="background-color">#d2d8b0</property>
    </style>
    There are still some differences:
    1) A black line appears on the ADF Faces on the 'menu1' facet selected tab below the text. DON'T KNOW HOW TO REMOVE THIS FROM ADF Faces or add it to UIX 2.2!!!
    2) In UIX 2.2 a bulleted list uses the HTML <li> tag. In ADF Faces it doesn't use the HTML <li> tag rather it constructs the bulleted list using lower level HTML tags with the 'bullet' becoming an image, in my browser this means the disc is smaller in Faces. The motivation for this change I think is explained via this post. Since I have no control over how this specific HTML tag is rendered it forces me to replace the /adf/images/bltdscn.gif file in adf-faces-impl.jar with a larger disc!
    http://www.thescripts.com/forum/thread96839.html
    May update this again if there are other things I notice.

  • How to change one iView to another in portal page by clicking the third one

    Hi all!
    I have created four iViews: two speedometers with web application designer and two iViews with visual composer. I added the speedometers and a visual composer iView #1 to a portal page (default view). The requirement is that by clicking the speedometer #2, the visual composer iView #2 would replace visual composer iView #1 on the portal page. If the user then would select the speedometer #1 again by clicking it, visual composer iView #2 would replace #1 again and so on.
    I have read article http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50b65a5d-f397-2910-a78a-f5544f21c33b?QuickLink=index&overridelayout=true, but it is more about filtering VC iView values with BI web items. I don't need to filter anything, just to change one iView to another in a portal view by clicking a third one.
    I have thought of placing two VC iView to a same portal page area and defining one of the to be visible and another hidden (by clicking speedometers these properties would change), but I haven't found the way how that could be done in portal. Is there a way to define some OnClick-method to change visibility parameters or url-address of another iView?
    One solution might be¨on the other hand to transfer any value to VC by clicking a speedometer and to change the visibility of the VC iViews according to that value (the speedometer #1 should in that case transfer other value to VC than speedometer #2). I don't know if that is possible with speedometers - you can't reference any characteristics or variables with it.
    If you have an idea, what would be the best way to accomplish this requirement, I would be very glad to hear about it! We are in VC 7.0.
    Points garanteed!
    Regards
    Sari

    Hi,
    In the portal, create a page and place the iView having the three input fields on top. Place the second iView below. Keep differing the second iView for every page. In this way you can make the iView with 3 input fields only in the desired pages. You can use EPCF to invoke / navigate to another iView.
    Regards
    Srinivasan T

Maybe you are looking for