Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

retrieving values from complex object in html:form

Posted on 2007-11-22
2
Medium Priority
?
861 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
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.

604 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