cancel
Showing results for 
Search instead for 
Did you mean: 

CSF - Upload of more than 2 MB Javascript

Former Member
0 Kudos

Hello,

the client side framework is a large amount of javascript files that have to be uploaded to the client. Depending on the caching options of the client browser, this could lead to a situation that those files have to be uploaded on every start of a webdynpro application.

This reminds me of java applets, which were e.g. critized for having long times for loading on machines with a slow internet connection.

Can you give me a statement how we can deal with those problems?

Greetings

Ulf Helmke

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ulf,

Since Serverside Rendering is available with NetWeaver '04, you do not need to use CSF. All features like flicker-free screen are available with SSR as well. You can check it out with the new Sneak Preview II version coming very soon!

Best regards, Karin

htammen
Active Contributor
0 Kudos

Hi,

how can that work? When rendering at server side the whole html page ist generated at the end of each server request, isn´t it? If this is true how do you achieve flicker-free screens. The browser only displays the new page and does not modify the dom tree at runtime, doesn´t it?

Helmut

Former Member
0 Kudos

Hello Helmut,

Javascript code is also executed in the SSR. A view assembly is completely rendered on the server for each reply, and sent to the browser. This reply, however, is not output directly in the browser; instead it is added to the existing DOM as "inner HTML". The updated DOM is then rendered in the browser. This prevents the flicker effect (at least to a certain extent).

There are also the corresponding Javascript functions for pure client-side changes, such as expanding and collapsing trays without server interaction. These are provided by Unified Rendering as MAPI (Modification API). SSR renders the calls of these MAPIs to HTML.

Best regards,

Karin

Former Member
0 Kudos

Hi Karin,

will it be possible to let the client execute simple input validation checks with SSR?

For example, if there are two input fields using date values representing a begindate and an enddate, will it be possible to let the client check the constraint begindate <= enddate?

Best regards,

Stefan

Former Member
0 Kudos

Hello Karin,

now I have the new sneak preview and i'm desperatly seeking a way to configure my web dynpro app to use

Server Side Rendering.

I couldn't find any hints in the eclipse help system.

I think there must be something to configure on the

J2EE Engine.

Can you help me ?

Greetings Ulf

Former Member
0 Kudos

Hello Ulf,

here are the steps how to configure the Web Dynpro Framework to use SSR as default client.

1) Start the configtool or the admintool of the SapJ2EE-Engine and enter in the config-mode (configtool) or select the service ConfigurationAdapter on the server0-Node (admintool).

2) Open the hierachy webdynpro/sap.com/tcwddispwda/.

3) Press the "Switch to edit mode" button and confirm this step in the following popup.

4) In the following dialog "Change Configuration" doubleclick the cell "clients" in the name column of the table.

5) In the following dialog "Change property entry" enter (you can copy&paste it) with shifted order between csfClient and htmlClient the value of the default-field in the custom-field. Confirm this step with "apply custom".

6) Close the tool and restart your engine.

Within the EP6 it is only an iView property change within Web Dynpro content.

Best regards, Karin

Former Member
0 Kudos

Hello Karin,

this works as described on ie6.

On netscape 7.1 or mozilla the use of CSF remains unchanged.

Greetings

Ulf Helmke

Former Member
0 Kudos

Hi Ulf,

You are right, it works for IE6 only within that version (no support for IE 5.5 or Netscape Navigator 7.0 yet). BTW, Netscape 7.1 and Mozilla are not officially supported anyhow.

Best regards, Karin