Questions tagged as 'jsf'

0
answers

I have two classes one contains the method fileupload and save file ... I want from MB to call this class, which is the most correct way

follows the class fileupload public class FileUpload{ private String destination="D:\tmp\"; public void upload(FileUploadEvent event) { FacesMessage msg = new FacesMessage("Success! ", event.getFile().getFileName() + " is uploaded.");...
asked by 06.09.2015 / 15:18
0
answers

How to create shopping cart in JSF with Hibernate Postgres Glassfich and primefaces? [closed]

I need to create a shopping cart like in e-comerce but everything in the same page, and I do not even know where to start, I'm new to programming, In my project I use Primefaces , Postgressql , Hibernate , the project is JSF and has the...
asked by 04.09.2015 / 21:01
0
answers

Add new inputText to JSF page when you press a key

I have a form where I can have several registered codes, I would like to make only a inputText of start, if you need to enter more than one code I press a shortcut key and then another inputText appears below the first one and by t...
asked by 13.08.2015 / 22:12
0
answers

Multiple Photos Upload JSF

I need to make a registration screen, where the user can choose up to 5 photos to save. I'm using JSF 2.2 I'd like to know the best way to do this, without using primefaces or richfaces , using a component type link , I tried to...
asked by 06.07.2015 / 16:06
1
answer

Eclipse Error # {component.valid} "valid can not be resolved as a member of component"

Warning eclipse in # {component.valid} in SryleClass, Note that the imputText is inside a Composite Component. <div class="labelledInput"> <p:inputText id="txtPesqLot" ... styleClass="labelledInput-input #{componen...
asked by 11.08.2015 / 13:45
0
answers

Problem opening a modal

I'm using a framework called BootsFaces and every time I try to open a modal from a commandButton the modal opens however it looks like this: Asyoucanseethemodalisnotenabled.buttonthatopensthemodal:<p:toolbarstyle="margin-top:...
asked by 10.08.2015 / 13:44
0
answers

InputText of the login page of the system is autocompleting with values

I'vealreadytriedxhtmlautocomplete="off" and I've already put <head> <f:facet name="first"> <meta http-equiv="cache-control" content="no-cache"/> <meta http-equiv="Pragma" content="no-cache"/> <meta http-equiv="...
asked by 30.07.2015 / 20:16
1
answer

Delete method is not called when I click on a commandButton

I have a delete button that is inside a column of dataTable and when I click on it the method that is responsible for the deletion of the user is not called. dataTable: <p:dataTable value="#{usuarioBean.listaUsuario}" id="usuarioT...
asked by 30.07.2015 / 21:07
1
answer

Deployment of more than one .war in the Glassfish root context

I have two applications that I need to deploy in GlassFish, and I'd like to know how to put the two in the root context of GlassFish itself. I know that to put an application in the root context, I put the following line in glassfish-web.xml:...
asked by 11.06.2015 / 16:15
1
answer

Get object when clicking on a commandLink in DataTable

I'm trying to pick up an object by clicking on a commandLink which is in each of the DataTable column, but always the nullPointerException error. Can someone help? I'm doing it this way: <p:commandLink id="ajax" ajax="false" process="@t...
asked by 11.06.2015 / 21:47