You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Roman \"Blade\" Velichko" <bl...@ivc.tagmet.ru> on 2003/04/17 13:28:02 UTC
ValidField
Hi to All!
Dear Howard!
I ask to forgive me for my previous posting (Re: DateField). ;-)
could not You answer such question:
I use XMLSpy to edit *.page files, when i try to save home.page (see
below), i have got this error message:
Unexpected attribute 'value' in element 'static-binding'.
Why appears such mistake?
In this case Tapestry 2.5-alfa-5 rise this exception too, while
running my applicaton.
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) -->
<!DOCTYPE page-specification PUBLIC
"-//Howard Lewis Ship//Tapestry Specification 1.3//EN"
"http://tapestry.sf.net/dtd/Tapestry_1_3.dtd">
<page-specification class="org.tmz.hr.cards.WorkOnPayRoll">
<component id="inputBirthdate" type="ValidField">
<binding name="value" expression="birthdate"/>
<binding name="validator" expression="beans.datesValidator"/>
<static-binding name="displayName" value="BirthDate"/>
</component>
</page-specification>
=====
С уважением
Roman "Blade" Velichko [mailto:blade@ivc.tagmet.ru]
RE: ValidField
Posted by "Howard M. Lewis Ship" <hl...@attbi.com>.
You are referencing the 1.3 DTDs which are less flexible. Update the
DOCTYPE to the 1.4 DTDs.
<!DOCTYPE page-specification PUBLIC
"-//Apache Software Foundation//Tapestry Specification 1.4//EN"
"http://jakarta.apache.org/tapestry/dtd/Tapestry_1_4.dtd">
--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/tapestry
> -----Original Message-----
> From: Roman "Blade" Velichko [mailto:blade@ivc.tagmet.ru]
> Sent: Thursday, April 17, 2003 7:28 AM
> To: Tapestry users
> Subject: ValidField
>
>
> Hi to All!
>
> Dear Howard!
> I ask to forgive me for my previous posting (Re: DateField). ;-)
>
> could not You answer such question:
>
> I use XMLSpy to edit *.page files, when i try to save
> home.page (see below), i have got this error message:
> Unexpected attribute 'value' in element 'static-binding'. Why
> appears such mistake?
>
> In this case Tapestry 2.5-alfa-5 rise this exception too,
> while running my applicaton.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) -->
> <!DOCTYPE page-specification PUBLIC
> "-//Howard Lewis Ship//Tapestry Specification 1.3//EN"
> "http://tapestry.sf.net/dtd/Tapestry_1_3.dtd">
> <page-specification class="org.tmz.hr.cards.WorkOnPayRoll">
> <component id="inputBirthdate" type="ValidField">
> <binding name="value" expression="birthdate"/>
> <binding name="validator"
> expression="beans.datesValidator"/>
> <static-binding name="displayName" value="BirthDate"/>
> </component>
> </page-specification>
>
>
> =====
> С уважением
> Roman "Blade" Velichko [mailto:blade@ivc.tagmet.ru]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>