Login  Register

Re: Re: Re: No valid response on HTTP GET in a custom persistence layer (Java)

Posted by Erik Bruchez on Feb 11, 2011; 3:23am
URL: https://discuss.orbeon.com/No-valid-response-on-HTTP-GET-in-a-custom-persistence-layer-Java-tp3244273p3300716.html

K,

Here is an example of search response:

https://gist.github.com/821872

The root element has information about pagination. Do you set those attributes?

-Erik

On Wed, Feb 9, 2011 at 1:38 AM, ktangirala <[hidden email]> wrote:

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

--
View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/No-valid-response-on-HTTP-GET-in-a-custom-persistence-layer-Java-tp3244273p3296883.html
Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws