Date Display issue

Hi,
i have a date field in the bean , when i display the date using outputText tag, it is displaying one day less, i tried printing the date on console from bean, it is showing correctly....
can any one tell me...why it is happend? and suggest a solution.

Hi Balu,
here is the code snippet...
<html>
<head>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
</head>
<body>
<h:dataTable var="bonuslist"  value="#{focal.empBonus}">
        <h:column id="monthyearcolumn">
        <f:facet name="header">
            <h:outputText value="Month/Year" id="monthyearhead"/>
        </f:facet>
            <h:selectOneMenu value="#{bonuslist.paymentDate}" id="monthyear">
                       <f:selectItems value="#{focal.dateslist}"/>
                </h:selectOneMenu>
            <h:outputText value="#{bonuslist.paymentDate}"/>
        </h:column>into the drop down also i am getting the data from the same table, it is displaying correctly, but the output text is displaying one day less....
can you help me....(h:outputText is just for testing purpose as the drop down is not selecting the correct item , for checking purpose i am using outputText )

Similar Messages

  • Data display issue in CF all non-IE browsers

    The message title was a bit vague for all the factors
    involved here so let me explain the problem in detail.
    We are running ColdFusion 7, we use Oracle 9i and the
    datatype of the field we are having issues with is a LONG field.
    The data we are displaying is part of an application that has
    an essay field. When we insert the data from the essay into the
    Oracle 9i DB i can query the DB and get the correct result in SQL+
    and Golden. The results are being stored as ASCII in the LONG
    field. In IE displaying this data in any way works fine. However in
    Firefox, Seamonkey, Opera or any other non-IE browser I've tested,
    when I try to display the data in a text area or a text input even
    I get a string filled with □. Also if I even try to output
    the contents of the field in a cfoutput I cannot even copy the
    string correctly, I only get the first letter.
    So if i put in the essay field "Hello world" when I revisit
    that page to edit it, it would look something like this
    "H□e□l□l□o□
    W□o□r□l□d□." I brought this into
    ultraedit so I could try converting to see what exactly this
    character represents (I had to view source, save the file and open
    the saved file since copy and pasting is made impossible by
    whatever is going on), and apparently the □ is the null
    character.
    [Edited: I am getting the null character in FF not in IE]
    I am not entirely sure why I am getting a null character in
    FF and not IE but I thought it might have something to do with the
    fact that ColdFusion defaults to UTF-8 and the value is being
    stored as ASCII. This is strange first off because I am not telling
    CF to store the value to ASCII anywhere so you would think it would
    default as UTF-8. Secondly I tried to force the page to default to
    ASCII to see if that fixed the problem with <cfcontent
    type="text/html; charset=us-ascii"> this would read the page as
    ASCII but for some reason that field still comes in as UTF-8.
    Bugged Display in
    FCK editor
    Bugged firefox
    source of above display
    Has anyone ever seen or heard of anything like this? It only
    seems to happen with the LONG datatype because we have no issues on
    any fields except fields that are LONG.
    Thanks in advance for any assistance.

    Where does the data come from (FCK Editor, MS Word, other)?
    This problem happens when I am using a text area, a text
    input or FCK editor I submit the data via a form and allow the user
    to edit it later if necessary using the same means (i.e. text
    input, text area or FCKeditor). But this only occurs on fields that
    insert to LONG datatypes. VARCHAR2's are working fine.
    If you look at the data directly in the database does it look
    fine?
    Yes the data looks exactly as it should when I look at it in
    the DB.
    Have you tried something like this:
    <cfprocessingdirective pageencoding="us-ascii">
    Not yet, I will try that now and let you know how it works
    What popped into my head was that somewhere the data is
    double-byte
    characters that are not using the second byte so it is null,
    then later
    on it is being interpreted as single-byte characters which is
    exposing
    the nulls.
    I definately think this is the problem but I don't know
    enough about encoding and how CF handles it to know how to fix the
    problem.
    I'll keep you all updated on my progress, thanks for the
    suggestions thus far.
    I have not tried

  • Data Displaying issue in ALV report

    Hi,
      I have made a ALV report,  the presetn display layout is as below
    it is displaying the material shortage reprot against issued production order
    ORDER NO.     Order Qty.     MATERIAL     TOTAL QTY     SHORTAGE QTY
    3000000     100     610     100     5
    3000000     100     101     200     43
    3000000     100     8795     400     400
    3000000     100     456     100     67
    3000001     50     548     50     33
    3000004     62     710     62     3
    3000005     15     7895     15     15
    3000020     11     456     22     10
    now the user requirement is the report should come as per below formate
    AT EACH NEW ORDER NUMBER :
    ****************first display main order no. and order qty.
    ORDER NO.     Order Qty
    3000000     100
    ************************then below this display the indiviual material and qty.
    MATERIAL     TOTAL QTY          SHORTAGE QTY
         610            100                     5
       101              200     43
    8795     400     400
    456     100     67
    *******again at new order******
    ORDER NO.       Order Qty
      3000001         50
    **********then below display the items
    MATERIAL     TOTAL QTY          SHORTAGE QTY
      548           50                 33
    how to do this is there any output layout with this i can get this formate in LAV report
    regards,
      zafar

    Hi Zafar,
    You can populate your internal table as per the requirement.
    at new order only.
    itab-Order = 3000000 .
    itab-Order quantity = 100.
    append itab
    for all materials for that order
    itab-MATERIAL       =   610 .
    itab-TOTAL QTY  = 100 .
    itab-SHORTAGE QTY = 5.
    append itab.
    Cheers,
    Suhail

  • Crystal report - Data display issue

    Hi all,
           I did a crystal report. the labels in the crystal report are
                    QTR1  QTR2  QTR3  QTR4
         If I select  the prompt value as QTR3, the values should display under QTR3, but data is displaying under QTR1
         If I select  the prompt value as QTR3 and QTR4, the values should display under QTR3 and QTR4 columns, but data is displaying under QTR1& QTR2.
    i.e., the data is displaying in an order starting from first column.
    Please let me know if I need to change any prompt settings to get the data in the order I needed.
    Thanks in Advance.
    Regards,
    Viswa

    there are 2 ways this can be done.
    do they only run one qtr at a time?
    you can create a group for each quarter
    create a parameter to pull by quarter.
    in the record selection place this statement
    (if {@qtr}=0 then true else = {@qtr})
    in the parameter place 0 if the qtr is numeric value otherwise place ALL (replace the 0 in the record selection with all if necc)
    this will retrieve all the qtrs or the qtr specified.
    if you create groupings for the qtrs place the value of the qtr in the details section below where you want to display qtr 2.
    you will need to create formulas to differentiate the qtrs.
    if qtr1 in date to date then $ amount
    create a formula for all qtrs. this will display the dollar or value for the qtr date range only. otherwise a zero or null will be displayed.
    right click on the section and go to section expert
    in supress section click on the formual button
    if qtr=1 then true. (keep in mind it is a supression formula so true will supress the qtr, false will display)
    then on the values in the the detail section you can supress those based upon a formula also like above.

  • Bizarre & Random Dashboards Display Issues/Errors

    Hello,
    I am on BI 4.1 SP04 and these dashboards were developed using an equivalent level on the client tool. (4.1 SP04)
    Sometimes we get very strange and often random display issues with our dashboards. I have attached screen shots for examples. Sometime we are missing data points from rendering on the charts, other times a line chart will extend into a bar chart.  Has anyone experienced this or have any idea what could cause this? It is very frustrating...
    Thanks for looking,
    Gary
    Missing data points on yellow line, yet line rendering with proper data (other wise would have 0's in places, etc)
    Green line missing dot on last end point
    In this example there are no dots on the yellow line or green line
    In this example the blue line has turned into massive columns extending across the charts

    This patch should resolve the issue in the last screenshot. I still face the other issues after upgrading to SP3 Patch 4. The dots in line chart take some time to appear. Also, if we use dynamic visibility, the components taking considerable time to appear sometimes. I hope this will also be fixed in later patches. Please share your experience too after applying the patch.

  • IPhoto 6 - Date Display Bug?

    I've gone ahead and upgraded to iPhoto 6. Upon first launch, it asked to update the files which I did.
    The new file hierarchy issues aside (Original/Year/Roll drives me nuts), I've noticed that while the calendar shows the correct pictures of the day selected, the Roll name is generic ("Roll 567", etc.) and the date of the roll is not correct.
    For example, a roll taken on December 25, 2005 should have the date of 31/12/05 (or perhaps 12/31/05) but I'm seeing "12/05/05" and when I get info on a pic in that roll, the date taken is shown as "12/2005/2005".
    I've deleted the plist but not sure what else I can try.

    Figured out that the "corrupt" date display is due to custom format display settings for Date in the International preference pane. Set that back to standard and the photos are back to normal.

  • Video Playback in synchroniz​ation to data display

    I've read a bunch of topics about recording live video, but my question has to do with playback synchronized to a data display.  I've got a simple black and white camera (RS170) already.  I'm going to get some sort of capture board.  I want to record video from this camera to the hard drive.  The reason is that this video file needs to be analyzed later so I need to store it on disk instead of memory as it could be days later.  While I'm recording video, another signal needs to be recorded.  It could be anything really, let us say temperature for discussion.  Assume everything is in place for this temp. acquisition. 
    Recording video to disk doesn't seem to be any problem.  My question relates to playing this video back such that when you play it, you can also look at a data display of the recorded temperatures that happened at the same time as the video was recorded.  If you were to drag the video slider manually (instead of just pressing play), the data display would also update accordingly.  This essentially syncs the data display of temperature with the video picture you are seeing.  Pressing play and just watching the video, the temp data would update itself with the correct historical values.  Pressing pause on the video, would of course freeze the temp display to the value at that time.  Wherever the video is, the temp data would have to display the correct historical value.
    I would need to record possibly a few hours of video a day so disk space could be an issue if using uncompressed AVI format.  I wouldn't have to save every days video file so I could eventually delete a bunch of the files.  I'd just save the days video that produces interesting results to examine later.  A number of video files might build up (a months worth?) before the directory is examined for possible deletes.  I'd like some feedback on this too from someone who has tried uncompressed AVI versus something else that is compressed.  Is performance OK if using compression? 
    The computer I'd be running this on is the latest workstation class machine from HP so it is a fairly powerful computer.
    Is there any sample code of doing this video playback indexing to data signal display?  I'm thinking there would have to be some function to know where the video is playing at all times and then historically retrieve the temperature data.  Is there performance issues with this?  I'd want it fairly accurate such that the smallest increment of a video frame (say 30 times a second) produced a proper data display for temperature.  In reality, my signal will change faster than a typical temperature value would.

    I doubt this will satisfy 100% of what you're looking for, but it should at least get the conversation started on developing some techniques we can use to syncronize acquired data playback (again, let's say temperature) with some external source. I don't know much about video playback, so I won't be able to help you much there, but I do know a lot about leveraging LabVIEW technology to play back data in real-time as best possible, while allowing the user (or the video playback itself) to dictate a specific position at any time, pause, etc...
    My first recommendation would be to save your acquired temperature data as a Waveform. Waveform is more or less like a cluster with three elements: a 1D array of Y-values, an intial time (t0), and the time between samples (dt). You can use these three pieces of information to reconstitute when each sample was acquired and what the timing should be configured for to play these samples back in real time. Search the web for information on writing Waveforms to file and reading them. You should find plenty there (or post somewhere else ).
    After that, we can use a Timed Loop for playback. Timed Loops allow you to set a desired Loop period. They also have a lot of other capabilities, such as setting priorities, handling the fact that your last loop didn't finish on time, etc. Here's a link with more info on Timed Loops. Other than that, Timed Loops can operate like regular while loops.
    My next idea is to incorporate a current position that we keep track of. This could be, for instance, the index of the current element in the 1D Y-values array. If you want this to involve user interaction with the front panel (for instance, changing a Slider value to reflect the playback position), then you could use an event structure with a timeout case set to zero. Then update the temperature value and increment the current position in the timeout case.
    You might take a look at the example I've written in LabVIEW 7.1 that "acquires" 5 seconds of sine wave data and plays it back in real time. The user can adjust the position or pause the playback at any time. Again, I don't know exactly how this would interface with video feedback. If you have more specifics about what method you will use to playback the video, maybe someone with more expertise in this area could help us out.
    Jarrod S.
    National Instruments
    Attachments:
    Signal_Playback_Realtime.vi ‏223 KB

  • End User - ESS Timesheet Display Issue

    Hi All,
    Hopefully I have posted this in the correct forum. I tried to search of the issue I have for an end user but had no success, so I thought since my post graduate study surrounds ERP systems and work with SAP every day, I though it was best to register.
    Now the issue I have here is, when the user goes into their portal ESS to view their timesheets, the display is unsual. They do not have an option to manually go back to previous weeks and the view of their timesheet is 'squashed' in (Timesheet Entry View) but if you scroll across to the right where the date and 'go to' function is, it has been cut off. There are no issues with any other users so it appears to be a local issue
    Currently, I have reverted back to IE7, checked for any add on's that may cause display issues, I have checked their roles and everything is normal. The only issue I can see is some conflicting issues is with the Browser and SAP.
    Any help will be appreciated.
    Edited by: A_Ali_ on Jul 19, 2011 1:05 AM

    Check the configuration setting for the profile that's being used by ESS. As this is where you can restrict user's ability to navigate forward and back from current week etc.
    Cheers,
    Brad

  • Help: Column Chart Display Issue

    Post Author: ermiller
    CA Forum: Xcelsius and Live Office
    I have a chart that displays its data correctly 11 out of 12 times...and I can't seem to get the last one to work correctly. Here's the issue:
    I have a table of data that looks like this:
    REGION                                   GAIN                           LOSS                      NET
    ALL                                           =SUM(BELOW)          =SUM(BELOW)       =SUM(BELOW)
    REGION 1                                  10                               (1)                          9
    REGION 2                                  20                               (2)                          18
    REGION 3                                  30                               (7)                          23
    REGION 4                                  40                               (0)                          40
    I have a "Data Display" area that has the following formulas in it:
    CRITERIA                                   GAIN                           LOSS                    NET
    &#91;USER INPUT&#93;                           =VLOOKUP(&#91;USER INPUT&#93;,&#91;TABLE ABOVE&#93;,0,&#91;2,3,4 FOR EACH COLUMN&#93;)
    If the user enters 'REGION 1', 'REGION 2', 'REGION 4, or 'REGION 4', the data is displayed in the column chart perfectly. However, if the user selects 'ALL', the process doesn't work and displays 0s in each of the columns above.
    Does any one have any ideas on how to fix that issue or what could be causing it in the first place? I just noticed that the same thing occurs if I use a Grid component as well...even though Excel is processing the data accurately.
    Thanks in advance,
    Erik

    Post Author: debdeb
    CA Forum: Xcelsius and Live Office
    Hi,
    Without trying out your actual data, the first thing that comes to mind is that you aren't using all the options in VLOOKUP. I've discovered that Xcelsius requires all arguments even optional ones in many formulas but this isn't document). The last argument is TRUE (default) for the closest match, and FALSE for exact match. If the user can only enter from a set of values which are known to be in your lookup table, then either one will work but you should still specify this last argument.

  • FBL3N Display Issue

    Hi,
    I am having some display issue here.
    I have posted a document to a vendor acct. I can view the corect data posted under the assignment field when i view the document in FB03 and FBL1N. The data is also correctly reflected under the BSAK or BSAS. However, When I view te recon acct of the vendor via FBL3N, the data was not correctly reflected under the assignment field. The date (YYMMDD) is indicated instead of the correct text that was originally entered.
    Please advise why and how to correct this problem.
    Regards,
    Ang.

    Hi Ang.
    Please kindly check the following information in the wiki pages below:
    Can not add "Assignment field" (ZUONR) as special field
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=199819851
    and
    BSEG-ZUONR not changable
    http://wiki.sdn.sap.com/wiki/display/ERPFI/BSEG-ZUONRnotchangable
    I hope this information helps.
    Kind Regards,
    Fernando Evangelista

  • TileList data load issue

    I am having an issue where the data that drives a tilelist
    works correctly when the tile list is not loaded on the first page
    of the application. When it is put on a second page in a viewstack
    then the tilelist displays correctly when you navigate to it. When
    the tilelist is placed in the first page of the application I get
    the correct number of items to display in the tilelist but the
    information the item renderer is supposed to display, ie a picture,
    caption and title, does not. The strange thing is that a Tree
    populates correctly given the same situation. Here is the sequence
    of events:
    // get tree is that data for the tree and get groups is the
    data for the tilelist
    creationComplete="get_tree.send();get_groups.send();"
    <mx:HTTPService showBusyCursor="true" id="get_groups"
    url="[some xml doc]" resultFormat="e4x"/>
    <mx:XMLListCollection id="myXMlist"
    source="{get_groups.lastResult.groups}"/>
    <mx:HTTPService showBusyCursor="true" id="get_tree"
    url="[some xml doc]" resultFormat="e4x" />
    <mx:XMLListCollection id="myTreeXMlist"
    source="{get_tree.lastResult.groups}"/>
    And then the data provider of the tilelist and tree are set
    accordingly. I tried putting moving the data calls from the
    creation complete to the initialize event thinking that it would
    hit earlier in the process and be done by the time the final
    completion came about but that didn't help either. I guess I'm just
    at a loss as to why the tree works fine no matter where I put it
    but the TileList does not. It's almost like the tree and the
    tilelist will sit and wait for the data but the item renderer in
    the tilelist will not wait. Which would explain why clicking on the
    tile list still produces the correct sequence of events but the
    visual component of the tilelist is just not working right. Anyone
    have any ideas?

    Ok, so if ASO value is wrong, then its a data load issue and no point messing around with the BSO app. You are loading two transactions to the exact same intersection. Make sure your data load is set to aggregate values and not overwrite.

  • Infotype data display only authorization in PA30

    Hello Friends,
    I want to give infotype data display only authorization in Employee Master (PA30) to some of my colleagues. I used object P_Origin for the same but it is not working as it has both create and change access. Can anyone suggest how to tacle the issue in details.
    Thanks in advance,
    Anand

    Hi
    HR Master Data Authorisations.
    Object P_ORGIN
    INFTY : Infotype No.
    SUBTY:Subtype No.
    AUTHC:Authorisation Level
    PERSA:Personnel Area
    PERSG:Emp Group
    PERSK:Emp Sub Group
    VDSK1:Organizational Key
    Ex P_ORGIN :
    INFTY : 0014
    SUBTY:M120
    AUTHC:R
    PERSA:DE01
    PERSG: 1
    PERSK: *
    VDSK1: *
    R - Read Authorisation.
    Manoj Shakya

  • E52 Date Display does not update and reflect the c...

    Right from day 1 the display date of my E52 does not update and reflect correct the correct date. Got the phone replaced once still the same issue. Called the customer service and they say there is no such problem with E52. They asked me to go to the repair center...(isnt that ridiculous to ask a customer of a new phone to do so?). I went to the repair center with a hope that they will replace it for me but all in vain. They also gave me a ridiculous answer that Nokia does not have a replacement policy...and I was like so is it Nokia's policy to sell broken and faulty mobiles? I was utterly dejected. The electronic store where I bought also refuse to replace because they think there is a problem and no matter I get it changed it will recur. I still do not have a solution as all my ways of getting this problem resolved are exhausted. Anyone has a solution or came across this issue which can be solved without repairing?

    Ok let me state my problem. There is a date display and at midnight the date should automatically change to the next date. However that does not happen. The dealer makes the following changes Control Panel>Settings>General>Date and time> Automatic time update> On and this does not solve the problem. Then I get the mobile replaced and that too has the same problem. after going through all permutations and combinations the problem persists. To quote the email from the Contact center for Nokia in HK this was what was suggested
    Menu→Ctrl. panel→Settings→General→Date and time→Time zone→please select Hong Kong→Automatic time update→please select Off
    However, if the situation still occurred by following the above settings, please be advised to bring your Nokia E52 along with the valid sales invoice to one of our Hong Kong Nokia Care Centres for the handset checking since we do not have such arrangement of replacing a new phone to you.
    Please help!!!

  • Screen display issue with InDesign CS4 (Windows)

    I just upgraded from CS2 to CS4. I can open and use InDesign with no problems, until I try to switch to another application. Then, when I try to go back to InDesign, all I can see is the portion of the bar at the top of the screen that shows the link to Bridge, the view options and a bit of the outline of a palette or two. I have a two monitor setup. Most of the palettes are on the auxillary monitor and they show up just fine. The main display is where I'm having the issue. I can toggle in and out of Photoshop with no display issues. I haven't tried working with anything else from the CS4 package besides InD and Photoshop. This was not an issue with any CS2 product (Dreamweaver, Fireworks, InDesign, Photoshop, Flash). Nor has it been an issue with any of the other software I am running (so far).
    When the display vanishes, I can see the "data" from the program I was trying to toggle out of. For example, if I try to toggle between this page and InD right now, I can see most of this page except for the part of the page obscured by the outline of the control palette (that one reminiscent of pagemaker) and the little bits at the top. I can't see the project I'm working on. I can't see the File/Edit/etc. bar at the top of the page. A Control/Shift/Save will lock up the program completely. Then, I see the "save as" menu box (in addition to the browser screen around it) but the program is locked up. I can close everything on the computer and reboot and open InDesign to resume work--that is until I need to do something like edit a photo to drop into a layout. Then the issue occurs all over again.
    Windows machine; XP Pro, service pack 3 build 2600; NVidea GeForce 9600 GT graphics card.

    Bob, thanks for the info about the 6.0.2 patch. I'll try grabbing that today. This morning, on the first boot, I can't even see the program when I open it--just the snip of the command palette and part of the very top bar. Very irritating.
    Peter, I have tried maximizing, closing, reopening, etc. everything else I can think of. Same issue. I finally just bit the bullet and went back to CS2, rebuilding the current project so I can get the work done by deadline. I'll look for new video drivers this afternoon after I get back on track timewise on this newsletter. Weird that this display issue should just affect the one Adobe program though, and not the others if it is a video driver problem. I didn't do a lot of work in Dreamweaver--just enough to see if it displayed the same weird behaviour. Nope. Nor does Photoshop. Nor does Bridge. Nor does Acrobat. nor does any other software on the machine.

  • Data Grid - issues resizing width of columns and with data refresh and sort

    SQLDeveloper 1215 on Windows XP professional
    Database : various 9.2
    In the table data tab there are a few minor issues our developers have highlighted.
    1) There seems to be a minimum column width in the data display. This restricts flexibility in reviewing the data, esp. where the data length is less than the minimum column width.
    2) If a column is resized or the column order is changed and a refresh or a new filter is applied then the columns are restored to their original position and size making it frustrating to run more than one query via the GUI.
    3) There is no quick sort option by clicking on the column heading which would be useful.

    I am still seeing this minimum column width in SQL Developer production (v1467) and I haven't seen any other posts relating to this. I have seen this all of the grids that I have looked at, including all of the grid based sub-tabs for the Object tabs (ie Columns, Data, Indexes, Constraints, etc) and the SQL Worksheet results tab.
    It is very obvious with the Column Name and Data Type columns of the Table Columns tab - the Column Name column can be shrunk to truncate values but the Data Type column can only be shrunk to about the twice the width of the widest value.
    Can anyone in development provide any comments about why we have this minimum width and how the minimum width is actually calculated?

Maybe you are looking for

  • Hi, what's the impact of creating sites through configuration in Sap retail System?

    Hi Experts, Business requirement is to have a production plant created through config in retail system and then ship the finished product to DC using STO's and Dc will be created as master data in retail system. please share your experience on busine

  • Using a "Posting Key" relevant for the calculation of sales

    Hi All, if I make a posting by F-02 using a "Posting Key" relevant for the calculation of sales, I wonder: in which table SAP registers the data of sales? Is there the way to modify the relevance for sales of that posting? Thanks

  • Installing JRE 1.4.2_04 error: Error reading setup initialization file

    I'm getting the following error when trying to install the Java 2 Runtime Environment. Diaglog box containing message: Error reading setup initialization file. I get this error on any of the installers for Java 2 Runtime Environment, Standard Edition

  • Some issues while testing EJB3 API

    I'm running some EJB3 peristence test outside standalone and I'm running into some issues that I did not see running the same code against the Hibernate EntityManager implementation. I'm currently using the Kodo 4.0EA3 download. Any help is appreciat

  • Create a mail form for Marketing

    Hi, I want to create a mail form in Marketing, but before loosing my time trying to understand how it works, it would be very useful if some one has a guide or anything similar to do step by step a nice mail form, with pictures, logos, .... If so sen