So the following questions come to mind. Please note that I’m very much a novice and trying to learn.
3 – What is the purpose of including “-HTMLFORM BEGIN” code in a fex? Is it required?
4 – Are there any simple examples for me to take a look at to learn these concepts?
5 – Suggested websites or documents to further my learning?
I really appreciate any help you can provide, even if it’s to point me in the right direction.
WebFOCUS 8.0.08This message has been edited. Last edited by: <Kathryn Henning>,
I would love to see the answer to those same questions!
Let me try...
This can be used to direct create HTML from within a fex.
-SET &SAMPLEPARAMETER = 'Hello, world!'; TABLE FILE CAR SUM SALES BY COUNTRY ON TABLE HOLD AS SAMPLEHOLD FORMAT HTMTABLE END -HTMLFORM BEGIN <html> <body> <b>!IBI.AMP.SAMPLEPARAMETER;</b><br> <hr> !IBI.FIL.SAMPLEHOLD; <hr> </body> </html> -HTMLFORM END
Hope this helps.
WF: 220.127.116.11 > going 18.104.22.168
Good luck learning all this stuff. IBI has courses and there are a lot of books on jQuery.
WebFOCUS 8103, Windows, App Studio
I know I will get into a bunch of trouble with the online community for this, but you should ignore this code ... pretend you never saw it. If forces your report developers to be HTML coders as well, and it makes support of the resulting code a lot harder. I hate this so much, that I will not allow anyone working for me to use it.
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
The jQuery and jQuery UI libraries are automatically installed when WebFOCUS 8.x is installed.
The jQuery and jQuery UI libraries are automatically referenced in your HTML file if you use App Studio HTML Composer GUI to build your HTML pages.
The installed versions of jQuery and jQuery UI aren't the latest, but they will do...
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
It was great meeting you in class a while back.
Just some thoughts that come to mind, while reviewing your post and great question list...
Basically the browser is looking for/ready to interpret the following code:
1. HTML, for Page Structure
2. CSS, for Styling
The browser doesn’t know/care how this code created, only that it can be rendered.
1. HTML Composer (GUI Tool)
2. Coding within a focexec, using the -HTMLFORM construct.
Both of these methodologies have something very important in common. They each harness and leverage the power of the WebFOCUS reporting/visualization language (TABLE FILE… GRAPH FILE…).
(To add to the fun, TABLE and GRAPH, can be written with a WF GUI Tool or coded within a focexec. :-))
List of considerations when choosing between the two, that I have used. (There are others.):
1. User requirements.
3. Career goals of staff... Do they want to learn more about coding? Do they want to learn more about using GUI tools?
4. IT Standards... GUI Tools only? Coding only? Hybrid? Best tool for the job at hand?
5. Current installed WebFOCUS release.
In practice I’ve built web page with both, and have obtained excellent results with each, that have solved problems and made users happy.
The IB manuals are my primary source of examples of both methodologies. I then supplement with FocalPoint, internet searches, and (ok I admit it) books. I am currently reading ‘Head First jQuery’ and am finding it enjoyable as well as educational.
Thank you all so much for your responses! This gives me a good starting spot to learn.
I understand your position on this.
For most of us Webfocus Developers we're both Report Coders and Web developers so we use
so we can use FocExec and Dialogue Manager to have the flexibility to manipulate the HTML using report conditions.
But yeah, you can definitely run robust applications without it.
WF 8.1.05 Windows
|Powered by Social Strata|