JSF component displaying incorrectly

I have a problem when i run my jsf application. The components don't display correctly. For instance, a button that is suppose to have the rounded edges and hint of blue color show up like a normal sqaure gray button. This only happens on my computer though. If someone else logs onto my jsf page from their computer the button displays correctly. What am i missing?
Thanks
Dave

I am using jsf components from JSF Core library. Yes I cleared the cache several times and it still happens. I am using Firefox version 2.0.0.6 and IE version 6.0. Do I need to update to IE version 7? I wouldn't assume so since others that have version 6 see components correctly.
Thanks for you help. Sorry my question is vague. I could give you more detail but i don't know which detail is relevant to my problem. Maybe thats part of my question... What settings and configurations could cause this. Should I be looking into JRE version (which is 1.6)?
Thanks
Dave

Similar Messages

  • JSF component to create an html table-like display

    Jdev 11.1.1.4
    I would like to know what is the preferred jsf component to create a display as an HTML table.
    My display needs to have a "column-table-header" and "row table header". It is composed of several rows and columns. In every cell I need to insert a different inputText mapped to different VO attributes. I have a lot of VO attributes.....(one per cell). Something as an MS-Excel crosstab table.
    I'm currently using an actual html table but I'm having some problems when the contents are adjusted inside a panel box (sometimes the right side of the table gets out of the panel box). I'm also having trouble with toolltip help text (shortdesc property) that sometimes doesn't display exactly where the input fileds are located and the shadow of this tooltip apears incorrectly overlapped with its content (in fact the tooltip apperars in one place and it shadow in a different place of the screen as a grey rectangle.
    I don't know if all this strange behaviours could be caused because of the use of html tables.

    Hi,
    I don't know if all this strange behaviours could be caused because of the use of html tables.quote from timo
    Using html is not encouraged in ADF. Try the Trinidad take component. trh:tableLayout is wrapper around html tables, you can use it in adf without harm,,
    try using trinidad table layout instead of core html.
    Regards,
    Edited by: Santosh Vaza on Jul 30, 2012 12:33 PM

  • GetStyle() of JSF component before render

    Hey guys,
    I'm hoping this is an easy one, here goes...
    For one reason or another, I need to modify the CSS of certain components in a JSF page before it is rendered to the browser. The JSF pages are going to be laid out in Netbeans 6.0 (beta right now) using mostly Woodstock components and will have the 'style' attribute filled in for each component. However, like I said, I want to modify the CSS style value of some components prior to rendering.
    Looking through the Javadocs for Woodstock (javadocs are included with plugin) I see that many components do indeed give you access to this attribute ('style'), com.sun.webui.jsf.component.Field.getStyle() returns "CSS style(s) to be applied to the outermost HTML element when this component is rendered" for example.
    I figured this would be straight forward enough and attempted to retrieve the style using the prerender() method. Unfortunately, getStyle() returned null. After playing around with it for a while, it appears as though the components do not get these properties set (by the Netbeans attribute) until DURING the renderResponse phase. I say this because I tried setStyle() during prerender() and my changes were ignored. I then went back to Netbeans and removed my 'suggested style', now my setStyle() call during prerender() holds showing that somewhere in the renderResponse phase (after prerender()) the style is being set if one is given.
    Obviously making any changes after prerender() [like in afterRenderResponse()] will not cut it.
    To sum up:
    Even as late in the lifecycle as prerender(), the CSS style attribute of a Woodstock component is not yet set (getStyle() returns null and setStyle() ends up being overwritten). Any suggestions on how to modify the style?
    Thanks in advance (and I hope this is an applicable forum),
    Sean

    Solved:
    Once I wrapped my head around the problem I found a much more elegant solution.
    What I wanted to do was relatively position page fragments but was having trouble as the Netbeans IDE positions components within fragments absolutely. To make my page dynamic I was taking the style="position: absolute" attribute out of the <div> tag that was holding the <jsp:directive-include>. The components within the fragments were then being positioned absolutely on the resulting page, ending up strewn all over the place. This led me off on the tangent to reposition the components when the page was called (original post above).
    The weekend did me well I suppose. I came up with the bright idea to CHANGE the style attribute on the <div> tag rather than remove it. Making the <div> component "position: relative" passed its positioning down the the containing components and now my fragments are displayed correctly while being dynamically repositionable.
    Hope this helps anyone coming across the same problem.

  • Triggering a reRender of a JSF component from a Javascript function

    Hi
    I am using a javascript calendar component(JQuery +JCal) to allow the user to select a date for which they want to see events displayed for. When the user selects the date I was planning on outputting the events in a rich:dataTable or something similar.
    Is there anyway that I can trigger a reRender of the dataTable from the javascript, i.e. when someone selects a particular date I would like to trigger a reRender of the rich:dataTable.
    I know I can do it easily from another JSF component, e.g. if I had a commandLink I could set the reRender property to be the id of the dataTable. But I am wondering can I trigger the reRender of the dataTable from a Javascript function, i.e. can I submit an AJAX request
    Thanks

    If you are using the the Richfaces components then you should look at the a4j:jsFunction component, which is provided by Richfaces.
    Follow the following format using the a4j:jsFunction:
    <a4j:jsFunction name="functionName" reRender="targetCompoentId"/>So in the component that the event should be triggered...like the 'onclick' or 'onmouseover' or whatever the legal event is use the following format:
    onclick="functionName();"Richfaces renders the a4j:jsFunction as a javascript function. The a4j:jsFunction name attibute becomes the name of the javascript function; You just have to remember to add the "()" parenthesis to the end of the function name.
    You could technically call the function also inside a javascript that has page access to the javascript generated from the a4j:jsFunction component.
    Hope this helps!

  • Assiging tooltip to a JSF component

    Hello all,
    How one assigns a tooltip to a JSF component using the Studio-Creator ?
    thank you,
    Rami

    You need to add your tooltip to the "title" property
    From the button component documentation
    title. Type: String
    Advisory title information about the button, which is readable by a screen reader and can be displayed as a tool tip.

  • Creating a custom JSF Component

    Hi,
    I am trying to create a custom JSF Component. My ultimate goal is to pass a bean to my custom component and have the component render some HTML output based on the info contained in the bean. Before I attempt that I am trying to get a simple custom component to just work. This component is based on the tutorial found here: http://www.jsftutorials.net/components/index.html
    This tutorial just creates a component that outputs a <div> tag around the body contents of the custom component.
    To keep this short I have done the following items from the tutorial link above:
    1) I have created the tld file defining the tag class, name, uri and shortname
    2) I have also created the tag class called TickerTag.java along with the component class UITicker.java. These classes are straight copy-and-paste jobs from the tutorial link and compile fine.
    3)My faces-config.xml file has the proper component definition of
    <component>
    <component-type>ticker</component-type>
    <component-class>ticker.UITicker</component-class>
    </component>
    This was the easy part. The example then goes on to use the custom component in a JSP page. I managed to get the custom component to work in a JSP page BUT my problem is getting the custom component to work in an XHTML file.
    I thought all I had to do was define an xml namespace using the uri from my tld file like so:
    Note: My uri is www.fubar.com/tags and is defined in the tld file.
    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:t="http://myfaces.apache.org/tomahawk"
    xmlns:u="http://www.fubar.com/tags">
    I then try to use the tag like so <u:ticker> <f:verbatim>Hello JSF Component</f:verbatim></u:ticker>
    I am expecting the following output: <div>Hello JSF Component
    </div>
    but instead I get
    <u:ticker>Hello JSF Component</u:ticker>
    It seems the tag is not even processed. This is my first jump into custom components. I have done custom JSP tags in the past but I never tried to display them on an XHTML page.
    If you are wondering why I am using XHTML pages, this was setup a while back by a previous developer. Changing everything to a JSP would take a long time and probably break some stuff I am not aware of yet. As such the web.xml file of this JSF web app has the following:
    <context-param>
    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
    <param-value>.xhtml</param-value>
    </context-param>
    So all *.jsf files are processed and sent to the corresponding .xhtml file.
    I have looked up creating custom components on google and every last example uses their newly created components in a jsp file. No XHTML uses so far.
    Below are my tld files and xhtml file if that helps:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
    <taglib>
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    <short-name>u</short-name>
    <uri>http://www.fubar.com/tags</uri>
    <tag>
    <name>ticker</name>
    <tag-class>ticker.TickerTag</tag-class>
    <body-content>JSP</body-content>
    </tag>
    </taglib>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:t="http://myfaces.apache.org/tomahawk"
    xmlns:u="http://www.fubar.com/tags">
    <html>
    <head>
    <title>Show Custom Component</title>
    </head>
    <body>
    <f:view>
    <u:ticker> <f:verbatim>Hello JSF Component</f:verbatim></u:ticker>
    </f:view>
    </body>
    </html>
    Any suggestions/help are much appreciated,
    Nick
    </div>

    Thanks Ray. I'll take a look at that site.
    I managed to figure out my problem. I never created a .taglib.xml file that reference the component I defined in the faces-config.xml file. Once I did that everything work perfectly.
    I managed to use this forum post as a guide.
    http://osdir.com/ml/java.facelets.user/2006-12/msg00042.html
    I hope this helps anyone else.
    Nick

  • Iphone 5s incoming call number displays incorrectly.

    Whenever I call my wife's Iphone from work, the number displays incorrectly on her caller ID.  It is always dropping the third number of the area code, so if my work number was 123-456-7890, then when I call her it shows up on her phone as 124-567-890, it doesn't even show a ten digit number.  So far I have noticed that it only happens when I call her from the landlines at my work.  I also have the exact same iphone 5s on the same carrier and the numbers display perfectly fine on my phone so I feel like it's some setting in the phone.  Before switching to an iphone we had her contacts imported from an old Verizon flip phone, not sure if that has anything to do with it.  Has anyone seen or heard of a similar issue?
    Thanks,
    Dan

    By the way I have completely reset all content and settings several times, tried turning off international assist, tried several suggestions I found online dealing with the sim pin, switched to a different phone to have the same thing happen on that phone also.  I have the same exact iphone 5s and carrier and service plan and the numbers appear perfectly on my phone.  I'm so confused why this is happening.

  • Deluge and KDE - displaying incorrectly for one user only

    My deluge (and possibly other gtk apps) are being displayed incorrectly in KDE.  You can see the screenshot attached, but the thing I mostly notice is the progress bar.  On my laptop, as well as any other user account on the PC in question, it's a very blue progress bar (so 100% torrents will be all blue, 0% no blue, and obviously in between as % increases).  In the past I've messed with various gtk/kde rendering apps (so that gtk apps will display "correctly" in KDE), but I don't currently have any installed.  I also have rm'ed the configs in question per the wiki ( https://wiki.archlinux.org/index.php/Un … plications ).  I have tried removing the deluge config for my current user and it still doesn't "fix" the issue.  I've gone through kde system settings to setting all display options to default-type options (which is what my laptop is set to).
    Just wondering if anyone had any thoughts on where I could look to fix this?  It's mostly an annoyance, but I've been trying to fix it for a while now so thought I'd finally ask for some help.
    EDIT: I realize this should be in the Desktop/Apps sections, so if a mod could move it for me, that would be much appreciated.
    Last edited by vladthedog (2013-12-05 18:08:10)

    1. You said the projects were all saved "to a shared folder." Do you mean THE Shared folder? Your Mac's Users folder should list two Users, plus a folder named "Shared". Is that the folder you mean?
    2. The trouble is that an iMovie project isn't actually a file. It's a special kind of folder called a package, which contains other files and folders. (To look inside the package, Control-Click on the package icon and choose "Show Package Contents" from the popUp menu.)
    3. When YOU are the user and you create a new iMovie project, the package and everything it contains is configured with you as the owner. You are the designated owner of all the items that comprise the project. No one else can Write to the project.
    4. To change that, you have to change the project package into a normal Finder folder, adjust its permissions and the permissions of all the contents of that folder, then change it back into an iMovie package.
    Here's how:
    In the Finder, choose Finder > Preferences. Click Advanced and turn ON "Show all file extensions".
    The name of your iMovie project "My Sample Project" is now displayed as "My Sample Project.iMovieProject" in the Finder.
    Remove ".iMovieProject" from the project name, removing the period. When the Finder asks, say OK.
    The project package has now turned into a folder. Select the folder and choose Get Info.
    Set Others permissions to "Read & Write". Then click "Apply to enclosed items". When the Finder asks, say OK.
    Select the folder name again and add the extension ".iMovieProject" to the name. The folder will change back to an iMovie package.
    The package will now allow anyone to Read and Write to the project.
    Karl
    PS: This solution isn't very handy, obviously, but it does the job. A better solution is to buy an external hard drive, and configure it to Ignore permissions. (In the Get Info window for the disk.) That lets both users save projects to the drive without permission issues.

  • Storage values under about this mac displaying incorrectly, but amount of space used IS correct. Any ideas?

    I noticed recently that the "storage" under "about this mac" is displaying incorrectly. It doesn't show the correct values for my photos, videos, and audio files. It classifies this data under "other". I have been searching all over the internet, I went to the Apple genius bar yesterday and they recommended I re-install OSX. I did and it still shows up incorrectly. They were baffled, said they never really came across this issue. I have tried re-indexing spotlight, that didn't seem to help.
    The amount of storage used IS correct. It just doesn't show up under the correct categories in storage, under about this mac. Also, the computer seems to work fine. No real issues. It's a mid 2012 MBP. 500gb hard drive. Most recent OSX is installed.
    I DO NOT think it is local snapshots, cause my backups category is small and the amount of space used and free is correct. I have downloaded omnidisk sweeper to confirm this.
    I have seen a few posts on here and around the web referring to this, but no real answers. I have also reviewed Pondini's info on this to no avail.
    Does anyone have any ideas?!?!

    Also,
    I had installed a version of parallels with windows 7, but deleted it. Would parallels be causing my computer to index incorrectly? I I used appcleaner to delete all the parallels files so I do not have it anymore.

  • How to load a class dynamically (via reflection) in a jsf-component

    Hi all,
    I am writing my own jsf component and I would like to do it generically. Therefore I have an attribute, where the developer can pass a fully qualified classname, which I want to use to instantiate. But I have a Problem with the classloaders, everytime I get a ClassNotFound-Exception during debugging.
    Does anybody know how it is possible, to to get the most parent classloader?
    Currently I am even not able to load a class, which is in the same package like all other compontent-classes.
    Thank you very much in advance
    Thomas

    Within web applications, I believe it is recommended to use Thread.getContextClassLoader(). Keep in mind that web applications require different classloader semantics than regular Java applications. The class loader which gets resources from the WAR is favored over others, even when this violates the normal class loading conventions.

  • TS2167 I changed my header in iweb and when I published the site the font had shrunk and it displayed incorrectly. It was only on my home page, not on others. I have iweb 3.0.4. Help!?!?

    I changed my header in iweb and when I published the site the font had shrunk and it displayed incorrectly. It was only on my home page, not on others. I have iweb 3.0.4. Help!?!?

    Just in-case anyone els runs into this, I figured it out... I was working from my hotel and apperantly the fire wall was not allowing anything to uplaod, but I wasn't getting an error message from iweb, it would say that everything was published succesfully even though it wasn't. Once I went home and used my connection eveything worked fine.

  • Calendar Tile on Windows 8.1 displaying incorrect date for icloud calendar but date icon displays correct date on iPhone 5 and iPad Air

    Calendar Tile on Windows 8.1 displaying incorrect date for icloud calendar but date icon displays correct date on iPhone 5 and iPad Air.  Date on Windows 8.1 is correct.  Thank you.

    Try doing  a reset on your phone. Sounds like your carrier's time set is not getting through to your device. If the reset doesn't do it, then go to Settings>General>Reset>Reset Network Settings. That should do it.

  • Some character display incorrect after unicode conversion

    Dear Experts,
    Currently we upgrade our SAP system from 4.6B NU to ECC6.0 UN.
    in 4.6B system we had implemented Simple Chinese and French language package to the system. after upgrade to ECC6.0 no-unicode system. we perform a MDMP unicode conversion.currently system running with ECC6.0 unicode interface with language 1EFD. SUMG releated tasks had been finished. Chinese and French language checked OK in ECC6 UN system.
    Our issue is. in the past time. some Spanish local end user typing some spanish character in some master date field when they login in 4.6B GUI choice english as login language.these kind of spanish characters could not display correct in current unicode environment.
    could you please given us some suggestion for how to fix this issue.
    I also sent this message in the Netweaver administrator forums with below links.
    Spanish display incorrect after unicode conversion

    Hello,
    I doubt that the data shown by you in the link was caused by Spanish users logged on in EN.
    I think this was rather caused by utf-8 data uploaded into the Non-Unicode system.
    In this case, you need to repair the according texts manually, I do not know any automatic repair.
    Best regards,
    Nils Buerckel
    SAP AG

  • The song titles are displayed incorrectly, how do I fix this?

    Ever since an update of itunes a couple of months ago, the titles have been displayed incorrectly in my library. I listen to a lot of Chinese, Korean, and Japanese music and after the update the information turned into squares. I went online and tried the much given solution of converting the id3 tags. This resulted in all my songs (even the english ones) turning to Chinese script when I reversed unicode, which was solved by reversing it again. However after trying all the id3 versions I am now left with a part of my songs being displayed as ?????? and with the other, largest part having the correct names but with the symbol Ƞ spread throughout the titles, which is annoying to say the least.
    Other programmes on my computer display the different scripts just fine, and I have Japanese and Korean installed so as to be able to write it. The songs are also still displayed correctly if I acces them in their folders.
    I am kind of losing hope after trying to find a solution on the internet for a while now, and have even re-installed itunes completely, to no avail.
    If anyone has any suggestions or possible solutions, I'd be very grateful.

    Hi Treenr3,
    Sounds like you have been on the right track with regard to troubleshooting this issue. It may be worth going over the font troubleshooting in the following article, just to double check (it refers to a previous version of iTunes, but the troubleshooting steps should be similar).
    iTunes 9: Font text is incoherent or appears in a different language
    http://support.apple.com/kb/TS3042
    It may also be worth trying some isolation troubleshooting in new test user account with just a couple of the tracks that are having issues to see if it persists.
    Isolating an issue by using another user account
    http://support.apple.com/kb/TS4053
    Cheers,
    - Brenden

  • How to add properties to a custom JSF component?

    Hello, everybody!
    I've just developed my first custom JSF component. It's a data pager and it is working pretty well. But now I want to be able to use some of it attributes in my backing beans at runtime. I mean, I want to bind it to component in the JSF page. It already has a binding attribute in the tld file, but I want to be able to accesss two values that the renderer of my custom component calculate inside it, which would relieve me from calculating these values manually in the backing beans. So, I would like to know how to make these values external to the component.
    By now this is my custom pager class:
    import javax.faces.component.UICommand;
    public class UIPaginadorDados extends UICommand
    }You can see that it has no logic because all the logic is in the renderer class:
    import javax.faces.render.Renderer;
    public class PaginadorDadosRenderer extends Renderer
        // logic here
    }As I said I want to be able to do the following in my backing beans:
    private UIPaginadorDados pager = new UIPaginadorDados();
    // and later...
    pager.getCurrentPage();
    pager.getPageCount();In the JSF page:
    // I already can do this, because I have a binding attribute
    <urca:paginadorDados binding="#{backingBean.pager}" />I suppose that I'll have to create the properties getCurrentPage() and getPageCount() in the component class, UIPaginadorDados, but I don't know how to get the values to the properties from the renderer class. I don't even know if this is how I should do it.
    So I would appreciate a lot your help about this subject.
    Thank you.
    Marcos

    Marcos_AntonioPS wrote:
    RaymondDeCampo wrote:
    I neglected to mention: do not forget to implement the methods in StateHolder to preserve the properties you added to your component.Hello, Raymond. Could you elaborate a little more on that? If you could give a short example, it would be helpful.
    MarcosNo problem. I have already found out how.
    Thank you very much, Raymond.
    Marcos

Maybe you are looking for

  • Get data from string

    My Table Column have below data COLUMN A Name of my Country is India I am from Country Japan My Country is China How to get result as below "Country is India" "Country Japan" "Country is China" ShanmugaRaj

  • Problem during creating delivary and PGI

    Hello Friends, I am facing a problem in creating the Delivary document. The error is "date in item 000010 of document does not exist" Please help me out. With Regards Sharan

  • Windows 8.1 - sync problem with iCloud

    I just installed Windows 8.1 on my PC.  Now I cannot see any Outlook info that is synced thru iCloud.  When will there be a fix?

  • Trouble exporting To HD with multiple clips

    Can I export my iMovie project if I'm mixing videos from my HD camera and my iphone? After going the the hour nog process of exporting twice now, it gives me and Error 49 at the end and won't export the movie. Is the reason because some of my videos

  • ITunes Columns dont like my ipod

    okay ive tried formatting my ipod every single way possible (g5 windows xp pro) but every time it reverts so that when my ipod comes up in windows, it has this really weird columns layout, like title album equalizer artist and its really annoying how