hi jesse, this bug is filed as https://issues.apache.org/jira/browse/TAPESTRY-1240
greetings kris "Jesse Kuhnert" <[EMAIL PROTECTED] om> An "Tapestry users" 05.02.2007 05:30 <users@tapestry.apache.org> Kopie Bitte antworten Thema an Re: LinkSubmit and null parameters "Tapestry users" <[EMAIL PROTECTED] pache.org> Sounds like a possible bug. As with all issues, creating a JIRA issue is the best hope anyone has of having something fixed. On 1/23/07, Kristian Marinkovic <[EMAIL PROTECTED]> wrote: > > hi all, > > i just noticed that if an LinkSubmit component with a parameters binding > to a TextField causes an exception (on submit) if that input field remains > empty (null). The reason is that the listener bound to the LinkSubmit > requires > exactly one parameter. And if the TextField remains empty Tapestry tries > to resolve a listener with no parameters that does not exist. This > exception > happens even if the TextField has a required validator assigned to. > > Is that an expected behaviour? > > > <component id="lnk_read" type="LinkSubmit"> > <binding name="listener" value="listener:readGPList" /> > <binding name="parameters" value="searchFieldValue" /> > </component> > > <component id="txtSearchField" type="TextField"> > <binding name="value" value="searchFieldValue" /> > <binding name="validators" value="validators:required,min=2" /> > </component> > > <property name="searchFieldValue" /> > > > g, > kris > > P.S. i'm using Tapestry 4.1.2 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]