Focal Point
MULTIPLE HTML TAGS

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

May 31, 2006, 03:54 PM
slfmr
MULTIPLE HTML TAGS
I am trying to get rid of having multiple HTML tags output to the browser when you view the source on a page/report.

I read the tips on how to add an image within a fex inside the tags anywhere on the page, and what I am wondering is, is it possible to add something specifically between the generated HEAD tags?

I want to put the no-cache there, but since it's a FEX file that is run and generated, how can I say put this line within the HEAD tags?


So essentially my question is, how do I put this line:

META HTTP-EQUIV="Pragma" CONTENT="no-cache" (with carat tags)

in a FEX file... not an HTML file so that it will appear between the HEAD (with carat tags) in the browser view source?

Thanks for your help...

This message has been edited. Last edited by: slfmr,


Dev, SIT, UAT, Production:7.6.6
Dev Sandbox:7.6.11

Dev Studio - 7.6.6
May 31, 2006, 06:53 PM
Mikel
Something like this?

-* Report. Business logic.
TABLE FILE CAR
  SUM SALES
  BY COUNTRY
  ON TABLE HOLD AS REPORT FORMAT HTMTABLE
END    
-RUN

-* Output. Presentation logic.
-HTMLFORM BEGIN
<html>
  <head>
    <title>My report</title>
    <meta .... />
  </head>
  <body>
    !IBI.FIL.REPORT;
  </body>
</html>
-HTMLFORM END

regards,
Mikel


WebFOCUS 8.1.05, 8.2.01
June 01, 2006, 10:53 AM
slfmr
Thanks Mikel,

I see what you are saying... put my whole report in a HOLD file and then us the HTML Begin and End to execute... so simple I should have thought of that.

I was running the report then trying to do the HTML Begin and End but it was making everything off...

Thanks so much, that worked great!!


Dev, SIT, UAT, Production:7.6.6
Dev Sandbox:7.6.11

Dev Studio - 7.6.6
June 01, 2006, 03:00 PM
Francis Mariani
slfmr,

Could you please tell us what the code

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

does?

And how does it "get rid of having multiple HTML tags output to the browser when you view the source on a page/report"?

Thanks,

Francis.


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
June 01, 2006, 07:37 PM
susannah
pF, this chunk of code in the head tags should, if all is working well, prevent the current displayed page from being cached by the end user's browser, in IE only.
There is other syntax for other browsers.
and to keep T happy, the / before the closing bracket.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
June 02, 2006, 11:27 AM
slfmr
That's correct Susannah. So it doesn't cache the page, so that when it reloads it will be of the most recent pull of the database or whatever it may be.

In answer to your question Francis, that line of code doesn't help get rid of multiple HTML tags in the browser, that was a problem in it self. I had a separate HTML file with that line of code (for the no cache problem) and then ran a report. This was giving me 2 sets of HTML tags.

What I had needed was a way to insert that line of code and run the report so that it would output in one pair of tags.

I apologize if I wasn't clear.
Thank you!


Dev, SIT, UAT, Production:7.6.6
Dev Sandbox:7.6.11

Dev Studio - 7.6.6
June 02, 2006, 12:15 PM
slfmr
I have a question regarding html calls within a fex report.

For a drill down, can I make the drill down call an http reference?

TYPE=DATA,COLUMN=COUNTRY,STYLE=BOLD,FOCEXEC=&THISFEX,$

so instead of calling a FOCEXEC I want it to call:

http : //some.name.com:11111/some_folder/application/executeSomething.do?parameter1=PARAM

I put a space between the http and colon so that it wouldn't turn it into an acutal URL link.

Is this possible or would I have to do the stylesheet styling all in HTML in order for this to happen?

Thank you for any replies!

Stacy

This message has been edited. Last edited by: slfmr,


Dev, SIT, UAT, Production:7.6.6
Dev Sandbox:7.6.11

Dev Studio - 7.6.6
June 05, 2006, 07:50 AM
Tony A
Stacy,

There is even a control word for a drilldown item to a URL, and strangely enough it is URL.

TYPE=DATA, URL=HTTP://www.google.com, $

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
June 05, 2006, 11:50 AM
slfmr
Oh.. okay I had never seen that. There is so much to WebFocus that I am now exploring since I took a break from actually creating new reports and just editing old ones.

Thanks so much for the input, that helps a lot!


Dev, SIT, UAT, Production:7.6.6
Dev Sandbox:7.6.11

Dev Studio - 7.6.6
June 06, 2006, 03:35 AM
Tony A
Stacy,

You're welcome. I had tried to check the documentation for the extra pieces of syntax, but got fed up trying to find it.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10