Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

CSSGen.property (obsolete) – PB Docs 2018 – PowerBuilder Library

CSSGen.property (obsolete) – PB Docs 2018

CSSGen.property (obsolete)

Description

Settings that specify the physical path to which a generated CSS
style sheet is published and the URL where the style sheet is
located.

Obsolete property

CSSGen.property is obsolete and should not be used, because the
Web DataWindow technology is obsolete.

The Web Generation tab and JavaScript Generation tab are
preserved for the backward compatibility only.

Applies to

DataWindow objects

Syntax

PowerBuilder dot notation:

Describe and Modify argument:

Parameter

Description

property

One of the following:

  • PublishPath

  • ResourceBase

  • SessionSpecific

value

(exp) PublishPath — a string that specifies the
physical path of the Web site folder to which
PowerBuilder publishes the generated CSS style
sheet

(exp) ResourceBase — a string that specifies
the URL of the generated CSS style sheet to be referenced in a
link element in the XHTML page

(exp) SessionSpecific
— a boolean that when set to “yes” forces a session-specific ID
to be applied to any generated document names that would
otherwise be shared

Usage

The PublishPath folder must correspond to the URL specified in the
ResourceBase property. At runtime, after PowerBuilder generates the CSS
style sheet to the PublishPath folder, it includes it in the final XHTML
page by referencing it with the ResourceBase property in a <link>
element.

Typically you share style (CSS), layout (XSLT), and control
definitions (JS) for use by all clients; however, if you use dynamic
DataWindow objects customized for specific clients, you can force
generation of the DataWindow presentation-related document names to be
specific to each client. You do this by setting the
CSSGen.SessionSpecific property to “yes”. This eliminates the
possibility of server-side contention for presentation formats when the
DataWindow generation is specific to the client.

In the painter

In the Web Generation tab in the Properties view for the
DataWindow object, select CSS from the Format to Configure list, specify
the Resource Base and Publish Path locations, and check the
Session-specific CSS, XSLT and JS file names check box if you want to
force generation of client-specific names.

Examples

These statements set the CSSGen.ResourceBase and
CSSGen.PublishPath properties:

This statement sets the CSSGen.SessionSpecific property for a JSP
page:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x