Questions tagged [partial-response]

"Partial response" is a JSF specific term for its ajax based view and response.

19 questions
5
votes
1 answer

XML shown as plain text after ajax redirect on security constraint in WildFly

I've got this weird problem with ajax redirect on a security constraint: When an ajax call is made (by clicking on a sortable p:dataTable column or when a p:poll triggers) on a role-secured page after my session timed out, a…
Xavier Dury
  • 1,326
  • 1
  • 13
  • 22
4
votes
1 answer

Ajax request while session is expired returns XML plain to browser

This is what I'm getting in the browser after the page makes an Ajax request and the session has been timeout, I'm implementing OmniFaces FullAjaxExceptionHandler. This XML file does not appear to have any style information associated with it. The…
2
votes
1 answer

partial-response xml displayed after navigation from CustomExceptionHandler due to ViewExpiredException

Hi I'm working on a JSF 2.2.4 project using Primefaces 4.0 I'm trying to replicate the ViewExpiredException by using the steps below. -Go to the browser Login in the application -Open another tab, click a p:menuitem (e.g. Accounting Screen) -Restart…
brej10
  • 21
  • 3
2
votes
1 answer

Spring Security login after session expiration redirects to last JSF ajax request and displays its XML response like plain text

I'm working with a project that use Spring Security, Spring bean, JSF, PrimeFaces and Hibernate in combination. In the homepage, I use poll to automatically get newest data after every 10 seconds.
Ta Ntt
  • 101
  • 4
1
vote
0 answers

byte-range-requests in nestjs

I was searching the internet for hours on end hoping to find any kind of built-in functionality to support byte-range requests (https://www.keycdn.com/support/byte-range-requests) within nestjs. I am coming from the .NET world where we have got…
Silverdust
  • 1,443
  • 13
  • 20
1
vote
1 answer

Partial response from one class

I'm creating API and need to give functionality like partial response. I know that in partial response, client/user need to pass the require parameter in controller method. But my case is little bit different. I need to create partial response based…
NETGeek
  • 137
  • 1
  • 11
1
vote
1 answer

Partial response support in spring boot

I am using spring boot for a project. The response json contains all the fields of the object , but i am expecting only the fields which i want. For example, consider below class public class Employee { private String id; private String…
Manikandan
  • 121
  • 11
1
vote
1 answer

Partial Response Field Projection .Net Core

I have an object [DataContract] class User { [DataMember(Name = "id")] string Id { get; set; } [DataMember(Name = "first_name")] string FirstName { get; set; } [DataMember(Name = "address")] string Address { get; set;…
Carl Thomas
  • 3,057
  • 5
  • 33
  • 43
1
vote
1 answer

Difference between GraphQL and Embedding

I'm just playing a little with graphql and can not yet recognize the difference between graphql and REST with embedding and partial response. Partial Response is used by TeamCity since years and it works as "Restful"…
1
vote
0 answers

How to get rid of XML plain to browser using JSF

I am Using JSF 2.0 with primefaces5.0 by using spring framework but i think the problem is related to JSF , i have many different applications but some times clicking on any application giving me with plain html along with message that "This XML…
0
votes
0 answers

Is there any function to calculate the partial responses for glmer?

I'm using mixed-effect models through glmer function of lme4 library. I want to calculate the partial response functions but the function response.plot2 of biomod2 is not working of this class of models. Is there any way to perform the partial…
user1988
  • 29
  • 1
  • 6
0
votes
1 answer

partial range request with last byte failure

In trying to fulfill a partial range request using chrome as the video playback tool, the video playback start playing back but on reaching halfway, it freezes as if the client is still waiting on more data. At this point the server has already sent…
vbNewbie
  • 3,187
  • 13
  • 61
  • 138
0
votes
1 answer

How to handle View Expired Exception in JMeter

I am testing Login page in my ADF Application using JMeter 3.2. In my Test Plan, I have used HTTP Header Manager and Cookie Manager. I got all HTTP records by recording. I have correlated each request from its previous response using regular…
0
votes
0 answers

JSF show page after get request

i have a problem while session expired and i make GET request, instead page i see xml file. How i can colve this problem ?
0
votes
0 answers

JSF partial response shown plain text on every reload

What can cause this message : i+eTRcNJKFa/X70WEJFydAaAltIQr95KirDWpXlROBzc6LqS It appears every time…
EL OUFIR Hatim
  • 247
  • 2
  • 12
1
2