Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

over-writing DynaValidatorActionForm

 
Whitney Albrecht
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using DynaValidator Action Form to do two things:
1) Dynamically create a table with radio buttons named "userRadioValue" in the UserManagement.jsp page (by mapping two actions similar to this example -- http://www.developer.com/java/ejb/article.php/3321521)

2) Verify that a radio button has been selected (when the submit button has been selected).

I have overwritten the DynaValidatorActionForm validate function. It displays the error on the jsp page but refreshes the jsp form and removes the dynamic information that was orginally displayed on the page.

Can anyone tell me how to get the validate function, if there is an error to recreate the page while still displaying the error?

[ July 07, 2005: Message edited by: Whitney Albrecht ]
[ July 07, 2005: Message edited by: Whitney Albrecht ]
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out this thread. It will hopefully answer your question.
 
Whitney Albrecht
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll go try it ... I'll let you know... thanks for the link to the post
 
Whitney Albrecht
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
YES! I tried sln #2 and it worked.

Thanks for pointing me in the right direction.

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic