Focal Point
[CASE-OPENED] Calendar controls (dynamic date-range)

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

December 12, 2013, 12:06 PM
j.gross
[CASE-OPENED] Calendar controls (dynamic date-range)
Has anyone successfully constructed a launch page in the HTML Composer, with calendar controls, configured using the Dynamic | External Procedure option to specify the date range covered by each control?

When I do so, the calendar icon never appears.

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


- Jack Gross
WF through 8.1.05
December 12, 2013, 03:25 PM
J
... It appears that the icon doesn't appear unless you are using IE.


WebFOCUS 7.7.03/8.0.08
Dev Studio 7.7.03/8.0.08
App Studio 8.0.08
Windows 7
ALL Outputs
December 12, 2013, 05:16 PM
j.gross
Even with IE it's dicey. The Composer places
</xml></BODY>
<SCRIPT id=IBI_loadcalendar type=text/javascript>
if(ibigblInitInfo.testOptions(rltdyncalendar)){
     setDateRange();
     setupDocCalendars();
}</SCRIPT>

<SCRIPT id=IBI_loader type=text/javascript>
doBeforeLoad();
</SCRIPT>
</HTML>

at the bottom of the file. -- That was an adequate design choice back when the only option was Static - all the pieces are in place once the BODY has been read, which is the reason they placed this bit of script down there.

But for Dynamic date ranges, the fex that supplies the values runs asynchronously, so data values may not be available yet when setDateRange(); and setupDocCalendars(); fire up.


- Jack Gross
WF through 8.1.05