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 the launch pages I have created or seen created require the user to click a button to pass parameters and execute the hyperlinked procedure(s). I have created a small procedure with a single variable prompt for Month. I'd like to have the Month Name on my launch page as a drop down control but have the procedure update immediately upon selection of the Month of the dropdown as opposed to making the user select Month and then also select Run. I looked at the HTML that is associated with the button(onclick) and tried applying this to the dropdown(onclick) action but could not mimic the behavior of the button. Is this possible? I understand that if you have multiple selections it makes more sense to have the user select all their parms and then submit but I would think for something with a single parameter it would be easier for the end user to just have the execute occur upon selection of the value.This message has been edited. Last edited by: bcook278,
WebFOCUS 7.6.8 WebFOCUS Client and Server running on RedHat Linux, Developer Studio on Windows XP All output formats
-*-- run1.fex
-SET &ECHO='ALL';
SET HOLDLIST=PRINTONLY
SET HOLDFORMAT=ALPHA
-RUN
-DEFAULT &COUNTRY = 'ENGLAND';
-*-- Prepare report
TABLE FILE CAR
SUM
SALES
BY COUNTRY
WHERE COUNTRY EQ '&COUNTRY';
ON TABLE SET PAGE NOLEAD
ON TABLE HOLD AS R001 FORMAT HTMTABLE
END
-RUN
-*-- Prepare drop-down
TABLE FILE CAR
SUM
COMPUTE OPT1/A200 = '<option value="' | COUNTRY | '">' | COUNTRY | '</option>';
BY COUNTRY NOPRINT
ON TABLE SAVE AS S001
END
-RUN
-HTMLFORM BEGIN
<html>
<head>
<title>test</title>
<script type="text/javascript">
function selectCountry()
{
for (var i = 0; i < document.forms[0].COUNTRY.length; i++)
{
if (document.forms[0].COUNTRY[i].value == '!IBI.AMP.COUNTRY;')
{
document.forms[0].COUNTRY.selectedIndex = i;
break;
}
}
}
</script>
</head>
<body onload="selectCountry();">
<!-- form -->
<form action="/ibi_apps/WFServlet" method="get">
<input type="hidden" name="IBIF_ex" value="run1" />
<select name="COUNTRY" onchange="document.forms[0].submit();">
!IBI.FIL.S001;
</select>
</form>
<!-- Report -->
!IBI.FIL.R001;
</html>
-HTMLFORM END
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