Wrox Programmer Forums
BOOK: Expert One-on-One J2EE Design and Development
This is the forum to discuss the Wrox book Expert One-on-One J2EE Design and Development by Rod Johnson; ISBN: 9780764543852
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Expert One-on-One J2EE Design and Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 28th, 2003, 10:03 PM
Registered User
Join Date: Oct 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
testing a controller using rspec Manoah RoR Ruby on Rails 0 September 26th, 2008 04:02 AM
How to traverse Directed Cyclic Graph talhas Java Basics 1 March 20th, 2008 05:33 AM
PHP Controller cyber_kaley20 Beginning PHP 0 July 8th, 2007 10:12 PM
controller to controller tigransh Spring 1 November 11th, 2006 12:48 AM
throwaway controller mmasters BOOK: Professional Java Development with the Spring Framework 0 June 27th, 2006 10:56 AM

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