Questions tagged as 'xhtml'

1
answer

Better formatting of xhtml files

Given the excerpt from my file .xhtml : <h:panelGrid id="camposPesquisa" columns="2"> <h:outputLabel value="#{msg['nome']}: " /> <p:inputText value="#{naturemb.arg}" /> </h:panelGrid> <h:panelGrid id="b...
asked by 28.09.2016 / 19:46
3
answers

How to go to a part of a text on the same page by clicking on a link above

Imagine a page with lots of text. What I want to do is make a clickable word that when the user clicks it goes to another text on the same page. I want to do this using XHTML and CSS. I have at least one idea that XHTML is used # but I can...
asked by 21.07.2014 / 14:29
1
answer

JSF page displaying object reference value

Good evening. I have a page in JSF called simulate.xhtml where I implement a filter to generate the simulation and I'm also trying to display results of the database that have already been filtered on that same page , but as a result I get t...
asked by 14.10.2015 / 06:47
2
answers

Prevent browser autocomplete [duplicate]

Is there a way to prevent, through code, the browser from making suggestions for filling in the login form? Is that the system will be used in laboratories and would be annoying the browser to suggest all previously registered CPF. In addit...
asked by 22.02.2018 / 19:40
1
answer

JavaScript error when opening page - Uncaught SyntaxError

When I open the page it breaks and when I open the browser console the following error appears: Uncaught SyntaxError: Unexpected token ; When I see the code on the console it looks like this: if (linhaAnterior$.size() &gt; 0) {} Bu...
asked by 08.04.2015 / 15:01
2
answers

Two Different Horizontal Menus

I'm creating two horizontal menus on the same page with different settings and so I used a class in each of them. I can not get one of these menus to have a one-color box in there What I did was to give a padding to each of the menu...
asked by 27.07.2014 / 16:14
1
answer

How to insert icons in JSF?

In a registration form I have to insert edit and delete icons in a form made in JSF. <h:commandLink action="#{clienteController.editar}">Editar     
asked by 29.09.2017 / 18:41
1
answer

problems using inputFile in JSF 2.1

I'm using the JSF 2.1 version with this artifact below; <dependency> <groupId>org.glassfish</groupId> <artifactId>javax.faces</artifactId> <version>2.1.21</version> <scope>compile...
asked by 14.12.2015 / 15:53
2
answers

Change the color of a box in the horizontal menu

I'm making a horizontal menu and I want each element of this menu to have a 20px box. Now I want you to move your mouse by cimam to change that color. For this I thought that if I used a:hover I would solve the problem. Just not. It in...
asked by 23.10.2015 / 13:35
1
answer

List coming with null value

Well, it's the following, I have 3 methods that are called in init() of my Bean, only one works and the other 2 comes as null , already debuguei and in my ProductJPADAO the data is correct, but when you drop the data in the Lists,...
asked by 24.04.2015 / 04:31