How to retain focus in Web forms 6i item when displaying pdf image
How to retain focus in Web forms 6i item when displaying pdf image in a multi-record block?
Hello.
I have a Web Forms 6i program (version Forms 6.0.8.19.2) running in a 3-tier application. The web form program has a multi-record block containing invoices. When navigating to a record, the form should display the PDF invoice image which is stored in an Oracle 8.1.7 database as a BLOB in another window. When user press down-arrow, the next PDF invoice image should be displayed.
I am able to accomplish the functionality above by using web.show_document('URL', target') in the when-new-record-instance. The URL being called is a PL/SQL Web Toolkit stored procedure using wpg_docload.download_file built-in.
The problem is that the focus is lost on the Webform and the focus is shifted to the PDF image window when you navigate to the next record using down-arrow. I want to retain the focus in the form as this is a data-entry form, the operator will use down-arrow to go to the next-record rather than the mouse. I also only want to do this for this Invoice Entry form and NOT to all forms.
Please advise how to resolve this problem. Thank you.
Regards,
Armando
Magesh,
the issue of a SSO protected form showing the logon dialog is a knwon issue for Windows200 and the Oracle9iAS base release. If you applied Forms Patch 1 then this should be solved. Hope that I am right in that you are using Oracle9iAS and not Oracle9iDS. Do you see the Single Sign-On logon screen or the Forms logon dialog directly? Check the forms90.conf file in teh forms90/server directory as this contains the Form sso settings (mod_osso) which by default is commented out and therefore inactive. You need to remove the commenting '#' characters and make sure that each sentence having a '#' in front, after that starts on a new line.
The Forms deployment documentation within the Oracle9iAS docu provides this information too.
Frank
Similar Messages
-
How do you construct a web form using coldfusion??
How do you construct a web form using coldfusion?? any
examples?
thanks in adv.A sample Form:
<cfform action="CCARProc.cfm"
enctype="multipart/form-data" method="post" name="CCAR"
onsubmit="return verify()">
<table width="730" border="0" cellpadding="2"
cellspacing="1" align="center" class="unnamed1">
<!--DWLayoutTable-->
<tr valign="top">
<td colspan="3" bgcolor="#F2F2F2">Name Of
Requester(<font color="red">*</font>)</td>
<td width="402" bgcolor="#F2F2F2"><cfinput
type="text" name="Requestor_Name" size="15" value="#REQNAME#"
maxlength="25" >
MTABT Email(<font
color="red">*</font>)
<cfinput name="Req_Email" type="text" size="8"
maxlength="20" value="#ReqEmail#"
>@mtabt.org</td></tr>
<tr>
<td colspan="3">Requester Telephone #(<font
color="red">*</font>) </td>
<td><cfinput type="text" VALUE="#REQPHONE#"
name="RPhone" size="12" maxlength="12" message="Requester Phone
cannot be blank / Invalid Entry!" required="yes"
validate="telephone"> [e.g. xxx xxx xxxx or
xxx-xxx-xxxx]</td>
</tr>
<tr>
<td colspan="3" bgcolor="#F2F2F2">Facility(<font
color="red">*</font>)</td>
<td bgcolor="#F2F2F2">
<cfselect name="Facil">
<option value="2B">2B </option>
<option value="BBT">BBT </option>
<option value="BW">BW </option>
<option value="CB">CB </option>
<option value="HH">HH </option>
<option value="MP">MP </option>
<option value="QMT">QMT </option>
<option value="RI">RI </option>
<option value="TM">TM </option>
<option value="TB">TB </option>
<option value="TN">TN </option>
<option value="VN">VN </option>
</cfselect>
</td>
</tr>
<tr>
<td colspan="3">Department(<font
color="red">*</font>)</td>
<td><cfselect name="Dept">
<option value="Contracts">Contracts </option>
<option value="Engineering">Engineering
</option>
<option value="Executive Office">Executive
Office</option>
<option value="Finance">Finance </option>
<option value="General Counsel">General Counsel
</option>
<option value="HS">HS </option>
<option value="HR">HR </option>
<option value="ISD">ISD</option>
<option value="Legal">Legal </option>
<option value="Labor Relations">Labor Relations
</option>
<option value="Operations">Operations </option>
<option value="Payroll">Payroll </option>
<option value="Planning & Budget">Planning &
Budget </option>
<option value="Procurement & Mtrl">Procurement
& Mtrl </option>
<option value="Purchasing">Purchasing </option>
<option value="Revenue Management">Revenue Management
</option>
<option value="Staff Services">Staff Services
</option>
<option value="SD">SD</option>
<option value="Technology">Technology</option>
</cfselect></td>
</tr>
<tr>
<td colspan="3" bgcolor="#F2F2F2">Division(<font
color="red">*</font>)</td>
<td bgcolor="#F2F2F2"><cfinput name="Div"
type="text" size="20" maxlength="25" VALUE=""></td>
</tr>
<tr valign="top">
<td height="27" colspan="3" >Justification(<font
color="red">*</font>)</td>
<td bgcolor=""><textarea name="Justi" cols="50"
rows="3" wrap="VIRTUAL" ></textarea> </td>
</tr>
<tr>
<td colspan="3" bgcolor="#F2F2F2">VP Approval
By (<font color="red">*</font>)</td>
<td bgcolor="#F2F2F2"><cfinput name="VPAppFName"
type="text" size="20" maxlength="25" VALUE="#VPFName#">
MTABT
Email(<font color="red">*</font>)
<cfinput name="VPE" type="text" size="8" maxlength="20"
value="#VPEmail#" >@mtabt.org</td>
</tr>
<tr>
<td colspan="3" valign="top"
bgcolor="#F2F2F2"></td>
<td colspan="2" rowspan="2" valign="top"
bgcolor="#F2F2F2"><div align="left">
<input name="Submit" type="submit" value="SubmitTheForm"
class="button"
style="font-size='10pt';color='#663399';font-face='Arial,
Helvetica, sans-serif';" >
<input name="Reset" type="reset" value="ReSetTheForm"
class="button"
style="font-size='10pt';color='#663399';font-face='Arial,
Helvetica, sans-serif';">
</div></td>
<td width="90" valign="top"
bgcolor="#F2F2F2"></td>
</tr>
</table>
<div align="right"><span class="style4">Revised(
01.28.05 )</span>
<input name="submitDate" type="hidden"
value="<cfoutput>#DateFormat(Now(),'mm/dd/yy')#</cfoutput>">
</div>
</cfform> -
How do I make safari web page go direct to "Open pdf in preview" without having choose it manually
how do I make safari web page go direct to "Open pdf in preview" without having choose it manually
Well crap! Internet explorer goes direct to actual pdf, would'nt you know it, safari wont! I will have to change my pdf order form to include instructions on how to find that toggle thing at the bottom so it wont wig out safari users.
Kind of *****, if people dont know they have to click the open in preview choice, my form wont work.
Thought maybe it was an HTML issue that could be overidden.
Thanks for your answer.
LeeCM -
How do I create a fillable form from an existing document (PDF, Word, etc)?
In Acrobat 11 you'd select: Tools > Forms > Edit
to go into form editing mode. You'll see the tools that are available, thought it may prompt you to autodetect the fields. I usually don't do this, preferring to create them myself. -
How do I access my Web Form Keychain password?
Hello!
I lost the original email containing my password from a web site months ago and need to access the password in the Keychain WEB FORM file.
I dont' need to CHANGE it, I need to see the old one so I can log into the web site again since they changed the site, and the login page is now different with a new URL etc....so the autofill doesn't work.
I'm in Keychain access and I see the event but how do I edit the form so I can see my password?
It's my computer, this shouldn't be so hard to do.
thanks
AHey Kappy
thanks.
I jsut found out how to do it.
When I double clicked on the Keychain item, there was a checkbox I didn't see before " show password" I clicked it then entered my system password then it showed it.
thanks! -
How to simulate DDE in Web Forms?
Surely there is some elegant way to do DDE in a Web Forms (6i)environment?
Given that Forms 7i will only support internet deployment and not C/S, there must be some "migration path" to replace the functionality of DDE in the C/S environment.
My need is a button on a Web Form to dynamically insert data from 8i server into an Excel "template" spreadsheet, then open the spreadsheet on the client. The user can then manipulate data in the spreadsheet. A button in the spreadsheet to synchronize the spreadsheet changes back to the 8i server and exit the spreadsheet and return to the Web Form.
Forms Server 6i is running on Solaris 2.6
Any ideas on techniques to do this?
Can Oracle COM Automation or Oracle Objects for OLE (OO4O) do the dynamic inserting of data into the excel template spreadsheet? (I don't know the difference between these??)
I know web.show_document can be used with a URL to the spreadsheet on the web server (IIS) and the MIME type will launch excel on the client and copy the file to the client.
How then can I get the updated cells back into 8i from the spreadsheet?Magesh,
the issue of a SSO protected form showing the logon dialog is a knwon issue for Windows200 and the Oracle9iAS base release. If you applied Forms Patch 1 then this should be solved. Hope that I am right in that you are using Oracle9iAS and not Oracle9iDS. Do you see the Single Sign-On logon screen or the Forms logon dialog directly? Check the forms90.conf file in teh forms90/server directory as this contains the Form sso settings (mod_osso) which by default is commented out and therefore inactive. You need to remove the commenting '#' characters and make sure that each sentence having a '#' in front, after that starts on a new line.
The Forms deployment documentation within the Oracle9iAS docu provides this information too.
Frank -
Hello, gurus!
Does anybody know it is possible to update master data in web-form?
I mean, in web-form there is a function which changes texts in characteristic, and I want to update these texts in analysis item in the same form. The only solution I found was reentering in this form. It is very inconvenient.
May be some magic spells exist to refresh MD directly in form?Hi Pavan,
I am getting PDF form properly in browser with no values in the fields as it should be. And i have provided one User entered field, When user enters sales order number in that field and presses the submit to sap button other fields rerlated with sales order status information should be displayed with the values related with that sales order number. But after pressing Submit to SAP button i didnt get values in other fields.
Method for Submit to SAP button is also called properly. Even i can see the status information in fields outside the PDF form in Browser.
So, parheps i think that whenever PDF form loads first time in browser, at that time it shows the values in the context variable. But after first load nothing is changed in that PDF form evenif the context values are changed.
Is it true?
Regards,
Bhavik -
How do i fix the "web form must capture customer name and email address" error?
Hi all,
I have a webform that is submitting securely to the bc servers. I get the response:
{"SystemMessage": { "success": False, "message": "ERROR: An error occurred. Your web form must capture customer name and email address. Please fix this issue and re-insert your web form on your web page." }}
I have verified that the "FirstName","LastName","EmailAddress" are actually gettting sent with their corresponding values. I can't seem to figure out why i keep getting this error. Can someone please lend a helping hand?!? Thanks guys... here's my code:
var rAction = 'https://site.worldsecuresystems.com/FormProcessv2.aspx?WebFormID=85886&OID={module_oid}&OTYPE={module_otype}&EID={module_eid}&CID={module_cid}&CC={module_urlcountryc ode}&Referrer={module_siteurl,true,true}&JSON=1';
var rData = 'FirstName='+escape(fName.val())+'&LastName='+escape(lName.val())+'&EmailAddress='+escape (email.val())+'&Username='+escape(username.val())+'&Password='+escape(passwd.val())+'&Pass wordConfirm='+escape(passwd2.val())+'&BillingAddress='+escape(baddress.val())+'&BillingCit y='+escape(bcity.val())+'&BillingState='+escape(bstate.val())+'&BillingZip='+escape(bzip.v al())+'&PaymentMethodType='+escape(paymentMethodType)+'&CardName='+escape(cName.val())+'&C ardNumber='+escape(cNum.val())+'&CardExpiryMonth='+escape(expMonth)+'&CardExpiryYear='+esc ape(expYear)+'&CardType='+escape(cType)+'&CardCCV='+escape(ccv.val())
$.ajax({
type: 'POST',
url: rAction,
data: rData,
success: function(msg){
console.log('success');
$('#result').html(msg);
error: function(msg){
console.log('error');
$('#result').html(msg);Ok -- after testing this out a little on my own I think it must have to do with not properly serialzing the data you are passing in the ajax function. In the example I linked to earlier they are just serialzing the form data and it works because it converts the data in the form's input fields to URL encoded notation.
If you aren't using an actual form on your site to mimick the example I linked to then when building your "rData" string instead of using the "escape" function for each of the parameter values, you should be using the "encodeURIComponent" function instead which instead of escaping characters will convert it to URL encoded notation. That's probably your issue. Here's more about encodeURIComponent(): http://www.w3schools.com/jsref/jsref_encodeURIComponent.asp
Try this with the rData variable instead:
var rData = 'FirstName='+encodeURIComponent(fName.val())+'&LastName='+encodeURIComponent(lName.val()) +'&EmailAddress='+encodeURIComponent(email.val())+'&Username='+encodeURIComponent(username .val())+'&Password='+encodeURIComponent(passwd.val())+'&PasswordConfirm='+encodeURICompone nt(passwd2.val())+'&BillingAddress='+encodeURIComponent(baddress.val())+'&BillingCity='+en codeURIComponent(bcity.val())+'&BillingState='+encodeURIComponent(bstate.val())+'&BillingZ ip='+encodeURIComponent(bzip.val())+'&PaymentMethodType='+encodeURIComponent(paymentMethod Type)+'&CardName='+encodeURIComponent(cName.val())+'&CardNumber='+encodeURIComponent(cNum. val())+'&CardExpiryMonth='+encodeURIComponent(expMonth)+'&CardExpiryYear='+encodeURICompon ent(expYear)+'&CardType='+encodeURIComponent(cType)+'&CardCCV='+encodeURIComponent(ccv.val ()) -
I made a fillable form in Adobe Live Cycle - The problem I'm having is that when I share the form with someone they are unable to save the fillable version of the form once information has been put in - I need them to be able to save the fillable form so that when we need to make changes in the future that we don't need to fill out the entire form again.
Firefox 4 saves the previous session automatically, so there is no longer need for the dialog asking if you want to save the current session.
You can use "Firefox > History > Restore Previous Session" to get the previous session.<br />
There is also a "Restore Previous Session" button on the default <b>about:home</b> Home page.
Another possibility is to use:
* [http://kb.mozillazine.org/Menu_differences Firefox (Tools) > Options] > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time" -
How do I get preview to be my default when opening pdf files again?
I have acrobat as my default setting when opening pdf's but I want it to be preview. How do I go about doing that?
http://winsupersite.com/article/windows8/windows-8-tip-change-file-associations-144102
-
How to email data from web form?
I need some direction please. I have created a web page (.htm) that has several textboxes, a submit and clear button. The purpose of this web page is for users of the company intranet to input data into the textboxes and then clicking on Submit will email the data to those responsible for filling the users request. The web page will be served up on the companys intranet using the Apache web server that is running on Solaris 10. It seems to me that I will need an email server, but I do not know what Sun program to install and how to configure it. Thank you for any guidance you can provide.
You need an amp (apache2, mysql, PHP/Python) stack - that's exactly the kind of thing they're for. I have the exact setup you're describing at my job. I set up an intranet server where the secretaries could input client information, and then hit "submit." If they didn't fill out the form correctly, it complains at them and makes them do it over, otherwise it emails the form data to me and I input it in our database.
Php has a mail function that uses the system mailer (most likely sendmail?)
See here:
http://www.w3schools.com/php/php_mail.asp
Edited by: John_2.0 on Mar 6, 2009 9:23 PM -
I use Oracle Forms6i to develop forms application, the forms server is installed in Solaris and the forms are displayed in web. My question is that I could print the forms in the Forms Runtime but I can't print them in web. Please tell me how I can do it.
Thanks!Thanks for your help.
But i need only to know the transaction to print the payment advice at user level.
I have executed the payment run but i don't know if the procedure is correct.
I don't find a method to print the payment advice in F110.
Regards -
How do I get my Web Form - to look like - Paper Form
I have several fairly complicated forms in PDF and WORD.
I was hoping the acrobat form wizard could convert them and then i could import them to formcentral to be then embedded as html forms on website.
Problem is:
1. imported forms can not be converted into embedded html
2. from reading help, i would have to re-design/author the form from scratch.
Which I am willing to do:
Provided:
1. I can actually create a form that looks like the original online (or similar to)
2. I can then print this as PDF (so that it looks exactly like the original pdf) or that it actually fills the original PDF fields from the original pdf document.
IS THIS POSSIBLE?
put another way..
I want to have a form online that looks like the form on paper.
the client can fill it out.
submit
it sends him a copy of the completed form
it sends us a copy of the complted form
if it needs to be changed, a staff member can edit it.
what do I have to do to achieve this?
THANK YOU VERY MUCH FOR HELP!!!For details of how to restore the menus see [https://support.mozilla.com/kb/menu+bar+is+missing]
Once the menus are back, you can use the View menu, then select Toolbars and click on the names of the toolbars to toggle displaying them. -
I have the following problem:
I have a form (B), which is a stacked canvas, which is called
from another form (A). In the when-new-form-instance of (B) I
execute_query and go_block to a block on (B). A visual attribute
is set to highlight the current record (1) - this works. However
if I select any record, say record (3), then the input focus
seems to go to record (1), if I click again the focus, and
current record attribute move to record (3).
On client server the form works ok.
I suspect this is a bug in the application server (3.??) or the
appletviewer. However I suspect there may be a workaround.
Ideas anyone ?
Andrew Stubbs
[email protected]
nullSounds like a problem we had - Oracle Germany say its a
jinitiator problem, that is solved in 1.1.7.11. According to the
support matrix, you will also need to use the most recent
patchset.
- Matthew Cain
Andrew Stubbs (guest) wrote:
: I have the following problem:
: I have a form (B), which is a stacked canvas, which is called
: from another form (A). In the when-new-form-instance of (B) I
: execute_query and go_block to a block on (B). A visual
attribute
: is set to highlight the current record (1) - this works.
However
: if I select any record, say record (3), then the input focus
: seems to go to record (1), if I click again the focus, and
: current record attribute move to record (3).
: On client server the form works ok.
: I suspect this is a bug in the application server (3.??) or the
: appletviewer. However I suspect there may be a workaround.
: Ideas anyone ?
: Andrew Stubbs
: [email protected]
null -
How to retain focus in Textfield
I have one panel which contains three textfiled and one ToolBar. on clicking tool bar button certain dialog get opened.
intially foucus remained on first textfield but when i do open the dialog with tool bar button. focus doesn't get return to first textfield even focus doesn't get back to screen.
And my requirement is that to get focus on first textfield after closing the dialog.
Please let me know if you have any suggestions.
Thanks,yeah I need to set focus again on textfield and that is my question.you can do that using something like :jTextField.requestFocus(); I am seeking the event on which i can set the focus again please suggest.If you are using JOptionPane just add the above statement after showing dialog like JOptionPane.showInputDialog("Hello");
jTextField.requestFocus();If you are using your own dialog, have a refrence to the textfield in the dialog and at 'windowClosing' Event use the mentioned statement.
I think that should work....
Thanks!
Maybe you are looking for
-
Since updating to ios7, I have found that music shows up on my phone that I do not own, either through cd or through iTunes Store. I was wondering if this was normal after the update or something else. It coincides with the glitch with cloud music, b
-
How can I see a list of notes (sticky-notes) that I've been writting on my pdf?
Hi everyone, I woul love to know how can I see the list of all my notes (sticky-notes) that I wrote in my pdf. Is that possible? Many thanks.
-
Hello, all. I have this project intended to be a hybrid cd - it can be played as a VCD if inserted ina DVD player, and if used in a computer it is played as a Director projector. The issue is that the video file is too big, so I can´t have it duplica
-
Hi All, Our customer's A/R invoices are copied from SO#. So for each line in A/R invoice, we can find a 'Base document key'. They would like to have the 'Base document key' of the first line in the A/R invoice in PLD header. That is ok. And they wou
-
HTML Page rendering using Meta-Data
New to Java and J2EE.. I am trying to understand a way that I can generate a HTML page using the Meta-data. I dont want to design/write JSP.. I would like to define the HTML page properties in a database table, and at run-time I would like to generat