Input template Forms - Browser window too little
Hi
I have created XML Input templates using XML Forms Builder (Form Based Publishing).
Some of the fields are fields to keep a RID with a little square browwser button attached.
When using this browser button, a new <i>browser window</i> opens. This window is almost never the right size. The user allways have to use the mouse to draqg out the window to be able to look at all the files.
It must be possible to control the size of that browser window?
Hi Flemming,
unfortunately, the size of the browser windows in XMLForms are fixed (they do not automatically resize).
But you can define this fixed size in the configuration file at "\etc\xmlforms\XFBuilderConfig\browserControls.xml" (so normally you can set a bigger width/height to avoid manual adjustments).
For example, you want a bigger "Date Picker" you can edit the elements <width> and <height> of this section. After that you must rebuild your XMLForms project.
But please keep in mind, that these setting are global to all XMLForms projects. If you a rebuilding another XMLForms project, this DatePicker will also become this WindowSize.
Kind Regards
--Matthias
Similar Messages
-
Forms Browser window and Internet shortcuts
Hi,
We are in the process of migrating our Forms 4.5 app to 9i, and have hit a problem with Internet shortcuts, in that the shortcut grabs the first available browser window.
Separately I had added some Javascript that warns the user of an attempt to navigate away from the page, because the seemingly unused browser window is of course vital, however the Internet shortcut is now useless.
We could, as a precaution against Internet shortcuts, open an extra browser window before our Forms browser, but I don't believe that 3 windows for every forms application is the right approach (gross understatement!).
Can anyone offer any alternatives?
Thanks,
Neville Sweet.If you are using IE 5.5 or higher as the browser you might consider hta technology (microsoft specific, I peronally would avoid it...). Look at subject HTA Applications on the microsoft site. HTA stands for HTML Application. It is HTML that runs outside the browser's security domain as client software.
We have implemented this method for a customer who insisted on having the Webforms applications being started exactly the same way as was the case with c/s, i.e. from windows menu shortcuts.
A beter way I think, is to offer a home page with links to the Forms Applications.
Peter -
Maximize and closing browser window
Hi all.
I have two problems.
I'm running a form in separateframe =true. I want to maximize the browser window. How can I do this???
The second problem: how can I close the browser window? I have create a post-form trigger and I put this code: web.show_document('JavaScript:window.close();','_self');
but nothing appens. Is there someone that can help me???
Thank you all,
FabrizioFor closing the browser window after closing a form you need to create an html file with the following code in it.
for Internet Explorer:
<html>
<body onload="closeit()">
<script>
function closeit()
win = top;
win.opener = top;
win.close ();
</script>
</body>
</html>Place this file where Oracle HTTP server can read (virtual directory) and call in in a post form trigger with web.show_document.
WEB.SHOW_DOCUMENT('http://machinename.domain:portno/mydirectory/close.html',
'_self');Make sure you use _self to the close the applet browser.
You can sue the same method to maximize the browser window too with the appropriate code.
Regards,
Tony -
CFFORM and scrolling browser window
Having an issue with cfform where, after the form loads, I
cannot select items in a cfgrid if the browser window is scrolled.
It doesn't seem to matter where the grid is located on the page -
items can only be selected in the grrid when the browser window is
in its default position. If I scroll the page down, it ceases to
function; scroll it back, and it works. This only seems to occur in
Firefox - MSIE (surprisingly) works okay for the most part.
Anyone know of a fix for this?For closing the browser window after closing a form you need to create an html file with the following code in it.
for Internet Explorer:
<html>
<body onload="closeit()">
<script>
function closeit()
win = top;
win.opener = top;
win.close ();
</script>
</body>
</html>Place this file where Oracle HTTP server can read (virtual directory) and call in in a post form trigger with web.show_document.
WEB.SHOW_DOCUMENT('http://machinename.domain:portno/mydirectory/close.html',
'_self');Make sure you use _self to the close the applet browser.
You can sue the same method to maximize the browser window too with the appropriate code.
Regards,
Tony -
Closing the browser windows created by web.show_document and javascript
From Forms I am issuing a http request using web.show_document and javascript:window.open(). The http request makes a remote procedure call to a coldfusion component on a JRun appserver. I want this rpc to fire in the background so that the current forms browser window remains as is.
The logic is as follows
l_rpcURL := 'http://....just a standard URL.....'; -- edited for this thread
l_jsURL := 'javascript:window.open("' || l_rpcURL || '","","fullscreen=no,titlebar=no,location=no,toolbar=no,menubar=no,status=no,resizable=no");self.close();';
WEB.SHOW_DOCUMENT (l_jsURL,'_blank');
The http request works fine but leaves a browser window behind. It's the one created by the javascript.window.open(). If I remove the self.close() from the javascript then I have two browser windows open, one from web.show_document and the other, as described previously, from the window.open().
Any idea how I can force closure of the window opened by the window.open() ?
ThanksHi,
did this occured afer installing service pack 2?
A work around is The only solution that is to create a close.html file and calling this file in the code: Web.show_document('http://server:port/close.html','_self');
<html>
<body onload="closeit()">
<script>
window.close();
</script>
</body>
</html>
Monica -
VPN requires input of user id and password on authentication browser page. However, the browser page flashes for an instance (less than one second) and then returns an error page "failed to authenticate". It is failing to authenticate because I am unable to input the required username / password on the authentication page. Is there a setting I need to modify to allow the authentication page to wait for input?
JC>>What am I doing wrong?
Not giving us a link to the uploaded page so we can see the
page, how it
behaves and the actual code.
Until we see that you are unlikely to get a definitive
answer. The problem
is unlikely as you state it because text itself is never
dependant on the
browser viewport size.
Walt
"Fun Leprechaun" <[email protected]> wrote
in message
news:g9f7rq$ie4$[email protected]..
> Hello there,
>
> I am using a DW CS3 template that has a sidebar div and
a main content
> div -
> the text in the main content div keeps resizing to the
size of the browser
> window - I don't want the text to resize if I make the
browser window
> smaller -
> I want it to remain the same. I am trying to float the
text right and
> input a
> width but this is not working for me. What am I doing
wrong?
>
> HELP!
>
> Many thanks!
> -
How to maximise the browser window in Forms 9i?
I want to maximise the MDI window in an Oracle 9i Form. Many posts here say to use:
Set_Window_Property(Forms_MDI_Window,Window_State,Maximize);
but it doesn't work for me. Some posts suggest there is a bug that prevents it from working. If this is the case, is there some javascript I can run to do this for me? I am already using javascript to close the browser window when I am finished with the form, so a little more wouldn't hurt.
thx
adamWhen you are running inside the browser, you have no MDI window to maximize. (But there is a frame size that is set on the URL line or in the config file, which cannot be changed from the form).
<p>When running SeparateFrame=True, you have an MDI window, and if you issue the maximize, Forms will set it to cover the full screen, but it will NOT be maximized.
<p>And if you use get_window_property, it will always report window_state=normal, even if the user maximizes the window.
<p>See MDI Window State in web forms -
Closing browser window when form is closed
Thanks, Michael. I agree about exit_form.
I want the second browser to block the first set of forms running in the first browser because it's a dataflow requirement - user goes from Form A to Form B, must complete their work in Form B before returning to Form A. So I'm actually happy that webutil_host.host freezes Form A. I don't want to use non-blocking because this would let the user back in Form A before they were done with Form B (and would potentially leave a lot of browser windows open). I did initally try web.show_document but that was non-blocking.
Normally, I would use a call_form in this scenario, but I have to log into a second database (for security reasons) for the user to complete their task in Form B, and if I use a call_form and then want to log into a second database, I have to log out of my first one (which causes me to lose all sorts of global variables and session variables), log into the second, and then log back into the first (and I don't get my globals or session variables back in that case). So, I am keeping Session 1 alive in Form A, calling Form B and starting Session 2 against a second database, and then closing Session 2 and Form B and returning to Session1 (which is still open)and Form A. Is there is a better way to do thise, please let me know. (Mind you, this all worked very well in client/server mode - funny how the older tools can be more straightforward.)
And yes, I agree that we are using an old OAS (OAS10gR1). I have been suggesting an upgrade but am being told that it would require too much effort. We have 200 forms and upgrading them to work with the newer OAS is something I have been told we cannot do. If it doesn't require a forms upgrade (beyond open in new builder, save, and close), then I might have some luck making it happen, but everyone seems to think it does require more work than that. If that is not true, please let me know. I think that would solve a lot of our problems.
Meredith -
As I surf from website to website, up at the top of the browser window (but before the toolbar) a little notice was showing up asking me if I wanted to allow the website to redirect (forward) my page. It would also tell me that a webpage wanted to reload. There was a little "allow" button at the top left and also at the top left there was a little "x". I accidentally clicked that "x" and it hid that little notice thingy. I can't figure out how to get it back. I'm brand new to Firefox so please forgive my ignorance on this. Btw, Firefox is awesome. ;-)
* [http://kb.mozillazine.org/Menu_differences Firefox > Preferences] > Advanced > General : Accessibility : [ ] "Warn me when web sites try to redirect or reload the page"
The setting in "Firefox > Preferences > Advanced > General" is meant as an accessibility feature, as you can see by the label of that section, so that people with disabilities or people who use screen readers do not get confused and is not meant as a safety protection to stop redirecting.
See also:
* https://support.mozilla.com/kb/Options+window+-+Advanced+panel#General_tab
* http://kb.mozillazine.org/accessibility.blockautorefresh
* http://kb.mozillazine.org/Accessibility_features_of_Firefox -
Load balancing 10g forms - Connection from new browser window not supported
Load balancing 10g forms - Connection from new browser window not supported
We're experimenting with using webcache to load balance between multiple applications servers running OC4J forms processes.
We currently have one machine with infrastructure and mid-tier (BI & Forms) installed, which is being used for the webcache functionality, this is load balancing between 2 other servers each of which just have the mid-tier (BI & Forms) installation
In order to get this to work, I had to follow the instructions in the Forms deployment guide : http://download-uk.oracle.com/docs/cd/B14099_11/web.1012/b14032/tuning.htm#sthref707
The main gist of this is that you need to set the following in the orion-web.xml file in order that the sessions are maintained:
<session-tracking
cookies="enabled">
</session-tracking>
This all works fine in most cases.
The problem I am having is if I do one of the following on the client machine:
1) From IE6 / IE7 run a copy of a forms application. Then open a new window using the "New Window" menu option, and attempt to run another forms application.
2) In IE7 or Firefox 2.0 open a copy of the forms application, and then open a new tab and try and open another forms application.
If I try either of these I get a FRM-92101 error, and the following is displayed in the java console:
oracle.forms.net.ConnectionException: Connection from new browser window not supported
From trawling various forums (including metalink and otn) it looks like a problem with the way coockies are handled.
Unfortunately the usual workaround is to ensure that the session tracking option in the orion-web.xml file is disabled.
The problem is that I need this enabled in order for the load balancing to work.
Does anyone know of any other workarounds or patches that might help resolve this?
We're using Application server 10.1.2.0.2 running on windows 2003 servers.You were right. Carriage returns were stopping it from working (the document is laid out over separate lines, so I assumed it would make no difference...).
I've now managed to get it so the forms at least run, but they are all being run in the forms OC4J instance on the same machine as the OHS.
Has anyone actually managed to get this to work, or am I doing something wrong?
I did wonder if using an OHS instance on a machine with no forms installation would make any difference?
I had raised a support call via metalink on this subject, but they eventually came to the conclusion that the only way to do this is with a hardware load balancer (Despite several documents suggesting that webcache is the way to go (including the forms deployment manual)).
I'm at the point now of giving up and writing some custom scripts to do the job instead... -
Call form in new browser window
Hello all,
I am trying to call a form that will appear in a new browser window, but be part of the same forms application. I am able to call the applet by using web.show_document, however you must log on to the forms services before you can access the form. I would simply like to click a button and have it call a form that opens in a new window. I am doing this for our data entry techs that need to utilize dual monitors looking at 2 separate tables.
Thanks in advance,
-JordanBe aware that there are limitations with Forms if you are trying to run the application on the secondary monitor. Known issues related to dual monitors have been corrected in the upcoming patch set for 10.1.2. This patch is due for release soon (exact date unknown). A one-off patch is also available for 9.0.4.3.
Take a look at this thread for more details:
Users with two monitors -
Reg: To open a Browse Window Using Form Builder
Dear All,
I am trying to open a browse window using form builder.I am using forms 10g.
I have user the following code.
Declare
l_file_name Varchar2(383);
Begin
l_file_name := webutil_file.file_open_dialog( );
If
l_file_name Is Not Null
Then
If
:images.Rowid Is Not Null
Then
create_record;
End If;
client_image.read_image_file ( l_file_name, Substr ( l_file_name, Instr ( l_file_name , -1 ) ), 'images.images' );--block.item
End If;
End;I have attached the webutil.pll in attached library.
It shows an error" WEBUTIL Object group not attached to this form".
Can any one help me how to attach that object group.
Thankx in advance.
Cheers,
Jai.write this in your 'Browse' Button's , when_button_pressed trigger
DECLARE
filename VARCHAR2(500);
BEGIN
filename:=GET_FILE_NAME(' ',NULL,NULL,'Choose any directory.',OPEN_FILE,TRUE);
:txtbx3:=filename; -- Here you will assign to you form's field.
END;Edited by: Tuts009 on May 10, 2010 5:00 AM -
Run same 9i forms servlet in different browser windows
Hi all,
I'm using Oracle9iAS Forms Service to deploy the forms. The problem that I have, is that I'm not able to run the same forms 9i servlet in two different browser windows.
I'm able to run the 9i test form with the following URL in browser window one: http://HOST:PORT/forms90/f90servlet
When I then try to run the same URL in a second browser window I get the following error:
FRM-92050: Failed to connect to the Server: /forms90/l90servlet:-1
Details...
Java Exception:
oracle.forms.net.ConnectionException: Connection from new browser window not supported
I'm using Jinitiator 1.3.1.9 to run the forms.
Thanks,
OliverIam trying to work with menus.
I have created a menu item EMPLOYEE and calling the employee form like this
BEGIN
RUN_PRODUCT(FORMS, 'EMPLOYEE', SYNCHRONOUS, RUNTIME, FILESYSTEM, '', '');
END;
But what happens is iam getting the error
FRM-92101: There was a failure in the form server during the startup. This can bappen due to invalid configuration. Please look into the webserver log file for detail.
Oracle.Forms.Net.ConnectionException: Connection for new browser window not supported.
Following is the content of Application.Log
06/12/16 16:59:08 Started
06/12/16 16:59:24 formsweb: jsp: init
06/12/16 16:59:24 formsweb: frmservlet: init
06/12/16 16:59:24 formsweb: FormsServlet init():
configFileName: D:\DevSuiteHome_1/forms/server/formsweb.cfg
testMode: false
06/12/16 16:59:24 formsweb: Started
06/12/16 16:59:33 formsweb: lservlet: init
06/12/16 16:59:33 formsweb: ListenerServlet init()
06/12/16 17:06:43 formsweb: Connection from new browser window not supported
06/12/16 17:06:57 formsweb: Connection from new browser window not supported
06/12/16 17:13:24 formsweb: Connection from new browser window not supported
06/12/16 17:14:07 formsweb: Connection from new browser window not supported
06/12/16 17:15:57 formsweb: Connection from new browser window not supported
This happens when i try to run more than one form in a browser.
When i try to run the employee form seperately i have no problem
Iam using Forms [32 Bit] Version 10.1.2.0.2 (Production)
can you help in this. -
Hey everyone,
I'm having a new problem with Muse. This is my first Muse site, all my previous web work was HTML CSS, but I'm trying to learn the programs. However, I have a weird problem with my page... When the browser is too small - aka the window showing the site is cropping some of the content, the scroll bar appears, but wont scroll down it... I don't understand why. It seems to be happening in all browsers. Likewise, on some computers my footer is missing or invisible, not sure why, but on my computer in all browsers (firefox, chrome, safari) I don't have the problem. Any advice?
www.DanielleFeliciano.com
Also, in site properties I have the minimum height set to what would show the whole page, not sure what is going on. I've also noticed, that the scrollbar appears when the page is cropped, it just won't scroll the page..Looks like you have your content pinned on the homepage .... or on a layer that is pinned. Probably the header layer.
-
Submit form with response in new browser window
Is it possible to set up a submit button so that it pops up the response in a separate browser window? With an HTML form, I can do it using target="_blank", but not aware of any such option on a LiveCycle submit button.
If it can't be done, maybe there's another way to do what I need. Users complete the data-entry PDF form and submit the data to a servlet, which returns another (different) PDF. My user may look at this PDF, see a problem, and want to return to the data-entry form to change what he's entered before regenerating the output. However, by this point my original data-entry PDF is gone. I am not using LiveCycle on the server. Any ideas?Many thanks for your help on this Paul. I decided to go with the hostContainer approach despite my reservations. Here's a simplified version of my servlet. This version simply parrots back the XML in a separate browser window. I hope this helps someone.
package ca.jlangdon.sampleservlets;
import java.io.*;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class AnnuityFF extends HttpServlet {
static final long serialVersionUID = 1L;
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException {
response.setContentType("text/html");
java.io.PrintWriter out = response.getWriter();
out.println("<html><head>");
out.println("<title>Fulfillment Generator</title>");
out.println("<style>body { margin: 0px; overflow:hidden }</style>");
out.println("<script type='text/javascript'>");
out.println("var int=self.setInterval('setUp()',1000);");
out.println("function setUp() {");
out.println("try {");
out.println("var oPDF = document.getElementById('oPDF');");
out.println("oPDF.messageHandler = {};");
out.println("oPDF.messageHandler.onMessage = onMessageFromPdf;");
out.println("int=window.clearInterval(int)");
out.println("} catch(e) { } }");
out.println("function onMessageFromPdf(oStrings) { document.getElementById('myTextArea').value = oStrings[0];");
out.println("document.forms['myForm'].submit(); }");
out.println("</script></head>");
out.println("<body scroll='no'>");
out.println("<div id='myFrame' style='background-color:transparent;border:0px'>");
out.println("<object id='oPDF' height='100%' width='100%' data='FulfillmentGenerator.pdf'></object></div>");
out.println("<form id='myForm' method='post' action='.' target='_blank'>");
out.println("<textarea id='myTextArea' name='myTextArea'></textarea>");
out.println("</form></body></html>");
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException {
try {
String strExtract = request.getParameter("myTextArea");
response.setContentType("text/xml");
PrintWriter out = response.getWriter();
out.println(strExtract);
catch (Exception e) {
My form is called FulfillmentGenerator, and it's stored in the root of the web app. On it there's a button with this javascript on the click event:
var oDoc = event.target;
var strData = xfa.datasets.data.resolveNode("AnnuityFulfillmentPackage").saveXML("pretty");
var strings = [strData];
try {
oDoc.hostContainer.postMessage(strings);
catch (ex) {
xfa.host.messageBox("Error while posting a message to the container: " + ex);
Maybe you are looking for
-
Namespace in XML Payload for HTTP Sender
Hello, I have just configured my snychronous HTTP <--> RFC Scenario. When I want to test it with some XML payload in the HTTP testing tool I get a mapping runtime exception. After some investigation using the test tab in the message mapping I realize
-
Not getting a clear input from VCR through Dazzle DV-Bridge
I have a Dazzle Hollywood DV-Bridge device so that I can take VCR tapes and eventually burn them onto a DVD. It takes the audio and video from the VCR and pumps it into my Mac via Firewire. The problem is that no matter what tape I play in the VCR, I
-
Adding attachments to the mail send from XI
Hi all, How can we add attachments to the mails send from XI? Regards, Satpreet Singh
-
Hi guys, Sorry if I am posting this question in a wrong thread. I would like to know what are the frequent activities that SAP help desk(level 1) perfroms? and the company has for CRM for Utilities company. I know the basic funtionalities such as tra
-
Is there a workflow from iPhoto/iOS to Aperture 3
What I need is a workflow from iPhoto/iOS to Aperture 3, such as 1. import images to iPad 2. rate & modify pictures 3. import to Aperture 3 the original images incl. rating and modifications (but not any modified copies) I understood that's only poss