Re: Problem in web deployment of Developer/2000 application

From: Andrei Filimonov <andrei.filimonov_at_supersolution.com>
Date: Mon, 27 Jul 1998 10:06:34 -0500
Message-ID: <6pi4s2$fvl$1_at_blackice.winternet.com>


sandeepsinghdeo_at_my-dejanews.com wrote in message <6pc4l5$34j$1_at_nnrp1.dejanews.com>...
>Web Related Problem For Developr/2000
>--------------------------------------
>
>Q-1) The message box provided in the application works fine at the local
>machine but when the same form is put at the web , then the size of the
>message box decreases so by the command button of the message box is coming
>half only in the screen.

The problem is in font mapping. You have to play with different fonts to get required result. See Web deployment manual how to change font mappings.

Q-2) As the help file created with the windows
>compiler is not working at the web, so we are creating a html file and
>calling using
web.show_command('http://oracleserver/help/help.htm','_blank');
>to be used at web. Is there any way by which we donot have to hard code our
>web server name because there will be problem at the time of customizing
the
>application as the web server name may be different from place to place.

There are to ways to do that. 1) Create form parameter that provides web server address. 2) URL in SHOW_DOCUMENT builting can be either full Web address or just path in Web server you started your form from. If help files reside on the same server just give their virtual location without specifying server ( e.g. '/help/help.html' ).

>Q-3)>I am entering a date in the date field and pressing a Refresh button
by which
>the data get refreshed at the data grid . But after refreshing the data,
>again it goes back to date field instead of the data grid and until the
user
>clicks on the same field.This thing works fine at local machine.

You can't fix that problem. It's just how Forms Java client works.

Q-4) I have
>created visual attribute to set the alternate row in a grid as white and
grey
>and it works fine at local machine. The problem at web is it is retrieving
>100 records(say) and in screen only 10 records are visible but when I am
>scrolling fast then instead of alternate rows as grey and white it is
showing
>all as white.

>

Developing forms for the Web deployment you should omit using any defaults in object properties. All visual attributes ( e.g. background color, foreground color, font, label font and color, etc ) must be defined explicitly for all windows, canvases, blocks and items. Remember that there is no Windows environment on the Web. All Forms visual attributes are mapped to Java AWT attributes. And defaults are treated differently.

Andrei Filimonov Received on Mon Jul 27 1998 - 17:06:34 CEST

Original text of this message