Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html text tag

 
biraji gafiff
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone, my web app uses struts and i'm stuck in the html text property.
My form bean has another form bean, like objAform has objBform, and this one
has another form bean, objBform has objCform.
How to get a property that is inside form bean C with the html text tag?

Thanks.
[ May 15, 2006: Message edited by: bir gt ]
 
Soumya Saha
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Extend the formbeans (B extends C)and then try.U should get the property of the Form C.U can use the form name of FormB in the JSP.
Thanks
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts allows the use of nested and indexed properties.

See the following links for more information:

http://struts.apache.org/struts-doc-1.2.x/api/org/apache/struts/taglib/bean/package-summary.html#doc.Properties

(Pay particular attention to the discussion of nested properties and indexed properties)

http://struts.apache.org/struts-doc-1.2.x/faqs/indexedprops.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic