Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within BEA/Weblogic
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Pipeline as Code
this week in the
Cloud/Virtualization
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Paul Clapham
Jeanne Boyarsky
Bear Bibeault
Sheriffs:
Rob Spoor
Henry Wong
Liutauras Vilda
Saloon Keepers:
Tim Moores
Carey Brown
Stephan van Hulst
Tim Holloway
Piet Souris
Bartenders:
Frits Walraven
Himai Minh
Jj Roberts
Forum:
BEA/Weblogic
form bean can't have custom objects?
ankur rathi
Ranch Hand
Posts: 3851
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
It seems that form bean can't have custom objects. For example:
class Employee { private Salary salary = null; private String name = null; // getter and setter method for salary and name } class Salary { private float amount = 0.0f; // getter and setter method for amount }
If I use Employee as a form bean. I can't get the amount like this:
${actionForm.salary.amount}
But I can get name:
${actionForm.name}
Right?
If we don't do the shopping, we won't have anything for dinner. And I've invited this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
overriding hashcode and equals method internal work flow
Implement a class Employee
struts2 iterator tag
Problem in Struts 1 html form rendering and populating ?
Problem in making Model class singleton
More...