Focal Point
[CLOSED] Editing HTML pages in WF V8

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

October 21, 2013, 08:01 PM
TryFocus
[CLOSED] Editing HTML pages in WF V8
Hi All,
Working on a project involving consolidating multiple WF7703 HTML Launch pages into single HTML page in WF8. I wanted to use HTML tags (DIV, SPAN, JQuery and take advantage of HTML Tags - Hand coding).

Issue:
WF8 HTML Composer is not allowing to edit HTML code, Even a space between title (HTMLPage to HTML Page)is throwing error HTML Page.
In WF 7.x I created RIA.. I'm comfortable editing HTML Tags and making launch pages much eye appealing.(editing WF7 html composer generated xml code...etc)

Is WF8 HTML composer limiting the report developer capability? Or am I missing anything?...
Please suggest if there is a way to edit WF8 HTML composer generated html code but still open in browser without errors.

Thanks

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


Prod: WF 7.6.10 windows. -- MRE/Dashboard/Self Service/ReportCaster - Windows XP
October 22, 2013, 09:01 AM
TexasStingray
In WF8 right mouse on the html file and choose edit as text. This should allow you to edit the HTML directly. If you try to bring it back up in the composer it will tell you it cannot garrantee it will work correct but what I have done seem to work for me so far. just make a backup of the html file before you start.




Scott

Hi TryFocus

You are correct editing the HTML Tags will be a formula for disaster. You can always write HTML code at run time in JavaScript and change the properties at run time using JavaScript. You should be able to change what ever you want using JavaScript. You will also be able to use JQuery in the JavaScript section.

You are much better off not TOUCHING the HTML Code in WebFOCUS 8.... Future conversions will work much better if the HTML code is not touched either.

Thanks Barry


WebFOCUS 8103, Windows, App Studio
Saddest statement I've heard this century...
Wait until they find out that all HTML FORM elements are on 1 line; not found in any web page in the world.
Forcing "professional programmers" to use a GUI is an abomination...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
To paraphrase Devo:

Are We Not Developers? We Are Users!


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
What do you mean not touching the HTML? How else are you going to attain a professional looking reporting portal that doesn't look like it was designed by the butcher's boy from the shop around the corner?

If HTML Composer in WF8 is as much an abomination to use as it is in WF77, no thanks, that's not going to happen.

Composer is only marginally capable of creating the bare (chained) controls - and it isn't even very good at that. That's what I use it for. After that I restart Dev Studio (to get my friggin' line numbers back!) and edit this stuff in a text editor; often an external one.

That's even more true recently, as the text cursor in Dev Studio goes on holidays during editing.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
@TryFocus You can change the HTML page title in WF8 by going to the properties for the Document, 'Title of element' is what you need to change.


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
Hi All

Please dont shoot the messanger!!!!! I feel like swiss cheese. But anything that you can change or want to change in the HTML Code can be changed using JavaScript at run time.. (Almost anything --- No Doc changes please)...

Thanks Barry


WebFOCUS 8103, Windows, App Studio
Hey Swiss (I mean Barry),
So I'm confused, when you say JavaScript at run time does that include only the IBComposer code or document.getElementById... code? David Glick told me my JavaScript using document.getElementById...used in control events was considered "custom code" and was not supported.
No bullet holes, just a question. Thanks!!


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
I always thought the BEST think about WebFOCUS is that there is nothing you cannot do with it. It may not be out of the box, but because you can get into the code you can do it. Guess I have to find a new best thing about WebFOCUS.




Scott