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.
All of what follows is done with the HTML Composer and it all works fine, I just have a question about what seems to me to be odd behavior.
I have a very simple form with 2 calendar controls; Begin Date and End Date. In the form, the range for begin date is from the current date -25 months to the current date. The range for the End Date is from the current date -13 months to the current date.
Here's the odd behavior. When the calendar icon is clicked for either date, the calendar opens with the month of the minimum allowed date. How do I get it to open with the current month? For example, right now when the calendar control is click for begin date it opens with December 2010. I would like for it to open with January 2013. We are on 7.6.11. Is this something that is fixed in a later release?This message has been edited. Last edited by: Kerry,
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006
The way that I do it is to open the htm form from within a fex using the -HTMLFORM [form_name]. But, before that line, I -SET or -DEFAULT the dates that I want to be "active" on the calendar controls.
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
The onKeyPress is my own so don't worry about that. My guess is that the defaultselection attribute may have something to do with it, and there may be something that happens on page load that sets something. window_onload(); usually runs.
My page is home-grown so it may not be the best example, but every page I've ever seen made in the tool defaults to current month.
J.
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007
Thanks for the suggestions but using -SET prior to the -HTMLFORM did not work and neither did using defaultselection. It is not a big deal just an inconvenience. I will open a problem report with IBI.
In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006
Just before the form is opened, in the lauch program I have this:
-SET &BEGDT=&DATEMDYY;
-SET &ENDDT=&DATEMDYY;
Then in the HTML Composer, in the calendar control properties is put !IBI.AMP.BEGDT and !IBI.AMP.ENDDT in the appropriate 'Selected Value' in the Properties and Setting.
According to the "Designing a User Interface for a Web Application With the HTML Composer" manual, -HTMLFORM abcdef.htm is not supported. Which means neither is !IBI.AMP and !IBI.FIL, but that shouldn't stop us from doing it.
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
You should NOT do it because things like "Save Selection" will not work for example.
David Glick Director WebFOCUS App Studio and WebFOCUS Developer Studio WebFOCUS Division Information Builders, Inc. Direct (917) 339-5560 Voice Mail (212) 736-6250 x3560 Fax (212) 947-5168 Email david_glick@ibi.com
That is the process to follow. Any new feature should be opened as a Hottrack case please.
David Glick Director WebFOCUS App Studio and WebFOCUS Developer Studio WebFOCUS Division Information Builders, Inc. Direct (917) 339-5560 Voice Mail (212) 736-6250 x3560 Fax (212) 947-5168 Email david_glick@ibi.com