Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Struts Wiki" for change 
notification.

The following page has been changed by DerekClarkson:
http://wiki.apache.org/struts/StrutsCatalogLazyList

------------------------------------------------------------------------------
  
  Michael !McGrady
  
+ === LazyDynaBean Gotchas ===
+ The above solution using LazyDynaBean looks like a simple drop in replacement 
which is great, however it assumes that the Struts Validator is active. If you 
are not familiar with the validator (I wasn't when I got directed to this page 
for a solution) then it can cost you a number of hours of head scratching and 
frustration whilst you figure it out. To summarise and hopefully give someone a 
kick start to this, you need to:
+ 
+ 1. Include the Commons Validator jar in your project.
+ 
+ 2. Modify your struts-config.xml to include the validator plugin.
+ 
+ 3. Copy the the validator-rules.xml file from the struts download or source 
one from somewhere else.
+ 
+ 4. Create and amend the valilation.xml file to include a section for each of 
your forms you wish to use LazyDynaBeans for.
+ 
+ I found the struts doco assumed you already know how all of this worked so 
wasn't much help to getting started. The best place to find help is in 
referenced resources down the bottom of 
http://struts.apache.org/userGuide/dev_validator.html
+ 
+ Derek Clarkson
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to