• 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 ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Mike London

Stuck inside Spring command object, can't bind to command obj it self

Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I have a command object, and a details object inside it. I am able to bind form fields to the details object, but I want to bind to a field on the command object itself. However, when I load the page, I get the error that

is not a member of the details object, which is true, so it is like its scope is assuming we're looking at the commandObject.detailsObject, so anything I ask for must be a part of the details object. As if I was inside a <spring:nestedPath path="myDetailsObject">. I can however access my command object with "${myCommandObject.fieldIWant}"

Anyone know how I can reset it so I can bind my fields to the command object?

    Bookmark Topic Watch Topic
  • New Topic