Questions tagged as 'java'

1
answer

Extract the products from an NFe XML

I'm developing a Java application that I'm going to need to extract the XML data from NFe, Extract some data I can get by mapping the Tags as the sending recipient among others. But when I need to extract the NFe products I can not. The...
asked by 07.05.2015 / 21:59
1
answer

Paging using demoiselle 2.5.0

I started testing the system today with the latest version of demoiselle (2.5), but paging is no longer working. When you enter the page the content is listed, but when you change pages, nothing else appears. Previously I was using version...
asked by 08.05.2015 / 20:40
1
answer

How to display the posts of a facebook page?

I want to display the posts from a Facebook FanPage in an app. I've been researching and some people have helped me and said to use the facebook API. Well, I'm using it, but since facebook does not help anyone, I come here to ask for your hel...
asked by 02.05.2015 / 01:34
1
answer

p: selectOneMenu does not update value inside ui: repeat

The context is as follows, I have a list of objects AvaliaProjeto , which contains: Project Criteria Scale Value The project is selected from the outside, the criteria are listed for their scales to be chosen. That is, each...
asked by 15.06.2015 / 00:43
1
answer

Doubts in webservice development for APP (android) and WEB (php)

Hello, we are developing an android APP and this will make a query in a webservice (which is not yet done) to validate data requested by APP. The same project runs on the web and is developed in php, jquery etc. So I have 2 applications one fo...
asked by 23.04.2015 / 16:11
2
answers

Field validation problem

I'm having trouble validating two entity fields Order package com.algaworks.pedidovenda.model; import java.io.Serializable; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.List; import java...
asked by 03.06.2015 / 21:07
2
answers

NullPointerException error when using JSF EL

When I add this line of code to my XHTML page: <f:param name="pedido" value="#{pedido.id}"/> It generates this error: jun 04, 2015 10:59:42 AM com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException GRAVE: E...
asked by 04.06.2015 / 16:03
1
answer

Adjust display of an application independent of monitor resolution

I made a Java application and realized that when it runs on a computer with a higher resolution, it gets smaller. How to adjust display of an application independent of monitor resolution?     
asked by 03.06.2015 / 17:06
1
answer

Application for when I pass a List by parameter to a Sub report

I'm trying to pass a list by parameter to my Sub Report, however when it arrives in certain part the application stops and the report is not generated. It never goes away: I'mpassingtheListthisway:publicbooleangerarRelatorio(Listlist,intnumer...
asked by 21.05.2015 / 19:54
1
answer

Java: FileReader reading number that is not in the file

I have this TXT: 1,2,4,8,7 45,18,27,35,44 17,45,2,8,6 And I want to read this array to a Java array. Here is the code: public static void main(String[] args){ double[][] pesos = null; String valorFinal = "";...
asked by 23.05.2015 / 04:03