`
reymont
  • 浏览: 525923 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论
文章列表
今天看到这个帖子蛮有意思的   I is the 9th letter of the English alphabet G is the 7th letter of the English alphabet.   I就是英语字母中第9个字母 G就是英语字母中第7个字母   它们的存在只是一个标签,也就一个名字而已     但是有人不甘心,硬是要说出个缘由来   对于Ihttp://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76962/ch1.htm#39704 ...
做了个复杂查询的页面,字段太多了,填了一次,想清空挺麻烦的 $('#myform')[0].reset(); 虽然reset方法可以做到一部分,但是如果你有个元素是这样的 <input name="percent" value="50"/> 那么点击reset只会还原成50 于是乎,有了以下方法,网上浏览过来, $(':input','#myform') .not(':button, :submit, :reset, :hidden') .val('') .removeAttr('checked') .remo ...
看了一下 PL/SQL User's Guide and Reference,发现nested table真的很不错 http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/05_colls.htm CREATE TYPE CourseList AS TABLE OF VARCHAR2(10) -- define type / CREATE TYPE Student AS OBJECT ( -- create object id_num INTEGER(4), n ...
    当个笔记   解决jquery.autocomplete在IE6下被下拉框遮住的问题   http://iove.net/archives/1512.html   稍微补充一下,   在使用的时候会出现一个层<div class='ac_caption'>" + options.caption + "</div> 会让你的autocomplete中显示undefined     不要担心,那只是 涂雅 想的标题,挺佩服他的   element = $("<div><iframe s ...
     autocomplete是一个强大的组件   这里是下载的地方http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ 强大但并无完善,SO,正如这位仁兄写的 Unobtrusive jQuery autocomplete plugin with json key value supporthttp://www.codeassembly.com/Unobtrusive-jQuery-autocomplete-plugin-with-json-key-value-support/ 提供了键值对的 ...
firebug真的很好很强大, 以前一直使用alert()调试,忽然发现firebug有个console.log的东东      引用Your new friend, console.log The easiest way to write to the Firebug console looks like this: console.log("hello world") You can pass as many arguments as you want and they will be joined together in a row, like consol ...
用到jquery的dialog时, 发现ie下老是有问题 这不弹出的页面,本来设置750px的,结果只有100px 于是乎,针对ie重新设置一下height $(this).dialog("open"); if ($.browser.msie) { $("#divDialog").css("height", 750); }
PdfPTable 生的表格默认是---居中 80% (ˇˍˇ) 想~修改一下他的宽度 查查API setWidthPercentage(float widthPercentage) 满足需要 package com.dcb1.barge.pdf; import java.awt.Color; import java.io.FileOutputStream; import java.io.IOException; import com.lowagie.te ...
看书看到pragma exception_init(e_integrity, -2291); 感到很难以理解 翻了一下oracle PLSQL_User_Guide_and_Reference 引用http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96624/07_errs.htm#917 原来有些oracle error是没有名字的,这些error可以通过pragma来在编译的时候将名字和具体错误链接 在PL/SQL中 pragma exception_init告诉编译器e_integrity是和oracle e ...
Options -> Oracle -> Transactions -> Commit after every statement. 在操作数据库的时候,忘了commit闹了一些笑话 设置了一下toad这样就不用担心了
在itext的com.lowagie.text包中有Chunk,Phrase,Paragraph这三种text编辑单元 其中Chunk是最小的单元 也就是说Paragraph可以包含多个Phrase,Phrase可以包含多个Chunk 下面是Chunk的例子 public class Chunk_Example { public Chunk_Example() throws Exception{ Document document = new Document(); PdfWriter.getInstance(document, new Fil ...

itext中文问题

    博客分类:
  • PDF
因为项目需要生成PDF,小用了一下ITEXT 发现无法输出中文,研究了一下 Font FontChinese = null; BaseFont bfChinese = BaseFont.createFont("STSong-Light", "UniGB-UCS2-H", BaseFont.NOT_EMBEDDED); FontChinese = new Font(bfChinese, 12, Font.NORMAL); 看到STSong-Light挺奇怪的的, 原来STSong-Light,AdobeSongStd-Light-Acro,及STSo ...
以前一直使用hibernate,差不多把SQL丢光了 现在刚好有个项目,好好的学习一把ORACLE 使用ORACLE的PL/SQL工具真的不好用 这不用上了TOAD (PS:以前也用TOAD,不过就是简单修改一下字段) 使用不久发现无法使用 SET SERVEROUTPUT ON GG了一下 glogin.sql is a script run automatically by SQL Plus; as far as I'm aware Toad does not run this script. In Toad there is a "DBMS Output" ...
Global site tag (gtag.js) - Google Analytics