Solved

retrieving values from complex object in html:form

Posted on 2007-11-22
2
856 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
ID: 20337145
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
ID: 21049228
I fixed this by changing a whole load of names. Never got to the bottom of it.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sumHeights  challenge 17 71
strCopies  challenge 17 88
Windows 10 and JDK 7 7u85 4 43
Unhandled exception type Exception 18 31
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
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 …
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.

810 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