Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Dialogue manager commands in HTML Form...

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Dialogue manager commands in HTML Form...
 Login/Join
 
Platinum Member
posted
Can we use dialogue manager commands within -HTML forms ??
I tried, no error but no output too. Winky

tks/sam
 
Posts: 133 | Registered: May 12, 2007Report This Post
Virtuoso
posted Hide Post
Depends on where and when you try to run the code.
If the html-code is within a fex you're running then you start the htm form with
-HTMLFORM BEGIN
and end it with -HTMLFORM END
In between you can use DM commands and &variables.

If you're calling up the form from a browser, then you can't use DM commands or &vars because the webserver does not understand what they are.

And, if you running the htm file from within a fex, not embedded but as an external htm (called with -HTMLFORM filename) then you also cannot use DM commands, but you can use &variables, provided you code then as !IBI.AMP.something; or as !IBI.GLB.something; and also use the content of holdfiles with !IBI.FIL.filename; (note: the ! and the ; are mandatory).


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Platinum Member
posted Hide Post
No Sir...Its not working.
I can acess &variables but dialogue manager statements (If else) are not working.
btw have u tried ya just... Winky


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
 
Posts: 133 | Registered: May 12, 2007Report This Post
Virtuoso
posted Hide Post
Yep, just ran an example of this, and for me it works fine.
Exactly what is your code?

Below a simplified example of my code:
TABLE FILE CAR
print somefields
where some condition
ON TABLE HOLD FORMAT HTMTABLE
END
-RUN
-SET &LINS = &LINES;

-HTMLFORM BEGIN
<HTML>
<BODY>
!IBI.FILE.HOLD;
-IF &LINS EQ 8 THEN GOTO 8LINES;
There are &LINS lines in the report.
-GOTO ENDLINES
-8LINES
There are exactly 8 lines in your report.
-ENDLINES
</BODY>
</HTML>
-HTMLFORM END

And if the report contains exactly 8 lines I get the special line, if not I get the normal line displayed.

Hope this helps...


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Platinum Member
posted Hide Post
i am on 714...that might be the issue, otherwise code is simple.......
thanks a ton.


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
 
Posts: 133 | Registered: May 12, 2007Report This Post
Master
posted Hide Post
The code that GamP provided should work regardless of your version. Post your code and maybe we can help you find the problem.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
Expert
posted Hide Post
agree w/ Gamp and PB,
the use of dialog manager between HTMLFORM tags works like a charm
and has since at least 4.3.1, which was around the time of noah's ark, as i recall




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Platinum Member
posted Hide Post
hmm...Thanks....Might be some slippage from my end...... Sweating


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
 
Posts: 133 | Registered: May 12, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Dialogue manager commands in HTML Form...

Copyright © 1996-2020 Information Builders