Date formatting in Rowset and netui-data:basiccolumn

Hello,
I am using the netui-data:basiccolumn to display columns in a row of data. One
of the fields is a Timestamp from the DB. It is printed out in a less than ideal
format. I'd normally just use a SimpleDateFormat object to correct this, but
I don't seem to have that control with the basicColumn. Is there a better way
to format date objects once at the presentation layer? Or am I stuck either formatting
them via SQL or in place in the RowSet?
Thanks,
Morgan

Morgan,
Have you tried using the <netui:formatDate> Tag ?
More information is available at
http://e-docs.bea.com/workshop/docs81/doc/en/workshop/taglib/www.bea.com/workshop/netui-tags-html-1.0/formatDate.html
Regards,
Raj Alagumalai
Backline Workshop Support
"Morgan Hall" <[email protected]> wrote in message
news:[email protected]..
>
Hello,
I am using the netui-data:basiccolumn to display columns in a row of data.One
of the fields is a Timestamp from the DB. It is printed out in a lessthan ideal
format. I'd normally just use a SimpleDateFormat object to correct this,but
I don't seem to have that control with the basicColumn. Is there a betterway
to format date objects once at the presentation layer? Or am I stuckeither formatting
them via SQL or in place in the RowSet?
Thanks,
Morgan

Similar Messages

  • Different Date Formats on CRM and BI Client

    Hi,
    When trying to run the CRM Interactive Report "Accounts with Open Activities", I receive the following error:
    Different date formats on CRM and BI client 01/13/2009 13.01.2009 SC5CLNT200
    Does anybody know how to resolve this error?
    Thanks

    Hi Peter,
    As far as i remember, I had the same issue.
    Once I matched the date format in reporting client using SU01 on default tab with CRM date format, I did't see the error again.
    Did you try restarting the Browser & also relogin GUI.
    Else lets see what else can be done.
    Best Regards
    Shiven

  • I had a trouble with my lap top and had to format hard disk and install all soft ware again. could any body tell me how to transfer the application and data in my i phone back to my laptop.

    I had a trouble with my lap top and had to format hard disk and install all soft ware again. could any body tell me how to transfer the application and data in my i phone back to itune.

    You can't. It still thinks that your iPhone is synced with another iTunes library (the one that you had before you reformatted the hard drive.

  • Workshop 8.1 - netui-data:repeater and netui:checkBox

    Hi everybody.
    How can i use netui-data:repeater and netui:checkBox to build a group of checkboxes ? I need something like Struts "indexed and mapped properties" (http://struts.apache.org/struts-doc-1.1/faqs/indexedprops.html)
    I've tried something like this
    == FORM ==
    public List getSearchResult() {
       return searchResult;
    public void setSearchResult(List searchResult) {
       this.searchResult = searchResult;
    }== JSP ==
    <<netui-data:repeater dataSource="{actionForm.searchResult}">>
    <<tr bgcolor="#ffffff" class="text8b">>
    <<td>><<netui:checkBox dataSource="{container.item.selected}" />><</td>><</tr>>
    <</netui-data:repeater>>
    I can see the values inside this page but when i submit this form, my list is empty (null).
    What is the right way of do it ?
    Thanks in advance.

    Hi Daniel
    There are 2 ways you can acheive this.
    1) Using something called Pageflowscoped form for this. This will let you use arrays for checkbox group.
    The main part will be that you need to define a member varaible of the form at the pageflow level there by the data will not be lost
    2) Using Request scoped form like you have now but need to modify the getter method to populate the "searchResult" object.
    public List getSearchResult() {
    if( null == searchResult){
    System.out.println(" Pouplate the searchResult here. ");
    searchResult= new ArrayList();
    //populate the default values.
    return this.searchResult;
    More info at:
    http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/netui/guide/conReqScopedVsPageScopedBean.html
    I have a sample with pageflowscoped bean and requestscoped bean that I can send you if you provide your email address.
    Unfortunately we cannot attach files in the newsgroup.
    Thanks
    Vimala

  • I had to format my pc and now itunes says that it has to erase all of my data in iPhone

    I had to format my pc and now itunes says that it has to erase all of my data in iPhone...
    i have iPhone 4 16GB iOs 5.0.1 (i dont want to upgrade yet)
    i was going to transfer some songs from my pc to iphone via itunes with drag n drop style
    but didn't worked... then i tried to check the box "Mange music and video manually" and when i pushed "Apply"  iTunes said that it has to erase all of my data....
    what can i do to keep my data plz???

    https://discussions.apple.com/docs/DOC-3141

  • Format hard drive and use the TM

    the story is long but start from downloadingthe mountain lion. i try to install but the system told me i need to run hard drive repair utility becouse the hard drive is damaged. i did that but the software told me is too much and i need to format the hard. after that . i try to remove some un use software and even try to re install the lion first and then update it to mountain lion but it didn't work.
    i have back up on time machine. i have outlook 2011 mac plus paralele with autocad and quickbook acounting software on windows.
    i need to know if i format the machine and use the TM to restore the machine . do i need to install all software again . do i lose any data or just machine will look the same as now.
    i am new in mac i have it just for year.
    please help.
    thanks

    Yes, you can use an external drive. To upgrade, however, means:
    Purchase Snow Leopard DVD then update Snow Leopard to 10.6.8.
    Access the App Store with your Apple ID and purchase and download Lion.
    Your computer must meet system requirements:
    Snow Leopard General requirements
    Mac computer with an Intel processor
    1GB of memory
    5GB of available disk space
    DVD drive for installation
    Some features require a compatible Internet service provider; fees may apply.
    Some features require Apple’s MobileMe service; fees and terms apply.
    Lion System Requirements
    Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
    2GB of memory
    OS X v10.6.6 or later (v10.6.8 recommended)
    7GB of available space
    Some features require an Apple ID; terms apply.
    Obviously, you do not have to upgrade to Lion but can stop at Snow Leopard 10.6.8 which is sufficient for the current versions of iLife apps. Note that iDVD is no longer part of the newest version of iLife. Lion 10.7.2 or later is needed should you wish to use iCloud.

  • Satellite A200 - Format C drive and reinstall

    Hi,
    I have a Toshiba Satellite A200 with a 32 bit windows vista, that was purchased about 4 years ago. It has become extremely slow and crashes on a regular basis. I want to format the C drive and re-install windows vista . I will subsequently re-install all drivers. I have questions about the process
    1. I have the recovery disk provided by Toshiba. Is this enough to do what I need above? Does it also have windows, because I checked the disk and couldn't find the windows installation files
    2. Will the recovery process format all partitions or only my windows drive (C:). I prefer if it only formats C: drive and not the other drives. However I am still backing up all drives just in case
    Thanks for the help.
    V

    My answers:
    # Recovery disc cannot be compared with Microsoft OS installation disc. Microsoft installation disc contains OS only. Recovery disc contains recovery image. This recovery image contains OS, all important drivers, Toshiba specific tools and utilities and some additional software. After recovery image installation everything will be installed and what you must do is to configure OS.
    # Recovery process will format whole HDD and al saved data will be deleted. If you are able to install OS using HDD recovery procedure (F8 at start up Repair my computer Toshiba recovery installation) without using recovery DVD than only partition C will be formatted. Your A200 is pretty old and I dont know if this HDD installation was available at this time.
    If you have more questions you are welcome.

  • Interactive Reports Download In Colour format in html and csv

    Hi All I want to download interactive report in colour format(as it is format) in html and csv using apex 4.0.2
    Regards
    Robert

    http://en.wikipedia.org/wiki/Comma-separated_values
    A comma-separated values (CSV) file stores tabular data (numbers and text) in plain-text form. As a result, such a file is easily human-readable (e.g., in a text editor).re: colours of html output
    interestingly, there are settings in print attributes, but they have no bearing on the output... obviously nothing to do with the html output. Probably best bet is BI Publisher, where you can define your own report templates.

  • Regarding  the rowset and row tags in the XML output

    Hi,
    We generated an XML file using dataset of type SQL query.The output is including additional tags
    <ROWSET> and <ROW> tags.How to disable them from appearing in the XML output.

    Hi,
    Iam not using the Datamodel of data template type.If we use the data template we can disable the rowtags by setting the property mentioned by you.But we get the data template name and the query name included in the output.My requirement is to disable the extratags.
    Can u please provide inputs on how to disable the datatemplate name and the query name tags in the output when we use datatemplate.Thank you.

  • I recent la format the drive and create a case sensitive jornal and put a password. How I undo it if I just see the whole drive as the recovery disk

    I want to format my computer and I start to do that but I fondo a copy of the boot folder on the drive, not the recovery drive. I formated and make it case sensitive jornal with a password. Then I put a password in main too. So the drive the entre drive become my recovery drive.So I have two recovery drive I think.I learn almost all the diskutil comando and I don know how to fin it. The disks are not showing the one with the passwords.

    Hi Kappy,
    Just wondering if you had any advice for my situation . . .
    My time machine backup was backing up to a drive that was "Mac OS X Enteded Journaled, Case Sensitive."  I had no idea what this meant, or that it would even cause issues.
    I took my computer to the Apple store yesterday, and they wiped it clean.  When they tried to restore it from the Time Machine backup drive, it would not work.  Their guess is that Time Machine cannot restore from a drive that is "case sensitive."
    Any thoughts on how I can convert my time machine backup data from a "case sensitive" state, to a "non-case sensitive" state?  I've tried to just drag and drop the files from the case sensitive formatted drive to a new drive that I have that is formatted non case sensitive, but I get the following error message:
    "The volume has the wrong case sensitivity for a backup"
    I just really want my data back - I thought TimeMachine was the way to go (and was supposed to work) but unfortunately it is not.
    Any help you can provide would be greatly appreciated.
    Thanks,

  • I re-formatted my pc and changed its name and user name. But after formatting firefox sync is not showing my previous bookmarks.

    Hi guys i Formatted my pc and after formatting now firefox is not showing my previous bookmarks
    I changed my computer name and user name
    and i dont remember what was previous name of my computer

    Did you reset the password of the Firefox account or did you still remember the password?
    The new Sync version used in Firefox 29 and later still uses a Sync key to encrypt data locally before uploading, but this Sync key is generated internally from the password of your Firefox account, so you no longer need to worry about it.
    This also means that the Sync key changes when you change (reset) the password of the Firefxo account and you lose all data stored on the Sync server when doing that.

  • Check image details like resolution, dimensions, color mode, file format, file size and file name

    I have 1000 images in a folder, i want to check their details like resolution, dimensions, color mode, file format, file size and file name into excel with nice user interface.
    Pls help me, m just learning ABCD in VB.

    The code in the file at the link below might give you a starting point. Firstly it gives you the opportunity to list all of the properties of a file type and then you can select the properties that you want and the second utility gives you the
    opportunity to list the selected properties for all files in a selected folder.
    Download and extract the file and open the file in Excel.
    Click the first button List Meta Data for One File (Run first)
    Navigate to and Select any ONE individual photo file. (Photo files because that is what you indicated you are working with.)
    You will be presented with a list of the available properties for the file. Where the Item value is blank, that property is not recorded for the particular file. Different file types have different properties and it is also dependent on how the file
    was created but generally if all of the files come from the same source then the same properties are recorded for all files from that source.
    Now insert a Y in column D for all of the required properties. (Don't select any with the Item value blank)
    Click the second button List Selected Meta Data for all Files in a Folder (Run after selecting the required properties).
    Next select a folder where the files reside. (You might need to back up to the folder if dialog is blank because it will not show individual files because the code only allows Folders.)
    You will be presented with a report listing all of the selected properties for all of the files in the selected folder.
    The user interface is not that great but you can improve on that if you want to with a Userform as you get to know VBA a little better.
    Download the file from here.
    https://onedrive.live.com/redir?resid=C2A7A5912D3D17B0!273&authkey=!ANf8R0Xf0-h3wJ8&ithint=file%2czip
    Regards, OssieMac

  • I have downloaded OS X Yosemite using recovery from boot but while installing error occuring showing unable to extract essential.pkg so can't install. problem is i have already formatted my drive and dont have any os right now. please help

    i have downloaded OS X Yosemite using recovery from boot but while installing error occuring showing unable to extract essential.pkg so can't install. problem is i have already formatted my drive and dont have any os right now. only the downloaded new os x yosemite in the os x base system. please help

    Please try again after taking each of the following steps that you haven't already taken.
    Step 1
    Reset your computer’s PRAM.
    Step 2
    If your model has user-replaceable memory, and you've upgraded the memory modules, reinstall the original memory and see whether there's any improvement. Be careful not to touch the gold contacts. Clean them with a mild solvent such as rubbing alcohol. Aftermarket memory must exactly match the technical specifications of the machine.
    Step 3
    Back up all data to at least two different storage devices, if you haven't already done so. One backup is not enough to be safe. The backups can be made with Time Machine or with Disk Utility. Preferably both.
    Erase and install OS X. This operation will destroy all data on the startup volume, so you had be better be sure of the backups.
    Step 4
    Make a "Genius" appointment at an Apple Store, or go to another authorized service provider to have the machine tested.

  • Form bean with int property and netui:select tag

    Hi,
    I've recently started using WebLogic 8.1 for a client project. There's
    been a bit of a learning curve, but I've been able to find most of my
    answers in the docs or on the dev2dev site. This one, though, I've been
    unable to manage.
    I have a database table, call it foo. In it I have columns for id
    (numeric) and name (string). I created a database control to read that
    data:
    select id, name
    from foo
    I then want to use this data to populate a select list in a form, which
    is going to be used to submit new records for another table. For the data:
    id     name
    1     Foo
    2     Bar
    3     Bletch
    I want to generate a select list (this is the output HTML, not the netui
    tags):
    <select name="foo">
    <option value="1">Foo</option>
    <option value="2">Bar</option>
    <option value="3">Bletch</option>
    </select>
    My first question is what the best way to do this is. I was able to get
    this working by creating a database control, which returns an array of a
    custom Foo class. I then pass that array into a utility method which
    converts it into a Map, and pass that map to the netui:select tag in the
    optionDataSource attribute. This works, but it seems rather roundabout,
    so I'm wondering if there's a better way to do it, without needing the
    conversion utility method in the middle. I tried playing around with
    the control, I tried using different netui tags (I thought I could do it
    with a repeater and netui:selectOption tags, but that didn't work), and
    nothing else worked.
    The second problem arose when I was tying the result to a Form Bean. I
    created a bean with all the data that I was reading from the form, and
    at first, I just made everything in the form bean be a String. For this
    select, though, the values are ids, so I thought I'd just make them be
    ints in the form bean instead. However, when I did that, WL decided
    that it wanted to add in a default option with a value of 0:
    <select name="foo">
    <option value="1">Foo</option>
    <option value="2">Bar</option>
    <option value="3">Bletch</option>
    <option value="0" selected>0</option>
    </select>
    I've tried to find a way to get rid of that 0, and I can't. Is there a
    way to prevent it from sticking in a default value like that? Or do I
    have to just leave it as a String in the form bean to get it to work the
    way I want?
    Thanks in advance for your help.
    Joe Robins                    Tel: 212-918-5057
    Thaumaturgix, Inc.               Fax: 212-918-5001
    19 W. 44th St., Suite 810          Email: [email protected]
    New York, NY 10036               http://www.tgix.com
    thau'ma-tur-gy, n. the working of miracles.

    wrt your 2nd problem, in the jpf, for the form bean, are you declaring your id
    like this:
    private int id;
    if so, try declaring it w/ a valid value, like:
    private int id = 1;
    -tanya
    Joe Robins <[email protected]> wrote:
    Hi,
    I've recently started using WebLogic 8.1 for a client project. There's
    been a bit of a learning curve, but I've been able to find most of my
    answers in the docs or on the dev2dev site. This one, though, I've been
    unable to manage.
    I have a database table, call it foo. In it I have columns for id
    (numeric) and name (string). I created a database control to read that
    data:
    select id, name
    from foo
    I then want to use this data to populate a select list in a form, which
    is going to be used to submit new records for another table. For the
    data:
    id     name
    1     Foo
    2     Bar
    3     Bletch
    I want to generate a select list (this is the output HTML, not the netui
    tags):
    <select name="foo">
    <option value="1">Foo</option>
    <option value="2">Bar</option>
    <option value="3">Bletch</option>
    </select>
    My first question is what the best way to do this is. I was able to
    get
    this working by creating a database control, which returns an array of
    a
    custom Foo class. I then pass that array into a utility method which
    converts it into a Map, and pass that map to the netui:select tag in
    the
    optionDataSource attribute. This works, but it seems rather roundabout,
    so I'm wondering if there's a better way to do it, without needing the
    conversion utility method in the middle. I tried playing around with
    the control, I tried using different netui tags (I thought I could do
    it
    with a repeater and netui:selectOption tags, but that didn't work), and
    nothing else worked.
    The second problem arose when I was tying the result to a Form Bean.
    I
    created a bean with all the data that I was reading from the form, and
    at first, I just made everything in the form bean be a String. For this
    select, though, the values are ids, so I thought I'd just make them be
    ints in the form bean instead. However, when I did that, WL decided
    that it wanted to add in a default option with a value of 0:
    <select name="foo">
    <option value="1">Foo</option>
    <option value="2">Bar</option>
    <option value="3">Bletch</option>
    <option value="0" selected>0</option>
    </select>
    I've tried to find a way to get rid of that 0, and I can't. Is there
    a
    way to prevent it from sticking in a default value like that? Or do
    I
    have to just leave it as a String in the form bean to get it to work
    the
    way I want?
    Thanks in advance for your help.
    Joe Robins                    Tel: 212-918-5057
    Thaumaturgix, Inc.               Fax: 212-918-5001
    19 W. 44th St., Suite 810          Email: [email protected]
    New York, NY 10036               http://www.tgix.com
    thau'ma-tur-gy, n. the working of miracles.

  • I need to format my pc and i don't want to lose my downloaded add-ones so,,, what i have to do?

    i need to format my pc and i don't want to lose my downloaded add-ones so,,, what i have to do?

    There are a couple of tools you can use to backup your Firefox user data including extensions. The first is FEBE, which is an extension that allows you to backup your entire profile (location where user data is stored). The second is MozBackup, a free application for backing up Mozilla profiles.
    * https://addons.mozilla.org/firefox/addon/febe/
    * http://mozbackup.jasnapaka.com/

Maybe you are looking for

  • ITunes 10.6.1 can't sync!!!

    After I upgraded to iTunes 10.6.1 in my MBP with Lion 10.7.3, I can't sync my iPod Nano 5G. The devices is no seen by iTunes so it's totally ununsable right now... :-( What are you doing with iTunes, Apple?

  • Changed hard drive now system will not boot [Solved]

    Hi, Right got myself into a real mess, transferred data from old drive to new ... set up fstab ... grub is working... But.... getting init kernel panic Now I figure I need to reinstall kernel [via chroot! in wiki!] first try did not work via ubuntu l

  • Error in control file

    I think I originally posted this in the wrong area: When starting up my database, I get: ORA-00205: error in identifying controlfile, check alert log for more info The Alert log shows: ORA-00204: error in reading (block 1, # blocks 1) of controlfile

  • Problem in event handling of combo box in JTable cell

    Hi, I have a combo box as an editor for a column cells in JTable. I have a event listener for this combo box. When ever I click on the JTable cell whose editor is combo box, I get the following exception, Exception occurred during event dispatching:

  • Why is the Options/Content Turn off Java check missing. Java won't turn off

    You removed the Check box from the Options/Content menu to turn off Java, and turning it off under app's has no effect. Java stays on no matter what I do.