Article View: pl.comp.lang.java
Article #141605Spring- errors.rejectValue() jak dostac sie do obiektu na stronie jsp
From: sinbad
Date: Sun, 12 Oct 2008 14:14
Date: Sun, 12 Oct 2008 14:14
7 lines
1597 bytes
1597 bytes
Witam
Wykorzystując podczas walidacji danych metodę
rejectValue("zmienna1","komunikat bledu") obiektu errors z springa mvc
jak dostac się do tego komunikatu na stronie jsp, wiem można za pomocą
<form:errors path="obiekt.zmienna1"/> ale czy istnieje inny sposób?
oraz gdzie przechowywany jest ten obiekt z komunikatem? pod jaka
nazwa? pozdr
Technical Details
Message-ID:
<a8eacf64-a350-4833-89b6-d3ff015ae6f2@h60g2000hsg.googlegroups.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!feeder.erje.net!newsfeed.straub-nv.de!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!198.186.194.250.MISMATCH!news-out.readnews.com!news-xxxfer.readnews.com!postnews.google.com!h60g2000hsg.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!feeder.erje.net!newsfeed.straub-nv.de!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!198.186.194.250.MISMATCH!news-out.readnews.com!news-xxxfer.readnews.com!postnews.google.com!h60g2000hsg.googlegroups.com!not-for-mail From: sinbad <sinbad230185@gmail.com> Newsgroups: pl.comp.lang.java Subject: Spring- errors.rejectValue() jak dostac sie do obiektu na stronie jsp Date: Sun, 12 Oct 2008 07:14:57 -0700 (PDT) Organization: http://groups.google.com Lines: 8 Message-ID: <a8eacf64-a350-4833-89b6-d3ff015ae6f2@h60g2000hsg.googlegroups.com> NNTP-Posting-Host: 80.54.70.140 Mime-Version: 1.0 X-Trace: posting.google.com 1223820897 18725 127.0.0.1 (12 Oct 2008 14:14:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 12 Oct 2008 14:14:57 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h60g2000hsg.googlegroups.com; posting-host=80.54.70.140; posting-account=R5YjHwoAAADV13uB1SlKEsRlSq1JDFMg User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3,gzip(gfe),gzip(gfe) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit