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     DS HTML Composer: Calendar control - cannot set to YYM

Read-Only Read-Only Topic
Go
Search
Notify
Tools
DS HTML Composer: Calendar control - cannot set to YYM
 Login/Join
 
Expert
posted
Why shouldn't I be able to set my calendar date format to YYM? A pile of date formats are available but not YYM.

And why can you change (edit) the text value in the "Date format in data source" drop-down list but the change is ignored the next time you click on the Calendar control? What kind of GUI interface design is this?

Am I the only one with these kinds of problems? I'm even trying to be a conformist, though it's hard - I'd love to hear from people that are developing with the GUI and it's all smooth-sailing.


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
Virtuoso
posted Hide Post
It gets extra fun when the underlying date format in the database is I8 instead of an actual date format. Calendar controls cannot display dates based on an I8 format. You'd think I8YYMD would do the trick, but that can't be selected from the GUI.

We end up converting our dates to something the control understands and then back to something the database understands afterwards.

That said, allowing the calendar control to handle YYM is extra tricky. There's no point in providing a user to pick a day if only the month matters, so it isn't really the right control for the job.

A few chained dropdowns for year and month (with values as YYM) should do the job better, I think.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Master
posted Hide Post
Smooth-sailing is something devoutly to be wished. As a non-html, non-javascript guy my only tool is the GUI, and I've had numerous shipwrecks along the way (I've learned to save, save, save, every little change when messing with the html composer.)


WebFOCUS 7.7.05 Windows, Linux, DB2, IBM Lotus Notes, Firebird, Lotus Symphony/OpenOffice. Outputs PDF, Excel 2007 (for OpenOffice integration), WP
 
Posts: 674 | Location: Guelph, Ontario, Canada ... In Focus since 1985 | Registered: September 28, 2010Report This Post
Virtuoso
posted Hide Post
Not to mention creating a backup of the HTML before any major change (sometimes just adding a label or new control qualifies as *major*).

This message has been edited. Last edited by: njsden,



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Expert
posted Hide Post
Y-M is on offer, but not YYM, YY-M.

To Wep5622's point, "no point in providing a user to pick a day if only the month matters" - I agree completely, but I believe if the GUI Calendar control offers these non-day options, then it should alter what is shown in the control.


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     DS HTML Composer: Calendar control - cannot set to YYM

Copyright © 1996-2020 Information Builders