I think many people (who is interested in the J2EE developing) faced the situation when after deploying and running the project you see something like this in the address bar:
http://localhost:8080/Yourproject-war/
This article will be useful for those who want to rid of the root context and port defining in the address bar. So in the end of the article you will achieve this:
http://localhost
Let's start from the simplest part - removing root context from the address bar. In order to not show "Yourproject-war" part you can simply just...
6.16.2013
6.09.2013
3:36 PM
1 comment
In this short article I will show how to insert the line break inside the Primefaces component's value.
Let's imagine that we need to insert the line break in the value of the column in <p:dataTable>.
The simple code without line break:
<p:dataTable var="val" value="#{testMB.list}" paginator="true" rows="10" paginatorPosition="bottom" editable="true">
<p:column style="width:7%" headerText="Column1">
<p:cellEditor>
<f:facet name="output"><h:outputText...
Subscribe to:
Posts (Atom)