Prompts Alignment
Hi,
I am using 1og version.I have a dashboard. And its having 7 pages. In each page i have different proompts. In some page prompts are alligened in the middle of the page and some are in the left side of the page. Is there any option to Set one alignment for all the pages. Help me.
Thanks,
VVR
Do this:
1) Put the dashboard prompts in its own section.
2) Click on Section>Properties>Format Section.
3) On Horizontal Alignment, select "Left."
The prompts will align to the left.
Similar Messages
-
"Graph Prompt" align center in OBIEE 11g
Hi All,
I have got a requirement to align the "Graph Prompt" center in OBIEE 11g (11.1.16.2 BP1). I could remove the boarder around the prompt using the following CSS.
<style>
.PTPageControl { border:0px; padding:0px; }
.PTPageEmbedded { border:0px;}
</style>
Can someone please let me know how to algin "graph prompt" center? Thanks in advance.See http://msdn.microsoft.com/en-us/library/gg622942%28v=VS.85%29.aspx
Basically, IE9 breaks flash ExternalInterface calls if your flash component is embedded with an object tag with an embed tag fallback, and the object id and embed name is the same.
The easiest workaround is to tell ie9 to render your page in IE8 Standards mode. To do this, insert this in the element:
<!-- Enable IE8 Standards mode --> <meta http-equiv="X-UA-Compatible" content="IE=8" >
Otherwise, you might just want to use the object tag only or embed tag only. -
Hi,
Is there any option where i can change the alignment of the dashboard prompt? i want to have the label to left of the field and need to define space between the label and the field.
Thanks in AdvanceHi Karthik,
I have the same issue . I tried to put this
<head>
<style type="text/css">
td.GFPFilter br { display:none; }
td.GFPFilter span.GFPCaption {float: left;width: 150px;}
</style>
</head>
in text area on a dashboard page with contains html checked , it is not working for me . my prompts still show like
product :__________
account number :____________
I want like
product:____________
account number:__________
Is Im doing anything wrong ?
-siri -
How to vertically align Prompts on the same line in OBIEE
Can we vertically align "Product Line (Owned)" and "Product Line(Not Owned)" in this Prompt on same vertical line?
so that "Product Line(Owned)" can start from the same vertical line where "Product Line(Not Owned)" starts
we tried few options by adding a text element in dashboard and playing with td.GFPFilter
but couldn't find a solution to it.
we were looking into this thread
Dashboard Prompt Alignment
Currently we have it like this, alignment is not same due to "Not Owned" text being longer than "Owned" text
"Product Pillar (Owned)"--------------"Product Line (Owned)"---------------------"Product (Owned)"
"Product Pillar (Not Owned)"--------------"Product Line (Not Owned)"---------------"Product (Not Owned)"
we want to have it like this,
"Product Pillar (Owned)"--------------"Product Line (Owned)"-------------"Product (Owned)"
"Product Pillar (Not Owned)"---------"Product Line (Not Owned)"--------"Product (Not Owned)"Hi Rupak,
I just tried it and it the solution is pretty easy. Just add a text-box to your dashboard holding the following:
<style>td.GFPFilter {width: 200px}</style>You need to check "Contains HTML markup"
Regards,
Stijn -
Aligning prompts in 10g R2?
We have a standard that we right align our prompts on vertically stacked text items. I have noticed that if I right align my prompts in 10g R2 (I'm upgrading some forms from 3.0) that they appear right aligned in on the Canvas, but when I run the form I sometimes get a ragged edge. I'm using MS Sans Serif as the font. Is there a way to get things to align properly when the form runs or is this something I just have to live with?
I want to update this thread:
I have found a way to get prompts to left-align BOTH in Forms 6i and 10g R2. I set the Prompt Attachment Edge property to "Top", and then moved the prompt horizontally to the left of the item (as if the Prompt Attachment Edge = "Start"). With multiple text items left-aligned in a column vertically, I was able to get the prompts to remain left-aligned in a perfectly straight vertical column.
This also helped when converting between Client/Server and web forms in the vertical alignment of the prompt. When using Prompt Attachment Edge = "Start", the prompts drop a pixel or two when moving to the web. But when using Prompt Attachment Edge property = "Top", I did not see the vertical change.
This is a non-intuitive workaround, but it seems to work ok. When prompts are set this way, both the Prompt Attachment Offset and the Prompt Alignment Offset properties had negative values. -
Precisely control position of prompts
I have 4 different prompts I am using on a dashboard for date, region, salesgroup and salesrep. I have placed the prompts on the left side of my dashboards but the prompts will not align. I want each prompt to be the same length within the prompts section and to align perfectly.
Hi,
When you place the prompts in the sections in the dashboard, set the width and horizontal and vertical alignment (for getting aligned in the page).
While creating the prompt, you can find the edit options to edit the prompt alignment too.
Hope this helped/ answered
Kind Regards
MuRam -
I am somewhat new to Oracle forms, i am using 10G so don't shoot me if these are dumb questions.
I want to left align my Prompts on my form but using Tahoma or Verdana the alignment is always off. I fixed it by using a monospace font like Courier but is there a way to get these other more standard fonts to left align properly? (i don't want to right align them)
Courier is not very readable and for the internet most people use Verdana, Arial, Helvetica, sans-serif.
My other question is that if i use a font that is listed in the Oracle Forms Developer will it automatically download them to clients that don't have that font? How does Oracle handle this?No question is a dumb question. :-)
To left align prompts, you go to the canvas and select the several that you want to align. Then all you do is click the 'Align Left' icon on the editing toolbar at the top of the canvas (or use pull-down Arange, Align Objects, Horizontally-Align Left). If the web display is not left-aligned, you may also need to open the property palette on the items with the prompts, and set the Prompt Alignment property to Start. You should NOT need to fuss with a monospaced font once you do this.
I don't think Forms downloads fonts. Instead there is a font translation process where a font that is similar is selected.
Just a note... I don't use Forms 9i or 10g, only 6i (both c/s and web), so my answer may not be right on. -
Vertical scrollbar not showing all the records when I scroll down.
Vertical scrollbar not showing all the records when I scroll down.
Using Oracle forms 10g , operating system windows
I have two fields with number of items dispayed = 15.
I have a vertical scroll bar with them. There are 34 records in the table but the scrollbar only shows 15 records.
Here are the properties for block / scrollbar.
WORK_CATEGORY
- Subclass Information
- Comments
* Navigation Style Same Record
- Previous Navigation Data Block
- Next Navigation Data Block
- Current Record Visual Attribute Group
- Query Array Size 0
- Number of Records Buffered 0
* Number of Records Displayed 60
* Query All Records No
- Record Orientation Vertical
* Single Record No
- Database Data Block Yes
- Enforce Primary Key No
- Query Allowed Yes
- Query Data Source Type Table
* Query Data Source Name WORK_CATEGORY
* Query Data Source Columns
* Column Name JOB_TYPE
* Column Type VARCHAR2
- Column Type Name
- Parent Column
* Length 30
* Precision 0
* Scale 0
* Mandatory Yes
* Column Name WORK_CATEGORY
* Column Type VARCHAR2
- Column Type Name
- Parent Column
* Length 30
* Precision 0
* Scale 0
* Mandatory Yes
- Query Data Source Arguments
- Alias
- Include REF Item No
* WHERE Clause
* ORDER BY Clause job_type
- Optimizer Hint
- Insert Allowed Yes
- Update Allowed Yes
- Locking Mode Automatic
- Delete Allowed Yes
- Key Mode Automatic
- Update Changed Columns Only No
- Enforce Column Security No
- Maximum Query Time 0
* Maximum Records Fetched 0
- DML Data Target Type Table
- DML Data Target Name
- Insert Procedure Name
- Insert Procedure Result Set Columns
- Insert Procedure Arguments
- Update Procedure Name
- Update Procedure Result Set Columns
- Update Procedure Arguments
Don't know where am I going wrong. I'll really appreciate if you can help me in this.
Thanks.
Edited by: 831050 on Sep 14, 2011 8:05 AMOne of the items is a list item.. here are it's properties:
* Name JOB_TYPE
* Item Type List Item
- Subclass Information
- Comments
- Help Book Topic
- Enabled Yes
* Elements in List
* Label
* List Item Value LIST20
* List Style Combo Box
- Mapping of Other Values
- Implementation Class
- Case Restriction Mixed
- Popup Menu
- Keyboard Navigable Yes
- Mouse Navigate Yes
- Previous Navigation Item
- Next Navigation Item
- Data Type Char
- Data Length Semantics Null
- Maximum Length 30
- Initial Value
* Required Yes
* Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
- Distance Between Records 0
* Number of Items Displayed 15
- Database Item Yes
* Column Name JOB_TYPE
- Primary Key No
- Query Only No
- Query Allowed Yes
- Insert Allowed Yes
- Update Allowed Yes
- Update Only if NULL No
- Visible Yes
* Canvas CANVAS2
- Tab Page
* X Position 47
* Y Position 137
* Width 187
* Height 18
- Visual Attribute Group DEFAULT
- Prompt Visual Attribute Group DEFAULT
- Foreground Color
* Background Color white
- Fill Pattern
- Font
* Font Name Tahoma
* Font Size 10
* Font Weight Demilight
* Font Style Plain
* Font Spacing Normal
* Prompt Job Type
- Prompt Display Style First Record
* Prompt Justification Start
* Prompt Attachment Edge Top
- Prompt Alignment Start
* Prompt Attachment Offset 10
* Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
* Prompt Font Name Tahoma
* Prompt Font Size 10
* Prompt Font Weight Bold
* Prompt Font Style Plain
* Prompt Font Spacing Normal
- Hint
- Display Hint Automatically No
- Tooltip
- Tooltip Visual Attribute Group
- Direction Default
- Initial Keyboard State Default
- Keyboard State Any
-
How to fix error You are trying to access a page that is no longer active.
Hi All,
I am trying to access OA framework page from istore jsp page as below:But i am getting error:
You are trying to access a page that is no longer active.
- You may have attempted to access to this page directly by bookmarking the page or copying the URL. This page does not support bookmarking.
- The referring page may have come from a previous session. Please select Home to proceed.
<%
String fedexPopupURL = "OA.jsp?page=/xxcmh/oracle/apps/ont/webui/XXCMHFedexRatePG&HeaderId="+shopCart.getCartId()
+"&CallFrom=iStore";
String
fedexPopupLink="javascript:openBrWindow('"+fedexPopupURL+"','test','status=yes,scrollbars=yes,width=752,height=550')";
%>
<td nowrap align="right" class="prompt" align="right"><a href="<%= fedexPopupLink %">>Calculate Freight</a></td>
function openBrWindow(theURL,winName,features) {
window.open(theURL,winName,features);
Please help me to fix this issue.Hi,
Please Check that the following Profile Options has values:
1) FND_VALIDATION_LEVEL: None
2) FND_FUNCTION_VALIDATION_LEVEL: None
and
function openBrWindow(theURL,winName,features) {
window.open(theURL,winName,features);
winName.focus();
Thanks,
Gaurav
Edited by: Gauravv on Aug 10, 2009 9:44 PM -
How to align prompts for a stand alone report
I have an OBIEE analysis with prompts. This is a stand alone report and not a report on the dashboard.
This report has various different prompts each with a different text. Due to which they dont align .
For example
(dash is a prompt box)
Product Name= ___________________
Product Description contains any ________________
Batch Number= __________________
Destination City contains any _________________
But what I want is to have spaces between the prompt and prompt box so that it align correctly.
Can this be done just from the prompts tab in the report?
Thankshi
why dont u use Prompt Display to "Place label on side of prompt" ?? . it will align automatically.
Regards
Sher -
URGENT: Alignment of Prompt in MessageTextInput
I need a help in the alignment of prompt in MessageTextInput. I drag and drop a read only form from the data control palette. I changed the OraPromptText properties in base_desktop.xss to left align. But still it works only for static prompts, for Data bounded Read only forms (where prompt is set by model), it doesnt work.
Please let me know which property to change in either oracle-desktop.xss or base-desktop.xss
Thanks a lot.Yeah I did. Actually The MessageTextInput automatically aligns the prompt text to "right". I have gone through base-desktop.css and oracle-desktop.css. I couldn't find any style class associated with the prompt text in MessageTextInput.
This is the HTML code
<td align="right" valign="middle" width="16%"><span class="x8">MLS</span></td><td width="12"><script>t('12','0')</script></td><td valign="middle" nowrap width="16%"><span class="x2" style="align:left;text-align:left">2746589</span></td><td width="12"><script>t('12','0')</script></td>
I'm only able to align the text (2746589) but not the prompt text (MLS) even if i enter the prompt text static, it aligns to right.
Is there a way to override this.
Thanks a lot. -
Is it possible to align prompts left in a messageComponentLayout?
Hi All,
almost done with the layout... but having some trouble using the messageComponentLayout....
Is it at all possible to align the prompts on the left side?
Thanks in advance...
Regards,
RobertHi Jeanne,
found a 'quick hack'...
If you change the stylesheet (using a XSS) and override the
.OraPromptText selector and add the following properties:
display: block
width: 100%
text-align: left
It will 'overrule' the align="right" setting... works for me...
Now just waiting until another item needs the be aligned at the right (customers ;-)))
Thanks for your help...
Regards,
Robert -
Passing prompt value to column header
Hi experts
I'd like to change the column header dynamically.
the report is using presentation variable so it's displayed after the user had selected a value in the dashboard prompt and clicked on go.
I'd like to have in the column header the value that the user had selected in the dashboard prompt.
Is there anyway to do that??
RegardsHi,
Yes. you can do that by creating presentation variable.
What you have to do is , create the presentation variable like LOCATION_NBR in the prompt, like this you can create as many as you want to display it in the header.
The next step is to display the value the user selects in the prompt that should display in the header, for that , you can create narative and like the following things and achieve it.
<table>
<tr>
<td bgcolot ="#00080" width="1500" height="25" align="center">
The location No is @{LOCATION_NBR}
</td>
</tr>
</table>
Since we define the presentation variable in Prompt and use it narative view we able to display the header based on the customer choose it from prompt
I hope the above explanation will resolve your requirement
Regards
Raj -
Error when running mortgage calc program from DOS prompt
I have a GUI Mortgage Calculator program. It probably isn't the most efficient use of code, but it gets the job done. I am running java SDK 1.6.0_06. This is a class assignment. We are to compile the code and post the .class file for our team members to run. I am trying to get the .class file to run after I compile it with javac. I used jCreator LE to create it... it compiles and runs there just fine. The program will compile at the DOS prompt, but will not run properly. The following is the error I get (any help would be appreciated):
Exception in thread "mani" java.lang.NoClassDefFoundError: manchorMortgage3
Caused by: java.lang.ClassNotFoundException: manchorMortgage3
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader1.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Below is my code:
* manchorMortgage3.java
* Created on July 10, 2008
* This program calculates and displays the mortgage amount
* from user input of the amount of the mortgage and the user's
* selection from a menu of available mortgage loans.
import java.math.*; //*loan calculator
import java.text.*; //*formats numbers
import java.util.*;
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class manchorMortgage3 extends javax.swing.JFrame {
/** Creates new form manchorMortgage3 */
public manchorMortgage3() {
initComponents();
setLocation(300,200);
/** This method is called from within the constructor to
* initialize the form.
// Begin Initialize Components
private void initComponents() {
mortgageAmount = new javax.swing.JLabel();
jTextField1 = new javax.swing.JTextField();
termAndInterest = new javax.swing.JLabel();
jRadioButton1 = new javax.swing.JRadioButton();
jRadioButton2 = new javax.swing.JRadioButton();
jRadioButton3 = new javax.swing.JRadioButton();
calcButton = new javax.swing.JButton();
enterAmount = new javax.swing.JLabel();
jScrollPane1 = new javax.swing.JScrollPane();
jTextArea1 = new javax.swing.JTextArea();
jButton2 = new javax.swing.JButton();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setTitle("Manchor - Mortgage Calculator - Week 3");
mortgageAmount.setText("Enter the Mortgage Amount:");
termAndInterest.setText("Select Your Term and Interest Rate:");
jRadioButton1.setText("7 years at 5.35%");
jRadioButton1.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
jRadioButton1.setMargin(new java.awt.Insets(0, 0, 0, 0));
jRadioButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jRadioButton1ActionPerformed(evt);
jRadioButton2.setText("15 years at 5.5%");
jRadioButton2.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
jRadioButton2.setMargin(new java.awt.Insets(0, 0, 0, 0));
jRadioButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jRadioButton2ActionPerformed(evt);
jRadioButton3.setText("30 years at 5.75%");
jRadioButton3.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
jRadioButton3.setMargin(new java.awt.Insets(0, 0, 0, 0));
jRadioButton3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jRadioButton3ActionPerformed(evt);
calcButton.setText("Calculate");
calcButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
calcButtonActionPerformed(evt);
jTextArea1.setColumns(20);
jTextArea1.setEditable(false);
jTextArea1.setRows(5);
jScrollPane1.setViewportView(jTextArea1);
jButton2.setText("Quit");
jButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton2ActionPerformed(evt);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(26, 26, 26)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 324, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap())
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addComponent(enterAmount)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 222, Short.MAX_VALUE)
.addComponent(calcButton)
.addGap(75, 75, 75))
.addGroup(layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jRadioButton3)
.addComponent(jRadioButton2)
.addComponent(jRadioButton1)
.addComponent(termAndInterest)
.addComponent(mortgageAmount)
.addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(224, Short.MAX_VALUE)))))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addContainerGap(277, Short.MAX_VALUE)
.addComponent(jButton2)
.addGap(70, 70, 70))
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(31, 31, 31)
.addComponent(mortgageAmount)
.addGap(14, 14, 14)
.addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(20, 20, 20)
.addComponent(termAndInterest)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jRadioButton1)
.addGap(15, 15, 15)
.addComponent(jRadioButton2)
.addGap(19, 19, 19)
.addComponent(jRadioButton3)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(calcButton)
.addComponent(enterAmount))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 112, Short.MAX_VALUE)
.addGap(18, 18, 18)
.addComponent(jButton2)
.addGap(20, 20, 20))
pack();
}// End initialize components
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//event_jButton2ActionPerformed
System.exit(1);
}//event_jButton2ActionPerformed
static NumberFormat nf = NumberFormat.getCurrencyInstance(Locale.US);
static NumberFormat np = NumberFormat.getPercentInstance();
static NumberFormat ni = NumberFormat.getIntegerInstance();
static BufferedReader br;
private void calcButtonActionPerformed(java.awt.event.ActionEvent evt) {//event_calcButtonActionPerformed
enterAmount.setText(null);
jTextArea1.setText(null);
double monthlyPayment;
double interest;
double amount ;
int years ;
double monthlyInterest, monthlyPrinciple, principleBalance;
int paymentsRemaining, lineCount;
np.setMinimumFractionDigits(2);
br = new BufferedReader(new InputStreamReader(System.in));
lineCount = 0;
try
amount=Double.parseDouble(jTextField1.getText());
catch (Exception e)
enterAmount.setText("Please Enter Mortgage Amount");
return;
if(jRadioButton1.isSelected())
interest=0.0535;
years=7;
else if(jRadioButton2.isSelected())
interest=0.055;
years=15;
else if(jRadioButton3.isSelected())
interest=0.0575;
years=30;
else
enterAmount.setText("Please Select Your Term and Interest Rate");
return;
jTextArea1.append(" For a mortgage of " + nf.format(amount)+"\n"+" With a Term of " + ni.format(years) + " years"+"\n"+" And an Interest rate of " + np.format(interest)+"\n"+" The Payment Amount is " + nf.format(getMortgagePmt(amount, years, interest)) + " per month."+"\n"+"\n");
principleBalance = amount - ((getMortgagePmt(amount, years, interest)) - (amount*(interest/12)));
paymentsRemaining = 0;
do
monthlyInterest = principleBalance * (interest/12);//*Current monthly interest
monthlyPrinciple = (getMortgagePmt(amount, years, interest)) - monthlyInterest;//*Principal payment each month minus interest
paymentsRemaining = paymentsRemaining + 1;
principleBalance = principleBalance - monthlyPrinciple;//*New balance of loan
jTextArea1.append(" Principal on payment " + ni.format(paymentsRemaining) + " is " + nf.format(monthlyPrinciple)+"\n");
jTextArea1.append(" Interest on payment " + ni.format(paymentsRemaining) + " is " + nf.format(monthlyInterest)+"\n");
jTextArea1.append(" New loan balance on payment " + ni.format(paymentsRemaining) + " is " + nf.format(principleBalance)+"\n"+"\n"+"\n");
while (principleBalance > 1);
}//Begin event_jRadioBtton1Action Performed
public static double getMortgagePmt(double balance, double term, double rate)
double monthlyRate = rate / 12;
double monthlyPayment = (balance * monthlyRate)/(1-Math.pow(1+monthlyRate, - term * 12));
return monthlyPayment;
private void jRadioButton3ActionPerformed(java.awt.event.ActionEvent evt) {//Begin event_jRadioButton3ActionPerformed
if(jRadioButton2.isSelected())
jRadioButton2.setSelected(false);
if(jRadioButton1.isSelected())
jRadioButton1.setSelected(false);
}//End event_jRadioButton3ActionPerformed
private void jRadioButton2ActionPerformed(java.awt.event.ActionEvent evt) {//Begin event_jRadioButton2ActionPerformed
if(jRadioButton1.isSelected())
jRadioButton1.setSelected(false);
if(jRadioButton3.isSelected())
jRadioButton3.setSelected(false);
}//End event_jRadioButton2ActionPerformed
private void jRadioButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jRadioButton1ActionPerformed
if(jRadioButton2.isSelected())
jRadioButton2.setSelected(false);
if(jRadioButton3.isSelected())
jRadioButton3.setSelected(false);
}//End event_jRadioButton1ActionPerformed
* @param args the command line arguments
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new manchorMortgage3().setVisible(true);
// Begin variables declaration
private javax.swing.JButton calcButton;
private javax.swing.JButton jButton2;
private javax.swing.JLabel mortgageAmount;
private javax.swing.JLabel termAndInterest;
private javax.swing.JLabel enterAmount;
private javax.swing.JRadioButton jRadioButton1;
private javax.swing.JRadioButton jRadioButton2;
private javax.swing.JRadioButton jRadioButton3;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTextArea jTextArea1;
private javax.swing.JTextField jTextField1;
// End variables declaration
}The class is not in your classpath. Likely you blew away your classpath with some silly environment variable.
If you are in the directory where your class file is then execute
java -cp . manchorMortgage3and it will work. (Note the -cp . which tells java to include the current directory in the runtime classpath) -
Hi all,
I have a generated form with a check box in a multi record block, the prompt is placed above: this is ok.
Now, I want to place a button below, so I created an item group in which I put all the displayed fields except the button. The item group has layout format Multi-record. Now the button is displayed once below the item group which is the way I want it, the problem is that the prompt of the check box is placed besides the check box instead of above. The CBXALM preference of the block is set to "Y".
I am using designer 6.5.52.1.0
Any ideas?
StevenWell, found this on Metalink
fact: Oracle Designer 6.0
fact: Oracle Designer 2.1.2
fact: CASEOFG - Forms Generator
symptom: Unable to center checkbox prompt above a multi record block
symptom: Checkbox prompts are not centered even though the value of both
the following preferences is set to 'CENTER':
ITMPJR (Prompt justification above a right-justified item)
ITMPJL (Prompt justification above a left-justified item)
cause: This behavior is described in <BUG:1147085>:CHECKBOX PROMPT NOT
CENTERED IN SPREAD TABLE
The problem occurs when the width of the check box item is set to a
value higher than 3. The position of the prompt is centered
relative to the space reserved for the check box. The space reserved
for the check box is the specified width. Since the real width of the
checkbox is 2, the alignment of the prompt is not centered relative
to the occupied width of the check box.
fix:
Workaround:
Nullify the check box item 'Width' property or set the width of
the check box item to 2 or 3.
When I read this I simply changed the width of the checkbox items to NULL.
It works fine ! You don't need to set any generator prefs to achieve this.
Cheers,
Coen
Maybe you are looking for
-
Adapter Module for Sender File Adapter to access a Flat file
Hi, We have a scenario where the source is a flat file.I want to develop an Adapter Module to make a small change to every line in the Flat file. Now how do we read a flat file in the Adapter Module?Coz the flat file will be converted to XML file by
-
How to change data in an Email
In BW BPS (v3.5), how can you add details to the email(s) that are generated?
-
Problem in uploading Files in KM Folders
Hi Experts, We have installed NetWeaver portal (2004s) successfully, configured KM repository without any problem and created an index to this repository. The problem is when we are uploading files (any files) to this repository folders it is showing
-
Tempo Interpreter - how to make it work?
There was a question about tapping tempo in the Logic Express forum. That led me to the manual and eventually to the possibility of using Tempo Interpreter and manual Sync to 'tap tempo' into Logic. However, after doing everything exactly as written
-
Question about different behaviour from Jinitator and JRE
Hi, In the formsweb.cfg, if I set to to use JRE, it works fine. However, if I change to use Jinitator, it shows the following error in the browser. error:java.lang.VerifyError :(class:Try1/TryHint$1, method: <init> signature :(LTry1/TryHint;)V) Expec