Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Calendar control YMD instead of YYMD ???

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Calendar control YMD instead of YYMD ???
 Login/Join
 
Platinum Member
posted
I'm slightly stumped. I have a calendar control to pick a date. I have the "Date format in data source" chosen as 2015/01/15 YYMD, I have the "Send unformatted value" ticked.. so I'd expect 20150115 to be passed.

However, the calendar display field comes up as YMD (regardless of what you choose as your date format), so it shows 15/01/15 and 150115 gets passed.

I wouldn't want to create another Y2K bug, but am I missing a trick here or is ist just a "feature"?I'm on DevStudio 8006

This message has been edited. Last edited by: <Kathryn Henning>,


Cheers,
H.

WebFOCUS 8.1.05M
Oracle 11g - DB2
RedHat
 
Posts: 115 | Location: Brighton UK | Registered: February 19, 2005Report This Post
Expert
posted Hide Post
Because I still can I would look at the source code and verify that YYMD is in the GUI generated code. I've had inexplicable things happen with the calendar control (and other controls as well) and have sometimes modified the code manually (heavens forbid!).

Verify that the IBI attribute for the control is indeed YYMD (ibiformat="YYMD"). I would uncheck "Send unformatted value" to see what happens.

In the GUI world, sometimes the only solution is to delete the control and re-add it. Some people consider that a regular part of using the GUI, I don't.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
Going at the html then... indigestion tablets here I come Music

And works like a charm...

Funny that, it won't touch the ibiformat, otherwise ticking/unticking sends the 2015/01/15 or 20150115 just as expected.

Thanks Francis, I needed the sanity check.

This message has been edited. Last edited by: Hank W.,


Cheers,
H.

WebFOCUS 8.1.05M
Oracle 11g - DB2
RedHat
 
Posts: 115 | Location: Brighton UK | Registered: February 19, 2005Report This Post
Expert
posted Hide Post
Please let me know if you had to edit the code to fix the format, because if you did, this is a b***** good reason why we need to edit the GUI generated HTML. Some people believe it is perfect when we know it is not. Cheers.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Calendar control YMD instead of YYMD ???

Copyright © 1996-2020 Information Builders