Oh, right, no... The browser doesn't see the new URL (and hence the anchor)
with a forward. It'd work if you configured struts to redirect to the input
view instead of forwarding, but then you have the same caveats about preserving
state across the redirect...
L.
Dylan Stamat wrote:
Oh, and
Dylan Stamat wrote:
Thanks for your comments everybody I fiinally found the answer :)
I'm still using the DynaValidatorForm, and basically just had to do what
Laurie recommended in her 2nd point.
I just need to check for messages on the JSP page using the messagesPresent
logic tag...
Oh, and Laurie, just so you know, putting an anchor on a mappings input JSP
page won't work. That was tried in one of my 1000 attempts :)
On 6/22/05, Dylan Stamat <[EMAIL PROTECTED]> wrote:
>
> Thanks for your comments everybody I fiinally found the answer :)
>
> I'm still using the D
Thanks for your comments everybody I fiinally found the answer :)
I'm still using the DynaValidatorForm, and basically just had to do what
Laurie recommended in her 2nd point.
I just need to check for messages on the JSP page using the messagesPresent
logic tag... ie:
setTimeout('sel
I'm not sure if you can tell the browser to scroll to an anchor from within the
page (rather than in the URL). It would have to be done using Javascript, HTML
doesn't provide this.
Other than Javascript, I can think of two possibilities:
1) in your JSP, check for errors and, if they exist, ren
On 6/22/05, Mark Galbreath <[EMAIL PROTECTED]> wrote:
> Validator is crap...and always has been. If you look in the archive, you
> will see more complaints about Validator working over the past 3 years and
> any other 2 subjects combined.
Risking to start offtopic here, I would say that the wh
day, June 22, 2005 3:10 PM
To: Struts Users Mailing List
Subject: Re: Validation & Anchoring
Dylan Stamat wrote:
>Yeah, I could... however this would defeat the purpose (convenience) of
>using a DynaValidatorForm.
>
>
Apparently it isn't all that convenient for you as it is, e
Dylan Stamat wrote:
Yeah, I could... however this would defeat the purpose (convenience) of
using a DynaValidatorForm.
Apparently it isn't all that convenient for you as it is, either.
The main purpose of using a dyna form, at least for me, is that I don't
have to write a class and the get
Yeah, I could... however this would defeat the purpose (convenience) of
using a DynaValidatorForm.
On 6/22/05, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> Dylan Stamat wrote:
>
> >The problem I'm running into is that since I'm using a
> DynaValidationForm,
> >and errors are found, I'm never ev
Dylan Stamat wrote:
The problem I'm running into is that since I'm using a DynaValidationForm,
and errors are found, I'm never even reaching my Action... so, the setting
of the anchor in the request wouldn't work.
I would somehow need to determine if there "were" errors on the JSP page
itsel
Thanks Wendy !
The problem I'm running into is that since I'm using a DynaValidationForm,
and errors are found, I'm never even reaching my Action... so, the setting
of the anchor in the request wouldn't work.
I would somehow need to determine if there "were" errors on the JSP page
itself (like
From: "Dylan Stamat" <[EMAIL PROTECTED]>
> When validation finds that there are errors, and returns to the form page
> with displayed errors... I want to anchor to the lower part of the large
> form page... so, only the errors and the form shows... not the text above.
> Anybody have any ideas on ho
12 matches
Mail list logo