Announcement Announcement Module
Collapse
No announcement yet.
Master Detail form Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Master Detail form

    I need to setup an master detail entry form ( order and order detail )

    there will be two pages ..

    one for master entry ..
    clicking a button will lead to a detail entry where user can select an item and click add

    this will return to master page ( populating the detail list with that item)..

    can any one tell me how can i implement this scenario with spring..

    any help will be greatly appreciated

    thanx

  • #2
    Take a look at AbstractWizardFormController or Spring Web Flow

    Comment


    • #3
      thanks katentim ..

      i tried one with AbstractWizardFormController ..



      in my wizard second page is the page to add items ..
      ( user selects an item and clicks add and wizard returns to master page
      also showing the item recently added )

      the problem is when i specify validation ..

      suppose there are three fileds

      itemId
      unitPrice
      quantity

      after entering a itemId the user cliks get unit price button .
      then how to get that value and display in unitprice field ???

      i tried to submit to the same page and checking the button submited
      but as unitPrice is a required field it gives tha validation error ..

      if there were no validation it works fine ..

      can u help me to how i implement this scenario ...


      thanx again

      Comment


      • #4
        There are a few posts that may help with this. Take a look at:

        http://forum.springframework.org/viewtopic.php?t=1588

        HTH

        Comment

        Working...
        X