Re: Re: No valid response on HTTP GET in a custom persistence layer (Java)
Posted by ktangirala on Feb 09, 2011; 9:38am
URL: https://discuss.orbeon.com/No-valid-response-on-HTTP-GET-in-a-custom-persistence-layer-Java-tp3244273p3296883.html
Sorry, Erik, for the delayed response. Your suggestion worked like a charm. I noticed in the logs that I was writing the response incorrectly because of which it showed content-length as 0 and hence no response. I fixed that portion and everything fell in place.
I am facing another problem now. In the POST request (for summary), I am returning the <documents> XML as mentioned in the documentation but I am unable to do stuff like pagination, numbering of the records.
* My records are numbered from 0 to n-1 as opposed to 1 to n (where n is number of records shown)
* The pagination buttons (first, next, previous, last) are not enabled for clicks. When I click them, no request reaches my persistence layer. Not sure if I need to do something else to enable these. I double-checked the page look with orbeon.com's Form Builder and I definitely see some difference in the way the page is rendered with the page number values.
Please help again, if you can :)
- K