Re: Struts2: How to handle errors and messages with ajax requests

2007-09-03 Thread Leonidas Papadakis
Hi Marc, if you are using struts2 , i guess that your action result is xslt (returning xml) . Normally when no errors occur you will parse this xml and populate the list with javascript. Why don't you set a flag on your xml result i.e. 1 Invalid input so that you will test for the value of

Struts2: How to handle errors and messages with ajax requests

2007-09-02 Thread Marc Eckart
Hi, I have no idea, how to handle ajax requests properly. My problem is, that I want to fill a list - by now it's just a simple struts action as normal http request. I now want that the list is filled with a ajax request so that the whole page doesn't need to be loaded. But sometimes it is possibl