DrawString method does not understand special characters
Hi!
I would like to send a String to a printer. I have tried the drawString method but my problem is, that it does not understand special charaters. The newline character is not a problem as I can just use the split method and then print the resulting array of strings.
The big problem is the tab character (\t). Is there any way to make drawString understand this character? Or is there a more simple way to print the text?
Kind Regards,
Mikkel
Thanks for your replies. I have to admit that the problem was a completely different one, a really stupid one!
The output from the print method looked horrible to say the least (it is basically an array of numbers separated by equals amounts of space). The problem was that the font was not set to be monospaced (!) so you can imagine how the output looked ;)...
Anyway, thanks for your fast replies. I will look into that class you told about.
Similar Messages
-
Grid does not display special characters (as square boxes)
SQLD 1.5.1 (54.40):
We found out, special characters like newline will not shown in data grid in any way. But we need to know, if there are such characters. If there any way to get these characters visible?
Pls try following case
create table mytab (mycol varchar2(20));
insert into mytab(mycol) values('Test'||char(13));
commit;
select * from mytab;
You will not see the appended newline character within the grid, while toad is doing .You're right that whitespace doesn't show as squares anymore (I think they did in the past), but everything else seems OK.
Why don't you try something like this and prove for yourself:
select '
!"#$%&''()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ' from dualRegards,
K. -
Sqlldr does not understand unicode characters in file names
Hello,
I am trying to call sqlldr from a .net application on Windows to bulk load some data. The parameter, control, data, log files used by sqlldr, are all located in the C:\Configuración directory (note the unicode character in the directory name).
Here is my parfile:
control='C:\Configuración\SystemResource.ctl'
direct=true
errors=0
log='C:\Configuración\SystemResource.log'
userid=scott/tiger@orasrv
When I make a call as
sqlldr -parfile='C:\Configuración\SystemResource.par'I am getting
SQL*Loader-100: Syntax error on command-line
If I run it as
sqlldr -parfile='C:\Config~1\SystemResource.par'I am getting
SQL*Loader-522: lfiopn failed for file (C:\Configuraci├│n\SystemResource.log)
If I remove the log= parameter from the parameter file, I am getting
SQL*Loader-500: Unable to open file (C:\Configuraci├│n\SystemResource.ctl)
SQL*Loader-553: file not found
SQL*Loader-509: System error: The system cannot find the file specified.
Can anyone suggest a way to handle unicode/extended ASCII characters in file names?
Thanks,
Alex.Werner, thank you for replying to my post.
In my real application, I actually store the files in %TEMP%, which on Spanish and Portuguese Windows has "special" characters (e.g. '...\Administrador\Configuración local\Temp\'). In addition, you can have a user with the "special" characters in the name which will become part of %TEMP%.
Another problem is that 8.3 name creation may be disabled on NTFS partitions.
Problem #3 is that the short file names that have "special" characters are not converted correctly by GetShortPathName windows API, e.g. "Configuración" will be converted to "Config~1", but for "C:\ración.txt" the api will return the same "C:\ración.txt", even though dir /x displays "RACIN~1.TXT". Since I am creating the parameter and control files programmatically from a .net application, I have to PInvoke GetShortPathName.
Any other ideas?
Thanks,
Alex. -
PDF created in MS Word does not print special characters correctly
I am having a problem with converting an MS Word document to a PDF. This document contains the Ohm symbol and the greater than or equal to symbol. I am using Word 2007 and Acrobat X Pro.
I am simply using the insert symbol feature in Word to insert the symbols. They appear fine in Word. When I print to PDF the Ohm symbol turns into an '&' and the greater than or equal to symbol turns into an 'e'.
A fellow I work with who has the exact same computer and program setup as me does not have this issue.
What can I do to correct this?
Thanks!
ChrisI tried all of the print/press options and they all do the same thing.
I have always used the pdf maker button from the MS Word ribbon.
I just tried using the print dialog and selected Adobe PDF with the 'high quality print' option that I need to use and this time it worked! But it is not really fixed as I make a lot of PDFs every day and need the one-click functionality.
In the PDFs that work and PDFs where the character fails I tried editing the text and it says that the font is substituted. In MS Word i am using Arial, Acrobat is using some "ArialMT" font that I never heard of.
The embeded fonts are also listed as ArialMT. -
[SOLVED] urxvt does not display special characters
Okay so I've been scouring the internet, Googling my face off. I am an intermediate linux user, first-time Arch user (just came over from Mint and love it). Perhaps I'm missing something obvious, but I am unable to get urxvt to display special characters. E.g.:
☽
☾
♊
⚕
⚛
⚚
displays in the terminal as:
Relevant informations...
.Xresources:
!color0 (black) = Black
!color1 (red) = Red3
!color2 (green) = Green3
!color3 (yellow) = Yellow3
!color4 (blue) = Blue3
!color5 (magenta) = Magenta3
!color6 (cyan) = Cyan3
!color7 (white) = AntiqueWhite
!color8 (bright black) = Grey25
!color9 (bright red) = Red
!color10 (bright green) = Green
!color11 (bright yellow) = Yellow
!color12 (bright blue) = Blue
!color13 (bright magenta) = Magenta
!color14 (bright cyan) = Cyan
!color15 (bright white) = White
!foreground = Black
!background = White
!URxvt*termName: rxvt-256color
URxvt*termName: rxvt-unicode
URxvt*transparent: true
URxvt*depth: 32
URxvt*shading: 70
URxvt*saveLines: 12000
URxvt*foreground: #BABABA
URxvt.font: xft:terminus:pixelsize=11:antialias=false
URxvt*scrollBar: false
URxvt*borderLess: false
URxvt*inheritPixmap: true
URxvt.urlLauncher: google-chrome
URxvt.imLocale: en_US.utf8
URxvt*color0: #000000
URxvt*color4: #005577
URxvt*color6: #89b6e2
URxvt*color7: #cccccc
URxvt*color8: #555753
URxvt*color12: #0075A3
URxvt*color14: #46a4ff
URxvt*color15: #ffffff
Output of locale and locale -a:
[dusty] [~]
$ locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=
[dusty] [~]
$ locale -a
C
POSIX
en_US.utf8
I don't believe it's a font issue, as those characters display fine in a text editor using Terminus.
Last edited by rollhax (2012-09-23 01:04:16)Nisstyre56 wrote:Did you install "rxvt-unicode" or just "rxvt"? I'm sorry, but I have to ask
Yes
stlarch wrote:Check the wiki page for locale.
Read over it ten times. The only thing that looks remotely helpful is the section on "My terminal doesn't support UTF-8" ... it then tells me to use rxvt-unicode, which I am using. Feel free to point out something that may be obvious to you. I'm pretty oblivious at times. -
My flash reads the xml, but does not understand the tag php....
my flash reads the xml, but does not understand the tag php. I want to read my xml dynamically, please help me.
code:
stop();
function randomOrder(targetArray)
var _loc2 = targetArray.length;
var _loc3 = [];
for (var _loc1 = 0; _loc1 < _loc2; ++_loc1)
_loc3[_loc1] = _loc1;
} // end of for
var _loc4 = [];
for (var _loc1 = 0; _loc1 < _loc2; ++_loc1)
_loc4[_loc1] = _loc3.splice(Math.floor(Math.random() * _loc3.length), 1);
} // end of for
var _loc5 = [];
for (var _loc1 = 0; _loc1 < _loc2; ++_loc1)
_loc5[_loc1] = targetArray[_loc4[_loc1]];
} // end of for
return (_loc5);
} // End of the function
var randomNUM = "?n=" + random(9999);
_root.lan = 1;
var homehead;
var homelink;
var homelinkwindow;
var homebg;
var homeflash;
var lamp = Array();
var promo = Array();
var promobottom = Array();
var headimg = Array();
f_xmlwork2 = new XML();
f_xmlwork2.ignoreWhite=true;
f_xmlwork2.load("banner.php");
f_xmlwork2.onLoad = function(sucess){
if (sucess){
trace ("XML loaded!");
f_xmlItemx2 = parseInt(this.firstChild.childNodes[0].firstChild);
f_totalx2 = f_xmlItemx2.length;
trace(f_totalx2);
var _loc12 =0;
// declarar a imagem de fundo
homebg = this.firstChild.childNodes[0].firstChild.nodeValue;
f_headimg = this.childNodes[1];
for (var _loc2 = 0; _loc2 < f_headimg.childNodes.length; ++_loc2) {
juju = f_headimg.childNodes[_loc2];
jj = headimg.push({headimg: f_headimg.childNodes[_loc2].attributes.headimg, bgimg: f_headimg.childNodes[_loc2].attributes.bgimg, msgimg: f_headimg.childNodes[_loc2].attributes.msgimg, leftthrow: f_headimg.childNodes[_loc2].attributes.leftthrow, rightthrow: f_headimg.childNodes[_loc2].attributes.rightthrow});
//end for
allpromo = this.childNodes[2];
jjpromo = allpromo.childNodes;
for (var _loc2 = 0; _loc2 < allpromo.childNodes.length; ++_loc2)
trace (jjpromo[_loc2].attributes.title);
jj = promo.push({img: jjpromo[_loc2].attributes.img, title: jjpromo[_loc2].attributes.title, url: jjpromo[_loc2].attributes.url, window: jjpromo[_loc2].attributes.window, info: jjpromo[_loc2].childNodes[0].nodeValue});
// end of for
allpromobottom = this.childNodes[3];
jjpromobottom = allpromobottom.childNodes;
for (var _loc2 = 0; _loc2 < allpromobottom.childNodes.length; ++_loc2)
trace (jjpromo[_loc2].attributes.title);
jj = promobottom.push({url: jjpromobottom[_loc2].attributes.url, window: jjpromobottom[_loc2].attributes.window, info: jjpromobottom[_loc2].childNodes[0].nodeValue});
} // end of for
if (f_xmlwork2.loaded == true)
headimg = randomOrder(headimg);
for (var _loc2 = 0; _loc2 < f_headimg.childNodes.length; ++_loc2)
trace (headimg[_loc2].headimg);
} // end of for
play ();
} // end if
trace(f_xmlwork2);
stop();
PHP code:
<?
$link= mysql_connect("localhost","rnpac_eco","123");
mysql_select_db("rnpac");
$dir="banner/";
$dir1="produtos/img_pro/";
$dir2="universo/actividades/";
$sql = 'SELECT tbl_produto.id_produto, tbl_produto.produto, tbl_produto.legenda, tbl_produto.detalhe, tbl_produto.preco, tbl_produto.produto_cat_id, tbl_detalhe_produto.proprietario, tbl_detalhe_produto.local, tbl_detalhe_produto.qualidade, tbl_detalhe_produto.alcool, tbl_detalhe_produto.acidez, tbl_detalhe_produto.ph, tbl_detalhe_produto.informacao, tbl_detalhe_produto.gestor, tbl_detalhe_produto.condicionamento, tbl_detalhe_produto.detalhe_t, tbl_detalhe_produto.interesse, tbl_detalhe_produto.transporte, tbl_detalhe_produto.produto_id, tbl_imagem_produto.id_imagem, tbl_imagem_produto.imagem1, tbl_imagem_produto.imagem2, tbl_imagem_produto.imagem3, tbl_imagem_produto.imagem4, tbl_imagem_produto.imagem5, tbl_imagem_produto.imagem6
FROM tbl_cat_produto, tbl_produto, tbl_detalhe_produto, tbl_imagem_produto WHERE tbl_produto.id_produto = tbl_detalhe_produto.produto_id AND tbl_produto.id_produto = tbl_imagem_produto.produto_id ORDER BY RAND()';
$resultado = mysql_query($sql)
or die ("Não foi possível realizar a consulta.");
$row1=mysql_fetch_array($resultado);
$sql = "SELECT tbl_sub_universo.id_subuniverso, tbl_sub_universo.subuniverso, tbl_sub_universo.universo_id, tbl_actividade.id_actividade, tbl_actividade.entidade, tbl_actividade.legenda, tbl_actividade.subuniverso_id, tbl_actividade.det, tbl_actividade.preco, tbl_actividade.data, tbl_detalhe_actividade.actividade_id, tbl_detalhe_actividade.periodo, tbl_detalhe_actividade.descricao, tbl_detalhe_actividade.programa, tbl_detalhe_actividade.informacoes, tbl_detalhe_actividade.actividades, tbl_detalhe_actividade.localizacao, tbl_detalhe_actividade.locais, tbl_detalhe_actividade.servicos, tbl_imagem_produto.id_imagem, tbl_imagem_produto.imagem1,tbl_imagem_produto.imagem2, tbl_imagem_produto.imagem3, tbl_imagem_produto.imagem4, tbl_imagem_produto.imagem5, tbl_imagem_produto.imagem6, tbl_imagem_produto.actividade_id FROM tbl_sub_universo, tbl_actividade, tbl_detalhe_actividade, tbl_imagem_produto WHERE tbl_actividade.id_actividade =tbl_imagem_produto.actividade_id AND tbl_actividade.id_actividade =tbl_detalhe_actividade.actividade_id ORDER BY RAND()";
$resultado = mysql_query($sql)
or die ("Não foi possível realizar a consulta.");
$row2=mysql_fetch_array($resultado);
$query='SELECT * FROM tbl_banner ORDER BY RAND()';
$resultado = mysql_query($query);
echo' <?xml version=\"1.0\"?>
<home_left_headline>
<bgimg>'.$dir2.''.$row1['imagem1'].'</bgimg>
</home_left_headline>
<home_flash>';
while($row = mysql_fetch_array($resultado)) {
echo'<swf headimg="" bgimg="" msgimg="" leftthrow="" rightthrow=""></swf>';
echo'</home_flash>';
echo'<promotop>
<promo img="" title="" url="" ><![CDATA[]]></promo>
<promo img="" title="" url="" ><![CDATA[]]></promo>
</promotop>';
mysql_close($link);i have two files banner.php, for testing my flash banner.
This one works:
-------------------------------| banner.php |---------------------------------------------
<?xml version="1.0"?>
<content>
<settings>
<menu X='160'/>
</settings>
<nav>
<main Name='HOME' Link='home.swf'/>
<main Name='EMPRESA' Link='home.swf' >
<sub Name='HISTORIA' Link='content.swf' toLoad='content/contentrosa.xml'/>
<sub Name='OBJECTIVO' Link='content.swf' toLoad='content/contentrosa2.xml'/>
</main></nav>
</content>
-------------------------------|end banner.php |---------------------------------------------
this other does not work:
-------------------------------| banner.php |---------------------------------------------
<?php
echo"<?xml version="1.0"?>
<content>
<settings>
<menu X='160'/>
</settings>
<nav>
<main Name='HOME' Link='home.swf'/>
<main Name='EMPRESA' Link='home.swf' >
<sub Name='HISTORIA' Link='content.swf' toLoad='content/contentrosa.xml'/>
<sub Name='OBJECTIVO' Link='content.swf' toLoad='content/contentrosa2.xml'/>
</main></nav>
</content>";
?>
-------------------------------|end banner.php |---------------------------------------------
Why? What is wrong? why does my flash does not understand the tag php
Message was edited by: armandix -
Hashmap containsKey() method does not appear to work
Hashmap containsKey() method does not appear to work
I have an amazingly simple custom class called CalculationKey, with my own amazingly simple custom equals() method. For some reason when I call my containsKey() method on my HashMap it does not use my defined equals method in my defined key class. Do hashmaps have their own tricky way for establishing whether two keys are equal or not?
THIS IS MY AMAZINGLY SIMPLE CUSTOM KEY CLASS
private class CalculationKey
private LongIdentifier repID;
private LongIdentifier calcID;
public CalculationKey(LongIdentifier repID, LongIdentifier calcID)
this.repID = repID;
this.calcID = calcID;
public boolean equals(Object o)
CalculationKey key = (CalculationKey)o;
if (key.getCalcID().equals(calcID) &&
key.getRepID().equals(repID))
return true;
else
return false;
public LongIdentifier getCalcID()
return calcID;
public LongIdentifier getRepID()
return repID;
THIS IS MY AMAZINGLY SIMPLE CALLS TO MY HASHMAP WHICH ADDS, CHECKS, AND GETS FROM THE HASHMAP.
private Hashmap calculationResults = new Hashmap();
public boolean containsCalculationResult(LongIdentifier repID, LongIdentifier calcID)
if (calculationResults.containsKey(new CalculationKey(repID, calcID)))
return true;
else
return false;
public Double getCalculationResult(LongIdentifier repID, LongIdentifier calcID)
return (Double)calculationResults.get(new CalculationKey(repID, calcID));
public void addCalculationResult(LongIdentifier repID, LongIdentifier calcID, Double value)
calculationResults.put(new CalculationKey(repID, calcID), value);
}....cheersYou can make a trivial implementation to return a
constant (not recommended)What do you mean by that? Hmm.. I guess you mean that
you shouldn't use the same constant for all objects?
But don't see the int value of an (immutable) Integer
as constant?
/Kaj
You can write hashCode to just always return, say, 42. It will be correct because all objects that are equal will have equal hashcodes. Objects that are not equal will also have equal hashcodes, but that's legal--it just causes a performance hit.
The value is that it's really really simple to implement: public int hashCode() {
return 42;
} So you can use it temporarily while you're concentrating on learning other stuff, or during debugging as a way to confirm that the hashCode is not the problem. (Returning a constant from hashcode(), rather than computing a value, is always legal and correct, so if something's behaving wrong, and you replace your hashCode method with the one above, and it still breaks, you know hashCode isn't the problem.)
The downside is that you're defeating the purpose of hashing, and any non-trival sized map or set is going to have lousy performance.
For a decent hashCode recipe, look here:
http://developer.java.sun.com/developer/Books/effectivejava/Chapter3.pdf -
ITunes 10 does not recognize Greek characters
Hello,
When I import Greek songs with greek characters iTunes does not recognize the characters. The song is displayed with greeklish as shown in the printscreen below (don't know how), but the album not. Sometimes the title is also displayed that way.
Any suggestions?
PrnScrn: http://s189.photobucket.com/albums/z270/eleni07__/?action=view¤t=Screensho t2010-09-23at61039PM.jpgDownload and install *Tag Converter* application from isquare's webpage-> http://isquare.gr Click the Downloads image link and you will be asked to fill in a mailform and register first (it's free). Then you will be redirected to the downloads page. I also installed the "Proofing Tools" from the same list and GRupdate 6.3. *Tag Converter corrects all Greek characters in iTunes. Very useful!*
-
IOS 6 showFeedbackCaptionAndDoAction() javascript method does not draw consistently
Hi!
The issue describe below seem to only appear in iOS 6
CPlayerLib.js judge() -> showFeedbackCaptionAndDoAction() javascript method does not draw the Feedback Caption consistently
sometime the feedback does not appear, I see it in the dom tree but the canvas is not drawn, the Div capturing the click is always present. Strangely when I scroll the page a bit it shows up.
ThanksOk I found a way to fix it.
In CPlayerLib.js cp.show method in the for loop within the if (htmlItem) I added a setTimeout(function() { htmlItem.style.webkitTransform = "scale3d(1,1,1)"},100) and it now force the canvas to repaint.
Related issue:
http://stackoverflow.com/questions/11002195/chrome-does-not-redraw-div-after-it-is-hidden -
Cannot optimize volume - Receive error "The specified extrinsic Method does not exist"
When I try to optimize a volume on a server running Windows Server 2012 (R1). I receive the below error. This volume is an ISCSI target to our Compellent SAN. Other Servers don't have an issue with volumes created on the same SAN and I have already ran ChkDsk
and it returned no errors. Oddly enough I can run a "Defrag T: /D" but a "Defrag T: /O" returns
"Incorrect Function. (0x80070001)" (Incidentally an "Optimze-Volume T -Defrag" also works)
Any Ideas? I'm stumped!
Command:
Optimize-Volume -DriveLetter T -Verbose
Error:
VERBOSE: Invoking slab consolidation on iSCSI_SAN01_ExchLogFiles (T:)...
VERBOSE: Slab Analysis: 100% complete.
optimize-volume : The specified extrinsic Method does not exist.
At line:1 char:1
+ optimize-volume -DriveLetter T -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : MetadataError: (MSFT_Volume (Ob...2-a802-ba7e...):ROOT/Microsoft/...age/MSFT_Volume) [Optimize-Volume], CimException
+ FullyQualifiedErrorId : MI RESULT 17,Optimize-VolumeI did stumble upon that article as well and working through it didn't help. This is an Exchange 2013 server but I wouldn't think that that would exclusively cause a problem like this (unless there is something under the hood that Exchange 2013 is secretly
doing). The C drive is for the OS, the M drive is for the Exchange DB, and the
T drive is for the Logs. The C drive is "directly" connected and the M and T drives are on the same SAN (different LUNs) via iSCSI. This is running as a virtual guest on VMWare ESXi v5.5. I have other servers setup the
same way (not Exchange servers though) with drives on the iSCSI SAN and there are no issues when I run those Optimize-Volume commands. Here is some more output from the console:
PS C:\Users\administrator> Optimize-Volume -DriveLetter T -Analyze -Verbose
VERBOSE: Invoking slab consolidation on iSCSI_SAN01_ExchLogFiles (T:)...
VERBOSE: Slab Analysis: 0% complete...
Optimize-Volume : The specified extrinsic Method does not exist.
At line:1 char:1
+ Optimize-Volume -DriveLetter T -Analyze -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : MetadataError: (MSFT_Volume (Ob...2-a802-ba7e...):ROOT/Microsoft/...age/MSFT_Volume) [Optimize-Volume], CimException
+ FullyQualifiedErrorId : MI RESULT 17,Optimize-Volume
PS C:\Users\administrator> Optimize-Volume -DriveLetter M -Analyze -Verbose
VERBOSE: Invoking slab consolidation on iSCSI_SAN01_ExchMailStoreDB (M:)...
VERBOSE: Slab Analysis: 0% complete...
Optimize-Volume : The specified extrinsic Method does not exist.
At line:1 char:1
+ Optimize-Volume -DriveLetter M -Analyze -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : MetadataError: (MSFT_Volume (Ob...2-93f1-0050...):ROOT/Microsoft/...age/MSFT_Volume) [Optimize-Volume], CimException
+ FullyQualifiedErrorId : MI RESULT 17,Optimize-Volume
PS C:\Users\administrator> Optimize-Volume -DriveLetter C -Analyze -Verbose
VERBOSE: Invoking analysis on (C:)...
VERBOSE: Analysis: 0% complete...
VERBOSE: Analysis: 22% complete...
# ... Repeated ...
VERBOSE: Analysis: 94% complete...
VERBOSE: Analysis: 99% complete...
VERBOSE: Analysis: 100% complete...
VERBOSE: Analysis: 100% complete.
VERBOSE:
Post Defragmentation Report:
VERBOSE:
Volume Information:
VERBOSE: Volume size = 84.48 GB
VERBOSE: Cluster size = 4 KB
VERBOSE: Used space = 63.18 GB
VERBOSE: Free space = 21.29 GB
VERBOSE:
Fragmentation:
VERBOSE: Total fragmented space = 4%
VERBOSE: Average fragments per file = 1.23
VERBOSE: Movable files and folders = 153593
VERBOSE: Unmovable files and folders = 6
VERBOSE:
Files:
VERBOSE: Fragmented files = 2745
VERBOSE: Total file fragments = 35394
VERBOSE:
Folders:
VERBOSE: Total folders = 4819
VERBOSE: Fragmented folders = 2
VERBOSE: Total folder fragments = 2
VERBOSE:
Free space:
VERBOSE: Free space count = 74005
VERBOSE: Average free space size = 296.00 KB
VERBOSE: Largest free space size = 409.42 MB
VERBOSE:
Master File Table (MFT):
VERBOSE: MFT size = 308.00 MB
VERBOSE: MFT record count = 315391
VERBOSE: MFT usage = 100%
VERBOSE: Total MFT fragments = 4
VERBOSE: Note: File fragments larger than 64MB are not included in the fragmentation statistics.
VERBOSE:
You do not need to defragment this volume. -
Pay Method does not exist.
Hi,
I 'm trying to load bank details like Bank name, Account No and etc., through HR_PERSONAL_PAY_METHOD_API. Before that i loaded data thru Assignment
API.
But i'm getting error 'Pay method does not exits'
Any one help this issue.
Thanks in advance.
DKPlease provide us exact error, so that we can take a look into and provide you the solution.
Below is sample api parameters we need to provide...
hr_personal_pay_method_api.create_us_personal_pay_method
(p_validate => false
,p_effective_date => effective_date
,p_assignment_id => assignment_id
,p_org_payment_method_id => 123
,p_account_type => acct_type
,p_account_name => 'XYZ'
,p_account_number => acct_num
,p_transit_code => routing_num
,p_bank_name => 'PQR'
,p_bank_branch => 'ABC'
,p_percentage => ln_percentage
,p_amount => ln_amount
,p_priority => priority
,p_personal_payment_method_id => l_personal_payment_method_id
,p_object_version_number => l_object_version_number
,p_external_account_id => l_external_account_id
,p_effective_start_date => l_effective_start_date
,p_effective_end_date => l_effective_end_date
,p_comment_id => l_comment_id
Please take a look and try once again. Let us know exact error. -
SetActionListener method does not print anything in the html file...
Hi
I want to add the actionlistener from my Javacode, but the setActionListener method does not have any effect on the Html. I can not figure out why. Can someone tell me what I'm doing wrong?
tnx
Andras
public class Links {
private HtmlPanelGrid topLinks;
public HtmlPanelGrid getTopLinks() {
TopLinks links = new TopLinks();
Class args[] = {ActionEvent.class};
if (topLinks == null) {
topLinks = new HtmlPanelGrid();
}else {
topLinks.getChildren().clear();
MethodBinding mb =
FacesContext.getCurrentInstance().
getApplication().
createMethodBinding("#{event.actionevent}", args);
HtmlCommandLink command = new HtmlCommandLink();
command.setValue("Link 1");
command.setActionListener(mb);
topLinks.getChildren().add(command);
return topLinks;
public void setTopLinks(HtmlPanelGrid topLinks) {
this.topLinks = topLinks;
generates this html:
<body>
<form id="_id0" method="post" action="/Test/event.faces" enctype="application/x-www-form-urlencoded">
<table>
<tbody>
<tr>
<td><a href="# onclick="document.forms['_id0'['_id0:_idcl'].value='_id0:_id2'; document.forms['_id0'].submit(); return false;">Link 1</a></td>
</tr>
</tbody>
</table>
<input type="hidden" name="_id0" value="_id0" />
<input type="hidden" name="_id0:_idcl" /></form>
</body>
As you can see there is no sign of the actionListener... :(You may completely misunderstand something.
Don't worry even if you can't see the actionListener in the html.
There is one in the server side. -
Prototype compiler does not understand wildcards ???
The example on page does not compile:
public class Wildcards {
private static void printCollection(Collection<?> c) {
for (Object o : c) {
System.out.println(o);
} The error message looks like the compiler simply does not understand wildcards:
Wildcards.java:6: illegal start of type
private static void printCollection(Collection<?> c) {
^
Wildcards.java:13: > expected
^
2 errorsHas anybody been successful in compiling any use of wildcards?I can compile your example with 2.2-ea compiler. No errors.
-
'Do not encode special characters' preference not working
I have the preferences in Dreamweaver set to "Do not encode
special characters in url'. However, every time I paste a url in
the properties box, when I go to the source code, Dreamweaver has
encoded the special characters, especially the "&". Is there
another setting I have to change somewhere, or is there an update
that fixes this?
Thanks."Jade73" <[email protected]> wrote in
message
news:fcbroh$7ih$[email protected]..
>I have the preferences in Dreamweaver set to "Do not
encode special
>characters
> in url'. However, every time I paste a url in the
properties box, when I
> go to
> the source code, Dreamweaver has encoded the special
characters,
> especially the
> "&". Is there another setting I have to change
somewhere, or is there an
> update that fixes this?
You can find updaters for dreamweaver here
http://www.adobe.com/support/dreamweaver/downloads_updaters.html -
I have a downloaded font file for a school problem on a flash drive and I do not know how to install it into my photoshop application. Need to be walked through this as I am an older user who does not understand any of this stuff.
Fonts are handled by your operating system and installed through the respective System Control panel (Windows) or Fontbook (Mac). On Windows simply type "Fonts" in the search bar in the start menu and when you open the panel/ folder use File --> Add Font. On Mac the procedures are similar, you just need to find the Fontbook app in Applications:Utilities.
Mylenium
Maybe you are looking for
-
Hi, I need to create one query on the cube. User want some of the fields in the query which are present in diffrent source system , rest of the fields are present in the cube. These are master data fields ( 7 fields in total) from other source system
-
How to write IF-THEN-ELSE in query (syntx)
Dear Experts, As the decode syntx is Oracel's, is there any syntx could be used for IF-THen-Else function in query generator? Thanks. Emily
-
Different LOVs in af:query and af:form for the same VO attribute
Hi, We need to display different LOVs in af:query and af:form for the same attribute in VO. Is it possible to use LOV Switcher for this ? What condition can we use in LOV Switcher attribute to check if it is View Critearia row or VO row ?
-
can somebody please help me, ive had a blackberry today and loved it. someone i was speaking to told me to download the new messenger and i did but now its gone :-( ive reinstalled a few times with no luck and have tried to reinstall via the net and
-
Do we need CALS for windows server 2008 R2 and 2012 R2 if 2008 R2 is just a stepping stone?
We currently have a server on Windows Server 2008 RC SP2 64-bit with approximately 20 clients. We want to upgrade to Windows server 2012 R2 but first need to upgrade to Windows 2008 R2 to allow us to do a straight upgrade. Is it possible to upgrade t