Can you send me your 2 classes, xwork.xml, and validation files?
> -Original Message-
> From: Francisco Hernandez [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 05, 2003 6:56 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] using one validator on several
> different actions
>
its not adding any fieldErrors at all
Jason Carreira wrote:
Keep in mind that these errors will be added as the property names (i.e.
"name" not "car.name") so it might not show up next to the field... See
if it's got any errors when it runs. I'll create a Jira, as I just
realized this is a problem
Keep in mind that these errors will be added as the property names (i.e.
"name" not "car.name") so it might not show up next to the field... See
if it's got any errors when it runs. I'll create a Jira, as I just
realized this is a problem :-)
> -Original Message-
> From: Francisco Hernande
im not getting any fieldErrors added the fields that were left blank
Jason Carreira wrote:
When you say it doesn't work, what do you mean?
-Original Message-
From: Francisco Hernandez [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 3:05 PM
To: [EMAIL PROTECTED]
Subject: Re:
When you say it doesn't work, what do you mean?
> -Original Message-
> From: Francisco Hernandez [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 05, 2003 3:05 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] using one validator on several
> different actions
>
>
> I tried usi
I tried using Car-validation.xml too and it doesnt work, anything else I
could try?
Jason Carreira wrote:
It should be Car-validation.xml, not Car-validations.xml
-Original Message-
From: Francisco Hernandez [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 1:01 PM
To: [EMAIL
It should be Car-validation.xml, not Car-validations.xml
> -Original Message-
> From: Francisco Hernandez [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 05, 2003 1:01 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] using one validator on several
> different actions
>
>
> ok
ok, so this is what i've got and its not working, maybe im not
understanding everyting correctly, in CarAction-validation.xml :
http://www.opensymphony.com/xwork/xwork-validator-1.0.dtd";>
Car Visitor:
in Car-vali
Oh, and I'm still open to making it possible to centralize validations
without having to inherit them... Maybe an element in the
validation files like we have in xwork.xml? Then you could manage
validations all in your XML files without needing a second place to look
for what might have been defin
If you have the Car object as a property of the Action, you can use the
VisitorFieldValidator (there's a little doc on this on the Wiki) to make
the validation framework use the validations defined for the Car class.
This way, you could define your common validations for the car in a
single Car-val
> It's embedded into your resultig page. Such snippet
> works for me:
>
> News
> #set( $prefix = "/infobit/news/" )
> #set( $suffix = "?_render_mode=preview" )
>
> #foreach($newsEntry in $newsSelector.news
> )
>
> #set ( $linkname =
> "$
--- Tomasz Wrona <[EMAIL PROTECTED]> wrote:
> > Did you #include() or #parse() your template?
> > #include() just includes everyting verbatim
> > withoutlooking inside.
> At first I've tried #include but it did not work.
> Then I've tried #parse
> (template.vm) but an exception was raised:
> Fri S
> Did you #include() or #parse() your template?
> #include() just includes everyting verbatim
> withoutlooking inside.
At first I've tried #include but it did not work. Then I've tried #parse
(template.vm) but an exception was raised:
Fri Sep 05 13:31:11 CEST 2003 [error] #parse() : arg =
/templat
see below
>
>I've got following problem with Webwork and Velocity:
>I'm creating a page with top and link navigation and the content. I've got
>the link navigation as template, which is included into the page. Problem is
>when in that template I'll use a VTL variable. Then template is included as
--- Tomasz Wrona <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I've got following problem with Webwork and
> Velocity:
> I'm creating a page with top and link navigation and
> the content. I've got
> the link navigation as template, which is included
> into the page. Problem is
> when in that template
Hello,
I've got following problem with Webwork and Velocity:
I'm creating a page with top and link navigation and the content. I've got
the link navigation as template, which is included into the page. Problem is
when in that template I'll use a VTL variable. Then template is included as
static te
I've been using the validator in webwork and have found myself
duplicating a few of the validations throughout the app, is there anyway
I can apply validations to multiple actions or objects?
for example I have a creation form to create a Car, and then I have
another to Edit and Update the Car,
On Tue, Aug 26, 2003 at 08:57:57AM -0700, Pat Lightbody wrote:
> Anders,
> WebWork was meant, from the start, to include optional components. It was
> built to be an extension upon XWork to include various view support. If we
> made FreeMarker a view technology that ended up in webwork-extensions,
18 matches
Mail list logo