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.
A field in the self services launch page is populated by a fex (using on table hold xxx xml) method. Since the report server requires signon so a user normally passing thru a sigon page. HOwever, this particular page may be saved in the IE favourite and being clicked during next session. In this case, the field mentioned will be blank. I looked at the HTML of this page, and would like to add a alert pop up if the field is blank after the page is loaded (before clicking the submit button). I couldn't figure out how to do that, what to add. Can you help>
Win2003, Webfocus 7.13, Dev Studio, Report Caster
Posts: 11 | Location: LOS ANGELES | Registered: February 23, 2005
-DEFAULT &FIELD1 = '';
-HTMLFORM BEGIN
<html>
<head>
<script language="JavaScript">
var wfField1 = '!IBI.AMP.FIELD1;';
function Init()
{
if (wfField1 == '' || wfField1 == ' ')
{
alert('-----------------------\nFIELD1 is blank\n-----------------------');
}
}
</script>
<title>Test</title>
</head>
<body onload="Init();">
This is a test
</body>
</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
Oh, and it would be nice if you set the Signature field in your Profile to the WebFOCUS release, OS Platform, etc. You get to your Profile here: FocalPoint forum Profile
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
1) If you updated the Signature field of the Profile form, it should show up if you left the Signature checkbox on the "Post a Reply" window checked.
2) When you post code, particularly HTML, please put the code between code tags - the quickest way to do this is to click the button. This will add the open code/close code tags - paste your code between these tags.
3) I don't use Developer Studio to generate HTML pages, but I think you'll have to add the alert manually.
You can put your code inside the functions window_onload() and onInitialUpdate(). You can put alerts in the functions to see the timing of when they are being called.
The window_onload() is called when the page is starting to initialize.
The onInitialUpdate() is called when the page has completed loading. I have used it to call the buttone_click() function to simulate the user clicking the submit button immediately after the page is loaded. This function I believe was added as a patch to 7.6.2. You might be able to work with support to get the patch into your verison.
Hope that helps.
Report Server - 7.6.4,Windows MRE - 7.6.4 /zLinux/WAS 6.1 Dev Studio 7.6.4