Focal Point
[SOLVED] Dev Studio Composer -- Completely Turned Off??

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

January 08, 2013, 10:58 AM
John_Edwards
[SOLVED] Dev Studio Composer -- Completely Turned Off??
I always roll my own for html files, but I've decided to take a step into the HTML "Composer" in Dev Studio to see what it can do in 7.7. Customers ask and I need to be able to speak to its capabilities.

As best I can tell it can't do anything. Everything is grayed out so I can't build a form. I've clicked all around but as best I can tell the entire tool is turned off. The only thing I can do is toggle the grid dots.

This is one INCREDIBLY stupid question, but here goes -- how do I create a text field in my form in Composer??

J.

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



January 08, 2013, 12:01 PM
Mighty Max
I usually write my fex before I create the parameter page for it.
1. Draw a frame.
2. Right click the frame. Frame Properties. Execute External Procedure.
3. Popup for parameters. Control Type will be Text box. I usually pick "Do not create a form" but its up to you. Everyone does it differently.

Also you can create the Text Box before you link your frame to fex. But then it is not bound to a Parameter. You then have to click on the Parameters tab and bind it to the appropriate parameter.
I try to save multiple versions of the HTML files. It is hard to roll back once you have messed up something. Too many orphaned requests and HTML controls in the HTML.




WebFOCUS 8.1.05M Unix Self-Service/MRE/Report Caster - Outputs Excel, PDF, HTML, Flat Files
January 08, 2013, 12:17 PM
John_Edwards
Yeah, your last comment was one of the primary reasons I create my own from scratch.

So without a fex attached the tool is essentially turned off. Thanks for the tip.

J.



March 13, 2013, 03:49 PM
John_Edwards
Two months later, I've come to the conclusion I'm the stupidest programmer on the planet, because I can't get any of my widgets to turn on. It doesn't matter whether I have a report in it or not.

Thank God I know how to write my own html and call WebFOCUS reports into it, because as best I can tell Dev Studio is bricked on my machine.

J.



March 13, 2013, 04:03 PM
Francis Mariani
I am the second-stupidest programmer on the planet, because Dev Studio is not bricked on my machine, but I cannot enjoy working with HTML Composer. I've had my knuckles rapped for comments made, I've been asked to read the manual, I've received personalized Tech Support assistance, but none of this is making my use of HTML Composer any more pleasant.


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
March 13, 2013, 04:06 PM
Doug
NOT "the stupidest programmer on the planet"... Just have yet to get the hang of the GUI Composer. I do something similar to what Mighty Max does, slightly different.

1) Write the fex, with all the variables which I want to see on my launch page (html file) -DEFAULTed.
2) Make sure it works. That is: it should use the WebFOCUS Autoprompting of the -DEFAULTed variables.
3) Create a new htm file using the HTML COMPOSER (or what ever it's called in your version).
4) Insert and iFrame (iframe1)
5) Add a button to that page.
6) Create a hyperlink to the fex mentioned in the 1st step, to iframe1, at which time the GUI prompts me (in a pop-up) for all the -DEFAULTed variables and I select the control type which I desire for each variable.
* NOTE: I do not use "New multiple Layer form" OR "New single layer form", I use "Do not create a form" (I wish that was the default option).
7) run the new form... And modify it till my heart's content, or...

Let me know how it works out for you.

BTW: I would much rather use that GUI then writing that code myself (and I used to be a Web Master).
March 13, 2013, 04:16 PM
John_Edwards
.



How do I complete step 4 (insert an iframe) if all of my buttons are grayed-out?



.

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



March 13, 2013, 04:18 PM
Francis Mariani
quote:
modify it till my heart's content

I wouldn't dare. Return to a HTML Composer built page a few months after initial development, make changes, and you can get messed up pretty quick. Suddenly, because you re-bound your HTML Composer designed page to the fex it runs, you get unbound parameters, you get painstakingly pointed-and-clicked select list box values reset to the DEFAULT....

I am very happy coding much more sophisticated web pages than what HTML Composer can do, using freely available libraries like jQuery - you don't need RIA...


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
March 13, 2013, 04:29 PM
John_Edwards
This is what I get when Composer (7.7) starts up. All the widgets along the top of the screen are switched off, and I can't find a way to get them to switch on.





March 13, 2013, 04:33 PM
Francis Mariani
The first thing to do is turn off the template thing. That's probably what's stopping you from accessing the controls. I don't see the template setting any more because I tuned it off, but there should be something about templates when you create a new HTML page...


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
March 13, 2013, 04:40 PM
Francis Mariani
When you are in the HTML Composer window, click on Tools > Settings. Un-click the Show 'Template Selector" dialog.



Then close the HTML Composer window. From the Explorer right-click the HTML page and select Edit in Composer. You should be able to click on the icons of the controls and add double-select list boxes, multi-select tree controls, etc and have fun to your heart's 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
March 13, 2013, 04:41 PM
John_Edwards
Mr. Mariani, I owe you a beer. The frikkin' templates screen was turning everything off. When I checked "don't show this again" the tool magically started working.

How did THAT clear formal test?

J.



March 13, 2013, 04:43 PM
Francis Mariani
Yup, just verified this and if you have Show 'Template Selector' checked, you cannot make changes to the HTML Composer page. I hopoe someone pipes in to tell us why.

I've never found any use for the template selector and have never used it.


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
March 13, 2013, 04:44 PM
Francis Mariani
I'm ready for that frikkin' beer...


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
March 14, 2013, 07:21 AM
Alex
I version 8 just click on "No Thanks" when the initial Composer selector screen comes up. In prior versions click on Cancel to avoid the template.


WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF
March 14, 2013, 07:26 AM
David Glick
John,

The documentation states that when templates are used, all the controls are added via the addition of a report or chart. The toolbar is disabled on purpose.


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
March 14, 2013, 09:16 AM
Doug
When did the "Template Selector" show up? I don't see it in Tools > Settings...




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
March 14, 2013, 10:02 AM
MAdams1
Thank you Francis! You're Awesome!
Finally I can turn off that annoying template selection page. No more clicking cancel every time. Beer awaits you in Michigan.


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
March 14, 2013, 10:08 AM
Francis Mariani
I'm not sure how these templates are useful. As far as I know, you can't add a template that's based on your company's design...

I'm up to two beers in two cities...


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
March 14, 2013, 11:13 AM
John_Edwards
I'll recommend cashing mine in at Camden Yards. Buy a ticket in section 1 so we can get beer and ribs on Eutaw St between innings.

J.



March 14, 2013, 11:23 AM
Francis Mariani
Baltimore and Kalamazoo, here I come!


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
March 14, 2013, 11:29 AM
MAdams1
Anytime Smiler


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
March 15, 2013, 07:24 AM
David Glick
Doug,

The Template Selector was introduced in release 7702. They were created for the user who does not want to design a web page and just wants to connect their reports to existing containers.


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