You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by dinesh707 <di...@gmail.com> on 2012/10/24 10:02:15 UTC

Problem in Validation using regexp

following are my code pars. What am i doing wrong
??---index.tml------index.java---@Persist @Propertyprivate String
lyricsUrl;@InjectComponent(value="lyricsUrl")private TextField
lyricsUrlField;---index.properties---lyricsurl-regexp=\\d{4}(\\-?\\d{4}){3}---Error---ender
queue error in BeginRender[Index:lyricsurl]: Failure reading parameter
'validate' of component Index:lyricsurl: Validator 'regexp' requires a
validation constraint (of type java.util.regex.Pattern) but none was
provided. The constraint may be provided inside the @Validator annotaton on
the property, or in the associated component message catalog as key
'contentForm-lyricsUrl-regexp' or key 'lyricsUrl-regexp'. 



--
View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-in-Validation-using-regexp-tp5717198.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Problem in Validation using regexp

Posted by dinesh707 <di...@gmail.com>.
index.properties --> Index.properties

This fixed the problem. 






--
View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-in-Validation-using-regexp-tp5717198p5717199.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org