Questions tagged as 'xhtml'

1
answer

EL: Illegal syntax. in JSF + primefaces

Please, I would like to know what is wrong with this expression. <p:inputText id="text_url" disabled="#{menuBean.tipoMenu.equalsIgnoreCase('I')?false:true}" value="#{menuBean.tipoMenu.equals('I')?menuBean.menu.formul...
asked by 21.05.2018 / 18:59
1
answer

I need to save the result of my query in a List and then send it to an xhtml

How do I send these data from two tables to a List and how do I print them in the xhtml? What I need is that you bring me this information Ex: User Table Name: Juan IdCargo: 1 Cargo Tables IdLoad: 1 Name: Administrator Result: User.N...
asked by 03.03.2017 / 21:49
2
answers

I have two selectonemenu in Primefaces. How do I force one or both to be selected?

a query please, I have two selectOneMenu of primefaces in a view, what I need to do is that the user if I do not select either of them select at least one. I set required = true but this makes me have to select both selectOneMenu and the idea...
asked by 03.09.2016 / 01:51
2
answers

Dowload File Primerfaces Java

I am implementing a code to download with primerfaces a pdf and I get the following error:    java.lang.NullPointerException       at org.primefaces.component.filedownload.FileDownloadActionListener.processAction (FileDownloadActionL...
asked by 19.01.2018 / 16:12
0
answers

Navegation case and JSF show nothing

I've been with this problem for days, where I do the entire navigation structure between screens but it does not return anything and only a button that is the index is the only one that works for me, try to fix it by setting it to ajax="false" a...
asked by 28.06.2017 / 19:38
2
answers

JSF error when sending values to the managedbean

Good afternoon, I am learning Java EE and between practice and practice I have come across an error that I can not solve, it is but they can help me to continue with my learning process. The error he gives me is this:    /index.xhtml @ 23,111...
asked by 30.01.2017 / 22:24
1
answer

My HTML document does not recognize internal styles [closed]

Good afternoon: I am taking my first steps in HTML and CSS. I have the following code but the browser does not recognize the information contained between the STYLE tags. Can someone help me? Thank you for your attention!      <...
asked by 03.04.2017 / 16:45
0
answers

How to export data from a filter of a primeface datatable

I have the following table: <p:dataTable id="tblpersonas" var="p" value="#{generarListaFuncionariosMB.listaPersona}" filterBy="#{generarListaFuncionariosMB.filtrarPersona}" clientCache="true"...
asked by 01.11.2018 / 12:59
0
answers

Extend div always until the end

The problem I have is that when resizing the page, the div that includes the login and the images .dreta that is located to the right of the page, remains the same size and I would like it to be extended to the end. I tried por...
asked by 30.10.2018 / 13:13
0
answers

FILL Checkbox by default in JSF

I do not know how to do it. The only way I have is this: public void on NodeSelect (ValueChangeEvent event) { Boolean selected = (Boolean) event.getNewValue(); Long odmId = (Long)((UIInput) event.getSource()).getAttributes().get(ODM_...
asked by 30.07.2018 / 11:29