• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

logic:iterate and html:form problem with indexed properties

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
According to struts documentation (good example what happens when coders write documentation for themself) I can use "indexed" attribute inside logic:iterate and thus "iterate" through my actionForm indexed properties, but NOWEHERE (don't send me to that struts FAQ) is any example of how to "link" those properties!
Okey here is example
actionFormBean name in request namespace is "actionFormBean", it has collection (List) of "Skills" beans... each SkillBean has 3 properties... name, level, description
So how do I arragne <logic:iterate> and whate EXACTLY I have to write into <html:text> tag to get listed all the Skill beans with all their properties!
And one more time don't send me to http://jakarta.apache.org/struts/faqs/indexedprops.html page as there is answer to anything but this. Answer on this question there is only brief and in way "you should guess what I meant by this".
People... when coding open source please write documentation for dummies not for developers who participated in the project themselves!
Thanks!
 
Sheriff
Posts: 17644
300
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Janis,
Please post the relevant sections from your JSP and ActionForm. It'll be easier to see what might be problem. Thanks.
Re Open Source: it's true that documentation is often lacking but I think that the Struts documentation is not that bad at all. Also, there are a lot of examples out on independent websites. Sometimes all you need to find the answer is a good search engine and some patience and perseverence
 
This. Exactly this. This is what my therapist has been talking about. And now with a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic