You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Kevin Menard (JIRA)" <de...@tapestry.apache.org> on 2008/02/17 23:10:34 UTC
[jira] Updated: (TAPESTRY-1978) When supplying an empty parameter
binding, indicate problem parameter in error message.
[ https://issues.apache.org/jira/browse/TAPESTRY-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Menard updated TAPESTRY-1978:
-----------------------------------
Summary: When supplying an empty parameter binding, indicate problem parameter in error message. (was: When passing in empty parameter, indicate problem parameter in error message.)
> When supplying an empty parameter binding, indicate problem parameter in error message.
> ---------------------------------------------------------------------------------------
>
> Key: TAPESTRY-1978
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1978
> Project: Tapestry
> Issue Type: Improvement
> Components: Framework
> Affects Versions: 5.0.7
> Reporter: Kevin Menard
> Assignee: Kevin Menard
> Priority: Minor
>
> While prototyping a page recently, I decided to hold off on passing in parameters until I had a good sense of what their names should be. So, I had something similar to:
> <t:textfield value=""/>
> Clearly this is a broken construct and Tapestry generally recognized it. I was greeted with the following error message:
> "Parameter expression was null or contained only whitespace."
> And a highlighted block of my template. Unfortunately, the highlighted block is not where the problem was. Likewise, the error message really didn't indicate what parameter was broken of what component. After a little bit of guess-and-check, I caught the obvious error. It'd be nice if Tapestry handled this for me though.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org