Results 1 to 3 of 3

Thread: Simple Form Controller ... help !

  1. #1

    Default Simple Form Controller ... help !

    in my form there is a button to automatically fill some information if user wish so ..

    on clicking it should get some information from database and fill some command fields ...

    the other data user entered should be retained ...

    i could submit the button and get info from db , change command object fro that portion only , place in session and call the same view and in that retrieve that from session and set that as command object ..

    but that doesnt seems to be a good idea ..

    is there any method i could do that without saving to session ..

    any help will be greatly appreciated

    thanks ..

  2. #2
    Join Date
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,104

    Default

    Can you just reload the view with a request parameter to indicate to the formBackingObject method to fetch those fields from the DB.

  3. #3

    Default

    thanks katentim...

    but .. if user has already entered some valyes that will not be retained ...
    means only some values are to be collected ....

    i tried using isFormChangeRequest method ...
    then i could check the parameter ,.. get the values and teturn to the same view without losing the other values

    now it is working fine


    thanks again

Similar Threads

  1. Replies: 4
    Last Post: Sep 1st, 2010, 01:38 AM
  2. Replies: 3
    Last Post: Jun 8th, 2010, 03:27 AM
  3. Replies: 6
    Last Post: Jul 20th, 2007, 05:56 AM
  4. Simple Form Controller
    By igalmarino in forum Web
    Replies: 1
    Last Post: Aug 30th, 2005, 04:07 PM
  5. Replies: 0
    Last Post: Jun 10th, 2005, 08:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •