Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     DS HTML Composer: So very, very discouraged
Page 1 2 
Go
New
Search
Notify
Tools
Reply
  
DS HTML Composer: So very, very discouraged
 Login/Join
 
Virtuoso
posted Hide Post
Kofi, I made a few minor changes which you may want to consider:

- [ Keyword list tag ] Enabled 'Prefix mode' in the 3rd group of keywords (the ones for HTML). this allows all tags to be highlighted even when there are no separators among them .

- [Comment & Number ] Checked 'Treat keyword as symbol' in the comment line section. This allows highlighting of comments even when there is no space separating -* or $.

- [ Operators ] Removed '/' from activated operators as it was stopping highlighting on HTML closing tags. In the same section, I also defined " and ' as boundary delimiters and set the color to Blue so character strings (including those in HEADING, SUBFOOT, etc.) are treated similarly as in Dev.Studio.

You did a great job at including most of the keywords we regularly use. I haven't looked at the masterfile section yet but I'm sure it's also great.

Good One



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Reply With QuoteReport This Post
Platinum Member
posted Hide Post
I thank you your suggestions and I apply them. Thank you!

Kofi


Client Server 8.1.05: Apache; Tomcat;Windows Server 2012
Reporting Server 8.1.05; Oracle; MS SQL; Windows Server 2012
 
Posts: 103 | Registered: April 06, 2009Reply With QuoteReport This Post
Virtuoso
posted Hide Post
quote:
I do this get rid of association MS do for MAS particular!! I hate

It's funny you said that as I dislike it too Smiler.

That thing actually caused me trouble a while ago after I installed MS Access in my desktop. Suddenly, Dev Studio could no longer open .mas files as that extension was being interpreted as a MS Access file instead of a WebFOCUS synonym. I never understood why Dev Studio did not recognize properly its own peers regardless of whatever Windows said Roll Eyes

It does not seem to be a problem anymore ... or maybe it's because the last time around I installed Dev Studio *after* MS Office Confused Anyway, as now I know where to go to in case I need to fix this it does not bother me anymore.

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



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Reply With QuoteReport This Post
Virtuoso
posted Hide Post
quote:
You can copy objects on the Design tab and then the tool adjusts the code behind those objects accordingly.


Except in the case of composer's Radio Button control. I copied and pasted a Radio group, and the tool failed to adjust the NAME attribute -- so effectively I wound up with one radio group of 10 entries (spread over two tabs), rather than the expected two independent groups of 5 each. Nasty.
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Reply With QuoteReport This Post
Guru
posted Hide Post
You can copy objects between pages. You should always check that the resulting name and id is unique for the page though. The tool will handle that, but a check is always best. We do not copy event handlers nor population though.

Dialog Manager variables do not have a format per se, In HTML Composer, if a variable has the same name as a field, we will treat that variable as having the same format as the field.

Reset: If you have a Reset button on the page, it will reset all the controls, including any double-list controls. Is that not good enough? What would a Reset button on a double-list control do? As far as the "ALL" value issue goes, we will address that. If you open a case, you will be notified when it is resolved.

In addition to the search control on an individual control, there is a global search and paging control and that one has the case sensitivity options.

The !IBI.AMP.label issue: I am suggesting that you pass in a value that has quotes and pass the quotes in with it.

The Unbound Parameters box: I cannot reproduce what you are saying. Please open a case and provide a reproduction.

Multi-column Radio Button: I cannot reproduce what you are saying. Please open a case and provide a reproduction.

Form Document and Non-Form Document 768 and 769+: Please provide an example.


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
 
Posts: 312 | Registered: April 13, 2004Reply With QuoteReport This Post
Master
posted Hide Post
Obligatory TextPad +1 comment from me and the syntax file to boot:

; TextPad keyword syntax file for WebFOCUS
; Copyright (C) 2010, Blake Thompson
; Derived from EditPlus syntax files courtesy Francis Mariani

C=1

[Syntax]
Namespace1 =
IgnoreCase = No
InitKeyWordChars = A-Z
KeyWordChars = A-Z_-
BracketChars = [()]
PreprocStart = -
SyntaxStart = 
SyntaxEnd = 
CommentStart =
CommentEnd = 
CommentStartAlt =
CommentEndAlt =
SingleComment = -*
SingleCommentCol = Leading
StringStart = "
StringEnd = "
StringAlt = '
StringEsc = |
CharStart = '
CharEnd = '
CharEsc =|

[Keywords 1]
; FOCUS Requests
ACROSS
BY
COMBINE
COMPUTE
COUNT
DEFINE
DYNAM
END
NOT
EX
EXEC
FILEDEF
IF
JOIN
MATCH
MODIFY
ON
OVER
PRINT
RUN
SUM
TABLE
TABLEF
TSO
USE
WHERE
MORE
RECORDLIMIT
READLIMIT
HIGHEST
LOWEST
; HTML Tags
!DOCTYPE
A
ABBR
ACRONYM
ADDRESS
APPLET
AREA
B
BASE
BASEFONT
BDO
BGSOUND
BIG
BLINK
BLOCKQUOTE
BODY
BR
BUTTON
CAPTION
CENTER
CITE
CODE
COL
COLGROUP
COMMENT
DD
DEL
DFN
DIR
DIV
DL
DT
EM
EMBED
FIELDSET
FONT
FORM
FRAME
FRAMESET
H
H1
H2
H3
H4
H5
H6
HEAD
HR
HTA:APPLICATION
HTML
I
IFRAME
IMG
INPUT
INS
ISINDEX
KBD
LABEL
LEGEND
LI
LINK
LISTING
MAP
MARQUEE
MENU
META
MULTICOL
NEXTID
NOBR
NOFRAMES
NOSCRIPT
OBJECT
OL
OPTGROUP
OPTION
P
PARAM
PLAINTEXT
PRE
Q
S
SAMP
SCRIPT
SELECT
SERVER
SMALL
SOUND
SPACER
SPAN
STRIKE
STRONG
STYLE
SUB
SUP
TABLE
TBODY
TD
TEXTAREA
TEXTFLOW
TFOOT
TH
THEAD
TITLE
TR
TT
U
UL
VAR
WBR
XMP
; JavaScript Reserved words
abstract
boolean
break
byte
case
catch
char
class
const
continue
default
delete
do
double
else
extends
false
final
finally
float
for
function
goto
if
implements
import
in
instanceof
int
interface
long
native
new
null
package
private
protected
public
return
short
static
super
switch
synchronized
this
throw
throws
transient
true
try
typeof
var
void
while
with

; FOCUS Verbs Etc
ACCEPT
ACTIVATE
ALLOC
AND
AS
COLUMN-TOTAL
CONTINUE
COPY
DEACTIVATE
DEL
DELETE
DUPL
EDIT
ELSE
ENDSTYLE
EQ
EXIT
FILE
FILES
FIXFORM
FOLD-LINE
FOOTING
FOR
FREE
FROM
GE
GETTOK
GETUSER
GT
HEADING
HHMMSS
IN
INCLUDE
INVALID
JUSTIFY
LE
LT
MATCH
NE
NEW
NEW-AND-OLD
NEW-NOR-OLD
NEW-NOT-OLD
NEW-OR-OLD
NEXT
NOMATCH
NONEXT
NOPRINT
NOTOTAL
OFFLINE
OLD
OLD-AND-NEW
OLD-NOR-NEW
OLD-NOT-NEW
OLD-OR-NEW
ON
ONLINE
OR
RECAP
REJECT
ROW-TOTAL
SET
SKIP-LINE
STYLE
STYLESHEET
SUBFOOT
SUBHEAD
SUBTOTAL
SUB-TOTAL
SUMMARIZE
THEN
TO
TODAY
TRANS
UPDATE
VIA
CLASS
; HTML Attributes
abbr
accept
accept-charset
accesskey
action
align
alink
alt
applicationname
archive
axis
background
behavior
bgcolor
bgproperties
border
bordercolor
bordercolordark
bordercolorlight
borderstyle
caption
cellpadding
cellspacing
char
charoff
charset
checked
cite
class
classid
clear
code
codebase
codetype
color
cols
colspan
compact
content
coords
data
datetime
declare
defer
dir
direction
disabled
dynsrc
enctype
face
for
frame
frameborder
framespacing
gutter
headers
height
href
hreflang
hspace
http-equiv
icon
id
ismap
label
language
leftmargin
link
longdesc
loop
lowsrc
marginheight
marginwidth
maximizebutton
maxlength
media
method
methods
minimizebutton
multiple
name
nohref
noresize
noshade
nowrap
object
onabort
onblur
onchange
onclick
ondblclick
onerror
onfocus
onkeydown
onkeypress
onkeyup
onload
onmousedown
onmousemove
onmouseout
onmouseover
onmouseup
onreset
onselect
onsubmit
onunload
profile
prompt
readonly
rel
rev
rows
rowspan
rules
runat
scheme
scope
scrollamount
scrolldelay
scrolling
selected
shape
showintaskbar
singleinstance
size
span
src
standby
start
style
summary
sysmenu
tabindex
target
text
title
topmargin
type
urn
usemap
valign
value
valuetype
version
vlink
vrml
vspace
width
windowstate
wrap
; JavaScript Built-in objects
anchor
applet
area
array
button
checkbox
date
document
event
fileUpload
form
frame
hidden
history
image
layer
link
location
math
mimeType
navigator
number
password
plugin
radio
regexp
reset
screen
select
string
submit
textarea
window
; JavaScript added by FM
blur
close
escape
focus
open
unescape
write

; FOCUS Dialog Manager and other code
&DATEMMDDYY
&DATEMtrDYY
&DATEYYMMDD
ALPHA
FOCUS
BEGIN
BLKSIZE
BLOCKS
CATALOG
CLEAR
CRTFORM
-CRTFORM
CURSOR
CYLINDERS
CYLS
DA
DATA
DATASET
DEFAULT
DEFAULTS
DSN
ECHO
END
FORMAT
GOTO
HOLD
HTMLFORM
IBI
AMP
FIL
GLB
IF
LOG
LRECL
MOD
NEW
OLD
PREFIX
READ
NOCLOSE
RECFM
REU
REUSE
SAVE
SET
SHR
SPACE
TOP
TRACKS
UNIT
VALIDATE
WINFORM
WRITE
; HTML special characters
aacute
agrave
acirc
amp
atilde
aring
auml
aelig
ccedil
copy
eacute
egrave
ecirc
euml
iacute
igrave
icirc
iuml
eth
gt
lt
nbsp
ntilde
oacute
ograve
ocirc
otilde
ouml
oslash
quot
reg
szlig
uacute
ugrave
ucirc
uuml
yacute
thorn
trade
yuml
; JavaScript Properties & Methods
above
abs
acos
action
alert
alinkColor
anchors
appCodeName
applets
appName
appVersion
arguments
asin
atan
atan2
back
background
below
bgColor
big
blink
blur
bold
border
bottom
caller
captureEvents
ceil
charAt
charCodeAt
checked
clear
clearInterval
clearTimeout
click
clip
close
closed
compile
complete
concat
confirm
cookie
cos
current
data
defaultChecked
defaultStatus
defaultValue
description
disableExternalCapture
domain
E
elements
embeds
enableExternalCapture
enablePlugin
encoding
eval
exec
exp
fgColor
filename
find
fixed
floor
focus
fontcolor
fontsize
forms
forward
frames
fromCharCode
getDate
getDay
getHours
getMinutes
getMonth
getSeconds
getSelection
getTime
getTimezoneOffset
getYear
global
go
handleEvent
hash
height
home
host
hostname
href
hspace
ignoreCase
images
indexOf
innerHeight
innerWidth
input
isNaN
italics
javaEnabled
join
language
lastIndex
lastIndexOf
lastMatch
lastModified
lastParen
layers
layerX
layerY
left
leftContext
length
link
linkColor
links
LN10
LN2
load
location
locationbar
log
LOG10E
LOG2E
lowsrc
match
max
MAX_VALUE
menubar
method
mimeTypes
min
MIN_VALUE
modifiers
moveAbove
moveBelow
moveBy
moveTo
moveToAbsolute
multiline
name
NaN
NEGATIVE_INFINITY
next
open
opener
options
outerHeight
outerWidth
pageX
pageXOffset
pageY
pageYOffset
parent
parentLayer
parse
parseFloats
parseInt()
pathname
personalbar
PI
platform
plugins
pop
port
POSITIVE_INFINITY
pow
previous
print
prompt
protocol
prototype
push
random
referrer
releaseEvents
releaseEvents
reload
replace
replace
reset
resizeBy
resizeTo
reverse
right
rightContext
round
routeEvent
screenX
screenY
scroll
scrollbars
scrollBy
scrollTo
search
search
select
selectedIndex
self
setDate
setHours
setInterval
setMinutes
setMonth
setSeconds
setTime
setTimeout
setYear
shift
siblingAbove
siblingBelow
sin
slice
small
sort
source
splice
split
sqrt
SQRT1_2
SQRT2
src
status
statusbar
stop
strike
sub
submit
substr
substring
suffixes
sup
taintEnabled
tan
target
test
text
title
toGMTString
toLocaleString
toLowerCase
toolbar
top
toString
toUpperCase
type
unshift
userAgent
UTC
value
valueOf
visibility
vlinkColor
vspace
which
width
write
writeln
zIndex

; Stylesheets
LEGAL
LETTER
LANDSCAPE
PORTRAIT
ACROSSTITLE
ACROSSVALUE
BACKCOLOR
BY
CASE
CHKFMT
COLOR
COLUMN
COLSPAN
DADMY
DAMDY
DATA
DAYMD
DECODE
DEFMACRO
ENDCASE
ENDREPEAT
FIDEL
FOCEXEC
FONT
FREETEXT
GRID
GRANDTOTAL
HEADALIGN
IMAGEALIGN
IMAGEBREAK
ITEM
JUSTIFY
LEFTMARGIN
RIGHTMARGIN
TOPMARGIN
BOTTOMMARGIN
LEFTGAP
RIGHTGAP
TOPGAP
BOTTOMGAP
LINE
LJUST
LOOKUP
MACTYPE
OBJECT
OFF
ON
ORIENTATION
PAGENUM
PAGESIZE
PERFORM
POSIT
REPEAT
REPORT
RJUST
SIZE
SQUEEZE
STYLE
SUBSTR
TABFOOTING
TABHEADING
TITLE
TYPE
TYPE
UNITS
WHEN
JAVASCRIPT
; JavaScript Events
onAbort
onAfterUpdate
onBeforeUnload
onBeforeUpdate
onBlur
onChange
onClick
onDataAvailable
onDataSetChanged
onDataSetComplete
onDblClick
onDragDrop
onDragStart
onError
onErrorUpdate
onFilterChange
onFocus
onHelp
onKeyDown
onKeyPress
onKeyUp
onLoad
onMouseDown
onMouseMove
onMouseOut
onMouseOver
onMouseUp
onMove
onReadyStateChange
onReset
onResize
onRowEnter
onRowExit
onScroll
onSelect
onSelectStart
onSubmit
onUnLoad

; Formatting and environmental parms
|
A
ASNAMES
CENT-ZERO
D
D
DMtrYY
DMY
DMYY
EMPTYREPORT
EXITREPEAT
F
FOCERRNUM
HOLDLIST
HOLDFORMAT
I
LEADZERO
LINES
M
MDY
MDYY
MSG
NLS
NOPAGE
P
PAGE
PAPER
PRINTONLY
PRINTPLUS
w
W
XRETRIEVAL
Y
YM
YMD
YY
YYM
YYMD

;Functions
ABS
ARGLEN
ASIS 
ATODBL
AYM
AYMD
BAR 
BITSON 
BYTVAL
CALLDOS 
CHARGET 
CHGDAT
CHKFMT
CHKPCK 
CTRAN
CTRFLD
DADMY
DADYM
DAMDY
DAMYD
DAYDM
DAYMD
DECODE
DMY
MDY
YMD
DOWK
DOWKL
DTDMY
DTDYM
DTMDY
DTMYD
DTYDM
DTYMD
EDIT;
EDIT;
EXP
EXPN
FGETENV
FTOA
PTOA
GETTOK
GETUSER 
GREGDT
HEXBYT
HHMMSS
IMOD
FMOD
DMOD
INT
ISALIVE
ITONUM
ITOPACK
ITOZ
JULDAT
LCWORD 
LJUST
LOCASE
LOG
MAX
MIN
OVRLAY
PARAG
PCKOUT
POSIT
RANDNUM
REVERSE
RJUST
ROUND
SIMILAR
SOUNDEX
SPACE
SPELLNUM
SQRT
SUBSTR
TODAY
UFMT
UPCASE
YM
TRIM
TRIMV
STRREP 
DATECVT

;Other stuff
AFTER
END
FILE
FOOTING
GRAPH
FILE
FILENAME
SEGMENT
SUFFIX
SEGNAME
SEGTYPE
FIELD
FIELDNAME
PARENT
REMARKS

; Aliases
ALIAS
FIX
FOC
COM
SQLMSS
SQLORA
SQLDB2
SQLINF
U
DKU
KU
S0
S1
S2
S3
S4
S5
S6
S7
SH1
SH2
SH3
SH4
SH5
SH6
SH7
INDEX

; Data Types
USAGE
ACTUAL
FORMAT
CRFILE
CRSEG
CRKEY
YMD
DMY
MDY
YYMD
DMYY
MDYY
DATE
I6YMD
I6DMY
I6MDY
A6YMD
A6DMY
A6MDY
P6YMD
P6DMY
P6MDY
I8YYMD
I8DMYY
I8MDYY
A8YYMD
A8DMYY
A8MDYY
P8YYMD
P8DMYY
P8MDYY

; Optional Attributes
MISSING
ACCEPT
DESC
TITLE
FIELDTYPE
A1
A2
A3
A4
A5
A6
A7
A8
A9
A10
I1
I2
I3
I4
I5
I6
I7
I8
I9
Z1
Z2
Z3
Z4
Z5
Z6
Z7
Z8
Z9
Z10
Z11
Z12
Z13
Z14
Z15
Z16
F1
F2
F3
F4
F5
F6
F7
F8
F9
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
D15
D16
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
P13
P14
P15
P16

; Formatting
A1
A2
A3
A4
A5
A6
A7
A8
A9
A10
A11
A12
A13
A14
A15
A16
A17
A18
A19
A20
A21
A22
A23
A24
A25
A26
A27
A28
A29
A30
A31
A32
A33
A34
A35
A36
A37
A38
A39
A40
A41
A42
A43
A44
A45
A46
A47
A48
A49
A50
A51
A52
A53
A54
A55
A56
A57
A58
A59
A60
A61
A62
A63
A64
A65
A66
A67
A68
A69
A70
A71
A72
A73
A74
A75
A76
A77
A78
A79
A80
A81
A82
A83
A84
A85
A86
A87
A88
A89
A90
A91
A92
A93
A94
A95
A96
A97
A98
A99
A100
A101
A102
A103
A104
A105
A106
A107
A108
A109
A110
A111
A112
A113
A114
A115
A116
A117
A118
A119
A120
A121
A122
A123
A124
A125
A126
A127
A128
A129
A130
A131
A132
A133
A134
A135
A136
A137
A138
A139
A140
A141
A142
A143
A144
A145
A146
A147
A148
A149
A150
A151
A152
A153
A154
A155
A156
A157
A158
A159
A160
A161
A162
A163
A164
A165
A166
A167
A168
A169
A170
A171
A172
A173
A174
A175
A176
A177
A178
A179
A180
A181
A182
A183
A184
A185
A186
A187
A188
A189
A190
A191
A192
A193
A194
A195
A196
A197
A198
A199
A200
A201
A202
A203
A204
A205
A206
A207
A208
A209
A210
A211
A212
A213
A214
A215
A216
A217
A218
A219
A220
A221
A222
A223
A224
A225
A226
A227
A228
A229
A230
A231
A232
A233
A234
A235
A236
A237
A238
A239
A240
A241
A242
A243
A244
A245
A246
A247
A248
A249
A250
A251
A252
A253
A254
A255
$


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Reply With QuoteReport This Post
Gold member
posted Hide Post
Where do I add this into TextPad?
 
Posts: 60 | Location: Ellensburg Washington | Registered: May 22, 2009Reply With QuoteReport This Post
Gold member
posted Hide Post
Save as a FILENAME.syn file into your /TEXTPAD INSTALL/system dir should do it.


iWay 5.5 SMSP1 and 6.0.1 on Intel/Linux
 
Posts: 59 | Location: Birmingham, Blighty | Registered: October 30, 2007Reply With QuoteReport This Post
Gold member
posted Hide Post
Actually...
There's a help page that tells you about adding document classes etc in textpad. Yes, you'll need to associate the file types you're editing with the SYN file...

How to Create a New Document Class
There are three basic steps required:

Create the document class.
Specify which files are members of that class.
Optionally, specify which syntax definition file is required.
These steps can be performed for you with the New Document Class wizard, using the command on the Configure menu, or as explained below.

For example, for Perl files, first create the document class:
Close any open documents, even blank ones.
From the Configure menu, choose Preferences.
Select Document Classes.
Click the empty box at the bottom of the list of classes.
Type the name "Perl" and press Enter.
Click Apply.
Click the "+" next to Document Classes.
Select the new entry for Perl.
Change any properties, such as "Create new files as UNIX", if the defaults are not appropriate.
Click Apply.
Second, specify which files are members of this class:
Click the empty box at the end of the list of class members.
Type "*.pl" and press Enter.
Click Apply.
Finally, specify which syntax definition file is required (optional):
Click the "+" next to the Perl document class.
Select "Syntax".
Check "Enable syntax highlighting".
From the list of syntax definition files, choose "Perl.syn".
Click OK.
Now, open a file with extension ".pl" and it should be syntax highlighted.

If you don't see a suitable syntax definition file in the list, check if one is available from the free add-ons page on our web site. If you still can't see the one you need, you can create your own, as described in Reference Information: Syntax Definition Files, and taking an existing ".SYN" file as an example. However, do not use TEXT.SYN, nor start the file with "TEXT=1", as that is only intended for highlighting URLs in simple text files.


iWay 5.5 SMSP1 and 6.0.1 on Intel/Linux
 
Posts: 59 | Location: Birmingham, Blighty | Registered: October 30, 2007Reply With QuoteReport This Post
Gold member
posted Hide Post
That worked great. Thanks.
 
Posts: 60 | Location: Ellensburg Washington | Registered: May 22, 2009Reply With QuoteReport This Post
Expert
posted Hide Post
quote:
Originally posted by njsden:
Found it!

Click: Start -> Control Panel -> Default Programs -> Associate a file type or protocol with a Program.

Select ".fex" / ".htm" from the list, click "Change program..." and choose your editor of choice. If not listed, one can use "Browse ..." to pick any other, finish the process and voilà.


Odd. I seem to have lost my DevStudio connection to EditPlus. Start -> Control Panel -> Default Programs -> Associate a file type or protocol with a Program > .fex is set to EditPlus, but in DevStudio, even though the icon is EditPlus and the file type is EditPlus WebFOCUS Program, fexes open in Notepad.


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Reply With QuoteReport This Post
Guru
posted Hide Post
quote:

- Since largely ceasing and desisting from the use of HTML Composer I have developed Javascript that allows me to transfer launch pages between test and production domains with the change of one variable. The domain, folder, dir, etc variables are defined once, near the top of the page, for each location, and one variable determines which location is referenced. I love it!


Could you provide me with a code sample or direction on how you did this? It sounds very useful. 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
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Well, I am afraid I must be the nay sayer in this little discussion. If you use the tool the way it is designed to work, the HTML Composer workes just fine. Here are a few simple rules I follow:

1) have the report that is to be launched finished and TESTED before you even think about the launch page.

2) ALWAYS add parameter related components by clicking on the hyperlink properties of the button to be used to launch the report. Any new amper variables can be associated with the new control right there.

3) Then and only then , style the new components, and work on the functionality.

Just for the record, I just finished an 8 tab html page with 24 reports and 35 graphs. Once the reports / graphs were done and ready, the application tabs took about 2 hours each. Never looked at the HTML once.

Two weeks ago a 2 tab application with over 50 possible parameter controls, and 17 reports. The only time I opened the text view was to write the javascript to set default values or hide inappropriate controls for the report they had selected from a dropdown list.

Francis, IMHO your mistake was trying to copy the HTML code from one page to the other. My suggestion would be to:

a) Use the 'hyperlink properties' technique above to create the control in each of the four. This also handles all that pesky XML at the bottom of the apge.

b) Style / place the first control

c) Copy JUST the STYLE code from the first one to the rest.

Just my 2 cents


Robert F. Bowley Jr.
Owner
TaRa Solutions, LLC

In WebFOCUS since 2001
 
Posts: 132 | Location: Gadsden, Al | Registered: July 22, 2005Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Re-usable code/modules and easily replicated appearance and functionality are the hallmarks of a good development environment. HTML Composter is great for creating one-off launch pages/dash boards and for tweaking existing ones (created with the same version!). But in most corporate environments, logos, color schemes, and key data elements (i.e., input variables) never change. Having to recreate these non-changing aspects from scratch for every launch page/dash board is a terrible waste of resources. And this is exactly the kind of work HTML Composter is unable to do without significant manual intervention: take a copy of an existing Composter-generated page and modify portions of it to create a new launch page/dash board. The last time I had to write a job-related focexec from scratch was probably in 1983.

This message has been edited. Last edited by: Dan Satchell,


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Reply With QuoteReport This Post
Expert
posted Hide Post
Amen!


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Reply With QuoteReport This Post
Virtuoso
posted Hide Post
*Nods in agreement*

There's also the issue that often requirements change once a report is in use. That often means that new parameters are added to the report and need to be selectable on the launch page. Just adding a few new parameters to a launch page isn't usually a problem, but if the required behaviour changes (different data selections, different interoperability, etc.) you're in for some pain!

I've only been working with WebFOCUS since 2010, but even I rarely write a focexec from scratch. We have a bunch of standard procedures that do the work of most of our styling, whatever the output format is. It'd be nice to be able to automate that some more, in their current state they still involve some copy/pasting to apply them to reports. It's still a work in progress - I can't imagine what that would look like after 29 years!

I also can't imagine how IBI would ever be able to write a tool that would generate the correct code in such an environment. Perhaps with a code base that evolved, the best approach is to see if you can also generate the (admittedly rather complicated) embedded XML fragments that you need in your launch-pages. I do hope they documented how that works.


I'm not saying that there isn't room for improvement in the tools! There is. IMHO, the first thing that needs fixing though is the attitude of tech support to such problems; too often the reply is that "it's working as designed" - design flaws are flaws too!

For example, if the auto-prompter prompts me for variables that are in unreachable code, then something is wrong. If the cursor position indicator in Dev Studio disappears after using the HTML Composter while errors refer to such line numbers, that ought to be fixed. Those are real issues, whether they were designed that way or not.

Right, I'll get off my soap box now.


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 :
 
Posts: 1643 | Location: Enschede, Netherlands | Registered: August 12, 2010Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Yes Dan Satchell is correctand so is WEP5622, there is no way to create ones own templates to leverage a consistent apperance and branding However my request to be able to find a way to develop my own templates was rejected. See below

"Dear Geoffrey,

After further review by Product Managment, the feature request to customize or modify RIA templates used within the HTML Composer has been declined by Product management.

The recommendations I had provided earlier, which I have copied again below, will be the solutions.

Previously provided suggetions:
-------------------------------
Currently there isn't a way to create RIA templates for the HTML composer.
Right now the recommendation is to apply styling on top of the RIA Theme selected in HTML Composer using the dialogs in the tool. The other option is to create a cascading stylesheet, .css and place it in the Other Files folder of a Domain. The HTML Composer tool can then select that stylesheet for use"

I other words create your own stylesheet whch does not address the inflexibility of the templates in 7703.

* another nod in agreement *


809 DevStudio, MRE, Report Caster , Report Library
Output: Excel PDF, HTML
 
Posts: 171 | Registered: April 28, 2008Reply With QuoteReport This Post
Expert
posted Hide Post
quote:
The other option is to create a cascading stylesheet, .css and place it in the Other Files folder of a Domain.
This CSS file cannot be found by Firefox, Chrome, Safari, Opera, etc.


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Reply With QuoteReport This Post
Gold member
posted Hide Post
quote:
Could you provide me with a code sample or direction on how you did this? It sounds very useful. Thanks


If you could send me a private message with your email address, I'll see if I can send you code and instructions.

Rob


WebFocus 8201m on Windows; App Studio 8201; Procedures: WebFocus with SQL; HTML Parameter Pages & Dashboard; Output: Excel, HTML, & PDF.
 
Posts: 86 | Location: MI | Registered: July 23, 2009Reply With QuoteReport This Post
Virtuoso
posted Hide Post
No prying eyes allowed? Frowner



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Reply With QuoteReport This Post
Guru
posted Hide Post
Creation of templates is planned for a future release although not RIA templates because RIA templates are an extremely involved thing. You can save your own CSS on top of our themes and you can read the documentation to learn how to do that. In testing the releases, we always open pages created in prior releases and add new content to them as well as change interactivity previously created. So if you have a problem with doing that, you need to open a case with Support.


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
 
Posts: 312 | Registered: April 13, 2004Reply With QuoteReport This Post
Gold member
posted Hide Post
quote:
Originally posted by njsden:
No prying eyes allowed? Frowner


No! - No, primarily I realized that I'd never put together an organized set of instructions on how to do what I'm doing, so I didn't want to put Version 1.0 out for the whole world to stumble over if I missed something!

We'll see what I can do here. . . :-)

Rob


WebFocus 8201m on Windows; App Studio 8201; Procedures: WebFocus with SQL; HTML Parameter Pages & Dashboard; Output: Excel, HTML, & PDF.
 
Posts: 86 | Location: MI | Registered: July 23, 2009Reply With QuoteReport This Post
Gold member
posted Hide Post
quote:
- Since largely ceasing and desisting from the use of HTML Composer I have developed Javascript that allows me to transfer launch pages between test and production domains with the change of one variable. The domain, folder, dir, etc variables are defined once, near the top of the page, for each location, and one variable determines which location is referenced. I love it!


As requested, here is a link to some basic documentation. I scarcely ever go through the rigamarole of adding this code to an existing page, since most of my new pages are generated by copying and modifying an existing page that already has the code.

FSU Documentation

My documentation is not extensive, so if something doesn't make sense, feel free to ask.

Rob


WebFocus 8201m on Windows; App Studio 8201; Procedures: WebFocus with SQL; HTML Parameter Pages & Dashboard; Output: Excel, HTML, & PDF.
 
Posts: 86 | Location: MI | Registered: July 23, 2009Reply With QuoteReport This Post
Guru
posted Hide Post
Thank you Rob!!


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
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Reply With QuoteReport This Post
Guru
posted Hide Post
This thread has certainly lost it's original intent! All the input on text editors and version control is great but they shouldn't be necessary to begin with. Here's my latest addition to the tales of woe.


7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
 
Posts: 394 | Location: St. Paul, MN | Registered: November 06, 2007Reply With QuoteReport This Post
Guru
posted Hide Post
So, my ultimate question is for you folks who do not use HTML Composer. How do you create web pages that serve as a UI into your WebFOCUS procedures?


7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
 
Posts: 394 | Location: St. Paul, MN | Registered: November 06, 2007Reply With QuoteReport This Post
Guru
posted Hide Post
quote:
Originally posted by John_Edwards:

I write all my own html source and code directly to the servlet jsp. It is wicked simple. Once you get a couple of basic concepts down you'll never go back to the html composer again.

J.


John, can you point me in the direction of learning how to do this? Thanks!


7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
 
Posts: 394 | Location: St. Paul, MN | Registered: November 06, 2007Reply With QuoteReport This Post
Expert
posted Hide Post
Hand built, like in the old days, with lots of love, dedication, pride, and understanding of how it works.

Cool


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.05OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6104 | Location: Land of the Darug people, Terra Australis Incognita | Registered: October 31, 2006Reply With QuoteReport This Post
Expert
posted Hide Post
quote:
and understanding of how it works

The crucial bit for me.

I start with a base and generally hand code everything else. I had read through IBIRLS2 when it was around and got a good understanding of what it did. Then IBIRLS3 cam along with all the included XML within the code which knocked me back immensely Frowner Picked myself up and started to try and understand the interaction between the components (JS,XML,HTML) and am now in a place where I can achieve most of what I used to without having to venture into composer.

There are still times when I use composer but it is generally to get the base. I still use a form to contain the controls, get rid of the submit button and replace it with my own (actually I mostly change TYPE=SUBMIT to TYPE=BUTTON). I finally ensure that the value for the hidden input control named IBIF_ex is the fex that I want targetted and IBIAPP_app is the app(s) that I need in an app path. If the target is MRE then the parms are different of course but I still develop in apps and then move.

There are times when I have to use composer - when showing Customers "how to" - but these tend to be simplistic offerings.

Suggestions? Take the time to keep abreast of the HTML changes at W3C, learn JavaScript as best you can and bookmark those useful sites that you find when you google something like "javascript regualar expression"!!

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5601 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
  Powered by Social Strata Page 1 2  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     DS HTML Composer: So very, very discouraged

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.