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.

Two dw's on a page

2 posts in General Discussion (old) Last posting was on 2000-03-07 03:10:22.0Z
Adam Simmonds Posted on 2000-03-06 00:08:36.0Z
Newsgroups: sybase.public.easerver
Date: Mon, 06 Mar 2000 11:08:36 +1100
From: Adam Simmonds <asimmond@mail.usyd.edu.au>
Organization: University of Syndey
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Two dw's on a page
Content-Type: multipart/mixed; boundary="------------E7AB23DF068CDC56972D35F8"
Lines: 28
NNTP-Posting-Host: pc-70.sis.usyd.edu.au 129.78.248.198
Message-ID: <347_38C2F704.45B960B1@mail.usyd.edu.au>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27143
Article PK: 158066

Hi All
I have two dw's on a page, one read only and the other updateable.
On my submit I perform server side scipts that update values shown in
the readonly dw and want this dw to re-retrieve after the save, however
I need to actually press retrieve button to get the values refreshed
after a successful save.

How do I get the save to submit along with a retrieve of the other dw.

TIA
Adam


Download VCard asimmond.vcf


Larry Cermak[Team Sybase] Posted on 2000-03-07 03:10:22.0Z
Newsgroups: sybase.public.easerver
From: "Larry Cermak[Team Sybase]" <lcermak@ctpartners.com>
Subject: Re: Two dw's on a page
Date: Mon, 6 Mar 2000 21:10:22 -0600
Lines: 29
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: node6.dhcpchi.dslspeed.zyan.com 208.41.199.6
Message-ID: <347_MSKskP#h$GA.74@forums.sybase.com>
References: <347_38C2F704.45B960B1@mail.usyd.edu.au>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27010
Article PK: 154475

You need to make sure you assign each datawindow a name via the
SetHTMLObjectName method call (assuming you're using the HTMLGenerator
component). An update of either dw will cause the page to refresh and
re-run your server-side script.

--

Larry Cermak [Team Sybase]
Corporate Technology Partners, Inc.
www.ctpartners.com
Web DataWindow Articles
(http://sdn.sybase.com/sdn/appdev/get_doc.stm?loc=1001708)

"Adam Simmonds" <asimmond@mail.usyd.edu.au> wrote in message
news:38C2F704.45B960B1@mail.usyd.edu.au...
> Hi All
> I have two dw's on a page, one read only and the other updateable.
> On my submit I perform server side scipts that update values shown in
> the readonly dw and want this dw to re-retrieve after the save, however
> I need to actually press retrieve button to get the values refreshed
> after a successful save.
>
> How do I get the save to submit along with a retrieve of the other dw.
>
> TIA
> Adam
>