Solved

retrieving values from complex object in html:form

Posted on 2007-11-22
2
854 Views
Last Modified: 2013-11-24
<html:text  name="filter" property="vo.name" />

the above line writes the correct value to the JSP but won't pass the value into the form bean on submit.
In addition, if I remove <form-property name="filter" type="es.ts.xxx.Filter"/> from the DynaValidatorForm no error message results when the form is submitted.

I can't find the field anywhere in the request or the form after submission. It may be a simple error but I'm baffled right now.
It's Struts 1.2.
0
Comment
Question by:supeno
2 Comments
 
LVL 14

Expert Comment

by:boonleng
Comment Utility
Is there another nested bean call 'VO' in class es.ts.xxx.Filter?
If not then should be as follow:
<html:text  name="filter" property="name" />

If yes then you should use <nested> tag.
<nested:text  name="filter" property="vo.name" />
0
 

Accepted Solution

by:
supeno earned 0 total points
Comment Utility
I fixed this by changing a whole load of names. Never got to the bottom of it.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now