Grouping in main window
Hi experts..
I am working on SCRIPTS.
I am looping my internal table in main window to print fields of main window.
my main window fields are--
box_id pack_id sales order duty_code box_wt.
but one more field is there..ie DEST_CODE, its CHAR type.
but i want to group my internal table records according to DEST_CODE.
means..on o/p form fields should b displayed---
dest_code = '--'
box_id pack_id sales order duty_code box_wt.
my all fields are get printed..
but can some body tell me "how to group my internal table records, according to one specific field"
when that DEST_CODE will change,
those records group must b different.
thanks i advance
Hi,
1. U declare the first field as 'DEST_CODE' in ur Internal Table.
2. Now, u SORT the internal table on DEST_CODE.
3. LOOP ur Internal Table & use control break events for grouping based on DEST_CODE.
Eg:
In Driver/Print Program:
LOOP AT itab.
at new DEST_CODE.
call function 'WRITE_FORM'.
exporting
element = 'E1'
window = 'MAIN'.
endfunction.
endat.
call function 'WRITE_FORM'.
exporting
element = 'E2'
window = 'MAIN'.
endfunction.
ENDLOOP.
In Script Form: in Main Window
/E E1 --> Calling Element E1 to print Dest_CODE
P1 &itab-DEST_CODE& --> Printing DEST_CODE once for every new DEST_CODE
/E E2 --> Calling Element E1 to print Dest_CODE to print other details
P1 &itab-box_id&,,&itab-pack_id&,,&itab-sales_order&,,&duty_code&,,&box_wt&.
Hope its clear!!
Rgds,
Pavan
Similar Messages
-
How to use Two main windows with in a page in script ?
Hi any body explain me...
How to use Two main windows with in a page in script ?
with header data in one main window,
& Item data in other main window.HI..,
u need to go for <b>SPLITTING THE MAIN WINDOW</b> !!!
Main windows in page windows allow you to format text in multiple columns. Define an area in the page window, in which to position the main windows.
Here is the procedure !!
-->Create a page window and assign it to a page.
Choose <b>Edit --> Main windows</b>.
A dialog box appears.
-->Enter values in the fields <b>Area width</b> and A<b>rea height</b> in accordance with the input guidelines for main windows.
-->Enter values in the fields <b>Spacing</b> and Number in the <b>Horizontal group</b> if you want to use multiple columns. You can ignore the fields in the Vertical group.
Determine how many columns and line areas are required for label printing. Then enter the corresponding values in the fields in the <b>Horizontal and Vertical groups</b>.
-->The value in the field Left margin varies from main window to main window if multiple columns are used. The following applies:
<b>
Left margin of current column + Window width + Horizontal spacing = Left margin of next column</b>
In label printing, the field Upper margin also varies from main window to main window:
<b>
Upper margin of current main window + Window height + Vertical spacing = Upper margin of next main window</b>
-->Enter a value in the field Start position.
This is a counter. Enter a starting value which is equal to or greater than 1.
-->The main windows are added to the list.
-->Save your form.
reward if it helps u...
sai ramesh -
How do I get my tabs back into the main window?
I've had a problem with an add-on displaying a small extra window every time I open a session for some months now: I know you're supposed to try disabling and re-enabling every add-on you've got to find out which one is responsible, but this is a work computer and with all the add-ons I have, it would take too long, so I've just closed the extra window every time and got on with my work. However, for some reason today my forty-odd tabs have all opened in the small extra window, which has no tab bar, navigation bar or menu button. How do I get my tabs back into the main window of Firefox, or alternatively get that window to behave like a normal Firefox window so I can use it?
It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
*Help > Troubleshooting Information > Profile Directory: Open Containing Folder
*http://kb.mozillazine.org/Profile_folder_-_Firefox
Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
*http://kb.mozillazine.org/Multiple_profile_files_created
You can use this button to go to the Firefox profile folder:
*Help > Troubleshooting Information > Profile Directory: Open Containing Folder -
Drawing Boxes in Script - main window
hi,
In script, in main window <u>after table line item datas</u>, i want to draw a box in which i will place some text. On drawing box, it appears on top of that window which i dont want, since it should be placed after item details.
kapil.I do not know this is still relevant for You or not but here is the solution what I did:
First of all I have to mention this requires SAP standard object modification. !!!
1.Start SE80 and get into STXC function group.
2.Select COP_RELATIVE_NUMBER subroutines and double click on that.
3.Click on Edit button and Get SSCR Object number from SAP.
4.Change interface of the COP_RELATIVE_NUMBER subroutines extending it with TYPE parameters
5.Change the first if Statement.
6.Extend the Relative case section with a new WHEN '#'.
7. Cange All COP_RELATIVE_NUMBER calls with new input parameter in CO_BOX, In CO_POSITION, In CO_SIZE.
From now in Your SAP script You can call BOX statement like this:
BOX XPOS #10 TW YPOS #10 TW ..
Will start drowing BOX from cursor current position plus 10 twip.
Numbers after the # sign are optional.
Solution works only with TW.
form co_box.
data: begin of bx,
x type i,
y type i,
w type i,
h type i,
f type i,
i(3) type n,
end of bx,
next(10),
xpos type i,
ypos type i,
is_relative like boolean.
bx-x = ft-wpx.
bx-y = ft-wpy.
bx-w = ft-wpw.
bx-h = ft-wph.
while co-endline = false.
perform cop_next using next 10.
case next.
when 'XPOS'.
*{ REPLACE ED1K902054 1
* perform cop_relative_number using is_relative xpos.
perform cop_relative_number using is_relative xpos 'X'.
*} REPLACE
add xpos to bx-x.
when 'YPOS'.
*{ REPLACE ED1K902054 2
* perform cop_relative_number using is_relative ypos.
perform cop_relative_number using is_relative ypos 'Y'.
*} REPLACE
add ypos to bx-y.
when 'WIDTH'.
perform cop_number_value using bx-w.
when 'HEIGHT'.
perform cop_number_value using bx-h.
when 'FRAME'.
perform cop_number_value using bx-f.
when 'INTENSITY'.
perform cop_next using next 3.
bx-i = next.
when space. exit.
when '.'. exit.
when others.
perform cop_warning using subrc_param_unknown next.
endcase.
endwhile.
perform cop_end.
check co-error = false.
perform pc_box using bx-x bx-y bx-w bx-h bx-f bx-i.
endform.
form co_position.
data: begin of pos,
x type i,
y type i,
end of pos,
next(10),
relative like boolean,
xpos type i,
ypos type i.
pos-x = ft-wpx.
pos-y = ft-wpy.
while co-endline = false.
perform cop_next using next 10.
case next.
when 'XORIGIN'.
*{ REPLACE ED1K902054 1
* perform cop_relative_number using relative xpos.
perform cop_relative_number using relative xpos 'X'.
*} REPLACE
if relative = true.
add xpos to pos-x.
else.
pos-x = xpos.
endif.
when 'YORIGIN'.
*{ REPLACE ED1K902054 2
* perform cop_relative_number using relative ypos.
perform cop_relative_number using relative ypos 'Y'.
*} REPLACE
if relative = true.
add ypos to pos-y.
else.
pos-y = ypos.
endif.
when 'WINDOW'.
pos-x = ft-tdwlefts.
pos-y = ft-tdwtops.
when 'PAGE'.
pos-x = 0.
pos-y = 0.
when space. exit.
when '.'. exit.
when others.
perform cop_warning using subrc_param_unknown next.
endcase.
endwhile.
perform cop_end.
check co-error = false.
ft-wpx = pos-x.
ft-wpy = pos-y.
endform.
form co_size.
data: begin of dim,
w type i,
h type i,
end of dim,
next(10),
relative like boolean,
width type i,
height type i.
dim-w = ft-wpw.
dim-h = ft-wph.
while co-endline = false.
perform cop_next using next 10.
case next.
when 'WIDTH'.
*{ REPLACE ED1K902054 1
* perform cop_relative_number using relative width.
perform cop_relative_number using relative width 'X'.
*} REPLACE
if relative = true.
add width to dim-w.
else.
dim-w = width.
endif.
when 'HEIGHT'.
*{ REPLACE ED1K902054 2
* perform cop_relative_number using relative height.
perform cop_relative_number using relative height 'Y'.
*} REPLACE
if relative = true.
add height to dim-h.
else.
dim-h = height.
endif.
when 'WINDOW'.
dim-w = ft-tdwwidths.
dim-h = ft-tdwheights.
when 'PAGE'.
dim-w = form_header-tdpagwidth.
dim-h = form_header-tdpagheigh.
when space. exit.
when '.'. exit.
when others.
perform cop_warning using subrc_param_unknown next.
endcase.
endwhile.
perform cop_end.
check co-error = false.
ft-wpw = dim-w.
ft-wph = dim-h.
endform.
*{ REPLACE ED1K902054 3
*form cop_relative_number using is_relative like boolean
* val type i.
form cop_relative_number using is_relative like boolean
val type i
type type c.
*} REPLACE
data: num type f,
next(10).
clear is_relative.
perform cop_next using next 10.
*{ REPLACE ED1K902054 1
* if next(1) cn '+-.0123456789 '.
if next(1) cn '#+-.0123456789 '.
*} REPLACE
perform cop_warning using subrc_param_unknown next.
clear: is_relative, val.
exit.
else.
if next+1(9) cn '.0123456789 '.
perform cop_warning using subrc_param_unknown next.
clear: is_relative, val.
exit.
else.
case next(1).
when '+'.
is_relative = true.
num = next+1(9).
when '-'.
is_relative = true.
num = next+1(9).
num = -1 * num.
*{ INSERT ED1K902054 2
when '#'.
is_relative = true.
num = next+1(9).
case type.
when 'X'.
num = ( ft-line_width - ft-rem_width ) + num.
when 'Y'.
num = ( ft-fill_height - ft-rem_height ) + num.
endcase.
*} INSERT
when others.
num = next.
endcase.
endif.
endif.
perform cop_num_val using num.
val = num.
endform. -
Visual Class: Set a label in main window from dialog box
Hi,
Firstly my project is a visual project and at the time being has only 2 classes, both visual. One a main window and then one a dialog.
The project is about a gym membership, and what i want it to do at the moment is to set the name text box i have in the main window by typying it in another text box in my dialog. Understand?
This is my text field method in MainWindow...
public JTextField getNameTextField() {
if (NameTextField == null) {
NameTextField = new JTextField();
NameTextField.setBounds(new Rectangle(164, 28, 193, 26));
return NameTextField;
}And my New Member text field in the dialog, called NameDialog
private JTextField getNewMemberTextField() {
if (NewMemberTextField == null) {
NewMemberTextField = new JTextField();
NewMemberTextField.setBounds(new Rectangle(36, 56, 209, 28));
return NewMemberTextField;
}In the dialog i have created a button called,"OK" and if i press it without entering a String then an error box appears which all works correctly. Then as you can see if i enter a String here i want this String to be entered and showed in my MainWindow class in the name text box.
But this is not working and i am having trouble here after the else...
else {
GymMembershipMainWindow mainWindow = new GymMembershipMainWindow(); mainWindow.getNameTextField().setText(getNewMemberTextField().getText());
NameDialog.this.setVisible(false);Sorry but do you understand what i am trying to do? Apologies if any of it is unclear.
Would appreciate any help. Thank you.Ok well there is quite a bit, but only 2 classes. This is the first class which is the main class.
package membership;
import javax.swing.SwingUtilities;
import java.awt.BorderLayout;
import javax.swing.JPanel;
import javax.swing.JFrame;
import java.awt.Dimension;
import javax.swing.JMenu;
import java.awt.Rectangle;
import javax.swing.JMenuItem;
import javax.swing.JMenuBar;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JRadioButton;
import javax.swing.ButtonGroup;
public class GymMembershipMainWindow extends JFrame {
private static final long serialVersionUID = 1L;
private JPanel jContentPane = null;
private JMenuBar applicationMenuBar = null;
private JMenu memberMenu = null;
private JMenuItem changeNameMenuItem = null;
private JMenuItem changeAddressMenuItem = null;
private JLabel NameLabel = null;
private JLabel AddressLabel = null;
private JTextField NameTextField = null;
private JTextField AddressTextField = null;
private JLabel MembershipTypeLabel = null;
private JRadioButton MonthlyRadioButton = null;
private JRadioButton AnnualRadioButton = null;
private JLabel PersonalTrainerLabel = null;
private ButtonGroup group = new ButtonGroup();
* This method initializes applicationMenuBar
* @return javax.swing.JMenuBar
private JMenuBar getApplicationMenuBar() {
if (applicationMenuBar == null) {
applicationMenuBar = new JMenuBar();
applicationMenuBar.add(getMemberMenu());
return applicationMenuBar;
* This method initializes memberMenu
* @return javax.swing.JMenu
private JMenu getMemberMenu() {
if (memberMenu == null) {
memberMenu = new JMenu();
memberMenu.setText("Member");
memberMenu.add(getChangeNameMenuItem());
memberMenu.add(getChangeAddressMenuItem());
return memberMenu;
* This method initializes changeNameMenuItem
* @return javax.swing.JMenuItem
private JMenuItem getChangeNameMenuItem() {
if (changeNameMenuItem == null) {
changeNameMenuItem = new JMenuItem();
changeNameMenuItem.setText("Change Name");
changeNameMenuItem.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent e) {
NameDialog dialog = new NameDialog();
dialog.setLocationRelativeTo(GymMembershipMainWindow.this);
dialog.setModal(true);
dialog.setVisible(true);
return changeNameMenuItem;
* This method initializes changeAddressMenuItem
* @return javax.swing.JMenuItem
private JMenuItem getChangeAddressMenuItem() {
if (changeAddressMenuItem == null) {
changeAddressMenuItem = new JMenuItem();
changeAddressMenuItem.setText("Change Address");
return changeAddressMenuItem;
* This method initializes NameTextField
* @return javax.swing.JTextField
public JTextField getNameTextField() {
if (NameTextField == null) {
NameTextField = new JTextField();
NameTextField.setBounds(new Rectangle(164, 28, 193, 26));
return NameTextField;
* This method initializes AddressTextField
* @return javax.swing.JTextField
private JTextField getAddressTextField() {
if (AddressTextField == null) {
AddressTextField = new JTextField();
AddressTextField.setBounds(new Rectangle(165, 74, 192, 26));
return AddressTextField;
* This method initializes MonthlyRadioButton
* @return javax.swing.JRadioButton
private JRadioButton getMonthlyRadioButton() {
if (MonthlyRadioButton == null) {
MonthlyRadioButton = new JRadioButton();
MonthlyRadioButton.setBounds(new Rectangle(171, 119, 73, 21));
MonthlyRadioButton.setText("Monthly");
group.add(MonthlyRadioButton);
MonthlyRadioButton.setSelected(true);
return MonthlyRadioButton;
* This method initializes AnnualRadioButton
* @return javax.swing.JRadioButton
private JRadioButton getAnnualRadioButton() {
if (AnnualRadioButton == null) {
AnnualRadioButton = new JRadioButton();
AnnualRadioButton.setBounds(new Rectangle(269, 121, 70, 21));
AnnualRadioButton.setText("Annual");
group.add(AnnualRadioButton);
return AnnualRadioButton;
* @param args
public static void main(String[] args) {
// TODO Auto-generated method stub
SwingUtilities.invokeLater(new Runnable() {
public void run() {
GymMembershipMainWindow thisClass = new GymMembershipMainWindow();
thisClass.setLocationRelativeTo(null);
thisClass.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
thisClass.setVisible(true);
* This is the default constructor
public GymMembershipMainWindow() {
super();
initialize();
* This method initializes this
* @return void
private void initialize() {
this.setSize(500, 300);
this.setJMenuBar(getApplicationMenuBar());
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this.setContentPane(getJContentPane());
this.setTitle("Gym Membership");
* This method initializes jContentPane
* @return javax.swing.JPanel
private JPanel getJContentPane() {
if (jContentPane == null) {
PersonalTrainerLabel = new JLabel();
PersonalTrainerLabel.setBounds(new Rectangle(30, 158, 110, 21));
PersonalTrainerLabel.setText("Personal Trainer");
MembershipTypeLabel = new JLabel();
MembershipTypeLabel.setBounds(new Rectangle(32, 115, 114, 24));
MembershipTypeLabel.setText("MembershipType");
AddressLabel = new JLabel();
AddressLabel.setBounds(new Rectangle(71, 75, 64, 24));
AddressLabel.setText("Address");
NameLabel = new JLabel();
NameLabel.setBounds(new Rectangle(69, 26, 57, 25));
NameLabel.setText("Name");
jContentPane = new JPanel();
jContentPane.setLayout(null);
jContentPane.add(NameLabel, null);
jContentPane.add(AddressLabel, null);
jContentPane.add(getNameTextField(), null);
jContentPane.add(getAddressTextField(), null);
jContentPane.add(MembershipTypeLabel, null);
jContentPane.add(getMonthlyRadioButton(), null);
jContentPane.add(getAnnualRadioButton(), null);
jContentPane.add(PersonalTrainerLabel, null);
return jContentPane;
} // @jve:decl-index=0:visual-constraint="10,10"and this is my other class. The dialog
package membership;
import javax.swing.JPanel;
import java.awt.Frame;
import java.awt.BorderLayout;
import javax.swing.JDialog;
import javax.swing.JLabel;
import java.awt.Rectangle;
import javax.swing.JTextField;
import javax.swing.JButton;
import java.awt.Color;
public class NameDialog extends JDialog {
private static final long serialVersionUID = 1L;
private JPanel jContentPane = null;
private JLabel EnterMemberNameLabel = null;
private JTextField NewMemberTextField = null;
private JButton OKButton = null;
private JButton CancelButton = null;
private JLabel ErrorLabel = null;
private String MembersName;
* @param owner
public NameDialog() {
super();
initialize();
* This method initializes this
* @return void
private void initialize() {
this.setSize(300, 200);
this.setTitle("Enter member name");
this.setContentPane(getJContentPane());
* This method initializes jContentPane
* @return javax.swing.JPanel
private JPanel getJContentPane() {
if (jContentPane == null) {
ErrorLabel = new JLabel();
ErrorLabel.setBounds(new Rectangle(60, 93, 151, 17));
ErrorLabel.setForeground(Color.red);
ErrorLabel.setText("YOU MUST ENTER A NAME");
ErrorLabel.setVisible(false);
EnterMemberNameLabel = new JLabel();
EnterMemberNameLabel.setBounds(new Rectangle(12, 5, 257, 31));
EnterMemberNameLabel.setText("Please enter the new members name below:");
jContentPane = new JPanel();
jContentPane.setLayout(null);
jContentPane.setName("");
jContentPane.add(EnterMemberNameLabel, null);
jContentPane.add(getNewMemberTextField(), null);
jContentPane.add(getOKButton(), null);
jContentPane.add(getCancelButton(), null);
jContentPane.add(ErrorLabel, null);
return jContentPane;
* This method initializes NewMemberTextField
* @return javax.swing.JTextField
private JTextField getNewMemberTextField() {
if (NewMemberTextField == null) {
NewMemberTextField = new JTextField();
NewMemberTextField.setBounds(new Rectangle(36, 56, 209, 28));
return NewMemberTextField;
* This method initializes OKButton
* @return javax.swing.JButton
private JButton getOKButton() {
if (OKButton == null) {
OKButton = new JButton();
OKButton.setBounds(new Rectangle(33, 118, 72, 26));
OKButton.setText("OK");
OKButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent e) {
if(getNewMemberTextField().getText().equals(""))
ErrorLabel.setVisible(true);
else {
GymMembershipMainWindow mainWindow = new GymMembershipMainWindow();
mainWindow.getNameTextField().setText(getNewMemberTextField().getText());
NameDialog.this.setVisible(false);
return OKButton;
* This method initializes CancelButton
* @return javax.swing.JButton
private JButton getCancelButton() {
if (CancelButton == null) {
CancelButton = new JButton();
CancelButton.setBounds(new Rectangle(181, 119, 79, 27));
CancelButton.setText("Cancel");
CancelButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent e) {
NameDialog.this.setVisible(false);
return CancelButton;
The problem i am having is in the OK method in the dialog class. At the 'else' i want the text that is inputted into the text field in the name dialog here, to appear into the text field in the main window for the name.
Understand me? Sorry. Thanks -
Smartforms: Page break in main window
Hello all,
I am working on a smartform that has a loop in the Main window which finally shows a table with serveral rows. I would like to have a page break if one group of lines doesn't fit on the page anymore.
I did some research on that and found the following solution:
Protection against page break for several table lines
- Expand the main area of your table node in the navigation tree.
- Insert a file node for the table lines to be protected in the main area.
- If you have already created table lines in the main area, you can put the lines that you want to protect again page break under the file using Drag&Drop. Otherwise, create the table lines as subnodes of the file.
- Choose the Output Options tab page of the file node and set the Page Protection option. All table lines that are in the file with the Page Protection option set are output on one page.
I did all this and activated the form. But when I go the generic output issue to see the form, following error message comes up:
Output could not be displayed (it may not be complete)
Any ideas why this is happening? (If I delete the folder with the "page protection" mark, then it is working fine again..)
Thanks a lot
AnneHey Anne,
If you are getting the error as soon as you check the box for page protection, it indicates that its not placed at correct position.
I think you placed the folder at a wrong node. I placed the folder under the main area of the table and placed the row types under the folder. Then i checked the folder for page protection.
Its working for me. I am working in ECC 6.0. I dont know if we have that provision in 4.6 C.
Create the folder under the main area of the table node.
put the row types under the folder and check the box for page protection.
Thanks,
Vamshi.
Edited by: vamshi p on Jan 31, 2008 9:19 PM -
Hi All!
I m using Forms 11gr2, and want to show Company Name on the top of the Main Window, i.e. above my menu bar.
Previously I was using following built-in in Forms 6i successfully;
SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,TITLE,'Company Name'),
but now, it instead show two titles
-- https url of form (above my menu bar).
--Oracle Fusion Middleware title (above https url of form),
which ultimately decreases my main windows size.
My second problem is how to hide these two titles/windows ? This will also increase my windows size.
Please guide me.
Thanks & Regards.
Edited by: ocpdev on Jan 12, 2013 7:57 PMSir,
I didn't understand your meaning of creating of config . Is it Forms Installation and Configuration? I have configured after the installation successfully.
Now, please note my following formsweg.cfg file:
# $Id: formsweb.cfg /main/164 2010/10/19 05:20:53 atyagi Exp $
# formsweb.cfg defines parameter values used by the FormsServlet (frmservlet)
# This section defines the Default settings. Any of them may be overridden in the
# following Named Configuration sections. If they are not overridden, then the
# values here will be used.
# The default settings comprise two types of parameters: System parameters,
# which cannot be overridden in the URL, and User Parameters, which can.
# Parameters which are not marked as System parameters are User parameters.
# SYSTEM PARAMETERS
# These have fixed names and give information required by the Forms
# Servlet in order to function. They cannot be specified in the URL query
# string. But they can be overridden in a named configuration (see below).
# Some parameters specify file names: if the full path is not given,
# they are assumed to be in the same directory as this file. If a path
# is given, then it should be a physical path, not a URL.
# USER PARAMETERS
# These match variables (e.g. %form%) in the baseHTML file. Their values
# may be overridden by specifying them in the URL query string
# (e.g. "http://myhost.example.com/forms/frmservlet?form=myform&width=700")
# or by overriding them in a specific, named configuration (see below)
[default]
# System parameter: default base HTML file
baseHTML=base.htm
# System parameter: base HTML file for use with Sun's Java Plug-In
baseHTMLjpi=basejpi.htm
# System parameter: delimiter for parameters in the base HTML files
HTMLdelimiter=%
# System parameter: file setting environment variables for the Forms runtime processes
envFile=default.env
# Forms runtime argument: whether to escape certain special characters
# in values extracted from the URL for other runtime arguments
escapeparams=true
# Forms runtime argument: which form module to run
form=test.fmx
# Forms runtime argument: database connection details
userid=
# Forms runtime argument: whether to run in debug mode
debug=no
# Forms runtime argument: host for debugging
host=
# Forms runtime argument: port for debugging
port=
# Forms runtime argument: BIDI digitSubstitution
digitSubstitution=context
# Other Forms runtime arguments: grouped together as one parameter.
# These settings support running and debugging a form from the Builder:
otherparams=obr=%obr% record=%record% tracegroup=%tracegroup% log=%log% term=%term% ssoProxyConnect=%ssoProxyConnect%
# Sub argument for otherparams
obr=no
# Sub argument for otherparams
record=
# Sub argument for otherparams
tracegroup=
# Sub argument for otherparams
log=
# Sub argument for otherparams
term=
# HTML page title
pageTitle=Oracle Fusion Middleware Forms Services
# HTML attributes for the BODY tag
HTMLbodyAttrs=
# HTML to add before the form
HTMLbeforeForm=
# HTML to add after the form
HTMLafterForm=
# Forms applet parameter: URL path to Forms ListenerServlet
serverURL=/forms/lservlet
# Forms applet parameter
codebase=/forms/java
# Forms applet parameter
imageBase=codebase
# Forms applet parameter
width=100%
# Forms applet parameter
height=100%
# Forms applet parameter
separateFrame=false
# Forms applet parameter
splashScreen=
# Forms applet parameter
allowAlertClipboard=true
# Forms applet parameter
disableValidateClipboard=false
# Forms applet parameter
highContrast=false
# Forms applet parameter
background=
# Forms applet parameter
lookAndFeel=Oracle
# Forms applet parameter
colorScheme=teal
# Forms applet parameter
logo=
# Forms applet parameter, valid range [0-3]
guiMode=3
# Forms applet parameter
restrictedURLparams=pageTitle,HTMLbodyAttrs,HTMLbeforeForm,HTMLafterForm,log
# Forms applet parameter
formsMessageListener=
# Forms applet parameter
recordFileName=
# Forms applet parameter
serverApp=default
# Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
archive=frmall.jar,frmicons.jar
# Number of times client should retry if a network failure occurs. You should
# only change this after reading the documentation.
networkRetries=0
# Page displayed to users to allow them to download Sun's Java Plugin.
# Sun's Java Plugin is typically used for non-Windows clients.
# (NOTE: you should check this page and possibly change the settings)
jpi_download_page=http://java.sun.com/products/archive/j2se/6u12/index.html
# Parameter related to the version of the Java Plugin
jpi_classid=clsid:CAFEEFAC-0016-0000-0012-ABCDEFFEDCBA
# Parameter related to the version of the Java Plugin
jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,12
# Parameter related to the version of the Java Plugin
jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_12
# Applet parameter for Sun's Java Plugin
legacy_lifecycle=false
# Single Sign-On OID configuration parameter: indicates whether we allow
# dynamic resource creation if the resource is not yet created in the OID.
ssoDynamicResourceCreate=true
# Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
ssoErrorUrl=
# Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
ssoCancelUrl=
# Single Sign-On parameter: indicates whether the url is protected in which
# case mod_osso will be given control for authentication or continue in
# the FormsServlet if not. It is false by default. Set it to true in an
# application-specific section to enable Single Sign-On for that application.
ssoMode=false
# Single Sign-On parameter: indicates whether session should operate in proxy
# user support or not. Specify ssoProxyConnect=yes to enable for particular application.
ssoProxyConnect=no
# The parameter allow_debug determines whether debugging is permitted.
# Administrators should set allow_debug to "true" if servlet
# debugging is required, or to provide access to the Forms Trace Xlate utility.
# Otherwise these activities will not be allowed (for security reasons).
allow_debug=false
# Parameter which determines whether new Forms sessions are allowed.
# This is also read by the Forms EM Overview page to show the
# current Forms status.
allowNewConnections=true
# EndUserMonitoring
# EndUserMonitoringEnabled parameter
# Indicates whether EUM/Chronos integration is enabled
EndUserMonitoringEnabled=false
# EndUserMonitoringURL
# indicates where to record EUM/Chronos data
EndUserMonitoringURL=
# Config for javascript integration
applet_name=
enableJavascriptEvent=true
# Config variable that will indicate if heartbeat will
# be blocked when a javascript call is a blocking call.
# The default value if false, i.e heart beat will not be
# blocked for any javascript calls.
JavaScriptBlocksHeartBeat=false
# Example Named Configuration Section
# Example 1: configuration to run forms in a separate browser window with
# "generic" look and feel (include "config=sepwin" in the URL)
# You may define your own specific, named configurations (sets of parameters)
# by adding special sections as illustrated in the following examples.
# Note that you need only specify the parameters you want to change. The
# default values (defined above) will be used for all other parameters.
# Use of a specific configuration can be requested by including the text
# "config=<your_config_name>" in the query string of the URL used to run
# a form. For example, to use the sepwin configuration, your could issue
# a URL like "http://myhost.example.com/forms/frmservlet?config=sepwin".
[sepwin]
separateFrame=True
lookandfeel=Generic
# Example Named Configuration Section
# Example 2: configuration running the Forms ListenerServlet in debug mode
# (debug messages will be written to the servlet engine's log file).
[debug]
serverURL=/forms/lservlet/debug
# Sample configuration for deploying WebUtil. Note that WebUtil is
# only installed with the Forms Builder and is also available for download
# from OTN.
[webutil]
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTML=webutilbase.htm
baseHTMLjpi=webutiljpi.htm
archive=frmall.jar,frmicons.jar
lookAndFeel=oracle
I want to ask one thing more. I have two formsweb.cfg files in following paths:
F:\Oracle\Middleware\user_projects\domains\ClassicDomain2\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.2\config.
F:\Oracle\Middleware\user_projects\domains\ClassicDomain2\servers\WLS_FORMS\tmp\_WL_user\formsapp_11.1.2\wb1h9f\config.
Can you give me differences in these two files?
Thanks in advance. -
How to hide main window in JavaFX 2.0
I want to hide application window in JavaFX 2.0, calling hide() on Stage object terminate application. How to hide main window and left application running?
import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;
public class SysTray extends Application {
public static void main(String[] args) {
Application.launch(SysTray.class, args);
@Override
public void start(final Stage s) throws Exception {
Group rootGroup=new Group();
Scene scene=new Scene(rootGroup, 800, 600);
s.setScene(scene);
Button hide=new Button("hide");
hide.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent paramT) {
s.hide();
BorderPane mainPane=new BorderPane();
mainPane.setCenter(hide);
scene.setRoot(mainPane);
s.setVisible(true);
}That's interesting. I just checked and it looks like http://download.oracle.com/javafx/2.0/api/javafx/stage/Stage.html#close%28%29 is also an alias for setVisible(false);
A little weird that they would have two aliases for such a thing. I'm guessing that setVisible isn't supposed to end the application, but what with JavaFX still being in Beta, the given functionality is acting as a placeholder. Maybe you should check [url http://javafx-jira.kenai.com/]Jira to see if this is already an issue. If not, you should probably file it to make sure. -
Editing mode does not work. I can not follow de editing in the main window. I cah see it in the thumbnail.
From your description of the problem, I suspect that you have a standalone license but have downloaded and installed the CC update. Or, it's the other way around. In either case, you need to install the right version.
-
Page break for Smartform with multiple main window on pages
Hi Experts,
I have a requirement for printing 3 pages. The difference among the 3 pages is the main window part.
The main window contains not only internal table, also complicated texts like payment instructions etc.
The requirement is in each page, the data in internal table should be changed, also payment instruction should be changed accordingly.
e.g:
Main Window of Page 1
Part 1 for Internal table
VAT on ITEM ------- 4O-------60,00------0.00%-------EUR
Part 2 for Payment Instructions
Texts for Page 1
Main Window of Page 2
Part 1 for Internal table
VAT on ITEM ------- 5O-------60,00------0.00%-------EUR
Part 2 for Payment Instructions
Texts for Page 2
Main Window of Page 3
Part 1 for Internal table
VAT on ITEM ------- 6O-------60,00------0.00%-------EUR
Part 2 for Payment Instructions
Texts for Page 3
At first, I was using only one page 'Page1' with a variable page_no = 1 as default value, and use program line page_no = page_no + 1 as counter. when page_no = 2, use command for force page break to 'Page1', then under the command, change the internal table and payment instruction texts. when page_no = 3, ...
But I encountered an error saying:
Runtime Errors GEN_BRANCHOFFSET_LIMIT_REACHED
Short text
Jump distance is too large and cannot be generated.
So I created 3 pages, with different main window M_window1, M_window2, M_window3 for each page. In page1, after printing the M_window1, page_no = 2, use command to go to page2, but page2 is never printed. I think this is because only one main window can exist in a smartform? but why smartform allows creating individual main window for different pages? what's the use of such main window?
By the way, what's the use of command for force page break? only work for one main window in a smartform?
Getting back to my requirement, I think I should still use one page and command for page break. I am trying to solve this.
Thanks.
Li Jun Da.Now I am using 3 pages: Page 1, Page 2, Page 3.
Page 2, Page 3 are copies of Page 1 with main window renamed as second window: mw 2, mw 3.
I also created 2 command nodes in main window of page 1: cmd 2, cmd 3.
cmd 2 is for page break to Page 2, cmd 3 is for page break to Page 3.
The second window mw 2, mw 3 in Page 2, Page 3 can be displayed.
Even though, I still can't understand how main window of pages (not 1st page) can work. -
Two main windows in smartform or two loops in one main window?
Hello All,
I have requirement in smartform where i want to print two diffrent data header and item data in the same page.
and in between these two data i want one template to be printed for item data .
Smartform is giving me error if i use two main windows
if i use two loop nodes in the main window thn how to restrict the data getting over flowed to template(item data)
scenario is
header data****
**item header**
item data****
Pls comment....
Regards,
SunnyAs main window can only be one, so try it this way:
Under main window create a TEXT1 for header text( first header) than a LOOP1 for looping the header table, under that first create a TEXT2 for header data, than below it create another TEXT3 for header text ( Second header), than below it add a LOOP2 for looping item table and in that add a where condition than under it a TEXT4 for item data .
MAIN_WINDOW
TEXT1 " first header
LOOP1 " header table
TEXT2 " header data
TEXT3 " Second header
LOOP2 " item table with where condition
TEXT4 " item data
With luck,
Pritam. -
How to close main window on click of a button on popup window
Hi All,
I have created a web page which on certain condition display a popup window to to provide information. Wht i want is that when i click on close button on my popup window, my main window should also close.
Can anyone please help with this requierment!!!
Regards,
tusharHi All,
Could anyone of you please help me by answering the thread
WDDOEXIT method not called when the application is closed from the portal
Thanks,
Subash M -
How to pop new window in running main window
i have to popup a sub windopw in main window....and i need to plot common data to be printed on front panal...
i am usind daq ...can i share same daq in main and sub window...hao??or can i share some calculated value in main and sub window of labview.,,pleasehelp me fastAs KoenR has said - you can use SubVIs and set them to 'Show front panel when called' which will make them show as new windows in your application.
As for sharing the data, you could use something like a notifier (under synchronisation) for broadcasting the data to the SubVI. If you create the notifier in your main application, with a send notification VI and then pass the reference to the notifier into the SubVI when you call it which has a 'wait on notification' VI it will then receive the data form the main loop.
If you look in the LabVIEW examples under 'notifiers' you will find 'Pass Data with Notifiers' which demonstrates how to use notifiers to pass data to SubVIs.
Certified LabVIEW Architect, Certified TestStand Developer
NI Days (and A&DF): 2010, 2011, 2013, 2014
NI Week: 2012, 2014
Knowledgeable in all things Giant Tetris and WebSockets -
How to change the default window size display font size on Lync 2013 main window?
Hi champs,
Just a simple non-technical question: How to change the default window size display font size on Lync 2013 main window on Windows 7 desktop?
Thanks,Hi,
Did you mean change the Lync: Change the Default Font and Color of Instant Messages just as Edwin said above?
If not, as I know, there is no natural way to change it.
If yes, on the latest version of Lync 2013 client, there is a new option “IM” on Lync client “Options” list. And you need to change the default Font and Color of IM in the interface of “IM”.
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
I open iWeb but the main window doesn't open/appear on screen. The little windows like the inspector and font windows appear. Can anyone help?
Try the following:
1 - delete the iWeb preference file, com.apple.iWeb.plist, that resides in your
User/Home/Library/ Preferences folder.
2 - delete iWeb's cache file, Cache.db, that is located in your
User/Home/Library/Caches/com.apple.iWeb folder (Snow Leopard and Earlier).
3 - launch iWeb and try again.
NOTE: In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
OT
Maybe you are looking for
-
HT4528 how do i increase volume for incoming calls and incoming text?. i have it to max
i have incoming and text messaging to the maximum volume. How can i increase it?
-
My Firefox version 4.01 is not showing downloads in Windows 7 64-bit
Whenever I try to download a file the download window appears but remains blank. I know that the file is downloading because I can see the icon on the taskbar filling up in green. When the file downloads I get a message that the file has been downloa
-
My new MacBook Pro 15" Retina freezes- any help?
No fun with my new Apple product. Almost every day I find my keyboard and trackpad locked during work. I've put it away for now and work only with my iMac. Is there some hope to get this nasty behaviour cured through a firmware- or software patch? Th
-
Recently I've found that I can't open pptx files from my email on my iPad. This is really frustrating and whilst previously the formatting was never great, it used to work and I could review presentations whilst on the move. Apple please get onto thi
-
HTTP Communnication Channel : XML part is missing
Hello, We are setting up an interface starting from a file towards a HTTP post. I'm new to the HTTP communication channel. Technically everything is working. The interface is triggered fine, and we see that a HTTP post is carried out. However: we are