p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Expert One-on-One J2EE Design and Development (http://p2p.wrox.com/forumdisplay.php?f=40)
-   -   cyclic data reference in controller ? (http://p2p.wrox.com/showthread.php?t=5514)

thaenel October 28th, 2003 10:03 PM

cyclic data reference in controller ?
 
Hi there,
I am doing some testing with a controller which extends the FormController. I have set up a validator to validate data submitted from an html form. I am using a view of the XSLTView type.

When I first hit the controller the form is rendered correctly using xslt.
When I submit valid data the successful view is rendered correctly using xslt.
However, when I submit invalid data I seem to get a cyclic domify reference because the application hangs and the cpu maxes out.

I haven't had a look at what domify is doing (I was hoping someone here had experienced this before) so I am assuming the cyclic reference is caused by the error/validation objects added to the model. Is this possible, and if so how do you fix it. I am aware of the excludedProperties which can be used to exclude objects from the DOM however excluding these objects would be pointless because you need to see them when rendering errors on the html page.

Any ideas ?

Thanks Tom.

ps, great book by the way




All times are GMT -4. The time now is 05:11 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.