How can specify the max width of uix pages in a browser
If I have 7 tabs in my jheadstart application. This
works fine on a 1200X1000 resolution but on a
1024X720 resolution the users have a scrollbar
how can i specify the max resolution in jheadstart
Tnx Steven "God" Davelaar ;-)
Edwin:
When you are about to edit the tab-bars (any level),
make sure you disable the tabbar generation (service-
level). Each uix-page calls this tabbar with a parameter
for selected-tab (0 to n). If you edit the *tabbar.uit
and for example, merge 2 tabbars into 1 (with a level 2
globalheader for further navigation), don't just delete
the code in the uit-file, but simply set one of them to
rendered=false (instead of
data:rendered=groupname@infoTable:something). This will
not screw up the selected-tab settings on all pages where
the selected tabbar is on the right (higher number) of
your merged one.
And have fun with UIX (I know you will)
Similar Messages
-
How can make the header repeat in every page?
I followed the instructions in pages' help nad it does work for text heardes, however it does not work with images and graphics.
Daoes anyone know how to make graphic and/or images headers repeat in each page?
Thanks in advance.
RubenMake them Master Objects:
http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=182&highlight=letter head&mforum=iworktipsntrick
Peter -
How do i get the max width and height?
Hey
I want to get the max width and height, so my desktoppanes size can be set automatically.
I know i should use getBounds but i cant find a concrete example on goole, on how to use it.
Can someone point me in the right direction, with an example?Ok, assuming you want to get the screen resolution, i.e. 1024 x 768.
You will need these imports:
import java.awt.Dimension;
import java.awt.Toolkit;and this line of code:
Dimension myScreen = Toolkit.getDefaultToolkit().getScreenSize() ;You can now use myScreen.width and myScreen.height to access the height and width of your screen's resolution. (width = 1024, height = 768 in my case)
Hope this helps,
Stern
Edited by: Stern on Apr 13, 2008 6:49 AM -
How We can restrict the max no of Selections in JList
Hi,
How We can restrict the max. no of selections (at random selections) in JList (ex. max No of of selections is 3 in a JList of having 50 items.)
Thanks for your advise in advance.Hello Satyaki De.
Thank you very much for your suggestion but my Private information is totally apart from this question & I already I have changed each and every information from the question.
Thanks
Kamlesh Gujarathi
[email protected] -
How to specify the font in a JList?
My application has four columns of data represented in a JList. The default font style does proportional spacing.
I need to specify a fixed width font to control column alignment in the JList. Unless there's something like tab positions? If I can specify a fixed width font, I can format the display strings appropriately.
I think I need to use a cell renderer to control the actual drawing of each cell in the JList?
Also, where do I find a list of the font types?
Thanks in advance!I don't think you need a cell renderer. You find out how to specify font names by (oddly enough) looking in the API documentation for the Font class; the info for the most usable-looking constructor tells you what you want to know.
-
How to increase the spool width in ECC 6.0
Hai,
I am executing Z report in back ground mode , finally the output can see in SP01 t.code, in this output I am getting only max 10 columns out of 20 columns of the report. How I can increase the output width in SP01 t.code to see all columns data .
OR
Can u suggest any note which will help to me in ECC 6.0
Thank u in advance.
RameshHi Ramesh Babu no reposts plz..
How I can increase the output width in SP01 t.code to see all columns data -
How to change the column width in Smartforms..?
Hi All..
I need to change the column width in a smartform.
The requirement has been mentioned as follows...
Adjust the column width of the following columns:
MATERIAL: 14 char
DESCRIPTION: 20 char
How to perform this..??
Where can i find the column width of various columns of a smartform..???
Please Help me...
Regards
PavanIn the SMART Forms, you would have created a Table object and specified the line width and divided that into no. of columns that you want, you have to mandatorily specify the width of each column so that total of column width will be equal to that of the line width.
When you double click on the Table object, you can TABLE tab on the right side. If you can't see the line / columns details, click on the DETAILS button.
Regards,
Ravi
Note - Please mark all the helpful answers -
How to Reduce the Column Width in JSP?
Hi -
I have developed a JSP with the Jdeveloper3.2 Wizard.
I want to reduce the column size on the screen as some columns appear too big. How do I do this ?
Any help will be greatly appreciated
Thanks
Fahim ChestiIn the SMART Forms, you would have created a Table object and specified the line width and divided that into no. of columns that you want, you have to mandatorily specify the width of each column so that total of column width will be equal to that of the line width.
When you double click on the Table object, you can TABLE tab on the right side. If you can't see the line / columns details, click on the DETAILS button.
Regards,
Ravi
Note - Please mark all the helpful answers -
How can I fix report width?
How can I fix report width? I have 10-15 columns in the report and when I show report it goes outside the screen,how can I show this optimally to the users?
Hi,
You can specify the Width of the Section (where you are displaying the Report) to show the report within that area.
Navigation: Page Options ==> Edit Dashboard ==>Section Properties ==> Format Section ==> Additional Formatting Options ==>Width (say =200)
-Vency -
How to retrieve the max value from a cursor in procedure
Hi,
In a procedure, I defined a cursor:
cursor c_emp is select empno, ename, salary from emp where ename like 'J%';
but in the body part, I need to retrieve the max(salary) from the cursor.
could you please tell me how I can get the max value from the cursor in the procedure.
Thanks,
PaulHere is one sample but you should just get the max directly. Using bulk processing should be a last resort.
DECLARE
CURSOR c1 IS (SELECT * FROM emp where sal is not null);
TYPE typ_tbl IS TABLE OF c1%rowtype;
v typ_tbl;
max_sal number;
BEGIN
OPEN c1;
max_sal := -9999999999999;
LOOP --Loop added
FETCH c1 BULK COLLECT INTO v LIMIT 3; -- process 3 records at a time
-- process the records
DBMS_OUTPUT.PUT_LINE('Processing ' || v.COUNT || ' records.');
FOR i IN v.first..v.last LOOP
if v(i).sal > max_sal then
max_sal := v(i).sal;
end if;
DBMS_OUTPUT.PUT_LINE(v(i).empno);
END LOOP;
EXIT WHEN c1%NOTFOUND;
END LOOP;
DBMS_OUTPUT.PUT_LINE('Max salary was: ' || max_sal);
END;
Processing 3 records.
7369
7499
7521
Processing 3 records.
7566
7654
7698
Processing 3 records.
7782
7788
7839
Processing 3 records.
7844
7876
7900
Processing 2 records.
7902
7934
Max salary was: 5000 -
Numbers to CSV export script: how to specify the encoding?
Hi,
I'm using the following script to export a Numbers document to CSV:
# Command-line tool to convert an iWork '09 Numbers
# document to CSV.
# Parameters:
# - input: Numbers input file
# - output: CSV output file
# Attik System, Philippe Lang
# Creation date: 31 mai 2012
# Modification date:
on run argv
# We retreive the path of the script
set myPath to (path to me)
tell application "Finder" to set myFolder to folder of myPath
# We get the command line parameters
set input_file to item 1 of argv
set output_file to item 2 of argv
# We retreive the extension of the file
set theInfo to (info for (input_file))
set extname to name extension of (theInfo)
# Paths
set input_file_path to (myFolder as text) & input_file
set output_file_path to (myFolder as text) & output_file
if extname is equal to "numbers" then
tell application "Numbers"
open input_file_path
save document 1 as "LSDocumentTypeCSV" in output_file_path
close every window saving no
end tell
end if
end run
It works fine, except that I don't know how to specify the encoding of the text in the CSV file (Latin1, MacRoman, Unicode). This option is available in the export dialog of Numbers. Any hint on how to do that is welcome. (GUI Scripting?)
Where can I find documentation on the iWork "vocabulary" available? Is there a definitive documentation somewhere? I tried to record an manual export in the script editor, without success. Script is more or less empty.
Thanks!
Philippe LangA further note from Yvan. He's made some revisions to the script sent earlier.
--{code}
--[SCRIPT export to CSV with selected encoding]
I added some features.
(1) Defining the encoding thru the preferences file apply only if
the application is not in use because the file is read only once in a session.
A test urge you to quit Numbers if it is running.
(2) info for is deprecated so it may be removed by Apple tomorrow.
I no longer use it.
(3) just for the fun, I added a piece of code allowing you to select the encoding on the fly.
Thanks to the property chooseEncodingInScript, at this time the script use Unicode (UTF-8)
(4) I'm wondering which tool is used to launch this script,
I don't know the way to pass arguments when I run one.
Yvan KOENIG (VALLAURIS, France)
2012/06/13
property chooseEncodingInScript : false
true = the script will ask you to select the encoding
false = the script use the embedded encoding
on run argv
set input_file to (item 1 of argv) as text
set output_file to (item 2 of argv) as text
set myPath to (path to me) as text
tell application "System Events"
set theProcesses to name of every application process
set myFolder to path of container of (disk item myPath)
set input_file_path to myFolder & input_file
set output_file_path to myFolder & output_file
set extname to name extension of (disk item input_file)
end tell
if extname is "numbers" then
if "Numbers" is in theProcesses then error "Please, quit “Numbers” before running this script !"
if chooseEncodingInScript then
set theList to {"Mac OS Roman", "Unicode (UTF-8)", "Windows Latin 1"}
set maybe to choose from list theList with prompt "Choose the default encoding applying to export as CSV"
if maybe is false then
error number -128
else if item 1 of maybe is item 1 of theList then
30 -- Mac OS Roman
else if item 1 of maybe is item 2 of theList then
4 -- Unicode (UTF-8)
else
12 -- Windows Latin 1
end if
else
4 -- Unicode (UTF-8)
end if
do shell script "defaults write com.apple.iWork.Numbers CSVExportEncoding -int " & result
tell application "Numbers"
open input_file_path
save document 1 as "LSDocumentTypeCSV" in output_file_path
close every window saving no
end tell
end if
end run
--{code}
Regards,
Barry -
How to specify the type of table in the form parameters
How to specify the type of table in the form parameters. for example, how to specify the type of table "vacancies".
FORM getcertainday
USING
vacancies TYPE STANDARD TABLE
efirstday LIKE hrp9200-zfirst_day
lfristday LIKE hrp9200-zfirst_day.Hi
Are you asking about subroutine program to declare a variable for perform statement etc
if it so check this coding
DATA: NUM1 TYPE I,
NUM2 TYPE I,
SUM TYPE I.
NUM1 = 2. NUM2 = 4.
PERFORM ADDIT USING NUM1 NUM2 CHANGING SUM.
NUM1 = 7. NUM2 = 11.
PERFORM ADDIT USING NUM1 NUM2 CHANGING SUM.
FORM ADDIT
USING ADD_NUM1
ADD_NUM2
CHANGING ADD_SUM.
ADD_SUM = ADD_NUM1 + ADD_NUM2.
PERFORM OUT USING ADD_NUM1 ADD_NUM2 ADD_SUM.
ENDFORM.
FORM OUT
USING OUT_NUM1
OUT_NUM2
OUT_SUM.
WRITE: / 'Sum of', OUT_NUM1, 'and', OUT_NUM2, 'is', OUT_SUM.
ENDFORM.
If your issue is some other can u explain me clearly
Regards
Pavan -
How to retreive the max data length of a column
Hello All,
I know how to do a select to get the max data length of a column it is this :
SELECT MAX(LENGTH(COLUMN_NAME) FROM table.
However, I need this information combined with my SQL that returns the Data_type and length from the USER_TAB_COLUMNS. So taking the emp example if the ename column was 50 as VARCHAR2 but the max data entered in it was just 20 I want the information like this:
SELECT COLUMN_NAME, DATA_LENGTH, and the Max length of 20
FROM USER_TAB_COLUMNS WHERE TABLE_NAME='EMP';
I don't know how to get the Max Length of the Column in this table. Can anyone suggest me a hint? An Inline view maybe?
ThanksStill not sure about your requirements, but how about this
SQL> CREATE OR REPLACE FUNCTION get_max_length(p_table in varchar2, p_col in varchar2) return pls_integer
2 is
3 v_cnt pls_integer;
4 begin
5 execute immediate 'select max(length('||p_col||')) from '||p_table into v_cnt;
6 return v_cnt;
7 end get_max_length;
8 /
Function created.
SQL>
SQL> SELECT COLUMN_NAME,
2 DATA_LENGTH,
3 get_max_length(TABLE_NAME, COLUMN_NAME) max_length
4 FROM USER_TAB_COLUMNS
5 WHERE TABLE_NAME='EMP'
6 AND DATA_TYPE like '%CHAR%'
7 ;
COLUMN_NAME DATA_LENGTH MAX_LENGTH
ENAME 10 6
JOB 9 9
SQL> -
How to get the max value in the query??
Plant calday(mm.dd.yyyy) Soldout.Qty
0001 01.01.2005 10
0001 01.02.2005 20
0001 01.03.2005 05
0001 01.04.2005 16
0001 01.05.2005 10
0001 01.06.2005 14
From the above values , how can i findout Max(Soldout.Qty)(i.e 20) for the above week...Suppose present aggregation = summation...How can i findout the value in the Query??don't want to do changes to design...Hi Bhanu,
I tried the calculation results as...Maximum,..
But that will pick the maximum value among the avialable values..like
plant1 max 10
plant2 max 20
plant3 max 30
then it will show as..
plant1 max 30
plant2 max 30
...like this...but my case is
plant1 calday1 10
plant1 calday2 05
plan1 calday7 08
plant2 calday1 10
plant2 calday2 05
plan2 calday7 20
so for each set it need to bring the maximum value... -
How can I get max, min & average (hours with minutes) of fast 30 days data
Table name:
run_log
TYPE VARCHAR2(10),
SUBTYPE VARCHAR2(10),
PROGRAM VARCHAR2(100),
STATUS VARCHAR2(20),
START_TIME DATE,
END_TIME DATE
How can I get max, min & average (hours with minutes) of fast 30 days data ?Hi,
you have to use analytical functions:
SELECT start_day,
round(AVG(daily_avg)
over(ORDER BY start_day ASC RANGE BETWEEN INTERVAL '30' DAY preceding AND INTERVAL '0' DAY following)) AS moving_avg,
round(MAX(daily_max)
over(ORDER BY start_day ASC RANGE BETWEEN INTERVAL '30' DAY preceding AND INTERVAL '0' DAY following)) AS moving_max,
round(MIN(daily_min)
over(ORDER BY start_day ASC RANGE BETWEEN INTERVAL '30' DAY preceding AND INTERVAL '0' DAY following)) AS moving_min
FROM (SELECT trunc(t.start_time) start_day,
AVG((t.end_time - t.start_time) * 24 * 60 * 60) AS daily_avg,
MAX((t.end_time - t.start_time) * 24 * 60 * 60) AS daily_max,
MIN((t.end_time - t.start_time) * 24 * 60 * 60) AS daily_min
FROM run_log
GROUP BY trunc(t.start_time)) t
ORDER BY 1 DESCAnalytical functions are described in the Oracle doc "Data Warehousing Guide".
Regards,
Carsten.
Maybe you are looking for
-
How to make Email XML Bursting program end in Warning
Hi All, We are calling athe Bursting program in After parameter form trigger req_id := fnd_request.submit_request ('XDO', 'XDOBURSTREP', NULL, NULL, FALSE, 'N', TO_CHAR (:p_conc_request_id), 'Yes' This bursting program will work on customer(Sales Ord
-
Where can I buy Tiger? Upgrading from 10.2.8 to 10.4
I want to upgrade my eMac from 10.2.8 to 10.4 but I don't know where to buy the Tiger software. The Apple store in Soho (NY) does not carry it anymore. I want to use my new nano and let me know if you can help. Where can I purchase Tiger at a low cos
-
Remove from mailing list?
How do we remove ourselves from Verizon's mailing list? We get our bills electronically and do not wish to receive junk mail from them either through the post or email. I looked everywhere on their website but could not find a way to opt-out. Thank y
-
Error in connecting sqlplus in application server
hi, i am working in connecting two servers.one is application server and another one is database server.........i have set the environmental variable for sid as two_task=SID_name...so while connecting sqlplus from application server .... its showing
-
Photoshop CS5 .PNG dialog broken?
I've noticed that consistently when I save a .png in Photoshop CS5 I get a dialog box that looks like the image below. This is happening on both my Mac Pro and Macbook Pro two separate installs. While this dialog is easy to work around I noticed toda