[opencms-dev] inputvalidation in offline/online projects (Opencms and struts2)

Florian Hopf hopf at synyx.de
Fri Sep 25 09:27:34 CEST 2009


Hi Volker,

Volker wrote:
> In the offline project everything works pretty good. But if the pages
> are published the validators are not working as expected.
> In case of an input error the same page is shown (as expected), but the
> error Messages are not displayed.
>  
> Debugging the application shows, that the validator works fine and put
> the error message into the fielderror list.
> But when the page is displayed, the fielderror list is empty even the
> user input and session attributes are empty too. Again, offline
> everything works as expected.
> 
> Has anyone an idea why the behavior of the application is totally
> different in offline and online projects?
> 

Did you check the cache settings for the page? Maybe the validator is
triggered but the result is cached already.

Regards
Flo




More information about the opencms-dev mailing list