Questions tagged as 'xhtml'

1
answer

problems with JSF 2.1 confirmDialog

I was able to implement the deletion of the record in a JSF page, but when I delete the record it does not ask for the confirmation screen, I can not understand why it is not working, but the line of code that asks for confirmation of the deleti...
asked by 14.12.2015 / 11:33
1
answer

Prime-faces does not run the "SAM" theme

When I run my main.xhtml page, the theme does not appear next to The project tree is attached. Web.xmlfile<?xmlversion="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java....
asked by 23.01.2016 / 14:07
1
answer

Do not move the mouse with p: dialog

Question beast but I did not find it in any corner, I would not allow the user to move the p: open dialog. <p:dialog header="#{MyBean.select.projetos.nome}" widgetVar="lanDialog" modal="false" showEffect="blind" resizable="false"> ...me...
asked by 17.07.2015 / 03:10
1
answer

Links does not work in menu

I have a problem with my concert menu I did it with HTML and CSS pure but I will have to link some PDF'f to can open in a new guide co target="_blank" but I create the links normally and the my menu simply closes when I clic...
asked by 09.06.2015 / 14:39
1
answer

JSF button spacing

I am entering the JSF world and I am trying to create a calculator but I can not leave the buttons without space, they need to be together, does anyone know how to solve this? <h:form> <h:panelGrid columns="4">...
asked by 08.09.2015 / 14:10
1
answer

how to initialize the sales id in print class?

I would like to get the id of venda in the print class of the page, and it is null, and I am using it to compare with idvenda with the parameter created in jasper. impress.html <p:commandLink title="Imprimir" action...
asked by 21.02.2018 / 02:18
2
answers

HTML - Why use, or not use, "/" to close tags without content? [duplicate]

I noticed that it's common to see some Void element tags with closing /> Ex: <br /> <hr/> <meta name="twitter:domain" content="pt.stackoverflow.com"/> And right here in the StackOverflow source I found...
asked by 15.01.2018 / 13:21
1
answer

Clear the form after registration (JavaServer Faces)

After you have made a registration, it clears the form normally, but when I turn the page and come back to the registration page, the fields are filled with the values that I registered earlier. The scoped I'm using is the @ViewScoped. Regist...
asked by 06.09.2017 / 16:41
1
answer

Code redundancy in my .xhtml JSF - Primefaces

I have this table in 2 pages of mine and I ended up copying and pasting this code, the only thing I had to change was the "bean", in one I used "bean1", the other I used "bean2" p> Is there any solution to avoid this code redundancy? Or better...
asked by 04.08.2017 / 20:44
2
answers

Appear button when mouseover javascript

I'm developing an application in jsf, css, javascrip where when you move the mouse on the product there will appear a "Learn more" button and when you take the mouse the button know more disappears, only the first item is functioning for the res...
asked by 05.07.2017 / 22:00