Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • help using validate inside ActionForm

    0 answers - 1641 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Thank you!
    David Evans <dsevans (AT) berndtgroup (DOT) netwrote:
    A few ideas that may get you started:
    you can use different names for the submit or image
    tags that you are
    using to submit the forms, and set up an if, else if
    structure in your
    validate method to see which page has submitted to
    the actionForm based
    on the parameters input. or use hidden tags to do
    the same thing. or use
    the HttpServletRequest's getPathInfo().
    dave
    Sun, 2005-12-04 at 15:19 -0800, Sun Shine wrote:
    Hi all,
    In my application, I'm using one ActionForm Bean
    for
    several pages. How do I properly use validate
    method
    when user goes from one page to another? It's a
    collection of data, so, on page 1, I need to
    validate
    X fields, on page 2, validate Y fields, etc.
    Is there an easy way to tell what page I am coming
    from?
    Any help is appreciated!
    Thanks,
    Penny
    Start your day with Yahoo! - Make it your home
    page!
    http://www.yahoo.com/r/hs
    --
    To unsubscribe, e-mail:
    user-unsubscribe (AT) struts (DOT) apache.org
    For additional commands, e-mail:
    user-help (AT) struts (DOT) apache.org
    To unsubscribe, e-mail:
    user-unsubscribe (AT) struts (DOT) apache.org
    For additional commands, e-mail:
    user-help (AT) struts (DOT) apache.org
    Start your day with Yahoo! - Make it your home page!
    http://www.yahoo.com/r/hs
    To unsubscribe, e-mail: user-unsubscribe (AT) struts (DOT) apache.org
    For additional commands, e-mail: user-help (AT) struts (DOT) apache.org

Re: help using validate inside ActionForm


max 4000 letters.
Your nickname that display:
In order to stop the spam: 6 + 5 =
QUESTION ON "Java"

EMSDN.COM