Announcement Announcement Module
Collapse
No announcement yet.
where do you put your backing beans? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ew0kian
    started a topic where do you put your backing beans?

    where do you put your backing beans?

    for most forms i plan on using single domain objects as backing beans (command beans) per form. but for one form i was going to need to have a form bind to two of my domain objects, so i am creating a backing bean that holds references to two domain objects, like is explained here: http://forum.springframework.org/sho...t=commandNames

    where is the common place to store backing beans that you create? should i make afolder in controller/form/backingBeans? or put it in domain/backingBeans?

  • cgeoffroy
    replied
    Any Command is use is in the web.command package

    Leave a comment:


  • cailie
    replied
    Whenever I use a non-domain class as a command, I create a class in the same package as my controller, bearing a name that starts with the same word(s), and then ending with "Form".

    e.g.

    FunnyForm.java
    FunnyFormController.java

    Leave a comment:


  • ew0kian
    replied
    any ideas?

    Leave a comment:

Working...
X