Posts by slyfer • 59 points
13 posts
-
0
votes0
answers9
viewsQ: Error while starting Tomcat
I am using the Adminlte project in the eclipse, having TOMCAT 10 as a server, and I am some time with error starting, I tried several dependencies but without success, someone who broke the head tbm…
-
1
votes1
answer82
viewsA: Phpmailer cannot be resolved to a type
Try to access the Project/Clean menu, then right-click on your server and clean it (Will clean and rebuild)
-
-1
votes1
answer40
viewsQ: View Datatable only if there is registration
I have several datatables in a panel, each one displays a value of an object and a button, and as the data is received, some are filled and others are not, the problem is that those who have no…
-
2
votes1
answer180
viewsA: Align <ul><li> with 4 or 5 items
You can place your list within the following tag: <div align="center"> sua lista centralizada </div> Or create within css a rule and call in tag <style type="text/css"> .wrapper {…
-
0
votes1
answer21
viewsA: Problems opening a Select One Menu within a p:dialog
Resolved with appendTo="@this" within the Select One Menu
-
-1
votes1
answer21
viewsQ: Problems opening a Select One Menu within a p:dialog
I own a select one menu within a p:dialog, I can see that it loads the data, but it doesn’t open, doesn’t drop down, outside the p:dialog it works normally. I searched on but found no results. My…
-
0
votes1
answer54
viewsA: Placeholder in <h:inputText with JSF 1.x
You can try the following: <h:inputText value="item" placeholder="search" id="search"/> <p:watermark for="search" value="Meu placeholder" /> Remember to add the attribute id="nome" in…
-
0
votes1
answer75
viewsA: Help with JSF Login System
Resolved with: public String doLogin() { SimpleHash hash = new SimpleHash("md5",pessoa.getSenha()); Pessoa pnova = pDAO.BuscarLogin(pessoa.getCpf(), hash.toHex()); if(pessoa.getId()>0) {…
-
0
votes1
answer165
viewsA: JSF <p:commandLink> action is not invoked
From what I saw, you need to open a modal after the method, then try using this command and put the modal form id as parameter Tries update="@seuform"
-
0
votes1
answer452
viewsA: Problems transforming file into an array of bytes
Resolved with : //converter arquivo File file = new File("C:\\Users\\user\\Downloads\\documento.pdf"); byte[] bFile = new byte[(int) file.length()]; FileInputStream fileInputStream = null; try {…
-
0
votes1
answer452
viewsQ: Problems transforming file into an array of bytes
Good evening, I’m trying to get a pdf file from a xhtml, and when it comes to saving it in the bank, I want to turn it into an array of bytes, for this, in my DAO I do so: public boolean…
-
-1
votes1
answer75
viewsQ: Help with JSF Login System
I am creating a jsf login system, which I validate the data through a bean and if(has record) redirects to the home page, Lse goes to the error page, but always enters Else, I found that the object…
-
0
votes1
answer29
viewsQ: Select One Rendered Menu
Good afternoon, I have two selects one menu, one loads the states and the other I want to load the cities of that state at runtime, only I can’t, it doesn’t even load the page when I try to use…