what you need from inside the validator? You have
> the
> ActionInvocation passed to your doIntercept(...), which contains the
> ValueStack containing your objects.
>
> Peace,
> Scott
>
>
>
> On Tue, May 19, 2009 at 7:59 AM, manub wrote:
>
>>
>
I think that this may work for the expression validator because you are
supplying an expression.
Maybe I need to use an expression too, but I don't know how to evaluate it
within my Java class for Validator.
Lukasz Lenart wrote:
>
> 2009/5/20 manub :
>> I've written a
Lukasz Lenart wrote:
>
> Frankly, I don't understand, are you trying to pass data from
> validator xml configuration to action?
>
I've written a custom field validator, which needs other field values to
validate his field. I need a way to pass that values to that field
validator.
--
View thi
Yes, I did. But in the action the string takes the value "${field}" and not
the field value.
Lukasz Lenart wrote:
>
> 2009/5/19 manub :
>> I'm trying to write a custom field validator which needs other fields to
>> validate the field I need to validate. How ca
Yes. renders also and tag, and I don't need them.
I'm in need of a way to showing only the errors for a specific field without
having any HTML tag (I need only the plain text).
newton.dave wrote:
>
> manub wrote:
>> I used the iterator trick described before and it
I used the iterator trick described before and it works, showing me all field
errors. Nested into the 2 iterators tag, there's a tag which I could use to
print only the errors for a specific field using ?
Thanks.
manub wrote:
>
> Isn't it possible to reference directly
Isn't it possible to reference directly the single field errors without
modifying the FTL and without having and tags?
Sonny Gill wrote:
>
> Ahh...right.
> Assuming that you are using simple theme as default, You will need to
> extract fielderror.ftl from the struts2 jar, modify it to suit t
Hi all,
I'm trying to write a custom field validator which needs other fields to
validate the field I need to validate. How can I pass field values (and not
static params) to a field validator in the validation xml? I'm using Struts
2.1.6.
Thank you.
--
View this message in context:
http://www
newton.dave wrote:
>
>
> Include the complete field validation configuration, the interceptor
> stack you're using, and the action configuration.
>
> Dave
>
>
Hi Dave,
I solved it. Thanks. Now I've got another question, still about validation.
I'm trying to write a custom field validator
Hi,
I've got two problems with XML validation :(
- I'm not able to perform an equality check on two parameters. I've got
password and confirmPassword which I try to validate using something like:
confirmPassword.equals(password)
Wes Wannemacher wrote:
>
> On Tuesday 12 May 2009 11:54:35 am Lukasz Lenart wrote:
>> 2009/5/12 manub :
>> > Yes, I'm behind a proxy. How to disable that functionality? Thanks in
>> > advance.
>>
>> Sorry, no idea. It's related
Lukasz Lenart wrote:
>
> 2009/5/12 manub :
>> Anyone can suggest me how to handle this?
>
> XML parser is trying to connect over the Internet to validate XML base
> on DTD, do you have proxy in use? It was possible to disable such
> function and to use local DTD copy
Hello there,
I got a strange error when I try to develop a simple blank Struts2
Application with Tiles support. The strangest thing is that this
application, without any modify, works on another PC.
Here's my stacktrace:
12-mag-2009 11.36.06 org.apache.catalina.core.StandardContext listenerStar
Hi there,
I'm a newbie in Struts 2 and in Java EE programming... I tried to search
about this but i didn't found any succesfull answer. So I'm trying to ask to
this ML :)
I need to make a form that permits an user to upload a file. I had the
"so-well-known" MultiWrapper problem, and I managed it
14 matches
Mail list logo