[Top] [Prev] [Next] [Bottom] [Contents]

SaPopulateTextArea

Populates HTML stream with data.

Synopsis

#include "SaRnHtml.h"
void SaPopulateTextArea(Widget list, 
			XtPointer client_data, 
			SaCallbackStruct *cbs);

Arguments

list
Not used.
client_data
Not used.
cbs
SaCallbackStruct callback structure containing the data.

Return Values

None.

Description

Populates HTML stream with data. For each row in cbs, this call concatenates columns, adding spaces to align columns. This alignment will only be seen by the HTML user when the site is surrounded by <PRE> </PRE> tags. After each row, a newline ("\n") is added. The following shows an HTML fragment for a text area:

<TEXTAREA NAME="TEXT" >"##Sa_Authors##"</TEXTAREA>

Example

/*** the following ad-hoc example can be used without templates 
***/
SaCallbackStruct *cbs;
cbs = SaExecSQL("CEZANNE", "pubs2", SGESYBASE, "select * from 
authors");
/*** calls to set the beginning HTML context ***/
SaPopulateTextArea(NULL, NULL, cbs);
/*** calls to complete the HTML context ***/
SaFreeCbs(cbs);
Note: This call is generated automatically by Sapphire/Web through use of the Results Detail Dialog.

See Also



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.