Most voted "xhtml" questions
XHTML is a reformulation of the XML-based HTML markup language. It combines HTML markup tags with XML rules.
Learn more…101 questions
Sort by count of
-
0
votes2
answers428
viewsGeneral questions about using xhtml box, positioning and width
Long live, I’m having some doubts about some concepts. I’m messing up a little each of these concepts. Box: For example, if you create a class in a text I can give it a width and height with…
-
0
votes1
answer90
viewsDo not move with Mouse the <p:dialog>
Stupid question however I did not find in any corner, I would like to not allow the user to move the open p:dialog. <p:dialog header="#{MyBean.select.projetos.nome}" widgetVar="lanDialog"…
-
0
votes1
answer1254
viewsSpacing between JSF buttons
I’m entering the JSF world and I’m trying to create a calculator but I’m not getting to leave the buttons out of space, they need to be together, someone knows how I fix this? <h:form>…
-
0
votes1
answer545
viewsLinks does not work in the menu
I’m having a problem on my accordion menu I did it with HTML and CSS pure however I will have to link some PDF'f to can open in a new guide co target="_blank" however I create the links normally and…
-
0
votes1
answer334
viewsHow to strip table edges Primefaces?
Greetings to all, I’m new as a Java programmer, and I’m working on the Frond-End programming part of a JSF2 project, but I’m having a hard time getting the edges off a table as you see below; Here…
-
0
votes1
answer122
viewsUse html tag to replace JSF components when possible
I am starting studies with JSF (Javaserver Faces) and writing a xhtml file, I came up with the following dilemma: Why not use HTML tag replacing some JSF compote, when possible? Example: use:…
-
0
votes0
answers380
viewsIdentify user by login
Hey there, guys. I am developing a system that deals with user registration and I have the following problem: in the system there will be 3 types of users: Administrator, Normal and Temporary.…
-
0
votes0
answers94
viewsProblems with foreign key
Hey there, guys. I am creating a system that controls user registration and I have a problem regarding a foreign key that is imported from another class into the Users class. When I change the state…
-
0
votes2
answers2498
viewsProhibit duplicate registration
Hello, guys. I’m with a program that works with user registration. In this program I would like to implement a function that prohibits the registration of Cpf or email that already exists in the…
-
0
votes2
answers409
viewsid problem already exists in view
Hello, everyone. I have a . xhtml file that is giving an id error already found in the view. The error itself is GRAVE: JSF1007: frmPesquisa:id duplicate component ID found in view. I searched on…
-
0
votes1
answer175
viewsp:primefaces editor tabindex does not work
In a view . xhtml I use the p:editor of the first faces <p:editor id="idDescription" tabidex="2" > ... When the tab key is pressed, after being in field 1, tabindex="1", it does not go to the…
-
0
votes2
answers478
viewsUpdate in datatable after you have updated data
Speak guys, I have a problem updating a column in my datatable after an edit. I use a dialog to edit the desired data. Everything is saving in the database, the problem is when updating the table,…
-
0
votes0
answers49
viewsCSS not reflected in browser
I started a project in xhtml Primefaces, only when I make changes to the CSS it doesn’t change in the browser, only in the IDE. Browser design: Project in Eclipse IDE:…
-
0
votes2
answers304
viewsReset all fields (input, textarea) of the html page
How can I make that through a button all the textarea of the page has its content deleted?
-
0
votes1
answer736
viewsChange the color of Toolbar on primefaces
I wanted to change the background color of Toolbar what the tag would be <p:toolbar> <f:facet name="right"> <h:commandButton value="Sair" style="color: "/> </f:facet>…
-
0
votes1
answer119
viewsSave XHTML form as PDF
I am creating a report page via XHTML, have option to view the form and would like to add a button to download this form as PDF. I was trying to use Dompdf to do this, but a php page with the codes…
-
0
votes0
answers465
viewsHow to create multiple menus on the same page with xhtml
I can’t put on the same page, for example two menus. Let me explain. I use the unordered lists and the inline display to create a horizontal menu. I do the same to further down the page create…
-
0
votes0
answers28
viewsERROR when selecting a simulation
I have a subscription problem. I have a screen that recovers cycles that are open according to the course of the user and for each cycle of this already has a simulated saved, ie a relationship.…
-
0
votes1
answer95
viewsProblems with <p:Poll> that does not find Id
Guys, I have a div that needs to be updated in 5s, but it’s giving error saying that the ID is not found. <h:form id="form"> <br /> <center><h:outputLabel value="Visão Geral"…
-
0
votes1
answer161
viewsRendered Does not work in datatable
Good afternoon. I have a simple problem. However, I am struggling to solve. I have these 2 methods to control my Rendered do dataTable: // Filtra o simulado.. @Transactional public void…
-
0
votes0
answers356
viewsJSF - Custom validator executed, no problems found, but execution flow does not arrive in Managed Bean
I created a Custom Validator, referenced it in a <h:inputText>, Validator runs, no exception is raised, but the execution flow does not arrive in Managed Bean. Where I must be going wrong?…
-
0
votes1
answer401
viewsJSF 2.1 confirmDialog problems
I was able to implement the deletion of record on a JSF page, but when deleting the record it doesn’t ask for the confirmation screen, I can’t understand, because it’s not working, but the line of…
-
0
votes1
answer172
viewsPrime faces does not run the theme "SAM"
When I run my main.xhtml page the theme is not displayed next to the page The tree of the project is attached. Web file.xml <?xml version="1.0" encoding="UTF-8"?> <web-app…
-
0
votes2
answers219
viewsDatatable with jsf
I’m having some difficulty using the datatable of the primefaces together with jsf, I tried to implement it in a certain way: <p:tabView> <p:tab title="Alterar Usuarios"> <h:form…
-
0
votes1
answer185
viewsHow to Do Automatic Scrolling
I’m developing an application where the user asks a question and the server delivers an answer, I’m having trouble getting the scrollbar to keep up with the conversation, So far I’m having the…
-
0
votes2
answers2979
viewsScroll to the bottom of the page automatically
I’m developing an application where the user asks a question and the server delivers an answer, I’m having trouble getting the scrollbar to keep up with the conversation, So far I’m having the…
-
0
votes0
answers64
viewsProblem with JSF & JPA Lists
I don’t know if it’s right the way I’m doing it, but I got a problem: java.lang.Illegalargumentexception: id to load is required for loading. When I try to remove a template from the list, and also…
-
0
votes1
answer115
viewsCalculate Difference between Hours
I need to calculate the difference between hours, I’m using xhtml and primefaces, have the Start Time and Final Hour, want to add the difference in Total Hs. Follows my code: <p:outputLabel…
-
0
votes1
answer524
viewsJSF - Parameter pass
I have a form in JSF and I need to enter his data in the database I’ve searched several ways, but it’s not working Could you give me a hand with what I’m doing wrong? JSF Form I am not able to pass…
-
0
votes2
answers656
viewsShow button when hovering javascript
I am developing an application in jsf,css,javascrip in which when passing the mouse in the product will appear a button "Learn more" and when taking the mouse the button know more disappears , is…
-
0
votes1
answer34
viewsCode redundancy in my . xhtml JSF - Primefaces
I have this table in 2 pages of my own and I ended up copying and pasting this code, the only thing I had to change was the "bean", in one I used "bean1", in the other I used "bean2". Is there a…
-
0
votes1
answer298
viewsClear form after registration (Javaserver Faces)
After having made a registration, it clears the form normally, but when I change page and return to the registration page, the fields are filled with the values I previously registered. The scoped…
-
0
votes1
answer601
viewsHow to map an image using Google Areas and Coordinates.Cloud.Vision.Api
Hello, friends! I’m trying to map an image, using the Html5 "Area" tag that works with polygons, I want to map a rectangle or several rectangles on top of an image "img". My doubt is, I have a map…
-
0
votes2
answers1977
viewsHTML - Why use, or not use, " /> " to close tags without content?
I noticed that it is common to see some tag elements of the type Void with the closing /> Ex: <br /> <hr/> <meta name="twitter:domain" content="pt.stackoverflow.com"/> And right…
-
0
votes1
answer25
viewsHow to initialize the sale id in print class?
I would like to receive the id of venda in the print class of the page, being that it comes null, and I am using it to compare with the idvenda with the parameter created in Jasper. html print.…
-
0
votes1
answer39
viewsrequiredMessage not working on selectOneMenu JSF
I have the following requiredMessage <h:selectOneMenu class="form-control" id="selectOlhos" value="#{corpoController.corpo.corOlhos}" required="true" requiredMessage="Selecione uma opção.">…
-
0
votes0
answers86
viewsI cannot remove element from the list
When I upload photos using FileUpload I can’t delete from the list where I’m adding. Use that StremedContent to be listed contentNova every time the method is called by FileUpload. The problem is…
-
0
votes0
answers44
viewsSave to JSF+JPA & Hibernate database error
Good afternoon I am making a registration with JSF , and when I try to save the user in the bank happens this error , however I already added all jars in the folder lib Tomcat , and it has been…
-
0
votes1
answer699
viewsUpdate JSF only works in the whole form (Primefaces)
good night. I’m racking my brain with a problem that seemed simple I have a form with some fields, when selecting a combobox I want to hide and display some fields. I am using p:ajax to perform the…
-
0
votes1
answer177
viewsJSF and Javascript
I have the following question: How JSF works with Javascript ? I’ll be more specific. I’m in a project where I’m using JSF (primefaces), but I can’t do anything simple with Javascript, which would…
-
0
votes1
answer23
viewsI’m having trouble displaying my JSF project view -
no error appears and the screen is blank. I believe that it should not be anything very complex to solve but I am new in this language and I’m having difficulty to understand the syntax. In the view…
-
0
votes1
answer89
viewsJSF editable datatable shows no object attributes
I need to do an activity with a JSF list where it is possible to add, edit and delete registered users. I had managed to make the records of new people, but when I started using cellEdit to make the…
-
0
votes1
answer36
viewsIs there an XHTML5?
I ask this question because based on two other questions I did not understand a solution. The first would be this: When to use the xmlns attribute in the html element? In this case, the accepted…
-
0
votes0
answers9
viewsProblem with xhtml, using the appendTo="@(body)" property and saving, does not update my object data in the bean
header="Atualizar Contatos" dynamic="true" modal="true" closable="false" appendTo="@(body)"> <p:panel id="pnlAtualizarTelefones" class="panel-simples"> <c:linha> <c:coluna…
-
0
votes0
answers5
viewsUncaught Referenceerror when trying to open a dialog of the first faces
I am having problems trying to open a dialog, in the browser console is returned the following error: Uncaught ReferenceError: baixarArquivoRemessa is not defined at <anonymous>:1:1 at p…
-
-1
votes1
answer564
viewsCheck user status when logging in
Hello, folks. I’m having a problem formulating my login screen and would like to ask your knowledge. I’m using Eclipse Mars . 1 to program, Primefaces for visual components and Spring Security for…
-
-1
votes1
answer21
viewsProblems 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…
-
-1
votes1
answer22
viewsJavascript Does not execute . click correctly with JSF
The script works partially, it updates the page after 5 sec., however it does not perform the click on the button: <script> $(document).ready(function() { setInterval(function() {…
-
-1
votes2
answers42
viewsProblem searching for BD - JSF specific columns
When I return all the values of the bank, it works. However, I look only at the columns id, celular, cpf, nome, status to list in the table, returns error. Would be the type of return that is wrong?…
-
-2
votes1
answer120
viewsHow to handle the DOM of a XHTML file with javascript
JS file: //Variáveis Globais - HTML var campoMatricula = document.querySelector(".matriculaInput"); var campoNome = document.querySelector(".nomeInput"); var campoAno =…