Questions tagged as 'xhtml'

1
answer

Update JSF only works on whole form (Primefaces)

Good evening. I'm breaking my head with a problem that seemed simple I have a form with some fields, while selecting a combobox I want to hide and display some fields. I'm using 'p: ajax' to run the update. And in the fields to hide, I'm u...
asked by 12.07.2018 / 04:48
0
answers

Error when saving to JSF + JPA & Hibernate database

Good afternoon I'm registering with JSF, and when I try to save the user to the database, this error happens, but I've added all the jars in the lib tomcat folder, and it's been verified that there is no jar of the same or different version for...
asked by 05.06.2018 / 18:55
0
answers

Can you use the f: view renderKitId="HTML_BASIC" tag on a specific component?

I would like to use only the fileUpload component that I have on my screen. Can someone help me? Thanks in advance.     
asked by 06.06.2018 / 17:28
1
answer

Save 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 a PDF. I was trying to use DomPDF to do this, but a php page appears with the codes rather than a PDF.     
asked by 23.04.2018 / 14:17
1
answer

requiredMessage not working in JSF selectOneMenu

I have the following requiredMessage <h:selectOneMenu class="form-control" id="selectOlhos" value="#{corpoController.corpo.corOlhos}" required="true" requiredMessage="Selecione uma opção."> <f:selectItem itemLabel="Escolh...
asked by 18.03.2018 / 16:54
0
answers

I can not remove element from list

When I upload photos using FileUpload , I can not delete from the list where I am adding. I use this StremedContent to be set in the contentNova list every time the method is called by FileUpload . The problem is when I de...
asked by 07.03.2018 / 19:04
1
answer

Change the color of the toolbar in the firstfaces

I wanted to change the background color of the toolbar what the tag would be <p:toolbar> <f:facet name="right"> <h:commandButton value="Sair" style="color: "/> </f:facet> </p:toolbar>     
asked by 01.03.2018 / 14:55
1
answer

Mapping an image using Google's 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 over an "img" image. My question is, do I have a mapping that I can not find or coordinate in...
asked by 01.10.2017 / 19:51
1
answer

Calculate Difference Between Hours

I need to calculate the difference between hours, I am using xhtml and primefaces , I have the Time Starts and End Time , I want to add the difference in Total Hs . Follow my code: <p:outputLabel value="Hora inicial:"...
asked by 18.01.2017 / 01:56
0
answers

Problem with Lists in JSF & JPA

I do not know if the way I'm doing is correct, but I have a problem:    java.lang.IllegalArgumentException: id to load is required for   loading. When I try to remove a template from the list, and in addition, the list of selected templat...
asked by 29.11.2016 / 00:59