How to place item on canvas when generating form?
Dear All
I'm using oracle designer 10g.
I have a template form called"tmplt.fmb"
The template contains a block named "Bean_block"
and one bean item
I need to place the bean item on cg$page_1.
canvas cg$page_1 is not on my template, It is generated by designer and i want to place the bean on it when generating the form by designer.
I do not know how?
Please help
hi...
actually my scenario is....
i have loaded my forms to B1....and accessing those forms using menu events...first time when form is loaded the cursor control is automatically coming on to my first control..
but when my form is changed to ADD mode or Find Mode...i'm unable to see my cursor position on my control(textBox)...
what should i do...to focus control on my textbox when form is changed its mode....
and hwere should i write the logic...
i tried logic oform.ActiveItem = oform.items.item("7").specific
in my formload() function and item events also....
its not working...
Similar Messages
-
How to avoid submitting a page when tabular form rows are empty
Hi,
I have a master detail form in my application. There are 2 tables that are used Table A and Table B. Table A contains Ticket number and Table B refers to Table A through a foriegn key and Table B have columns like Date,Name, Age, ticket_id (that refers to the ticket_number of the Table A).
This is how the application works:
In a page there is a field for Ticket Number, once the user enters the Ticket Number and click Add Details, a tabular Form with 5 empty field appears... (Done through Page Process->Data Manipilation->Add Rows)
This form contains fields Date, Name and Age. Once the user fills in all the details and click Submit button, the page is submitted. Whatever values that was entered is saved in Table B. Page Sucess message appears. This works fine.
But once the Ticket Number is entered and Add Details is clicked, and without entering the values in the Tabular Form, if Submit button is clicked, there is no error showing up neither I see Page success message. But this should not be allowed. There should be some error showing up...
Tabular Form Validations works only when user enters some values in the Tabular Form and click Submit. For the above scenario, where the form is untouched the validation doesnt work.
How can I get this done? Any ideas?Hello Suzi,
>> if (document.wwv_flow==null)
The document.wwv_flow is an object representing the current form that was just rendered on your screen. As such, it can never be null.
>> How to avoid submitting a page when tabular form rows are empty
The correct way, especially for versions prior to APEX 4.0 is to use JavaScript, but for that, you need to know and understand how APEX generates your tabular form, HTML wise.
To be very brief, APEX attached a unique ID to every updatable cell in the tabular form, using a certain pattern – each updatable column is getting a unique name (e.g. ‘f01’,’f02’ etc.) and the ID of a cell is a combination of this name with the serial row number the cell is on. For example, a cell on the third row in an updatable column called ‘f04’ will be given an ID of f04_0003. (More detailed explanation, with an example, can be found in my book).
What you should do is to check these cells according to your validation policy (e.g. is all five row must be filled, is all the columns in a specific row must be filled, etc.).
Regards,
Arie.
♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
♦ Author of Oracle Application Express 3.2 – The Essentials and More -
CDI-23564 error when generating FORM.
Hi,
After installing Designer 6.0 and Patchset 1 (6.0.3.5) ,when generating FORM , system always prompt that it could not load CFG60.DLL. Had check that CFG60.DLL exists in orant/BIN and also in Window registry. Reformatted hard disk, change hard disk, tried on WIN98 and WIN2000, still the same result.
Thanks in advance!!!The error message is misleading.
Install Developer2000 appropiate version.
Designer install only some report and graphics run time file.
It solved me the problem.
Regards,
Otto Bertalan
Otto Bertalan
null -
How to print item texts in po contract form when the fixed item status is N
Hi all,
I'm trying to print the item texts in the contract forms.
I need to print the item texts when the status is 'N' and at the same time the status is blank in the same form.
I tried using t165p.I'm unable to print the both the message status with N and blank at the same time.
Please guide in this regards.
Thanks and regards,
KrishnaHi Luis,
Thanks yes, now it get captured soon after changed the item accordingly as you said.
so there is no need of creating hidden item for those item (i.e) &P1_DIS_COURSE_NAME. AND &P1_DIS_DATE.
right??
Regards,
Mini -
R 6018 unexpected heap error when generating forms
When generating a form in Designer i get the following error:
r 6018 unexpected heap error
Has anyone else encountered it before with forms?
Kind Regards
Maurice NiezenYou put the question to wrong forum. If it is regarding to Oracle Forms, then post to Oracle Forms forum. If it is regarding to Oracle Designer, then post to Designer Forum. This is the forum for Oracle Reports.
Thanks,
-Shaun -
How to attach Item LOV to new Customized form.
Is it possible to attach Item Lov to new customized form in EBS12.04.
For example
I have created new form and i want to attach LOV of Item like in Requisition Form a LOV attached with Item Text Box.Thanks avajain for reply,
I can create new lov and attach it with item. But i want to call same API or LOV which is called from Purchasing-->requisition-->Item . Where from you select Item Class, Sub Class, serial.
Regards,
Fassi -
SAPSCRIPT how to place item header on next page
Hi Guys
The situation iam facing is this
outside the loop i have printed the item header then iam looping on an internal table which is printing all the items.
When the o/p is one page this works fine but when the o/p is more than one page the item header on the next page dosent get printed because its outside the loop.
somewhat like this
perform print_header.
loop at itab.
perform print_item.
endloop.
Question is how can i place the item header text element in my sapscript so that it prints automatically before the start of the items on every page?
ThanksUse the following in Text Editor on Script form.
:/ TOP
Print the Item header.
:/ENDTOP.
Or.
Use a variable window. To print the header
So it will come for every new Page.
Or.
Define &CURRENT PAGE&
IF &PAGE& NE &CURRENT PAGE&
PRINT HEADER
ENDIF
&CURRENT PAGE& = &PAGE&
Hope this resolves your issue.
Regards,
Gurpreet -
How to preserve a background color, when generating a PDF file
I am trying to create a PDF file from some application. Please note that the picture in this application has the black background. So I invoke a Print command and set a printer as "Adobe PDF". As a result, I have generated
a brilliant PDF file of my picture, but on the WHITE background. When selecting the Adobe PDF printer, I have looked through all its settings ( in the Adobe PDF settings, I have found several tabs: General, Images, Fonts, Color, Advanced, PDF/X), none of them generated the original background color.
So how can a generate a PDF file, having the original background color (black, in my case) ?
OlegNow I feel that the background definition in the Adobe PDF printer and the background definition in the application the Adobe PDF printer is invoked from -- two different things. So I guess how can I define the black background in the Adobe PDF printer? I cannot find such settings.
-
How does Firefox handle xml:base when generating GET requests for SVG image elements?
I am loading an SVG image at the following URL:
http://localhost/howl/svg/id/543
The source for this SVG code is:
<svg xml:base="/howl/">
<svg width="535" height="325" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<image xlink:href="file/id/532" />
</svg>
</svg>
As you can see, the SVG code is located at one path, but the <image> is relative to the root, hence the wrapping xml:base attribute.
The actual requests in Firefox, according to Tomcat Logging are:
GET /howl/svg/id/543
GET /howl/file/id/532
However, Firebug's Net tab shows these requests:
GET /howl/svg/id/543
GET /howl/svg/id/file/id/532 (Incorrect, doesn't happen)
GET /howl/file/id/532
When I test the same thing in Safari and Chrome, all three GET requests actually happen, the incorrect one resolving in a 404.
I suspect that Firefox is generating all three requests, but discarding the incorrect one and Firebug is not aware of this. As a result, Firebug shows all three requests, but the incorrect one never resolves.
So, I'm curious about the behavior or whether I am doing this incorrectly.
Thanks!A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
The helpers at that forum are more knowledgeable about web development issues.<br />
You need to register at the mozillaZine forum site in order to post at that forum.<br />
See http://forums.mozillazine.org/viewforum.php?f=25 -
Need to know How Install Base Items gets Interfaced when an Item is Shipped
Hi,
I am creating a sales order with Install Base item. When we book and Ship the Order the Item comes to Install base with the Serial Number.
Please let me know if there is any workflow or the process which is doing this.
There is some Standard Process or link between Shiiping and Install base. Please explain this. I have checked the Order Header and line workflow for the Item type and i could'nt find any function which is doing this.
Thanks and Regards,
Ragni GuptaThanks a lot for the Info as i was Searching the Line workflow for Install Base Functions. :)
I am New to Install Base.. I got to know that We are Using SFM to push the Details to Install base
What are these Xnp_Msgs tables.. Please give more Info On these
I did some R&D and found Below Tables for Install Base
csi_t_transaction_lines
CSI_ITEM_INSTANCES
csi_t_txn_line_details
Is there any Other Important Base tables or Interfaces for Install Base. Thanks a lot for your help..
Please suggest any Documents which will explain these Integration between the Modules so that i can understand the data flow
Thanks and Regards,
Ragni Gupta
Edited by: Ragni^^1234 on May 10, 2013 8:23 AM -
How do you include a DTD when generating an XML document
Hi
I have just started to use the Java XML Pack to generate a XML document.
How do you put the dtd element
<!DOCTYPE Controller SYSTEM "controller.dtd">
in the generated document.
I am using the following piece of code
public void generate(...)
DocumentBuilder builder = factory.newDocumentBuilder();
document = builder.newDocument();
Element rootElement = createElement("Controller");
// Fill out the nodes etc
// Save the result
TransformerFactory tFactory =
TransformerFactory.newInstance();
Transformer transformer = Factory.newTransformer();
File f = new File("dummy.xml");
FileWriter fw = new FileWriter(f);
DOMSource d1 = new
DOMSource(rootElement,"controller.dtd");
StreamResult result = new StreamResult(fw);
transformer.transform(d1, result);
Thanks
GregHello,
I had to go through quite some pain to get this done about a year ago,anyways,here is the solution.
all the import files are in jaxp1.1 bundle.
below is a test class code.
import org.apache.crimson.tree.XmlDocument;
import javax.xml.parsers.*;
import org.w3c.dom.*;
import java.io.*;
public class CreateDTDInXMLFile {
public CreateDTDInXMLFile() {
public static void main(String[] args) {
try {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
Document document = builder.newDocument();
Element root = document.createElement("root");
Element name = document.createElement("name");
name.appendChild(document.createTextNode("Khalid"));
Element address = document.createElement("address");
address.appendChild(document.createTextNode("2022 11th Ave SW"));
root.appendChild(name);
root.appendChild(address);
document.appendChild(root);
((XmlDocument)document).write(System.out);
//the above will print the simple xml doc,now add the dtd
//suppose the dtd is [<!DOCTYPE root SYSTEM "address.dtd">]
((XmlDocument)document).setDoctype(null,"address.dtd",null);
//now print the xml doc again
System.out.println("\n");
((XmlDocument)document).write(System.out);
} catch(ParserConfigurationException pce) {
pce.printStackTrace();
return;
}catch (IOException ioe) {
ioe.printStackTrace();
This will take care of the agony..
Khalid -
Problems when generating forms from Module Generator
I am trying to generate a form from a module in Module Generator. The form is generating OK, but when design editor tries to show the form in the browser it doesn't work.
This is the URL it is trying to use:
http://127.0.0.1:8888/forms90/f90servlet/?form=/\MANAGE_ACCOUNTS&userid=adam/xxxxxxx@oraserve
When I run a form from Form Builder, I get something like this:
http://127.0.0.1:8888/forms90/f90servlet?form=C:\Temp\Dev\WOOL_MAIN.fmx&userid=ADAM/xxxxxx@oraserve&buffer_records=NO&debug_messages=NO&array=YES&query_only=NO&quiet=NO&RENDER=YES
My server based URL is:
http://127.0.0.1:8888/forms90/f90servlet
I'm trying to set the generator preferences but just can't seem to get it right :(
can anyone help?
thx
adamTry the following solutions :
1) Check on in IE -> Tools -> Internet Options -> advanced -> allow active content to run in files on My Co
mputer
2) Make sure that you have in the Internet Explorer Tools -> Internet Options -> Advanced tab -> Check the check box
Enable third party Browser extensions. It will be under browsing. -
Before I got Firefox, I would always click on a button once and my form would be filled out for contributions. I want to do the same with Firefox but have to fill out each form in staid of using auto-fill. How do you turn it on. I have the add-on it just does not seem to work.
That does sound messy and unexpected. Generally, property nodes should force an actual update synchronously. Are you sure the two are actually consecutive? Are they connected with an error wire or a reference? Can you upload a VI which demonstrates this?
If that doesn't help, you could try using defer panel updates. The ideal would probably be to call it once before and once after, but you might need to place it in between as well.
Try to take over the world! -
Visual C++ runtime library error when generating printed documentation from RH9
I just upgraded a project from RH 7 to RH 9. I tried generating printed documentation in Word from it, but as soon as the Printed Documentation dialog opened, a Visual C++ Runtime Library error displayed. RoboHelp stopped working and I had to restart.
I tried using one of the sample projects -- same thing happened.
I then created a brand-new project. This time, opening the Printed Documentation dialog worked. I selected "Generate Word Doc" and the .docx extension, since I have Word 2010, and tried to generate printed documentation. However, the following message then displayed: Cannot find Microsoft Word installed on your system.
So I have two questions:
- How can I avoid crashing RoboHelp when generating printed documentation?
- How can I ensure that RoboHelp finds the Word 2010 installation on my system?
Thanks for any help!
OK, just played around a bit more and I was able to help myself on the first question:
- I created a new Printed Documentation Layout in the Single Source Layouts pane, and from there I was able to generate .pdf files, without encountering the Visual C++ runtime error.
- But the "Cannot find Microsoft Word installed on your system." msg still pops up when I try to generate .docx files. (When I generate .doc files, they have no content.)
Message was edited by: mizottoFirst the fact that the problem is with old layouts suggest they were using an old template.
The PDF creation relies on a Word document being created in the background. The fact that you cannot generate a good doc or docx makes it odd that you get a PDF. The PDF is OK I take it?
I'm wondering if you have not applied the 901 patch and are running Word 2010 64 bit?
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Error in generating form with 6i
I have installed designer 6i rel 2 with form developer 6i on NT
4.0.
When in design editor, I want to generate the form with generate
module, the system generate "CDR-21600: A running Generator or
Utility has failed."
Also in action column writes: " It is possible that the internal
cache is now in an inconsistent state. You are therefore
recommended to close and restart the application."
Could anyone tell me what is the problem and how to solve it.
thanksHere is an document which describes some known causes of CDR-
21600 errors. I hope it will help you.
PURPOSE
To describe some known causes of CDI-21600 errors and to
suggest possible solutions and workarounds.
SCOPE & APPLICATION
This note was written for users of Oracle Designer releases 2.1.x
and 6.0.
CDI-21600 errors occur most frequently during Design Capture and
when generating forms with the Forms and WebServer generators.
Investigating CDI-21600 errors
In Oracle Designer Release 2.1.2 and Release 6.0, this error has
the form:
CDI-21600 'A running generator or utility has failed'
The Release 2.1.1 error message was: 'Generator or Utility throw
an Exception'
The CDI-21600 error message means that the generator is hitting
an unhandled exception, also known as a GPF (general protection
fault). The CDI-21600 error masks the underlying exception error.
To see the real error do the following:
1. Go into the Registry Editor (REGEDIT).
2. Navigate to HKEY_LOCAL_MACHINE\software\oracle\des2_70
3. Set EXCEPT_HANDLING to 0 (by default it is 1).
Repeat the action that resulted in the error.
Known Causes of CDI-21600 Errors and Possible Solutions
Some of the reasons why CDI-21600 errors occur are listed below.
1. A common cause of CDI-21600 errors is failure to install the
necessary
Developer patches.
See [NOTE:64630.1] Developer Patches required to run
Designer with Developer
2. Check that Designer is running on a supported database. Also
check that the
TNS connection is correct.
See [NOTE:60705.1] Designer Certification Matrix (HTML)
3. Check for 'dangling' foreign keys, in other words FKs no longer
owned by any
table in the repository. Delete all invalid constraints.
Invalid constraints may be created if you use the repository
dump utility to
dump and restore external foreign keys referencing tables
shared into the
application system, without dumping and restoring the tables
that own them.
If you restore a complete dump (rather than a 'skeleton' one),
and then use
the 'Reconnect Share Links' option when restoring, you may be
able to
resolve this problem.
To get a complete list of 'dangling' constraints in your
repository, connect
using SQL*Plus and use the following query:
SELECT app.name, key.name
FROM ci_application_systems app, ci_constraints key
WHERE key.table_reference IS NULL
AND key.application_system_owned_by = app.id;
You can also run CKAZANAL.ANAL_REFERENCES on your
repository and delete all
the invalid constraints that it finds. You can run the Repository
Analyzer
from: Front Panel -> Repository Administration Utility -> Utilities.
NOTE: There may be inconsistencies in the repository that the
Repository
Analyzer cannot fix. You might solve such problems by
dropping all the
tables of your application, recreate them from the ERD,
then use the
DDT and recreate your modules.
[BUG:847190] CDI-21600 during forms generation: 'dangling'
foreign key
"Since the generator is running on a repository that contains
invalid
constraints and the Repository Analyzer solves the problem,
bug closed as
unfeasible to fix."
4. Check your modules for invalid or missing references such as
missing window
placements.
5. Try generating your module against default templates and
object libraries.
6. When capturing forms or libraries, try capturing the form or
library without
application logic, then capture the application logic on its own.
See [NOTE:1064690.6] CDI-21600 when capturing design of
form with
application logic
[BUG:757541] DESCAP: CDI-21600 error reported when
capturing with
application logic
Fixed In Ver: 6.0
[BUG:926383] Duplicate of [BUG:757541] This has been fixed in
2.1.2 patch
779559. However you would be advised to apply a later patch
such as 855635
which fixes more bugs in this area.
7. Make sure that all objects that are referenced by the form have
been
captured into the repository before capturing the form.
8. A CDI-21600 will occur if a lookup usage displays only one
column of
datatype DATE or if the column of datatype DATE is displayed
as the first
item in the block.
Workaround
Add more column usages to the lookup block and do not
display the DATE data
type column usage as the first item in the block.
9. [BUG:810472] CDI-21600 when 'Argument in Caller' is set
Fixed In Ver: 6.5.3.0
Workaround
Make sure that you have an argument in the called module that
is mapped to
the "Argument Passed Value" in the calling module. The only
way to get this
mapping back once the APV has the <Module Argument> label
is to delete it
and recreate it.
10. [BUG:801736] CDI-21600 on design capture of a form with
subclassed object
Fixed In Ver: 6.0.3.1.0 (backport)
Fixed In Ver: 6.5
You have an item that has been subclassed to an object.
Checking the Design
Capture option 'Capture Control Blocks' causes the CDI-21600
error. Uncheck
'Capture Control Blocks' and the problem does not occur. Open
the FMB in
Forms*Builder and look at Data Blocks -> Items. Break the link
to the
object, save the FMB, and the form will capture (similar to
[BUG:794872]).
Alternatively, ensure the link can be established.
11. [BUG:850436] CDI-21600 on generation of a form with template
having
subclassed object group
You try to generate a form out of Designer that uses a user-
defined
template. If a collection of objects in the template is grouped
into an
object group, dragged into the object library and then either
copied or
subclassed into a form, when the form is generated you get a
CDI-21600
error.
12. [BUG:822659] Module generation fails (CDI-21600) with multi-
column PK having
long prompt text
Fixed In Ver: 6.5.3.2
Module generation with multi-column primary key having long
prompt text
causes CDI-21600 with preference MSGSFT set.
Workaround
Shorten the prompt text of PKs may not be not applicable. You
may loose end
user information.
You may have the same problem with a mandatory compound
FK. CASEOFG tries to
generate a message '<P1> must be entered', where <P1>
contains all the
prompts of the bound items from the FK. If you reduce the
length of the
prompts, or set MSGSFT = NULL or WEDI = S or property
Mandatory?=No, it
works correctly.
13. [BUG:792542] Capturing application logic causes CDI-21600
(V2 style
triggers)
Fixed In Ver: 6.5.5
After removal of the v2 triggers, the form captures/merges OK
on 5.0.24.8,
provided patch 875027 has not been applied.
14. [BUG:790877] CDI-21600 if the primary/foreign keys have no
key components
Fixed In Ver: 6.5.11
Generating a module with tables having a primary key not
correctly defined
(no PK component) will cause a CDI-21600 error. This can
occur when
unloading a module from the RON. If you pick up the module
(and only the
module) in the unload set, the table and its PK are unloaded as
a skeleton.
Loading the .DAT file into a new application will create a PK
without a
component.
15. [BUG:771549] CDI-21600 if cannot connect to the DB with
connect string in
Options (Compile)
Fixed In Ver: 6.5.13
If you cannot connect to the DB with the connect string
specified in options
(Compile), the forms generator will fail with CDI-21600.
This problem occurs when you cannot connect to the DB
because:
- the username or password is wrong;
- or the SQL*Net alias is not defined in the TNSNAMES.ORA
file;
- or the SQL*Net listener is not started;
- or the DB is down.
16. [BUG:785106] CDI-21600 when generate master detail form
with preserve layout
[BUG:855812] is a duplicate of this bug.
Fixed In Ver: 5.0.24.6.0 (Bug:860426 Backport request for 2.1.2)
Fixed In Ver: 6.0
Fixed In Ver: 6.5.3
You have a master-detail Form with the Master having items
partly on a TAB
Canvas. Generate Module works OK. You enter Forms Builder
and move some
items on the tabs (just small changes, items are still on the
same tabs).
You change the look of the Detail and change Records
Displayed. Now in
Designer you generate the Module with Preserve Layout. You
get a CDI-21600
error. The problem might reproduce without doing any changes
in Forms
Builder, just by generating with Preserve Layout.
17. [BUG:891306] If primary key column of lookup in check
constraint comment of
base table
Fixed In Ver: 6.5.5
Workaround
Do not use the name of the bound item that is based on the
primary key
column of the lookup table in a check constraint comment of
the base table.
18. [BUG:896026] Forms gen throws assertion failure in
CVINI/BUILDACTIONITEM@/CV/CVI/CVIBNI.CPP
Fixed In Ver: 6.5.7
A problem is caused by a PL/SQL definition (function, package,
procedure)
being defined as a called module for the module you are trying
to generate.
To resolve the problem and enable the module to be generated,
remove all
Called Modules that are PL/SQL definitions (functions,
procedures or
packages).
See [NOTE:2107207.6] CDI-21600 during generation of module
or Assertion
Failure \cv\cvi\cvibni.cpp
19. [BUG:812333] CDI-21600 generating a web module after
adding an unbound item
Fixed In Ver: 6.5.3.0
Backport [BUG:1280667] raised to fix by 6.0.3.9
You add an unbound item (SQL expression) to a Web module.
When you try to
generate the module you get a CDI-21600 error. If you delete the
unbound
item the Web module generates correctly.
In a test case the problem occurred during validation of the
derivation
text, if the master module component was in a different module.
A workaround
was to rearrange module components so that this was not the
case.
20. [BUG:1627963] CCVDIAG::TRACEGENERATORMESSAGE
WHEN GENERATING INCORRECT
DERIVATION EXPRESSION
Message
CDR-21605: Failed while processing Module <mod> in function
CCVDiag::TraceGeneratorMessage BOF
Cause
The generator failed due to an unexpected error - the
error indicates the object the generator was processing
when it failed.
Helena
Maybe you are looking for
-
"Blank page" text on automatically created empty pages
I want "blank page" text to appear automatically on any page that FrameMaker_8 adds to create an even pagecount. Is this possible?
-
Completed form but have to make changes to original, can I save my fields?
I created my layout in InDesign and added the form abilities with Acrobat Pro...there is a LOT of stuff on it! Well the person Im doing it for forgot something and needs to put it on the layout. Im REALLY trying to avoid rebuilding all the form abi
-
EBS 11.5.10.2 with windows 7
Hi, we have 11i installed on linux server. I want to run this EBS application on windows 7. I want this using ie8 . From a blog, Oracle E-Business Suite 11i Prerequisites * Oracle Applications patch 10 (11.5.10) plus Maintenance Pack 11.5.10 CU2 or l
-
Hard to describe but part of my iphone 5 screen is black (like a black bar covering 1/3 of screen when I turn it on..not when viewing apps pages) also on camera screen so that pictures have the top 1/3 cut off? Any ideas?..Thanks
-
Hi, Can anyone explain clearly the scenarios where we can use adhoc reporting in BI 7.0. Limitations of this feature and advantages of it. Thanks & Raegards, Snigdha