Questions tagged as 'jsf'

1
answer

Placing an image as a background in the firstfaces

How do I put a background image in primefaces . I've tried some shapes but none worked. The closest to a good result I got was using <p:graphicImage/> however when I minimize a menu or do a search in the table the image does n...
asked by 05.06.2015 / 22:43
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

Exception p: ajax Unable to attach behavior to non-ClientBehaviorHolder parent

I'm using JSF, PrimeFaces in my Java EE project. When I use the PrimeFaces component the orderlist , it returns me an exception on the screen and I do not know what exactly it is, it happens the moment I put the <p:ajax> tag. Could...
asked by 30.06.2015 / 14:49
1
answer

Calling a JSF bean method inside JavaScript

I would like to call a JSF method inside my JavaScript code. For every time it executes this method in JavaScript within the function call another method that is inside JSF. Does anyone have any idea how to do this?     
asked by 05.05.2015 / 01:16
2
answers

Strange page after adding Primefaces

After adding the dependencies of the Primefaces the project ignores my page /home.xhtml that is in the xml and shows a url /javax.faces.resource/theme.css.xhtml?ln=primefaces-aristo every time I run the project. Does anyone know...
asked by 24.03.2015 / 14:25
2
answers

How to get the description of an Enum in xhtml?

I need help to solve a situation with an Enum class together with the demoiselle framework. Eg: I have this class: ButIwouldliketoseeinmycomboboxthedescriptiveEx.:OrdinaryLaw,notLEI_ORDINARIA.Seetheimagebelow: ok you should have thought, ah m...
asked by 06.02.2015 / 17:59
2
answers

Database image displayed in primefaces does not appear

I'm implementing a page where I need to display a datagrid with the values of a table in the database. Each row in the table has a blob-like image. But when you try to display the image with the primefaces by the:: tag, it does not appear....
asked by 21.07.2014 / 21:14
2
answers

Selected item in p: selectOneMenu gets null in listener

I have a p: selectOneMenu, with data coming from the database, inside a p: dialog, along with a p: messages and other fields. I want to execute an action (Display some messages) when selecting certain option in p: selectOneMenu, but I get a null...
asked by 02.01.2019 / 20:04
1
answer

Conversion error when setting value '' to 'null Converter'. - JSF

I am doing a program that registers and relates a customer to a credit card. I'm using JSF and PrimeFaces. It is not necessary to use the Database, so I am storing the data in an ArrayList myself. Basically, when creating a new card I need to...
asked by 20.11.2018 / 17:57