IBM is buying Sun! It's not a done thing, but it seems that it will do. The price is astronomic: $6.5 billions.
I ask my self: what will be my SCEA certification: it will became ICEA certification?
Keep things together
This time i will explain a functionality of xsl-fop: "keep-together" attribute.
In a pdf page (report), that is created by xsl-fop, i don't want that a block is split between page, if it doesn't enter completely in one page. So the solution is add the keep-together attribute in the fo:block, and more specifically this is the right attribute: keep-together.within-page="always".
In this case (within-page) the block is not split between two different pages, but the block is written all in the next page.
In a pdf page (report), that is created by xsl-fop, i don't want that a block is split between page, if it doesn't enter completely in one page. So the solution is add the keep-together attribute in the fo:block, and more specifically this is the right attribute: keep-together.within-page="always".
In this case (within-page) the block is not split between two different pages, but the block is written all in the next page.
Two Div Block Side by Side
Ok! It should be a simple thing, but if you have to do with IE and Firefox it is not a simple thing.
It seems that IE and Firefox are two gilrs and the html is the only boy! If html goes with IE, Firefox is jealous and viceversa!
It seams that html is a short blanket and IE is the feet and Firefox is the face: if you want to cover the face then you have to uncover the feet and viceversa!
So you have to add some patch!
This is the case of two div blocks that have to place side by side: if you do something like:
.left {
float:left;
background-color:yellow;
width:20%;
}
.right {
float:right
background-color:blue;
width:80%;
}
is ok with Firefox, but with IE if the text inside the right block is larger than 80% the right block goes under the left one.
If i add a clear:left instruction in the right style it is good for IE but not for Firefox.
So this is my solution:
.left {
float:left;
background-color:yellow;
width:20%;
}
.right {
position:absolute;
left:21%;
background-color:blue;
width:79%;
}
I know that if the text inside the left div goes over the 20% it will go under the right div. if i will want to show all the content of the left div i will add overflow:auto instruction.
It seems that IE and Firefox are two gilrs and the html is the only boy! If html goes with IE, Firefox is jealous and viceversa!
It seams that html is a short blanket and IE is the feet and Firefox is the face: if you want to cover the face then you have to uncover the feet and viceversa!
So you have to add some patch!
This is the case of two div blocks that have to place side by side: if you do something like:
.left {
float:left;
background-color:yellow;
width:20%;
}
.right {
float:right
background-color:blue;
width:80%;
}
is ok with Firefox, but with IE if the text inside the right block is larger than 80% the right block goes under the left one.
If i add a clear:left instruction in the right style it is good for IE but not for Firefox.
So this is my solution:
.left {
float:left;
background-color:yellow;
width:20%;
}
.right {
position:absolute;
left:21%;
background-color:blue;
width:79%;
}
I know that if the text inside the left div goes over the 20% it will go under the right div. if i will want to show all the content of the left div i will add overflow:auto instruction.
Inducing JBoss to choose your jsf version
This is my real first post. And i choose this problem because i've a note in a recycled sheet that i want to discard.
So, the problem:
"I want to use jsf version 1.1 in a JBoss environment that, for default, wants jsf 1.2 pages"
I solved it chancing the web.xml file in the JBOSS root -> server -> default -> deploy -> jboss-web.deployer -> conf in two ways:
1) I comment out the second and third "Common Listener Configuration" listener:
JBossJSFConfigureListener and WebappLifecycleListener
2) I comment out the init-param tagLibJar0 and tagLibJar1
Obviously in this way you've to provide the jsf libraries your self!!!
So, the problem:
"I want to use jsf version 1.1 in a JBoss environment that, for default, wants jsf 1.2 pages"
I solved it chancing the web.xml file in the JBOSS root -> server -> default -> deploy -> jboss-web.deployer -> conf in two ways:
1) I comment out the second and third "Common Listener Configuration" listener:
JBossJSFConfigureListener and WebappLifecycleListener
2) I comment out the init-param tagLibJar0 and tagLibJar1
Obviously in this way you've to provide the jsf libraries your self!!!
My blog is born!
I announce the birth of my first blog!
As the title says, it should be a log (instance of java.util.logging.Logger class) of what happens in my days, the days of a web developer!
This will be useful first of all to me, therefore i will log all my troubles and how i will solve them, because in my job nothing is impossible!!! Maybe this blog will became a glossary of java terms or business terms, or simply an "Inter blog", because, after the family, my second love is Inter!!!
Like a child, no one knows what this blog will do when it will be major. But i hope that it will be better then father...
As the title says, it should be a log (instance of java.util.logging.Logger class) of what happens in my days, the days of a web developer!
This will be useful first of all to me, therefore i will log all my troubles and how i will solve them, because in my job nothing is impossible!!! Maybe this blog will became a glossary of java terms or business terms, or simply an "Inter blog", because, after the family, my second love is Inter!!!
Like a child, no one knows what this blog will do when it will be major. But i hope that it will be better then father...
Iscriviti a:
Post (Atom)