Focal Point
[CLOSED - NO RESOLUTION] Docs for the new HTML Object component in 8.1.05??:

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

November 24, 2015, 03:24 PM
CoolGuy
[CLOSED - NO RESOLUTION] Docs for the new HTML Object component in 8.1.05??:
Hi all,

So, we are currently on 8.1.05 and I recently have been trying to see if I can't make forms and form controls created within the HTML Canvas (Painter) tool responsive to screen size. I remembered David Glick's post found at the top of page 4 of this thread that this release had a new HTML object component we could use if we wanted to add our own HTML to a form or HTML page:
David's Remarks

Here's his remarks quoted:
quote:

Eric,

Turns out current releases don't let you use h1 and the like even though you can define them with the GUI. This has already been addressed in the pending 8105 release with an HTML Object component where the user can write a line or lines of HTML.

David Glick
Director WebFOCUS App Studio
and WebFOCUS Developer Studio
WebFOCUS Division
Information Builders, Inc.
Direct (917) 339-5560
Voice Mail (212) 736-6250 x3560
Fax (212) 947-5168
Email david_glick@ibi.com


It's there in the product now and I can't seem to find it documented anywhere. Has anyone else here in the forums tried to use this component yet and has found docs for it somewhere? I'd really like to know its capabilities and what exactly IBI intended for it to enable the user to be able to do.

So far, when I select it, it allows me to create and drag a box into creation that is a generic div container element. David stated that we could "write" a line or lines of code with this component, but maybe he meant just modify properties for it?

Anyone here use this component yet and can shed some light on it for me?

Any insights are greatly appreciated!

P.S. I also just noticed that IBI has added an RDF add-on package that basically finishes out the missing BIP product functionality that everyone has been seeking after. Docs for this are found here:
RDF add-on docs

Again, thanks for any help received!

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


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
November 24, 2015, 03:38 PM
CoolGuy
UPDATE:

So, when I go to the settings panel when having my HTML object component selected, all that is available is a textarea box that with a label that states "Selected Value" above it.

I entered
<h1>Heading</h1>
into it and it then renders an h1 tag with the content Heading inside of the div HTML object. The h1 tag does not show up as a child of the div though under the node tree. When adding your own HTML therein, it sadly won't let you do carriage returns either. Also, you cannot add child elements to the HTML object component either. They are brought in as a child of the parent (or sibling) of the HTML object div. It will not allow you to add any elements/controls as children to it either.

When I go into the HTML after saving it, the HTML I tested out within the HTML object component isn't found in the body of the HTML at all, but solely within the XML generated from the tool as character data:
<data_info datatype="0"><![CDATA[<h1>Heading</h1><form><input type="button" value="Submit" /></form>]]></data_info>

Hmmm......

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


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
November 24, 2015, 04:00 PM
Francis Mariani
Did you expect anything better? This appears to be a clumsy attempt at adding "user" not "developer HTML content.


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
November 24, 2015, 04:15 PM
CoolGuy
I was hopeful. lol Oi....


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
November 24, 2015, 04:25 PM
Tim P.
quote:
Originally posted by CoolGuy:
I was hopeful. lol Oi....


That was your first mistake Smiler


WebFOCUS App Studio 8.2.02
Windows 7, All Outputs
November 25, 2015, 08:38 AM
Squatch
I am also on 8.1.05. In App Studio, I was able to use the HTML object to insert Scalable Vector Graphics (SVG) code to create an image. Inside SVG code you can do scripting (ECMAScript, which is basically just JavaScript) to manipulate the image. The default App Studio browser displayed the SVG image, but threw an error when the scripting code tried to run. However, everything works just fine in an actual browser such as IE or Chrome.

I should add, however, that I had to edit the code generated by App Studio because it put in a few extra characters immediately after the SVG code. After I removed those, it worked correctly.

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


App Studio
WebFOCUS 8.1.05M
Windows, All Outputs
November 25, 2015, 10:06 AM
CoolGuy
Tim,

Probably so.

Squatch,

Thanks for the share!


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.