Results 1 to 3 of 3

Thread: Using an http request parameter from a FormAction class

  1. #1
    Join Date
    Oct 2004
    Location
    Havana, Cuba
    Posts
    25

    Default Using an http request parameter from a FormAction class

    hi:

    How can i get a value or an http request parameter from a FormAction class method, in a phonebook example there is a solution in the sub flow definition using the attribute-mapper tag, but i can't use this tag in a view-state or action-state tag, browsing this forum i found a post where mention a solution using an action state with a AttributeMapperAction class but i don't know how to use it,

    any help or example will be preciated.

    Thanks Rodney
    Rodney Gallart
    Radikal Systems
    http://www.radikalsystems.com

  2. #2
    Join Date
    Dec 2004
    Location
    CA
    Posts
    208

    Default

    Greetings!

    Try the following within your FormAction method
    Code:
     context.getSourceEvent().getParameter("myParameter");
    Curtney
    Curtney Jacobs

  3. #3
    Join Date
    Oct 2004
    Location
    Havana, Cuba
    Posts
    25

    Default

    Thanks it works

    Rodney
    Rodney Gallart
    Radikal Systems
    http://www.radikalsystems.com

Similar Threads

  1. Order of Bean definitions matters?
    By cfuser in forum Container
    Replies: 2
    Last Post: Oct 21st, 2005, 10:29 AM
  2. EHCaching Hibernate
    By dencamel in forum Data
    Replies: 3
    Last Post: Sep 6th, 2005, 09:03 PM
  3. Replies: 3
    Last Post: Sep 4th, 2005, 11:11 PM
  4. Stack Overflow
    By rayho222 in forum Container
    Replies: 6
    Last Post: May 17th, 2005, 03:42 AM
  5. Transaction Management
    By caverns in forum Data
    Replies: 3
    Last Post: Mar 8th, 2005, 06:38 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
  •