All Questions

1
answer

ASP.NET Identity and Web API - Problem to register new user

I have a Web API project and I'm using Identity to manage user accounts, in my controller it looks like this: public async Task<IHttpActionResult> Register([FromBody]RegisterDto model) { if (!ModelState.IsValid) { return...
asked on 19.05.2015 / 22:42
1
answer

Laravel and Json Web Token

I am having difficulty authenticating through the Json Web Token token (JWT) in the Laravel framework, I have been using the framework recently and have come across the following error. Whoops, looks like something went wrong. 1/1 ErrorEx...
asked on 01.12.2015 / 17:23
1
answer

Could not create a constant value of type 'System.Object'. Only primitive types or enumeration types are supported in this context

I'm trying to make a query in LINQ, and are returning the following error message:    A constant value of type 'System.Object' could not be created. Only primitive types or enumeration types are supported in this context A structure is re...
asked on 02.03.2016 / 15:25
1
answer

Move "slide" into lightbox

Clicking on a link opens a lightbox with the clicked product information, however there is a need to display more than one "page" in this lightbox. How do I insert more "pages" to move forward / back in lightbox? Sample link: product01 <...
asked on 26.11.2015 / 15:36
1
answer

Create divs dynamically

Sirs, I'm working with tabs in Jquery. I have a page called server_server.php where I insert it into the database of as many servers as I want. I need that after clicking the next button the amount of page flaps is the same as the amount of r...
asked on 23.02.2016 / 18:11
1
answer

How do I track a web application's session in different browser tabs?

I'm developing a web application and using server session to control access to the application, this session should be terminated when the user logs out of the application, when closing all the tabs of the application or when it closes the brows...
asked on 15.12.2015 / 13:58
1
answer

Webservice returns pro SoapUI, but does not return pro PHP

I am consuming a WebService SOAP and I am encountering the following problem: The WebService has two functions. In PHP, using the SoapClient class, I created the client and consumed the first function without problem. But when I try to use the s...
asked on 24.03.2016 / 13:05
1
answer

java.lang.IllegalStateException when declaring aspect with Spring

I'm trying to declare the following: @Aspect @Component public class UpperCaseAdvice { @Before("@target(annotations.Model)") public void toUpperCase(JoinPoint joinPoint){ //faz alguma coisa } } I'm using the spring-...
asked on 24.11.2015 / 00:05
1
answer

JSF / Hibernate How do I write null to a bank field?

I have an application using Primefaces / JPA-Hibernate / TomCat8, and need that when an on-screen field is empty, it writes null to the database (Postgres). I need this because I have some fields in the database that have UniqueKey, and e...
asked on 07.11.2015 / 17:31
1
answer

Problem with redirecting in JSF 2

In a JSF project the pages are organized like this: admin / pages admin / main admin / template. My web.xml looks like this: <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instan...
asked on 21.11.2015 / 14:01