Display a subform at run time
I have two diff options and depending on what option I choose different subforms would show on the page? How do I do this?
I am still not able to get it right. in the "formready" event of the page I wrote
xfa.form.form1.pg1.subform1.presence="invisible";
so that it is not visible when the form is loaded..it works fine..but when I choose from the drop down list..using the above code..it doesnt work...
but if i donot load it as invisible and then i choose the value (lets say 3) from the drop down it becomes invisible but if i then change the value in drop down(say 2)..it does not become visible again.
I appreciate all your help
Similar Messages
-
Displaying different sheets at run time based on value of the parameter
Hi,
I've a query regarding displaying two different sheets at run time in Oracle discoverer based on the value of the parameter that i give.
I've a parameter Summary_flag.
If the value of the parameter is 'Y',then it should display a sheet,say for example it should display Sheet1.
If the value is 'N',then it should display another sheet, say for example it should display Sheet2.
Is there any way in which i can accomplish this?
I went through the Format and Tools menus but couldnt find anything regarding this aspect.
Can you help me out?
Thanks,Having a Disco parameter dictate which worksheet is displayed is not an option that is available. There are a few workarounds, though:
1. Have a portlet (or some other web interface) accept your parameters, and then call the appropriate worksheet.
2. Have 2 worksheets, and have it devolve into a training issue (for a summary run this, for all the details run this).
3. Create calculations that will show or hide column data depending on the parameter selected - the columns will still be there, and you can fill them in with blanks, or a message like "N/A for Summary".
4. Create a report that will allow the users to drill between the summary and detail data - I'm not sure whether you could use a parameter to then say whether the report should open up summarized or expanded. -
Images are not displaying in the forms run time.
Hello All,
I am using forms 10.1.2.3.0 and database 11g in the windows XP platform.
I am not able to see the images in the buttons at the run time. I have done the following setup for the same but still I am not able to display images in the buttons. I have gone through all the previous threads for the same. Can any body suggest where I am doing the wrong?
1) Created one JAR file with the below command putting all the gif files in a folder (All the GIF files are in lower case). Kept this jar file in the forms/java folder. (When I am extracting the JAR file getting all the gif files and one more folder META-INF).
rem====
jar cvf icon.jar *.gif
rem=====
2) Modified the formsweb.cfg file as follows.
imageBase=codeBase
archive_jini=frmall_jinit.jar,icon.jar
3) In the buttons property Iconic = Yes and Iconicfile name = icon_print (gif file name).
4) Modified the Registry.dat file in the path "forms\java\oracle\forms\registry\Registry.dat" as follows.
default.icons.iconpath=forms/java
default.icons.iconextension=gif
Start the OC4J instance, and run the application, but still not able to see the images in the buttons. After I modified the regedit file I am able to see the images in the design time but not in the run time.
Any thing more needed to do the same. All the suggestions are welcome.
Thanks,
SUN
Edited by: User SUN@ on Nov 23, 2009 11:25 AMCreate a virtual directory icons in your /forms/server/forms.conf file
In the registry.dat file change
change
default.icons.iconpath=http://yourmachine:port/forms/icons/
Re: icons not displaying in oracle forms.
Re: Icon deploy issue in 10g forms
Re: cannot show icon images
Re: Step by step creation of iconic buttons -
ALV GRID Display function module giving Run time error
Hello Experts,
I have ALV report, In which I am using ALV grid dispaly FM to display the report.
But when my out table which I am passing to FM is empty that time ALV grid display shows blank ALV report. but when out table is not empty that time I am getting the Run time error, which shows message "Field symbol has not yet been assigned".
Can any one please help me out in this.
ThanksTYPES: BEGIN OF type_out,
col00 TYPE ytlet-rzzyyproduct,
col01 TYPE ytlet-kslvt,
col02 TYPE ytlet-kslvt,
col03 TYPE ytlet-kslvt,
col04 TYPE ytlet-kslvt,
col05 TYPE ytlet-kslvt,
col06 TYPE ytlet-kslvt,
col07 TYPE ytlet-kslvt,
col08 TYPE ytlet-kslvt,
col09 TYPE ytlet-kslvt,
col10 TYPE ytlet-kslvt,
col11 TYPE ytlet-kslvt,
col12 TYPE ytlet-kslvt,
col13 TYPE ytlet-kslvt,
col14 TYPE ytlet-kslvt,
col15 TYPE ytlet-kslvt,
col16 TYPE ytlet-kslvt,
col17 TYPE ytlet-kslvt,
col18 TYPE ytlet-kslvt,
col19 TYPE ytlet-kslvt,
col20 TYPE ytlet-kslvt,
col21 TYPE ytlet-kslvt,
col22 TYPE ytlet-kslvt,
col23 TYPE ytlet-kslvt,
col24 TYPE ytlet-kslvt,
col25 TYPE ytlet-kslvt,
col26 TYPE ytlet-kslvt,
col27 TYPE ytlet-kslvt,
col28 TYPE ytlet-kslvt,
col29 TYPE ytlet-kslvt,
col30 TYPE ytlet-kslvt,
col31 TYPE ytlet-kslvt,
col32 TYPE ytlet-kslvt,
col33 TYPE ytlet-kslvt,
col34 TYPE ytlet-kslvt,
col35 TYPE ytlet-kslvt,
col36 TYPE ytlet-kslvt,
col37 TYPE ytlet-kslvt,
col38 TYPE ytlet-kslvt,
col39 TYPE ytlet-kslvt,
col40 TYPE ytlet-kslvt,
col41 TYPE ytlet-kslvt,
col42 TYPE ytlet-kslvt,
col43 TYPE ytlet-kslvt,
col44 TYPE ytlet-kslvt,
END OF type_out.
DATA: t_fieldcat TYPE slis_t_fieldcat_alv, "Field catelog table
w_fieldcat TYPE slis_fieldcat_alv, "Field catelog Work area
w_layout TYPE slis_layout_alv, "Layout structure
w_event TYPE slis_alv_event, "Event structure
t_event TYPE slis_t_event, "Event structure
t_sort TYPE STANDARD TABLE OF slis_sortinfo_alv,
t_callback_main_user_command TYPE slis_formname,
v_selfield TYPE slis_selfield.
FIELD-SYMBOLS: <ksl>.
FORM DISPLAY_REPORT .
*Prepare Field Catlog
PERFORM creat_field_catlog.
*Set layout
PERFORM set_layout.
*Get Event
PERFORM get_event.
*Display Report
PERFORM display_alv_report.
ENDFORM. " DISPLAY_REPORT
FORM creat_field_catlog .
PERFORM add_fields_catlog USING:
'01' 'RZZYYPRODUCT' 'IT_OUT' 'MPMs' ' ',
'02' 'KSLVT' 'IT_OUT' 'License Fee' ' ',
'03' 'KSLVT' 'IT_OUT' 'Ad Sales' ' ',
'04' 'KSLVT' 'IT_OUT' 'Promo Fees' ' ',
'05' 'KSLVT' 'IT_OUT' 'Total Ad Sales/Promo' ' ',
'06' 'KSLVT' 'IT_OUT' 'Other' ' ',
'07' 'KSLVT' 'IT_OUT' 'Total' ' ',
'08' 'KSLVT' 'IT_OUT' 'Dom Station' ' ',
'09' 'KSLVT' 'IT_OUT' 'Basic Cable/Free VOD' ' ',
'10' 'KSLVT' 'IT_OUT' 'License Fee' ' ',
'11' 'KSLVT' 'IT_OUT' 'Ad Sales (incl Internet)' ' ',
'12' 'KSLVT' 'IT_OUT' 'Promo Fees' ' ',
'13' 'KSLVT' 'IT_OUT' 'Ad Sales & Promo Fees' ' ',
'14' 'KSLVT' 'IT_OUT' 'Foreign' ' ',
'15' 'KSLVT' 'IT_OUT' 'Pay TV' ' ',
'16' 'KSLVT' 'IT_OUT' 'Other' ' ',
'17' 'KSLVT' 'IT_OUT' 'Total' ' ',
'18' 'KSLVT' 'IT_OUT' 'Home Entertainment' ' ',
'19' 'KSLVT' 'IT_OUT' 'SPTI' ' ',
'20' 'KSLVT' 'IT_OUT' 'All Other Divisions' ' ',
'21' 'KSLVT' 'IT_OUT' 'Total' ' ',
'22' 'KSLVT' 'IT_OUT' 'Total Revenue' ' ',
'23' 'KSLVT' 'IT_OUT' 'PV Net Down & Producers Share' '',
'24' 'KSLVT' 'IT_OUT' 'Total Net Revenue' ' ',
'25' 'KSLVT' 'IT_OUT' 'Development Expense' ' ',
'26' 'KSLVT' 'IT_OUT' 'SOP Deficits' ' ',
'27' 'KSLVT' 'IT_OUT' 'Amortization' ' ',
'28' 'KSLVT' 'IT_OUT' 'Other COS ' ' ',
'29' 'KSLVT' 'IT_OUT' 'Total COS' ' ',
'30' 'KSLVT' 'IT_OUT' 'Profit Before Releasing' ' ',
'31' 'KSLVT' 'IT_OUT' 'Gross Profit %' ' ',
'32' 'KSLVT' 'IT_OUT' 'SPT' ' ',
'33' 'KSLVT' 'IT_OUT' 'Home Entertainment' ' ',
'34' 'KSLVT' 'IT_OUT' 'SPTI' ' ',
'35' 'KSLVT' 'IT_OUT' 'All Other Divisions' ' ',
'36' 'KSLVT' 'IT_OUT' 'Other' ' ',
'37' 'KSLVT' 'IT_OUT' 'Total' ' ',
'38' 'KSLVT' 'IT_OUT' 'Gross Profit' ' ',
'39' 'KSLVT' 'IT_OUT' 'SPT' ' ',
'40' 'KSLVT' 'IT_OUT' 'Home Entertainment' ' ',
'41' 'KSLVT' 'IT_OUT' 'SPTI' ' ',
'42' 'KSLVT' 'IT_OUT' 'All Other Divisions' ' ',
'43' 'KSLVT' 'IT_OUT' 'Other' ' ',
'44' 'KSLVT' 'IT_OUT' 'Total' ' ',
'45' 'KSLVT' 'IT_OUT' 'Net Margin' ' '.
ENDFORM. " CREAT_FIELD_CATLOG
*& Form ADD_FIELDS_CATLOG
Filling of field Catlog
FORM add_fields_catlog USING p_colpos
p_fildname
p_tabname
p_fildtext
p_ndisplay.
w_fieldcat-row_pos = '1'.
w_fieldcat-col_pos = p_colpos.
w_fieldcat-fieldname = p_fildname.
w_fieldcat-tabname = p_tabname.
w_fieldcat-reptext_ddic = p_fildtext.
w_fieldcat-no_out = p_ndisplay.
APPEND w_fieldcat TO t_fieldcat.
CLEAR: w_fieldcat.
ENDFORM. " ADD_FIELDS_CATLOG
*& Form SET_LAYOUT
Set Layout
FORM set_layout .
w_layout-colwidth_optimize = 'X'.
ENDFORM. " SET_LAYOUT
*& Form GET_EVENT
text
FORM get_event .
w_event-name = 'TOP-OF-PAGE'.
w_event-form = 'F_TOP-OF_PAGE'.
APPEND w_event TO t_event.
ENDFORM. " GET_EVENT
*& Form TOP-OF-PAGE
Top of Page
FORM top-of-page.
DATA : t_list_commentry TYPE slis_t_listheader,
w_header TYPE slis_listheader,
lv_text(90) TYPE c,
l_text(90) TYPE c,
lv_rundate(10) TYPE c,
lv_runtime(10) TYPE c.
CONSTANTS: c_space(2) TYPE c VALUE ' ',
c_space2(6) TYPE c VALUE ' '.
w_header-typ = 'S'.
w_header-key = 'Program:'.
w_header-info = sy-repid.
APPEND w_header TO t_list_commentry.
WRITE: sy-datum TO lv_rundate MM/DD/YYYY.
WRITE: sy-uzeit TO lv_runtime USING EDIT MASK '__:__:__'.
CLEAR w_header.
w_header-typ = 'S'.
w_header-key = text-021.
w_header-info = lv_rundate.
APPEND w_header TO t_list_commentry.
CLEAR: w_header.
w_header-typ = 'S'.
w_header-key = 'User Id'.
w_header-info = sy-uname.
APPEND w_header TO t_list_commentry.
CLEAR: w_header.
w_header-typ = 'S'.
w_header-key = 'Run Date'.
w_header-info = lv_rundate.
APPEND w_header TO t_list_commentry.
CLEAR: w_header.
w_header-typ = 'S'.
w_header-key = 'Run Time'.
w_header-info = lv_runtime.
APPEND w_header TO t_list_commentry.
CLEAR: w_header.
w_header-typ = 'H'.
w_header-key = 'order'.
w_header-info = 'MCR Report'.
APPEND w_header TO t_list_commentry.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = t_list_commentry.
ENDFORM. "TOP-OF-PAGE
FORM display_alv_report .
CONSTANTS : gc_save TYPE c VALUE 'A'. "Save Layout
t_callback_main_user_command = c_user_command.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
i_callback_program = sy-repid
I_CALLBACK_PF_STATUS_SET = ' '
i_callback_user_command = t_callback_main_user_command
i_callback_top_of_page = 'TOP-OF-PAGE'
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
is_layout = w_layout
it_fieldcat = t_fieldcat
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
i_save = gc_save
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_HTML_HEIGHT_TOP = 0
I_HTML_HEIGHT_END = 0
IT_ALV_GRAPHICS =
IT_HYPERLINK =
IT_ADD_FIELDCAT =
IT_EXCEPT_QINFO =
IR_SALV_FULLSCREEN_ADAPTER =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = it_out
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
ENDIF. -
Display specified record in run time
I am using report wizard in report builder to develop a report and display it through the web browser.
The Query that I entered is :
Select * from empMaster
Question: If I want to display some specified record in RUNTIME(like, Select * from empMaster where Name='Peter'), what should I need to do? I am using web report tester to generate the web report. Do I need to add something in HTML in order to display specified record.
I have tried to use xml file which customize the report to control the output.
xml show as following:
<report name="testrpt" author="Generated" DTDVersion="2.0">
<data>
<dataSource name="testrpt">
<select>
Select * from empMaster where empMaster.email='Peter'
</select>
</dataSource>
</data>
</report>
I have checked the trace file. it contain no error but it still display all the record in the table.
nullhello,
the easiest way is to
1) create a parameter e.g. called my_where
2) rephrase the query to
select * from empMaster &my_where
if you then run the report you can pass the where-clause to your report as a parameter. you can also enforce the parameter-form by passing the additional parameter PARAMFORM=HTML
regards,
the oracle reports team -
Using the instance manager to control subforms at run time
Hi,everybody.
I encountered a question when I put the code "subFormName.instanceManager.addInstance(1);"
into the subForm's initialize event to dynamic create a new subForm(it's a XDP document).It create 3 new subForms below the original subForm,but when I put the same code into a button's click event or save the document as "Acrobat 7 (static) PDF Form" format,it's all right.what's wrong with it?
I need your help.
Best regards.There are some restrictions concerning what one can do in each event. I imagine that you can't add instances into a subforms initialize event. If you need three more instances to show, set the minimum on the Object Binding tab to four.
-
Trouble displaying a JPanel at run time
What I'm doing is using a JBGrid component to dispaly all open quotations for a specific prospect. The user is to select a row in the grid and click on the btnLoad object. I would like that event to fire this method (it does this just fine as I've put System.out.printlns into the method to verify).
The issue is that the the line of code( pnlData.add(new QuoteDetail(currentQuote)); ) doesn't redisply the panel so that I can see it. I have placed System.out.printlns into the QuoteDetail class' init function and they show that it it getting loaded. I was told by a co-worker that I may have to use .invalidate() and .repaint() after doing such a task in order for the screen to be dispalyed correctly. it hasn't worked. I've tried to use invalidate on pnlData and this and neither has produced the results I'm looking for.
Any ideas of what I can try next? Thanks in advance.
---------------------------- code snippet -----------------------------------------------------
private void quoteSelected() {
int mSelectedRow = jbgQuotes.getSelectedRow();
if(mSelectedRow > -1) { // -1 indicates that no rows have been selected
Object mSelectedQuoteID = jbgQuotes.getValueAt(mSelectedRow, 0);
// use the dataAccess method for customer info to load the selected quotation
currentQuote = cims.CIMS.cda.loadQuoteInfo(new Long(mSelectedQuoteID.toString()).longValue());
// Show the QuoteDetail panel
if(pnlData.getComponentCount() > 0) {
pnlData.remove(0); // remove the previous QuoteDetail()
pnlData.add(new QuoteDetail(currentQuote));
this.invalidate();
this.repaint();
}I kept playing with it and found that this is working. Not exactly sure why I'd have to perform a .validate at this point because I'm adding JPanels to other JPanels quite often without performing this. But heh, it works so I'm running with it.
pnlData.add(new QuoteDetail(currentQuote), java.awt.BorderLayout.CENTER);
pnlData.validate(); -
How to set the number of records displayed at run time
Is it possible to set the number of records displayed block property at run time? The built-in 'GET_BLOCK_PROPERTY' can retrieve the number of RECORDS_DISPLAYED. But I can't find SET_BLOCK_PROPERTY to set this property. Is there anyway I can set this property programmatically? Thanks for any suggestions!
Bookmark Go to End
goal: How to vary the number of records displayed in a block
programmatically
fact: Oracle Forms Developer
fix:
Block property 'Number of Records Displayed' can not be changed during runtime
using SET_BLOCK_PROPERTY. However, it is still possible programmatically change
the visual appearance of the form so that it creates effect of changing this
property. To achieve such an effect follow these steps:
1. in Forms Builder, in the multirecord block define the new set of items.
The simplest way is to copy/paste the original item and rename created item.
2. set properties of these new items so that they are the same as the properties
of the original items. If these new items were copied from original items
then properties are already the same. Modify following properties
'Database item' on new items to value 'No'
'Synchronize with item' to the value of the original item
'Number of Items Displayed' to desired value.
'Visible' to 'No'
In other words, these new items are mirrors of original items.
3. code event, which is meant to trigger the change in block appearance.
This code should use SET_ITEM_PROPERTY built-in to set properties
like 'VISIBLE', 'ENABLED', 'NAVIGABLE', 'UPDATE_ALLOWED' and others
to desired value for items which are about to be displayed, then
move cursor to one of these just displayed items with GO_ITEM built-in
and then hide the previously displayed items.
Example:
Assume that the block is built on SCOTT.DEPT schema. Following will
change the set of displayed items
set_item_property('dept.mdeptno',visible,property_true);
set_item_property('dept.mdname',visible,property_true);
set_item_property('dept.mloc',visible,property_true);
set_item_property('dept.mdeptno',enabled,property_true);
set_item_property('dept.mdname',enabled,property_true);
set_item_property('dept.mloc',enabled,property_true);
set_item_property('dept.mdeptno',update_allowed,property_true);
set_item_property('dept.mdname',update_allowed,property_true);
set_item_property('dept.mloc',update_allowed,property_true);
set_item_property('dept.mdeptno',navigable,property_true);
set_item_property('dept.mdname',navigable,property_true);
set_item_property('dept.mloc',navigable,property_true);
go_item('dept.mdeptno');
set_item_property('dept.deptno',visible,property_false);
set_item_property('dept.dname',visible,property_false);
set_item_property('dept.loc',visible,property_false);
Regards,
Monica -
How to display "Non-Fatal Run-Time Error In Function Panel" dialog?
I'm learning how to develop an IVI-C specific driver using LabWindows/CVI. When I run my function from its function panel and it returns an error, I would like to display a dialog with both the error code and error message (as opposed to simply returning an error code on the function panel). This would save the user from having to call Prefix_error_message() to translate the error code to its error message. NI-DCPower driver is a good example of this behavior (see attached error dialog). How do I show the "Non-Fatal Run-Time Error In Function Panel" dialog? Any help is greatly appreciated. Thanks!
Attachments:
ErrorDialog.png 8 KBHi Shawn,
Thank you for replying to my post. The checkErr is just an error handling macro defined in ivi.h to goto Error: tag when the function returns a non-zero value. I have been using the checkErr macro (as well as viCheckErr and other macros) in my driver.
Using the same hp34401a specific driver as an example, please allow me to explain my question in more details:
Let's take the hp34401a_close function as an example. It is a simple function with only a few lines of code:
When the hp34401a_close function is run from its front panel using an invalid session handle (e.g. "8" in this screen capture):
You will get three "Non-Fatal Run-Time Error" popup dialogs, one from each of the IVI library functions that it calls: Ivi_LockSession, Ivi_UnlockSession, and Ivi_Dispose. However, there is no "Non-Fatal Run-Time Error" popup dialog from the hp34401a_close itself.
My IVI-C specific driver is behaving identical to the hp34401a specific driver.
In comparison, if run niDCPower_close function from its front panel using an invalid session handle (using the same "8" in this screen capture):
You will only get one "Non-Fatal Run-Time Error In Function Panel" from the niDCPower_close function itself:
I think the behavior of niDCPower driver is much better than the hp34401a driver. It replaces the three "Non-Fatal Run-Time Error" popup dialogs from the IVI library with a single "Non-Fatal Run-Time Error In Function Panel" popup dialog from the driver function itself. I would like to do the same thing with my driver but have not figured out how to display a "Non-Fatal Run-Time Error In Function Panel" dialog. Thanks in advance for your help! -
ICO file not displaying at run time?
Hello Experts,
I an using fusion 11.1.2.1 32 bit. I have Copied the Icons as well as GIF files in C:\Oracle\Middleware\Oracle_FRHome1\forms\java folder.
At button property i set Iconic to yes
and file = addrow
Icon not display at run time.
but when i set file = abc.GIF
image is displaying at run time.
My doubt is that ICO file not displaying at run time while GIF file are displaying.
Do i need to change configuration ?
Please do the needful.
Thanks
YashHi Yash,
First Try this steps
To resolve this issue, follow these steps:
Double-click My Computer, and then click Options on the View menu.
Verify that the Icon file type appears on the File Types tab. If the Icon file type does not appear in the Registered File Types box, skip to step 10.
Click Icon in the Registered File Types box, and then click Edit.
Verify that the following settings exist, and then click OK:
The Description Of Type box contains Icon.
If there is a Confirm Open After Download check box, it should be selected.
If the settings do not appear exactly as listed in step 4, click Remove, click Yes, and then click OK. If the settings do appear as listed in step 4, skip to step 10.
Click New Type.
In the Description Of Type box, type Icon.
In the Associated Extension box, type ICO.
Click OK, and then click Close.
Use Registry Editor to view theHKEY_CLASSES_ROOT\.icokey, and then verify that the default string contains the following value:icofileIf the .ico key does not exist, create it, and then insert the value listed above. If any other values exist in the .ico key, delete them.
Use Registry Editor to view theHKEY_CLASSES_ROOT\icofilekey, and then verify that the default string contains the following value:iconIf the icofile key does not exist, create it, and then insert the value listed above. If any other values exist, delete them.
Create a new key in the icofile key called DefaultIcon , and type %1 as this key's default value.
Quit Registry Editor, and then restart your computer.
Second Try this
Simple way
Copy your images to:
1
c:\Oracle\Middleware\as_1\forms\java\
Notes:
- Icon files may not be supported.
- In case of a Java security issue when using gif images, you will need to create a jar file and sign it with oracles sign-tool (see below, point 6).
- In case you having trouble with oracle’s sign-tool, do it directly with java’s
Recommended way
1. Create a “icons” folder and place all your gifs in there
i.e. “c:\Oracle\Middleware\as_1\forms\java\<icons>”
2. From within icons folder make a jar file of all the gif images:
1
jar -cvf frmicons.jar *.gif
3. Copy this new jar into “c:\Oracle\Middleware\as_1\forms\java\”
4. Edit/update formsweb.cfg file:
path = c:\Oracle\Middleware\user_projects\domains\<my_domain>\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.1\config\formsweb.cfg …to update/include:
1
2
3
4
5
6
7
8
9
# Forms applet parameter
codebase=/forms/java
# Forms applet parameter
imageBase=codebase
# Forms applet archive setting for other clients (Sun Java Plugin...etc)
archive=frmall.jar,frmicons.jar
# Forms applet archive setting for JInitiator
archive_jini=frmall_jinit.jar,frmicons.jar
5. Edit/update Registry.dat file:
path = c:\Oracle\Middleware\user_projects\domains\<my_domain>\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.1\config\forms\registry\oracle\forms\registry\Registry.dat
1
2
default.icons.iconpath=icons/
default.icons.iconextension=gif
At this point your icons should work normally, but if you get a security check of Java for gif files then proceed to the next step to fix this. TIP: May need to restart the weblogic/forms server for changes to take effect.
6. Sign your jar file with oracles sign_webutil.bat sign-tool.
path = c:\Oracle\Middleware\asinst_1\bin\sign_webutil.bat
Firstly, you need to edit the sign_webutil.bat as follows:
1
2
3
SET KEYSTORE_PASSWORD=my_password
SET JAR_KEY=webutil2 # will need to change for every run
SET JAR_KEY_PASSWORD=my_password
Secondly, set the environment path and finally run the command:
1
2
3
set path=c:\Oracle\Middleware\as_1\jdk\bin
cd c:\Oracle\Middleware\asinst_1\bin\
sign_webutil c:\Oracle\Middleware\as_1\forms\java\my_icons.jar
This will create your signed jar file. Once initialized from the web-app it should ask the user to “Trust” the certificate and never prompt again.
Other issues you may encounter and may need to edit/update the following files/registry entries as well:
formsweb.cfg
path = c:\Oracle\Middleware\user_projects\domains\<my_domain>\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.1\config\formsweb.cfg
1
2
3
4
5
6
7
8
9
10
# Forms applet parameter
codebase=/forms/java
# Forms applet parameter
imageBase=codebase
# Forms applet archive setting for other clients (Sun Java Plugin, ...etc)
archive=frmall.jar, my_icons.jar
...or
# Forms applet archive setting for JInitiator
archive_jini=frmall_jinit.jar, my_icons.jar
Registry.dat
path = c:\Oracle\Middleware\user_projects\domains\<my_domain>\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.1\config\forms\registry\oracle\forms\registry\Registry.dat
1
2
default.icons.iconpath=/forms/java
default.icons.iconextension=gif
Registry entries:
1
2
UI_ICON:<path_to_icons_dir>
UI_ICON_EXTENSION: "gif": ".gif" "ico": ".ico"
Credits and further information can be tracked for icons issue here and for jar file creation here.
Hope this will help. -
How to disable the run-time popup menu in the sequence display on TestStand Operator Interface, that allow the use to skip the test?
Hello,
Regarding the skip/force pass/force fail options, when I set the ControlExecFlow to True in Teststand 3.1 and 3.5, in the Sequence Editor the menu options for skip/force pass/force fail are not active for Technician but, when I launch the Operator Interface logged with Technician the options are active. The problem is that if the technician sets one step to one of these options, and change the user to Operator, the test step remains skip/force pass.
Is there any possibility without modifying the Operator Interface (at programming level), to reload default values of the steps when changing the user to Operator?
Thank you,
Best regards,
paio -
Display Progress Indicator in the Run Time
Hi All,
How do display Progress Indicator in the Run Time for a JSF Page using ADF components?
Regards
SantoshI have similar problem.
Basically my page do search in the database which takes some time. so when search starts I would like to display the progress indicator or some thing which will show some processging is going on in background. Once it completes the background processing, the same page displays the result. At this time I want to hide the progress indicator.
Is there any way to do this. I am using EA17 with JDev. -
Display the Columns in the grid at run time
Hi,
My Query is returning fix number of columns in the output.I dont want to Explicitly set the columns i want to see in the display template(display columns field) rather i want to show the number of columns in the grid at run time selected by the user.
Any Suggestion.
Thankyou in Advance.
NikhilHere's is what i came up with:
YOu can run one query to get the list of all columns from a table using the following SQL code:
SELECT COLUMN_NAME
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = 'Customers'
Once you do that you can run the query for your table with the selected columns with the following applet property code:
function MyFunc(){
document.MyApplet.getGridObject().setDisplayColumns('CompanyName,City');
document.MyApplet.updateGrid(true);
User the following to extract all selected rows:
selRows = parseInt(myGrid.getSelectedRowCount());
You then itterate through the iGrid to extract the value:
for (var i=1; i<=selRows; i++) {
selRowNum = myGrid.getSelectedRowAt(i);
selDate = myGrid.getCellValue(selRowNum,1); -
ABAP Run time error when display the Customs Export declarations
Hi,
I'm receiving ABAP Run time error when display the Customs Exp. Declarations Under SAP Customs Processing -> Customs Processing - Import / Export -> Monitoring.
Error messaging point to Function Module - /SAPSLL/CUHD_LOAD_SELECTION.
While debugging we found that Primary Key of the below structures are not the same
lt_corpar type /sapsll/corpar_t
lt_corpar_ht type /sapsll/corpar_k02_ht
Does anyone has the SAP Notes or solution to this issue other than changing the structures manually. I'm not sure about the impact if i change manually
Error message short details
Termination occurred in the ABAP program "/SAPSLL/SAPLCUHD_SELECTION" - in
"/SAPSLL/CUHD_LOAD_SELECTION".
The main program was "/SAPSLL/CULO_DISPLAY_CUS_EXP ".
In the source code you have the termination point in line 144
of the (Include) program "/SAPSLL/LCUHD_SELECTIONU01".
We are on GTS Release 8.0 and Support Package SAPK-80014INSAPSLL (Support pack level 14).
Regards,
Pradeep MaddiHi,
I have implemented SAP Note 1531799, but it hasn't resolved the current issue.
For Our GTS instance, there are 2 Feeder Systems (ECC) attached, but document transfer in one of the system has not been activated. Both having the same partner functions ( We copied the sandbox into 2 different instances for different business Testings and now these 2 instances attached to GTS for testing). These feeder systems have different Logical system names and Logical system groups.
Recently i have implemented SAP Corrections manually for one the issue, Please see below thread for the detail information
Proforma Invoice not transferred to GTS
After implementing the corrections, i have created Pro-forma invoice in ECC system. When i tried to display, i'm facing the ABAP Dump issues.
Error details
Runtime Errors ITAB_DUPLICATE_KEY
ABAP Program /SAPSLL/SAPLCUHD_SELECTION
Application Component SLL-LEG
You tried to insert an entry into table "\FUNCTION=/SAPSLL/CUHD_LOAD_SELECTION\DATA=LT_CORPAR_HT". However, updating the unique table key "PRIMARY_KEY" resulted in a duplicate entry. The key concerned may be either the primary key or a secondary key.
Regards,
Pradeep -
Symptom:
We used Task Scheduler to create a scheduled task. For example, we configured a daily task, starting from 3 AM 9/3/2014, recurring the task every 1 day, and set the expiration time as 3 AM 9/3/2015 (See Figure 1). Under
Settings tab, we checked If the task is not scheduled to run again, delete if after:
option, and set the value as 30 days (See Figure 2).
However, in the Task Scheduler Library snap-in, we saw that the Next Run Time of the task is 3AM 10/3/2015, which equals expiration date plus days to delete (See Figure 3), but the right value should be 3 AM 9/2/2014 because the task has never been run.
Figure 1
Figure 2
Figure 3
Cause:
This is a Task Scheduler interface displaying issue. Although the next run time that is displayed in the Task Schedule is incorrect, the trigger will be fired correctly.
Solution:
We can install the hotfix in the following KB article to fix the displaying issue, though the symptom in the article is different.
An incorrect value for Next Run Time is displayed when you specify multiple triggers to schedule a task in Windows Vista, Windows 7, Windows Server 2008 or Windows Server 2008 R2
http://support.microsoft.com/kb/2495489
After installing the hotfix, we need to restart computers to make it take effect.
In this example, after installing the hotfix and restarting the computer, we see that the next run time of the task is displayed correctly in Task Scheduler (Figure 4).
Figure 4I am not running out of space, but I do have the same problem. Every so often TM does a backup which is about 60 GB bigger than expected. The extra is always a new backup of /System /Applications /usr etc. - that is the 'system files'.
The key thing is, as you have noticed:
Examining the content of the latest backup, the one that did not fail, shows that some system directories, /Applications, /usr, and /bin are missing
As a consequence the next backup is, in my case, 60 GB bigger because it includes all the system files.
It is as if 'systemFilesExcluded' was turned on for the previous backup (the one that 'did not fail'). But I have looked in the .exclusions.plist for this backup and it is exactly the same as for other backups and does include:
<key>systemFilesExcluded</key>
<false/>
It seems that TM is treating this as if <true/>.
Like you, I have done a disk verify and it finds no errors.
I think this must be a bug. I have had this on four occassions since upgrading to Mountain Lion. And it is doing a large one right now - I have caught it in the act!
Maybe you are looking for
-
How do I add my husband's iCloud calendar to mine
My husband and I both have iMacs, iPads and iPhones. We both set up iCloud accounts so we can merge our iCal Calendars. He has invited me to share his calendars but what I get is a webpage that I have to sign into. I'd like to have all of our cale
-
How to handle the quotes('') in the procedure?
Hi all, I have been struggling with an issue in the procedure. Let us go to the functionality of the preocedure. I am passing a parameter that has text like ' INDIA,BANGALORE,"INOX,BLR","THILAK NAGAR,JAYA NAGAR "4TH 'T' BLOCK,BANGALORE",560030' Here,
-
when I open the settings and messages of the iPhone 4s I get stuck in a white screen, what should I do? the keyboard to open there is minute, I can not open the settings in any way.
-
i have a text file of record some thing like last name first name email how can i make it read the text file column by column i created a class with linkedlist to put it in but can't make it recognize which is which (code) public void NewTail( String
-
This is my first experience trying to load and set up Oracle from the dba point of view and I need some guidance. I have started having problems when loading 9i on the same server as the 8.1.7 instance. It wanted to overwrite files and was using the