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.

How to pass parameter from browser to HTML DW on server?

2 posts in General Discussion (old) Last posting was on 2000-03-20 13:39:02.0Z
Stephen Posted on 2000-03-20 04:15:35.0Z
Newsgroups: sybase.public.easerver
From: "Stephen" <skinchu@bn.com>
Organization: 64.24.41.99
X-Newsreader: AspNNTP 1.41 (Advent 2000, Inc.)
Subject: How to pass parameter from browser to HTML DW on server?
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Date: Sun, 19 Mar 2000 23:15:35 -0500
Lines: 29
NNTP-Posting-Host: 207.156.232.4
Message-ID: <347_ygUBxLik$GA.285@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26104
Article PK: 156104

Hi, there

I create a HTML Datawindow page (say customer.htm) and simple HTML (state.htm)
with some radio buttons (State: NJ, NY, CA etc) using PowerSite. The datawidow
object (d_customer) for customer.htm has a retrieve argument, say state. And
then I create a frame set page (customer_frame.htm) with state.htm on top and
customer.htm on bottom. I deploy 3 pages to PowerDynamo.

What I try to do is when the frame page (customer_frame.htm) initially loaded,
it retrieves data with default argument, say sate='CA'. After user click the
radio button on the top page (state.htm), say 'NY', the bottm page will retrieve
data with selected state ('NY').

In RETRIEVE PARAMETER Tab of HTML Datawindow DTC of PowerSite, I can define the
retrieve argument for the HTML datawindow, say retrieve argument = page
parameter, e.g. as_state=ps_state. But how can I pass page parameter(ps_state)
from state.htm to customer.htm? Is there any better ways to do that?

Thanks for any help.

Stephen
---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp


Jorge Luzarraga C. Posted on 2000-03-20 13:39:02.0Z
Newsgroups: sybase.public.easerver
From: "Jorge Luzarraga C." <jluzarra@alboradasystems.com>
Subject: Re: How to pass parameter from browser to HTML DW on server?
Date: Mon, 20 Mar 2000 08:39:02 -0500
Lines: 51
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: 209.170.68.205
Message-ID: <347_5#FCBWnk$GA.290@forums.sybase.com>
References: <347_ygUBxLik$GA.285@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26097
Article PK: 156102

Stephen,

you can pass parameter from one to page to another like this:

http://mypage.htm?var1=value1&var2=value2...

and inside mypage.htm you can get those values like this using Dynascript

document.value.var1, document.value.var2

If you need more help, search for the Larry Cermark's answers to my posting
"itemchanged event on dddw's"

Hope it can help you.

Stephen <skinchu@bn.com> wrote in message
news:ygUBxLik$GA.285@forums.sybase.com...
> Hi, there
>
> I create a HTML Datawindow page (say customer.htm) and simple HTML
(state.htm)
> with some radio buttons (State: NJ, NY, CA etc) using PowerSite. The
datawidow
> object (d_customer) for customer.htm has a retrieve argument, say state.
And
> then I create a frame set page (customer_frame.htm) with state.htm on top
and
> customer.htm on bottom. I deploy 3 pages to PowerDynamo.
>
> What I try to do is when the frame page (customer_frame.htm) initially
loaded,
> it retrieves data with default argument, say sate='CA'. After user click
the
> radio button on the top page (state.htm), say 'NY', the bottm page will
retrieve
> data with selected state ('NY').
>
> In RETRIEVE PARAMETER Tab of HTML Datawindow DTC of PowerSite, I can
define the
> retrieve argument for the HTML datawindow, say retrieve argument = page
> parameter, e.g. as_state=ps_state. But how can I pass page
parameter(ps_state)
> from state.htm to customer.htm? Is there any better ways to do that?
>
> Thanks for any help.
>
> Stephen
> ---== Posted via the PFCGuide Web Newsreader ==---
> http://www.pfcguide.com/_newsgroups/group_list.asp