Questions tagged as 'mvc'

1
answer

How to transform a JSON into a paged table / list using .Net Core MVC?

I'm studying API access and I'm using the Github API. I want to make a screen in which it is possible to search by name the repositories that beat with the last criterion. But the results of Github are huge, how can I do to page this list? No...
asked by 14.06.2018 / 07:56
1
answer

Post repeated on sending the data to the controller, how do I solve it?

I'm trying to develop a php mvc system but I came across this problem in Create. The post is sending multiple repeated data I do not know why this is happening. Myviewcreateislikethis<formid="form1" action="<?php echo BASE_URL; ?>Pr...
asked by 01.05.2018 / 17:06
1
answer

Input with uppercase in Asp.net

I'm creating an application in MVC with DDD and in my registration screens, I'd like the string fields like NomeCompleto , Endereço , Cidade , etc to be saved in the inputs in uppercase . I do...
asked by 20.04.2018 / 02:21
1
answer

JPA insert an object that has a list as an attribute

I am developing a system in layers (packages), to exercise the concepts of class and I came across a doubt I would like to create a product class, it has attributes that are references of other classes: @Id @GeneratedValue(strategy = Generatio...
asked by 24.04.2018 / 00:36
1
answer

Error executing JSF project by eclipse [closed]

Good night, I'm trying to run a project in eclipse, but tomcat is throwing me the following exception. Does anyone know what it can be? fev 25, 2018 8:57:57 PM org.apache.tomcat.util.digester.SetPropertiesRule begin ADVERTÊNCIA: [SetProperties...
asked by 26.02.2018 / 00:59
1
answer

sessionFactory null when trying to select select in the database

Good morning, I'm using Spring and JSF. I want to make a query to the database and return the data of a table, but in the method that I make the search, when calling the sessionFactory, it is coming null. I really could not find the problem. /...
asked by 26.02.2018 / 15:17
1
answer

ASP.NET MVC - Pass data between Views [closed]

I have two tables: Tb_1 and Tb_2 ; both have a id column and are related to each other in a Microsoft SQL database. For example: I selected the # 2 record in Tb_1 . When you run the Create command, Tb_2 gets # 2 in your id...
asked by 13.03.2018 / 19:27
1
answer

Doubt listing database data JAVA - JSF

Good afternoon, I have a question about listing data in a datatable, coming from DB. I do not know how to return the DB data to the view. Follow my code so far package br.com.racionalgames.pta.mbean; import java.io.Serializable; import java.u...
asked by 08.02.2018 / 18:51
1
answer

margin problem when generating pdf

I am making a report, when I am generating the pdf, I tried to implement the margin, but it continues to cut the table in the middle and continues on the other page. This is happening at the margin, even though I placing it continues to cut i...
asked by 10.01.2018 / 19:42
1
answer

Duvida Interface asp.net mvc [closed]

Good evening, I have a doubt, I chose to work with generic interface and my doubt is: Does every entity need to have an interface inheriting from the generic interface? Ex: public interface IPessoaRepositorio : IRepositorio<Pessoa> Or...
asked by 29.01.2018 / 01:19