GeeCON Prague 2014*
The moose likes Struts and the fly likes over-writing DynaValidatorActionForm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "over-writing DynaValidatorActionForm" Watch "over-writing DynaValidatorActionForm" New topic
Author

over-writing DynaValidatorActionForm

Whitney Albrecht
Greenhorn

Joined: May 09, 2005
Posts: 19
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

Joined: Feb 15, 2005
Posts: 4864
Check out this thread. It will hopefully answer your question.


Merrill
Consultant, Sima Solutions
Whitney Albrecht
Greenhorn

Joined: May 09, 2005
Posts: 19
I'll go try it ... I'll let you know... thanks for the link to the post
Whitney Albrecht
Greenhorn

Joined: May 09, 2005
Posts: 19
YES! I tried sln #2 and it worked.

Thanks for pointing me in the right direction.

 
GeeCON Prague 2014
 
subject: over-writing DynaValidatorActionForm