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.

SetItem or SetValue in HTMLDW

2 posts in General Discussion (old) Last posting was on 2000-02-29 03:31:52.0Z
Valentin Class Posted on 2000-02-28 12:53:27.0Z
Newsgroups: sybase.public.easerver
Date: Mon, 28 Feb 2000 08:53:27 -0400
From: Valentin Class <catherinev@edp.ssspr.com>
X-Mailer: Mozilla 4.04 [en] (Win95; I)
MIME-Version: 1.0
Subject: SetItem or SetValue in HTMLDW
Content-Type: multipart/alternative; boundary="------------ADBFAE09A6851B37BAA92DDC"
Lines: 75
NNTP-Posting-Host: ppp-196-42-49-248.coqui.net 196.42.49.248
Message-ID: <347_38BA6FC7.F0DCE4E1@edp.ssspr.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27675
Article PK: 159043

Hi :
 
I use Logon page to validate users to my WebSite.  That is OK.
But I NEED to Set This Value in my HTML "update" DataWindow. And I need get DATE from system. 

My DataWindow Object name is : ajustar_dw  I make my data window in DATAWINDOW BUILDER
and use POWERSITE.

I have this script:
LOGON = psSession.GetValue("weblogin");
htmlDW.SetItem(1,"user_id", LOGON);
var T_DATE = new Date();
htmlDW.SetItem(1,"update_date", T_DATE);

When I use:  psDocument.Writeln(LOGON);   psDocument.Writeln(T_DATE);
Have the correct value in thats variables.

I change:          for:
htmlDW   ---   ajustar_dw
SetItem    ---  SetValue

BUT NOT FUNTION

PLEASE I need HELP !!!!

Catherine  :-)
 
 
 
 


Dean Jones [Team Sybase] Posted on 2000-02-29 03:31:52.0Z
Newsgroups: sybase.public.easerver
From: "Dean Jones [Team Sybase]" <dean_no_spam_@powerobjects.com>
Subject: Re: SetItem or SetValue in HTMLDW
Date: Mon, 28 Feb 2000 21:31:52 -0600
Lines: 134
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_00CB_01BF8233.3A7A74B0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: dsl131.outtech.com 216.207.145.131
Message-ID: <347_FZFCNZmg$GA.295@forums.sybase.com>
References: <347_38BA6FC7.F0DCE4E1@edp.ssspr.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27587
Article PK: 154560

Answered above.

--

Dean Jones, CPD Professional
Team Sybase
PowerTeam, Inc.
http://www.powerobjects.com
 
 
Valentin Class <catherinev@edp.ssspr.com> wrote in message news:38BA6FC7.F0DCE4E1@edp.ssspr.com...
Hi :
 
I use Logon page to validate users to my WebSite.  That is OK.
But I NEED to Set This Value in my HTML "update" DataWindow. And I need get DATE from system. 

My DataWindow Object name is : ajustar_dw  I make my data window in DATAWINDOW BUILDER
and use POWERSITE.

I have this script:
LOGON = psSession.GetValue("weblogin");
htmlDW.SetItem(1,"user_id", LOGON);
var T_DATE = new Date();
htmlDW.SetItem(1,"update_date", T_DATE);

When I use:  psDocument.Writeln(LOGON);   psDocument.Writeln(T_DATE);
Have the correct value in thats variables.

I change:          for:
htmlDW   ---   ajustar_dw
SetItem    ---  SetValue

BUT NOT FUNTION

PLEASE I need HELP !!!!

Catherine  :-)