Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

HTMLDW too big

5 posts in General Discussion (old) Last posting was on 2000-03-27 02:42:43.0Z
Bernett Posted on 2000-03-24 05:45:49.0Z
Newsgroups: sybase.public.easerver
Date: Fri, 24 Mar 2000 06:45:49 +0100
From: Bernett <bina@chello.at>
X-Mailer: Mozilla 4.6 [de]C-CCK-MCD (Win98; I)
X-Accept-Language: de,en
MIME-Version: 1.0
Subject: HTMLDW too big
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: 7bit
Lines: 18
NNTP-Posting-Host: chello212186017079.11.vie.surfer.at 212.186.17.79
Message-ID: <347_38DB010D.55CC5567@chello.at>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25766
Article PK: 155815

Hi,

We use HTMLDW for displaying and entering data. For displaying we use
grid DW and called setweight with all the stuff set to false -> page
size 13k -> wonderful we love this stuff.

When we use freeform dws we call setweight and want forms and client
side scripts (we need to update) -> 72k -> HORRIBLE (if you do not know
it, here in Europe we do NOT have so highspeed connections!!!).

We are thinking about cutting off the javascript code by hand, is there
any other chance to get smaller pages (and to be able to update). 40k
would be great, but 72k is useless (if there would not be any comments
(ie SYBASE COPYRIGHT) this would minimze the script for about 2k).


Catherine Valentin Posted on 2000-03-24 18:10:15.0Z
Newsgroups: sybase.public.easerver
Date: Fri, 24 Mar 2000 14:10:15 -0400
From: Catherine Valentin <catherinev@edp.ssspr.com>
X-Mailer: Mozilla 4.04 [en] (Win95; I)
MIME-Version: 1.0
Subject: Re: HTMLDW too big
Content-Type: multipart/alternative; boundary="------------4646163F0C18956354037D2B"
Lines: 62
NNTP-Posting-Host: 209.100.234.125
Message-ID: <347_38DBAF87.BA5D14D@edp.ssspr.com>
References: <347_38DB010D.55CC5567@chello.at>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25738
Article PK: 155787

Configurate the Properties of DW in:      (DW Builder)
HTML GENERATOR
Rows Per Page :
And Insert BUTTON for NEXT in the Footer of DW
In this form you have limit rows per page and continue with next button.
 
 

Bernett wrote:

Hi,

We use HTMLDW for displaying and entering data. For displaying we use
grid DW and called setweight with all the stuff set to false -> page
size 13k -> wonderful we love this stuff.

When we use freeform dws we call setweight and want forms and client
side scripts (we need to update) -> 72k -> HORRIBLE (if you do not know
it, here in Europe we do NOT have so highspeed connections!!!).

We are thinking about cutting off the javascript code by hand,  is there
any other chance to get smaller pages (and to be able to update). 40k
would be great, but 72k is useless (if there would not be any comments
(ie SYBASE COPYRIGHT) this would minimze the script for about 2k).

 


Dave Wolf [Sybase] Posted on 2000-03-24 12:37:39.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: HTMLDW too big
Date: Fri, 24 Mar 2000 07:37:39 -0500
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: vpn-eme-015.sybase.com 130.214.8.15
Message-ID: <347_Xx1Me5Yl$GA.298@forums.sybase.com>
References: <347_38DB010D.55CC5567@chello.at>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25758
Article PK: 155805

You cant cut the JavaScript and still do updates. The HTML DW needs the
JavaScript to do the updates.

Dave Wolf
Internet Applications Division

"Bernett" <bina@chello.at> wrote in message
news:38DB010D.55CC5567@chello.at...
> Hi,
>
> We use HTMLDW for displaying and entering data. For displaying we use
> grid DW and called setweight with all the stuff set to false -> page
> size 13k -> wonderful we love this stuff.
>
> When we use freeform dws we call setweight and want forms and client
> side scripts (we need to update) -> 72k -> HORRIBLE (if you do not know
> it, here in Europe we do NOT have so highspeed connections!!!).
>
> We are thinking about cutting off the javascript code by hand, is there
> any other chance to get smaller pages (and to be able to update). 40k
> would be great, but 72k is useless (if there would not be any comments
> (ie SYBASE COPYRIGHT) this would minimze the script for about 2k).
>


Glenn Santa Cruz Posted on 2000-03-24 15:39:31.0Z
Newsgroups: sybase.public.easerver
Date: Fri, 24 Mar 2000 09:39:31 -0600
From: Glenn Santa Cruz <spam?no.glenn_santacruz@dailyaccess.com>
Organization: Daily Access Concepts
X-Mailer: Mozilla 4.7 [en] (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: HTMLDW too big
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 47
NNTP-Posting-Host: 12.6.74.30
Message-ID: <347_38DB8C33.F0DFE0A9@dailyaccess.com>
References: <347_38DB010D.55CC5567@chello.at> <347_Xx1Me5Yl$GA.298@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25748
Article PK: 155795

However, you *could* create a very generic HTML DW, cut the majority of
JavaScript out of it and paste it into its own file. You can then
include a <script language="JavaScript" SRC=yourfile.js> tag in the HTML
<head> area, which would allow your browser to cache the contents of
your .js file, cutting your client download times quite a bit. Of
course, this limits your HTML DW logic to very generic functionality,
unless you're pretty good at JavaScript and subclass the code in the
major file.

The premise is keeping bulk ancestor JavaScript code in an external
file, and create specific code within the HTML document itself. I've
not tried this myself; it's merely a suggestion. I think it probably
would take a significant amount of work, but certainly worthwhile if you
can make it happen. ;-)

HTH

Glenn

"Dave Wolf [Sybase]" wrote:
>
> You cant cut the JavaScript and still do updates. The HTML DW needs the
> JavaScript to do the updates.
>
> Dave Wolf
> Internet Applications Division
>
> "Bernett" <bina@chello.at> wrote in message
> news:38DB010D.55CC5567@chello.at...
> > Hi,
> >
> > We use HTMLDW for displaying and entering data. For displaying we use
> > grid DW and called setweight with all the stuff set to false -> page
> > size 13k -> wonderful we love this stuff.
> >
> > When we use freeform dws we call setweight and want forms and client
> > side scripts (we need to update) -> 72k -> HORRIBLE (if you do not know
> > it, here in Europe we do NOT have so highspeed connections!!!).
> >
> > We are thinking about cutting off the javascript code by hand, is there
> > any other chance to get smaller pages (and to be able to update). 40k
> > would be great, but 72k is useless (if there would not be any comments
> > (ie SYBASE COPYRIGHT) this would minimze the script for about 2k).
> >


Carson Hager[Team Sybase] Posted on 2000-03-27 02:42:43.0Z
Newsgroups: sybase.public.easerver
From: chager@dyn-data.com (Carson Hager[Team Sybase])
Subject: Re: HTMLDW too big
Date: Mon, 27 Mar 2000 02:42:43 GMT
Organization: Dynamic Data Solutions, Inc.
X-Newsreader: Forte Free Agent 1.21/32.243
Lines: 72
NNTP-Posting-Host: charon.lifescape.com 63.86.26.130
Message-ID: <347_38deca99.9720667@forums.sybase.com>
References: <347_38DB010D.55CC5567@chello.at> <347_Xx1Me5Yl$GA.298@forums.sybase.com> <347_38DB8C33.F0DFE0A9@dailyaccess.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25685
Article PK: 155741

We've done it. It wasn't that bad.


Carson

___________________________________________________________

Carson Hager
Team Sybase
Dynamic Data Solutions, Inc.
Enterprise Application Studio 3.0 Consulting and Training
http://www.dyn-data.com

DDS is now hiring EAServer consultants
to support its exploding EAServer business!
Please submit your resume to
hr@dyn-data.com!


On Fri, 24 Mar 2000 09:39:31 -0600, Glenn Santa Cruz

<spam?no.glenn_santacruz@dailyaccess.com> wrote:

>However, you *could* create a very generic HTML DW, cut the majority of
>JavaScript out of it and paste it into its own file. You can then
>include a <script language="JavaScript" SRC=yourfile.js> tag in the HTML
><head> area, which would allow your browser to cache the contents of
>your .js file, cutting your client download times quite a bit. Of
>course, this limits your HTML DW logic to very generic functionality,
>unless you're pretty good at JavaScript and subclass the code in the
>major file.
>
>The premise is keeping bulk ancestor JavaScript code in an external
>file, and create specific code within the HTML document itself. I've
>not tried this myself; it's merely a suggestion. I think it probably
>would take a significant amount of work, but certainly worthwhile if you
>can make it happen. ;-)
>
>HTH
>
>Glenn
>
>"Dave Wolf [Sybase]" wrote:
>>
>> You cant cut the JavaScript and still do updates. The HTML DW needs the
>> JavaScript to do the updates.
>>
>> Dave Wolf
>> Internet Applications Division
>>
>> "Bernett" <bina@chello.at> wrote in message
>> news:38DB010D.55CC5567@chello.at...
>> > Hi,
>> >
>> > We use HTMLDW for displaying and entering data. For displaying we use
>> > grid DW and called setweight with all the stuff set to false -> page
>> > size 13k -> wonderful we love this stuff.
>> >
>> > When we use freeform dws we call setweight and want forms and client
>> > side scripts (we need to update) -> 72k -> HORRIBLE (if you do not know
>> > it, here in Europe we do NOT have so highspeed connections!!!).
>> >
>> > We are thinking about cutting off the javascript code by hand, is there
>> > any other chance to get smaller pages (and to be able to update). 40k
>> > would be great, but 72k is useless (if there would not be any comments
>> > (ie SYBASE COPYRIGHT) this would minimze the script for about 2k).
>> >

___________________________________________________________

Carson Hager
Team Sybase
Dynamic Data Solutions, Inc.
Enterprise Application Studio 3.0 Consulting and Training

DDS Enterprise Application Framework
Available Now as Open Source!
http://www.dyn-data.com