Questions tagged as 'jsf'

1
answer

JSF accessing serial port

I'm working on a JSF system and need to send data to the client (printer) serial port. The only way is even using Applets?     
asked by 23.01.2015 / 19:32
1
answer

Going to a certain tab

This is my menu: <p:menubar> <p:submenu label="Clientes"> <p:menuitem value="Cadastro" action="#{nomeBean.cadastrar} outcome="funcionario.xhtml" /> <p:menuitem value="Consulta" action="#{n...
asked by 30.10.2014 / 16:15
1
answer

Align rowEdit and other buttons on the same row in PrimeFaces

I'm having trouble where my dataTable has the editable property set to true . Allowing the edit of the line that the user selects. Well, when putting a button to delete for example I'm in trouble that the edit button does not st...
asked by 29.07.2014 / 22:16
1
answer

How to keep a checkbox true after an error message is displayed?

How can I keep a true checkbox when I display an error message? Every time I display a errorMessage my checkBox turns false . How can I solve this problem? I'm using jsf2.0 and primefaces . This is the button that calls...
asked by 18.03.2014 / 19:30
2
answers

How to execute a JS or jQuery function after an update, reload in JSF and PrimeFaces?

I need to execute this function after a button gives an update="@ form" on the page <script type="text/javascript"> function carregaCss(){ $(".ui-icon-calendar").addClass("glyphicon glyphicon-calendar corPadrao"); $("...
asked by 22.08.2014 / 03:27
1
answer

java.lang.String can not be cast to Ljava.lang.Object

I'm trying to list items in a ui: repeat that is inside another, and I need to use the id of the outermost ui: repeat item as the parameter. But I can not do it because the following error is occurring: java.lang.ClassCastException: java.lang....
asked by 12.12.2018 / 13:43
0
answers

Error: Could not decode flash data from incoming cookie value Invalid characters in decrypted value [...]

How to solve this error of HIbernate? For the same is indicated as    Severe: JSF1094: Could not decode flash data from incoming cookie value Invalid characters in decrypted value. Processing will continue, but the flash is unavailable for th...
asked by 26.11.2018 / 18:09
1
answer

Query returns value of another user

I'm not able to compare the code (from the logged in professional) with the contracted codigoprofessional (which must be the same as the logged in professional) in the sql query and this causes the query to return a value from another profession...
asked by 10.11.2018 / 22:05
1
answer

I can not display anything in a JSF view

I'm working on a web application to develop a module, but I can not display anything in the view, not even a simple message. The view loads the template, but does not display anything I put in the view. The only thing that is being displayed...
asked by 09.11.2018 / 13:56
0
answers

JSF + PrimeFaces = FullAjaxExceptionHandler

I'm developing an application using JSF + Primefaces, in the code of a screen has the following button <b:commandButton value="Pesquisar" look="primary" style="width:100%" process="@form" update="@form"...
asked by 08.11.2018 / 19:00