Focal Point
[WORKAROUND]Pass parameter to calendar object

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3187076216

November 10, 2011, 11:26 AM
Håkan
[WORKAROUND]Pass parameter to calendar object
We're populating two calendars when loading a screen (developed in Document Composter). Most screens have the default value of 7 days before today but this one has to go back a month. I've got a Focexec which calculates the default start date. How do I set the value to another value depending on the screen which is loaded? Do I have to populate it myself with a Javascript on load or can I pass a parameter. I can't use inline code either cause that only works in IE, not iin Chrome or FF. When are IBI supposed to discover there are other browsers out there?

Tia

Håkan

This message has been edited. Last edited by: Håkan,


WebFOCUS DS 8.0.06/08 DS/AS
WebFOCUS RS 8.0.08 (Linux/IBM i)
WebFOCUS Client 8.0.06 (Linux)
November 10, 2011, 01:06 PM
Norb Eckert
Hi Håkan, Perhaps you've already seen this but if not, you may be interested in this page that lists IBI's current browser support.

http://techsupport.information...wbf/wbf_tmo_027.html

Later dude,

Norb

This message has been edited. Last edited by: Norb Eckert,


prod:7.6.9, win2k3 mre, caster, bid, devstudio 7.6.9
November 10, 2011, 04:02 PM
Waz
Thanks Norb, very interesting.

Good One


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

November 10, 2011, 09:02 PM
Francis Mariani
Håkan,

The default value can be a DM variable, entered in DS HTML Composter as !IBI.AMP.varname;

Our DS HTML Composter designed screens are called by fexes that set some parameters, then call the screen via -HTMLFORM

You could design the fex to compute that default date...


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